Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

Forrest 0.6 Interaction with Tomcat 5.0.27

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


Michael.Hare at fnc

Aug 4, 2004, 7:18 AM

Post #1 of 24 (247 views)
Permalink
Forrest 0.6 Interaction with Tomcat 5.0.27

Hi,

I'm seeing odd behavior when I try to use the forrest from svn.

I compile on Windows XP, I have Apache 2.0.50 + Tomcat 5.0.27 + JK2 2.0.4
I stopped using Cygwin because it was introducing it's own set of issues.

I keep my local image updated using: 'svn update', then 'build clean' the
'build'

I can seed, build and deploy a webapp.. no problems so far.

I connect Tomcat to the Forrest site with this configuration file:

<Context path="/ForrestExamples" docBase="C:\Forrest\build\webapp" debug="0"
reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" debug="0"
verbosity="1" prefix="forrest_demo_log." directory="logs" timestamp="true"
suffix=".txt"/>
</Context>

I have copied over the endorsed libraries in to Tomcat's endorsed directory.

I can even access the Forrest Site from Tomcat.

The problem is once I put the configuration file into Tomcat's
catalina/localhost directory, I can no longer access several other of my
other applications such as Xindice, or the JSP and Servlet examples that
ship with Tomcat. I can't even access the Tomcat Home Page using
http://myurl.com:8080

I get HTTP Status 503 (Application Not Currently Available) for each of
these

Oddly enough, I can still access Cocoon 2.1.5.1 samples, Axis sample page
and the eXist XMLDB sample page.

Here's a few lines from my stdout.log file that are not there when all is
working.:

...
...
...
INFO: Processing Context configuration file URL
file:C:\Programs\ApacheGroup\Tomcat5\conf\Catalina\localhost\manager.xml
Aug 4, 2004 10:03:03 AM org.apache.catalina.startup.ContextConfig
authenticatorConfig
SEVERE: Cannot instantiate an authenticator of class
org.apache.catalina.authenticator.BasicAuthenticator
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
...
...
...

If I remove the Forrest site configuration file, and restart Tomcat, then
all is fine, except I can't access the Forrest Site without the config file.
If I copy the config file back to Tomcat, go to the Tomcat admin panel and
'start' Forrest, everything is fine. I can access my Forrest site and the
Tomcat home page.
If I stop then start Tomcat, it breaks again.

This is very localized to the 0.6 Forrest install.

If I swap back to using forrest 0.5.1 (%FORREST_HOME%, 0.5.1 endorsed libs,
etc..), then I don't have any problems at all.

Any one have any experience with any of this?
---------------------------------
Michael Hare

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876



<<Hare, Michael.vcf>>
Attachments: Hare, Michael.vcf (0.42 KB)


crossley at apache

Aug 9, 2004, 8:04 PM

Post #2 of 24 (236 views)
Permalink
Re: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> I'm seeing odd behavior when I try to use the forrest from svn.

I do not run Tomcat so cannot help much. However, we need to keep
your issue near the top of the pile.

Some suggestions below ...

> I compile on Windows XP, I have Apache 2.0.50 + Tomcat 5.0.27 + JK2 2.0.4
> I stopped using Cygwin because it was introducing it's own set of issues.

Sorry, what is JK2?

> I keep my local image updated using: 'svn update', then 'build clean' the
> 'build'
>
> I can seed, build and deploy a webapp.. no problems so far.
>
> I connect Tomcat to the Forrest site with this configuration file:
>
> <Context path="/ForrestExamples" docBase="C:\Forrest\build\webapp" debug="0"
> reloadable="true">
> <Logger className="org.apache.catalina.logger.FileLogger" debug="0"
> verbosity="1" prefix="forrest_demo_log." directory="logs" timestamp="true"
> suffix=".txt"/>
> </Context>
>
> I have copied over the endorsed libraries in to Tomcat's endorsed directory.
>
> I can even access the Forrest Site from Tomcat.
>
> The problem is once I put the configuration file into Tomcat's
> catalina/localhost directory, I can no longer access several other of my
> other applications such as Xindice, or the JSP and Servlet examples that
> ship with Tomcat. I can't even access the Tomcat Home Page using
> http://myurl.com:8080

When you say "put the configuration file" are you adding the above
fragment to an existing configuration file, or are you totally
replacing a configuration file, or what? Our instructions from
the 'forrest webapp' or 'forrest war' say to add that to server.xml
Are our instructions out-of-date?

--David

> I get HTTP Status 503 (Application Not Currently Available) for each of
> these
>
> Oddly enough, I can still access Cocoon 2.1.5.1 samples, Axis sample page
> and the eXist XMLDB sample page.
>
> Here's a few lines from my stdout.log file that are not there when all is
> working.:
>
> ...
> ...
> ...
> INFO: Processing Context configuration file URL
> file:C:\Programs\ApacheGroup\Tomcat5\conf\Catalina\localhost\manager.xml
> Aug 4, 2004 10:03:03 AM org.apache.catalina.startup.ContextConfig
> authenticatorConfig
> SEVERE: Cannot instantiate an authenticator of class
> org.apache.catalina.authenticator.BasicAuthenticator
> java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> ...
> ...
> ...
>
> If I remove the Forrest site configuration file, and restart Tomcat, then
> all is fine, except I can't access the Forrest Site without the config file.
> If I copy the config file back to Tomcat, go to the Tomcat admin panel and
> 'start' Forrest, everything is fine. I can access my Forrest site and the
> Tomcat home page.
> If I stop then start Tomcat, it breaks again.
>
> This is very localized to the 0.6 Forrest install.
>
> If I swap back to using forrest 0.5.1 (%FORREST_HOME%, 0.5.1 endorsed libs,
> etc..), then I don't have any problems at all.
>
> Any one have any experience with any of this?
> ---------------------------------
> Michael Hare
>
> GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876


Michael.Hare at fnc

Aug 10, 2004, 6:50 AM

Post #3 of 24 (236 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Thanks for bumping me up to the top again.

JK2 is the connector between Apache 2.0.50 and Tomcat 5.0.27. It allows be
to access Tomcat applications without specifying the port (:8080) in the
url. (rather than http://myurl.com:8080/Cocoon I can use
http://myurl.com/Cocoon and let Apache send the requests to TomCat using the
JK2 connector)

I mainly added Apache and JK2 to my list for completeness. It isn't
necessary, and I observe the same behavior if I shutdown Apache and run
Tomcat standalone, using port :8080.


I am using svn: rev: 36029 (your latest recommended baseline) for forrest
0.6



About the configuration file.

Starting with TC5, you created individual configuraiton files for
applications in %CATALINA_HOME%/conf/catalina/localhost

This is where admin.xml, manager.xml and balancer.xml live.

I have several of my configuration files in there as well: xindice.xml,
axis.xml, forrest.xml (for forrest0.5.1) and forrestexample.xml (for forrest
0.6).

Editing server.xml was how TC4 accomplished the same thing. The difference
is with TC5 I don't edit (and possible break) distributed files and updating
doesn't over-write my modifications. But it is the same concept: to inform
Tomcat where to find the web application.

See this link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html :
editing server.xml is no longer recommended.


Thanks for keeping me in mind.

- mike


-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Monday, August 09, 2004 11:04 PM
To: user [at] forrest
Subject: Re: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I'm seeing odd behavior when I try to use the forrest from svn.

I do not run Tomcat so cannot help much. However, we need to keep
your issue near the top of the pile.

Some suggestions below ...

> I compile on Windows XP, I have Apache 2.0.50 + Tomcat 5.0.27 + JK2 2.0.4
> I stopped using Cygwin because it was introducing it's own set of issues.

Sorry, what is JK2?

> I keep my local image updated using: 'svn update', then 'build clean' the
> 'build'
>
> I can seed, build and deploy a webapp.. no problems so far.
>
> I connect Tomcat to the Forrest site with this configuration file:
>
> <Context path="/ForrestExamples" docBase="C:\Forrest\build\webapp"
debug="0"
> reloadable="true">
> <Logger className="org.apache.catalina.logger.FileLogger" debug="0"
> verbosity="1" prefix="forrest_demo_log." directory="logs" timestamp="true"
> suffix=".txt"/>
> </Context>
>
> I have copied over the endorsed libraries in to Tomcat's endorsed
directory.
>
> I can even access the Forrest Site from Tomcat.
>
> The problem is once I put the configuration file into Tomcat's
> catalina/localhost directory, I can no longer access several other of my
> other applications such as Xindice, or the JSP and Servlet examples that
> ship with Tomcat. I can't even access the Tomcat Home Page using
> http://myurl.com:8080

When you say "put the configuration file" are you adding the above
fragment to an existing configuration file, or are you totally
replacing a configuration file, or what? Our instructions from
the 'forrest webapp' or 'forrest war' say to add that to server.xml
Are our instructions out-of-date?

--David

> I get HTTP Status 503 (Application Not Currently Available) for each of
> these
>
> Oddly enough, I can still access Cocoon 2.1.5.1 samples, Axis sample page
> and the eXist XMLDB sample page.
>
> Here's a few lines from my stdout.log file that are not there when all is
> working.:
>
> ...
> ...
> ...
> INFO: Processing Context configuration file URL
> file:C:\Programs\ApacheGroup\Tomcat5\conf\Catalina\localhost\manager.xml
> Aug 4, 2004 10:03:03 AM org.apache.catalina.startup.ContextConfig
> authenticatorConfig
> SEVERE: Cannot instantiate an authenticator of class
> org.apache.catalina.authenticator.BasicAuthenticator
> java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> ...
> ...
> ...
>
> If I remove the Forrest site configuration file, and restart Tomcat, then
> all is fine, except I can't access the Forrest Site without the config
file.
> If I copy the config file back to Tomcat, go to the Tomcat admin panel and
> 'start' Forrest, everything is fine. I can access my Forrest site and the
> Tomcat home page.
> If I stop then start Tomcat, it breaks again.
>
> This is very localized to the 0.6 Forrest install.
>
> If I swap back to using forrest 0.5.1 (%FORREST_HOME%, 0.5.1 endorsed
libs,
> etc..), then I don't have any problems at all.
>
> Any one have any experience with any of this?
> ---------------------------------
> Michael Hare
>
> GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876


Michael.Hare at fnc

Sep 2, 2004, 7:44 AM

Post #4 of 24 (240 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

UPDATE:

I noticed two new version of Tomcat are available.
I installed 5.0.28, I am using Sun JDK: 1.4.2_05, I copied the endorsed libs
from forrest to Tomcat.

I got the latest from svn (build 37388) and it built fine.

I seeded a new Forrest 0.6 site, but when I go to generate the site, I get 1
error and the build fails.

[snapshot]
------------------------------------------------------------------------
cocoon 2.1.5
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------
* [1/25] [25/26] 3.485s 8.6Kb index.html
* [2/25] [1/22] 0.651s 8.6Kb todo.html
^ samples/
* [4/30] [7/31] 1.261s 22.4Kb samples/linking.html
* [6/30] [2/23] 0.591s 10.6Kb samples/sdocbook.html
* [7/31] [2/24] 0.771s 10.3Kb samples/openoffice-writer.html
* [8/32] [2/23] 0.421s 9.0Kb samples/ascii-art.html
* [9/31] [0/0] 1.753s 3.6Kb index.pdf
* [12/29] [1/28] 0.59s 8.8Kb samples/index.html
* [13/28] [0/0] 0.121s 3.3Kb samples/index.pdf
* [14/29] [2/23] 0.731s 13.0Kb samples/ihtml-sample.html
* [15/28] [0/0] 21.38s 10.9Kb samples/ihtml-sample.pdf
* [18/25] [0/0] 0.16s 3.9Kb samples/ascii-art.pdf
* [19/24] [0/0] 0.03s 1.1Kb images/project-logo.gif
* [23/24] [4/25] 0.571s 7.9Kb changes.html
* [24/23] [0/0] 0.03s 1.1Kb images/add.jpg
* [25/22] [0/0] 0.04s 360b images/rss.png
* [26/21] [0/0] 0.11s 3.2Kb changes.pdf
* [27/20] [0/0] 0.13s 3.6Kb todo.pdf
* [28/19] [0/0] 23.414s 233b images/project.png
* [29/22] [4/29] 0.611s 26.9Kb samples/document-v13.html
* [30/22] [1/10] 0.09s 15.8Kb samples/document-v13.xml
X [0] samples/ext:dtd-docs BROKEN: No
pipeline matched request: samples/ext:dtd-docs
* [32/20] [0/0] 0.02s 696b images/icon.png
* [33/19] [0/0] 20.96s 521b changes.rss
* [34/18] [0/0] 0.441s 12.8Kb samples/document-v13.pod
* [35/17] [0/0] 0.821s 7.4Kb samples/sdocbook.pdf
[/snapshot]

I decided to try to build the webapp for Tomcat anyway and I get this error:

[snapshot]
___________________________________
Using skin "crust"
____________________________________
Removed 1 dangling directory from C:\ForrestExamples\build\webapp
Removed 1 dangling file from C:\ForrestExamples\build\webapp
Created dir: C:\ForrestExamples\build\webapp\WEB-INF\lib

copy-status:
Copying 1 file to C:\ForrestExamples\build\webapp

BUILD FAILED
C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml:237:
java.net.ConnectException: Connection timed out: connect

Total time: 27 seconds
[/snapshot]


I assume the first issue either not a problem or my configuration. If this
is a problem, then it would seem to be a show stopper.
If it's my configuration, then can someone help?

I am running XP, sun jdk 1.4.2_05. I _not_ using Cygwin, I am using the
Command Prompt to do all builds.
I have installed Tomcat 5.0.28 (which, btw, runs forrest 0.5.1 without a
problem)
My environment: FORREST_HOME=C:\Programs\ApacheGroup\forrest-0.6\src\core
Which is where I build from svn.

Next, I will try installing Tomcat 5.5, but since these errors are long
before we get to Tomcat, I doubt the version of Tomcat makes a difference.

Thanks,

Mike



-----Original Message-----
From: Hare, Michael [mailto:Michael.Hare [at] fnc]
Sent: Tuesday, August 10, 2004 9:51 AM
To: 'user [at] forrest'
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Thanks for bumping me up to the top again.

JK2 is the connector between Apache 2.0.50 and Tomcat 5.0.27. It allows be
to access Tomcat applications without specifying the port (:8080) in the
url. (rather than http://myurl.com:8080/Cocoon I can use
http://myurl.com/Cocoon and let Apache send the requests to TomCat using the
JK2 connector)

I mainly added Apache and JK2 to my list for completeness. It isn't
necessary, and I observe the same behavior if I shutdown Apache and run
Tomcat standalone, using port :8080.


I am using svn: rev: 36029 (your latest recommended baseline) for forrest
0.6



About the configuration file.

Starting with TC5, you created individual configuraiton files for
applications in %CATALINA_HOME%/conf/catalina/localhost

This is where admin.xml, manager.xml and balancer.xml live.

I have several of my configuration files in there as well: xindice.xml,
axis.xml, forrest.xml (for forrest0.5.1) and forrestexample.xml (for forrest
0.6).

Editing server.xml was how TC4 accomplished the same thing. The difference
is with TC5 I don't edit (and possible break) distributed files and updating
doesn't over-write my modifications. But it is the same concept: to inform
Tomcat where to find the web application.

See this link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html :
editing server.xml is no longer recommended.


Thanks for keeping me in mind.

- mike


-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Monday, August 09, 2004 11:04 PM
To: user [at] forrest
Subject: Re: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I'm seeing odd behavior when I try to use the forrest from svn.

I do not run Tomcat so cannot help much. However, we need to keep
your issue near the top of the pile.

Some suggestions below ...

> I compile on Windows XP, I have Apache 2.0.50 + Tomcat 5.0.27 + JK2 2.0.4
> I stopped using Cygwin because it was introducing it's own set of issues.

Sorry, what is JK2?

> I keep my local image updated using: 'svn update', then 'build clean' the
> 'build'
>
> I can seed, build and deploy a webapp.. no problems so far.
>
> I connect Tomcat to the Forrest site with this configuration file:
>
> <Context path="/ForrestExamples" docBase="C:\Forrest\build\webapp"
debug="0"
> reloadable="true">
> <Logger className="org.apache.catalina.logger.FileLogger" debug="0"
> verbosity="1" prefix="forrest_demo_log." directory="logs" timestamp="true"
> suffix=".txt"/>
> </Context>
>
> I have copied over the endorsed libraries in to Tomcat's endorsed
directory.
>
> I can even access the Forrest Site from Tomcat.
>
> The problem is once I put the configuration file into Tomcat's
> catalina/localhost directory, I can no longer access several other of my
> other applications such as Xindice, or the JSP and Servlet examples that
> ship with Tomcat. I can't even access the Tomcat Home Page using
> http://myurl.com:8080

When you say "put the configuration file" are you adding the above
fragment to an existing configuration file, or are you totally
replacing a configuration file, or what? Our instructions from
the 'forrest webapp' or 'forrest war' say to add that to server.xml
Are our instructions out-of-date?

--David

> I get HTTP Status 503 (Application Not Currently Available) for each of
> these
>
> Oddly enough, I can still access Cocoon 2.1.5.1 samples, Axis sample page
> and the eXist XMLDB sample page.
>
> Here's a few lines from my stdout.log file that are not there when all is
> working.:
>
> ...
> ...
> ...
> INFO: Processing Context configuration file URL
> file:C:\Programs\ApacheGroup\Tomcat5\conf\Catalina\localhost\manager.xml
> Aug 4, 2004 10:03:03 AM org.apache.catalina.startup.ContextConfig
> authenticatorConfig
> SEVERE: Cannot instantiate an authenticator of class
> org.apache.catalina.authenticator.BasicAuthenticator
> java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> ...
> ...
> ...
>
> If I remove the Forrest site configuration file, and restart Tomcat, then
> all is fine, except I can't access the Forrest Site without the config
file.
> If I copy the config file back to Tomcat, go to the Tomcat admin panel and
> 'start' Forrest, everything is fine. I can access my Forrest site and the
> Tomcat home page.
> If I stop then start Tomcat, it breaks again.
>
> This is very localized to the 0.6 Forrest install.
>
> If I swap back to using forrest 0.5.1 (%FORREST_HOME%, 0.5.1 endorsed
libs,
> etc..), then I don't have any problems at all.
>
> Any one have any experience with any of this?
> ---------------------------------
> Michael Hare
>
> GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876


crossley at apache

Sep 2, 2004, 8:05 AM

Post #5 of 24 (241 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> UPDATE:
>
> I noticed two new version of Tomcat are available.
> I installed 5.0.28, I am using Sun JDK: 1.4.2_05, I copied the endorsed libs
> from forrest to Tomcat.
>
> I got the latest from svn (build 37388) and it built fine.
>
> I seeded a new Forrest 0.6 site, but when I go to generate the site, I get 1
> error and the build fails.
>
> [snapshot]
> ------------------------------------------------------------------------
> cocoon 2.1.5
> Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> ------------------------------------------------------------------------
> * [1/25] [25/26] 3.485s 8.6Kb index.html
> * [2/25] [1/22] 0.651s 8.6Kb todo.html
> ^ samples/
> * [4/30] [7/31] 1.261s 22.4Kb samples/linking.html
> * [6/30] [2/23] 0.591s 10.6Kb samples/sdocbook.html
> * [7/31] [2/24] 0.771s 10.3Kb samples/openoffice-writer.html
> * [8/32] [2/23] 0.421s 9.0Kb samples/ascii-art.html
> * [9/31] [0/0] 1.753s 3.6Kb index.pdf
> * [12/29] [1/28] 0.59s 8.8Kb samples/index.html
> * [13/28] [0/0] 0.121s 3.3Kb samples/index.pdf
> * [14/29] [2/23] 0.731s 13.0Kb samples/ihtml-sample.html
> * [15/28] [0/0] 21.38s 10.9Kb samples/ihtml-sample.pdf
> * [18/25] [0/0] 0.16s 3.9Kb samples/ascii-art.pdf
> * [19/24] [0/0] 0.03s 1.1Kb images/project-logo.gif
> * [23/24] [4/25] 0.571s 7.9Kb changes.html
> * [24/23] [0/0] 0.03s 1.1Kb images/add.jpg
> * [25/22] [0/0] 0.04s 360b images/rss.png
> * [26/21] [0/0] 0.11s 3.2Kb changes.pdf
> * [27/20] [0/0] 0.13s 3.6Kb todo.pdf
> * [28/19] [0/0] 23.414s 233b images/project.png
> * [29/22] [4/29] 0.611s 26.9Kb samples/document-v13.html
> * [30/22] [1/10] 0.09s 15.8Kb samples/document-v13.xml
> X [0] samples/ext:dtd-docs BROKEN: No
> pipeline matched request: samples/ext:dtd-docs
> * [32/20] [0/0] 0.02s 696b images/icon.png
> * [33/19] [0/0] 20.96s 521b changes.rss
> * [34/18] [0/0] 0.441s 12.8Kb samples/document-v13.pod
> * [35/17] [0/0] 0.821s 7.4Kb samples/sdocbook.pdf
> [/snapshot]

We know about that single failure, but don't yet
know what causes it. As the message says, the rest
of the generation is successful.

> I decided to try to build the webapp for Tomcat anyway and I get this error:
>
> [snapshot]
> ___________________________________
> Using skin "crust"
> ____________________________________
> Removed 1 dangling directory from C:\ForrestExamples\build\webapp
> Removed 1 dangling file from C:\ForrestExamples\build\webapp
> Created dir: C:\ForrestExamples\build\webapp\WEB-INF\lib
>
> copy-status:
> Copying 1 file to C:\ForrestExamples\build\webapp
>
> BUILD FAILED
> C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml:237:
> java.net.ConnectException: Connection timed out: connect
>
> Total time: 27 seconds
> [/snapshot]

This is strange. Is it Issue FOR-255?
http://issues.cocoondev.org/browse/FOR-255

If so, then comment-out the document type declaration on
your skinconf.xml


> I assume the first issue either not a problem or my configuration. If this
> is a problem, then it would seem to be a show stopper.
> If it's my configuration, then can someone help?

Either overlook it, or help to fix it.

> I am running XP, sun jdk 1.4.2_05. I _not_ using Cygwin, I am using the
> Command Prompt to do all builds.
> I have installed Tomcat 5.0.28 (which, btw, runs forrest 0.5.1 without a
> problem)
> My environment: FORREST_HOME=C:\Programs\ApacheGroup\forrest-0.6\src\core
> Which is where I build from svn.
>
> Next, I will try installing Tomcat 5.5, but since these errors are long
> before we get to Tomcat, I doubt the version of Tomcat makes a difference.

They are not associated with any Tomcat interaction issue.

--
David Crossley


Michael.Hare at fnc

Sep 3, 2004, 1:43 PM

Post #6 of 24 (242 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

I tried commenting out the DOCTYPE decl in src/documentation/skinconf.xml
and forrest complained immediatly that skinconf.xml was not an valid XML
file.

[snapshot]
Buildfile: C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml

init-props:
Loading project specific properties from
C:\ForrestExamples\forrest.properties
Loading user specific properties from C:\Documents and
Settings\mphare\forrest.properties
Loading default properties from
C:\Programs\ApacheGroup\forrest-0.6\src\core\context\default-forrest.propert
ies
forrest.basic.jvmargs:-Dproject.home="C:\ForrestExamples"
-Dforrest.home="C:\Programs\ApacheGroup\forrest-0.6\src\core"

validate-xdocs:
12 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
/C:/ForrestExamples/src/documentation/skinconf.xml:23:13: Document root
element "skinconfig", must match DOCTYPE root "null".
/C:/ForrestExamples/src/documentation/skinconf.xml:23:13: Document is
invalid: no grammar found.

BUILD FAILED
C:\Programs\ApacheGroup\forrest-0.6\src\core\targets\validate.xml:156:
C:\ForrestExamples\src\documentation\skinconf.xml is not a va
lid XML document.

Total time: 3 seconds
[/snapshot]

There must be more to it than just commenting out a DOCTYPE decl..

- mike

-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Thursday, September 02, 2004 11:06 AM
To: 'user [at] forrest'
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> UPDATE:
>
> I noticed two new version of Tomcat are available.
> I installed 5.0.28, I am using Sun JDK: 1.4.2_05, I copied the endorsed
libs
> from forrest to Tomcat.
>
> I got the latest from svn (build 37388) and it built fine.
>
> I seeded a new Forrest 0.6 site, but when I go to generate the site, I get
1
> error and the build fails.
>
> [snapshot]
> ------------------------------------------------------------------------
> cocoon 2.1.5
> Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> ------------------------------------------------------------------------
> * [1/25] [25/26] 3.485s 8.6Kb index.html
> * [2/25] [1/22] 0.651s 8.6Kb todo.html
> ^ samples/
> * [4/30] [7/31] 1.261s 22.4Kb samples/linking.html
> * [6/30] [2/23] 0.591s 10.6Kb samples/sdocbook.html
> * [7/31] [2/24] 0.771s 10.3Kb samples/openoffice-writer.html
> * [8/32] [2/23] 0.421s 9.0Kb samples/ascii-art.html
> * [9/31] [0/0] 1.753s 3.6Kb index.pdf
> * [12/29] [1/28] 0.59s 8.8Kb samples/index.html
> * [13/28] [0/0] 0.121s 3.3Kb samples/index.pdf
> * [14/29] [2/23] 0.731s 13.0Kb samples/ihtml-sample.html
> * [15/28] [0/0] 21.38s 10.9Kb samples/ihtml-sample.pdf
> * [18/25] [0/0] 0.16s 3.9Kb samples/ascii-art.pdf
> * [19/24] [0/0] 0.03s 1.1Kb images/project-logo.gif
> * [23/24] [4/25] 0.571s 7.9Kb changes.html
> * [24/23] [0/0] 0.03s 1.1Kb images/add.jpg
> * [25/22] [0/0] 0.04s 360b images/rss.png
> * [26/21] [0/0] 0.11s 3.2Kb changes.pdf
> * [27/20] [0/0] 0.13s 3.6Kb todo.pdf
> * [28/19] [0/0] 23.414s 233b images/project.png
> * [29/22] [4/29] 0.611s 26.9Kb samples/document-v13.html
> * [30/22] [1/10] 0.09s 15.8Kb samples/document-v13.xml
> X [0] samples/ext:dtd-docs BROKEN: No
> pipeline matched request: samples/ext:dtd-docs
> * [32/20] [0/0] 0.02s 696b images/icon.png
> * [33/19] [0/0] 20.96s 521b changes.rss
> * [34/18] [0/0] 0.441s 12.8Kb samples/document-v13.pod
> * [35/17] [0/0] 0.821s 7.4Kb samples/sdocbook.pdf
> [/snapshot]

We know about that single failure, but don't yet
know what causes it. As the message says, the rest
of the generation is successful.

> I decided to try to build the webapp for Tomcat anyway and I get this
error:
>
> [snapshot]
> ___________________________________
> Using skin "crust"
> ____________________________________
> Removed 1 dangling directory from C:\ForrestExamples\build\webapp
> Removed 1 dangling file from C:\ForrestExamples\build\webapp
> Created dir: C:\ForrestExamples\build\webapp\WEB-INF\lib
>
> copy-status:
> Copying 1 file to C:\ForrestExamples\build\webapp
>
> BUILD FAILED
> C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml:237:
> java.net.ConnectException: Connection timed out: connect
>
> Total time: 27 seconds
> [/snapshot]

This is strange. Is it Issue FOR-255?
http://issues.cocoondev.org/browse/FOR-255

If so, then comment-out the document type declaration on
your skinconf.xml


> I assume the first issue either not a problem or my configuration. If this
> is a problem, then it would seem to be a show stopper.
> If it's my configuration, then can someone help?

Either overlook it, or help to fix it.

> I am running XP, sun jdk 1.4.2_05. I _not_ using Cygwin, I am using the
> Command Prompt to do all builds.
> I have installed Tomcat 5.0.28 (which, btw, runs forrest 0.5.1 without a
> problem)
> My environment: FORREST_HOME=C:\Programs\ApacheGroup\forrest-0.6\src\core
> Which is where I build from svn.
>
> Next, I will try installing Tomcat 5.5, but since these errors are long
> before we get to Tomcat, I doubt the version of Tomcat makes a difference.

They are not associated with any Tomcat interaction issue.

--
David Crossley


crossley at apache

Sep 4, 2004, 8:27 PM

Post #7 of 24 (236 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> I tried commenting out the DOCTYPE decl in src/documentation/skinconf.xml
> and forrest complained immediatly that skinconf.xml was not an valid XML
> file.

Sorry, my comment was hasty. Change the systemIdentifier to
use a minimal systemIdentifier.

See the recent change where we implemented this workaround.
http://mail-archives.apache.org/eyebrowse/ReadMsg?listId=258&msgNo=555

--
David Crossley


crossley at apache

Sep 5, 2004, 6:34 AM

Post #8 of 24 (239 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

David Crossley wrote:
> Hare, Michael wrote:
> > I tried commenting out the DOCTYPE decl in src/documentation/skinconf.xml
> > and forrest complained immediatly that skinconf.xml was not an valid XML
> > file.
>
> Sorry, my comment was hasty. Change the systemIdentifier to
> use a minimal systemIdentifier.

Oops, reverse that. I was right the first time.
Comment out the document type declaration completely
and add the line "forrest.validate.skinconf=false"
to forrest.properties.

--
David Crossley


cleeds at medata

Sep 5, 2004, 12:03 PM

Post #9 of 24 (241 views)
Permalink
Re: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

On Sep 5, 2004, at 7:34 AM, David Crossley wrote:
> Oops, reverse that. I was right the first time.
> Comment out the document type declaration completely
> and add the line "forrest.validate.skinconf=false"
> to forrest.properties.

Is there a reason why one would have to 'add' the above line, rather
than uncomment it (i.e., place all of these options in the file--a la
Apache's httpd.conf)? I would think the file would have *all* of the
possible entries in it, but mostly be commented out (along with a
description of what each does). I suspect that this would lessen the
number of questions that pop up on the mailing list.

Web Maestro Clay


crossley at apache

Sep 5, 2004, 5:23 PM

Post #10 of 24 (240 views)
Permalink
Re: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Clay Leeds wrote:
> David Crossley wrote:
> > Oops, reverse that. I was right the first time.
> > Comment out the document type declaration completely
> > and add the line "forrest.validate.skinconf=false"
> > to forrest.properties.
>
> Is there a reason why one would have to 'add' the above line, rather
> than uncomment it (i.e., place all of these options in the file--a la
> Apache's httpd.conf)? I would think the file would have *all* of the
> possible entries in it, but mostly be commented out (along with a
> description of what each does). I suspect that this would lessen the
> number of questions that pop up on the mailing list.

Thanks Clay, you are right. When i had to do that, i wondered
why the default properties were not shown. I will fix that.

--
David Crossley


Michael.Hare at fnc

Sep 7, 2004, 6:03 AM

Post #11 of 24 (239 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

I commented out the DOCTYPE decl and added the validate=false entry into the properties file.
I'm back to the Java ConnectException: Connection Timeout error

[snapshot]
____________________________________
Using skin "crust"
____________________________________
Removed 1 dangling directory from C:\ForrestExamples\build\webapp
Removed 1 dangling file from C:\ForrestExamples\build\webapp
Created dir: C:\ForrestExamples\build\webapp\WEB-INF\lib

copy-status:
Copying 1 file to C:\ForrestExamples\build\webapp

BUILD FAILED
C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml:237: java.net.ConnectException: Connection timed out: connect

Total time: 26 seconds

C:\ForrestExamples>
[/snapshot]

I see (elsewhere) that you have successfully built a war file ('forrest war'), but in a *nix system, not Windows.
Maybe this is a Windows issue.

Has anyone else been successful in building and deploying 0.6 with Windows?



-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Sunday, September 05, 2004 9:34 AM
To: 'user [at] forrest'
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


David Crossley wrote:
> Hare, Michael wrote:
> > I tried commenting out the DOCTYPE decl in src/documentation/skinconf.xml
> > and forrest complained immediatly that skinconf.xml was not an valid XML
> > file.
>
> Sorry, my comment was hasty. Change the systemIdentifier to
> use a minimal systemIdentifier.

Oops, reverse that. I was right the first time.
Comment out the document type declaration completely
and add the line "forrest.validate.skinconf=false"
to forrest.properties.

--
David Crossley


nicolaken at apache

Sep 7, 2004, 7:46 AM

Post #12 of 24 (236 views)
Permalink
Re: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> I commented out the DOCTYPE decl and added the validate=false entry into the properties file.
> I'm back to the Java ConnectException: Connection Timeout error

Try updating svn now and testing, I've put in what I believe could be a
fix without having to do either of the afromentioned actions.

--
Nicola Ken Barozzi nicolaken [at] apache
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------


Michael.Hare at fnc

Sep 7, 2004, 8:53 AM

Post #13 of 24 (239 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

I updated SVN to latest and rebuilt.

Nicola, you have successfully fixed the problem forrest was having seeding and building webapps

For better or for worse, though, we have come full circle with the issue.

[1] Forrest 0.6 builds fine.
[2] Forrest seeding completes without errors
[2] Forrest builds the site with the same error:
[snapshot]
* [39/21] [0/0] 0.06s 390b skin/images/rc-t-r-15-1body-2menu-3menu.png
* [40/20] [0/0] 4.627s 11.1Kb images/project.png
* [41/23] [4/31] 0.621s 21.8Kb samples/document-v13.html
* [42/23] [1/10] 0.09s 15.8Kb samples/document-v13.xml
X [0] samples/ext:dtd-docs BROKEN: No pipeline matched request: samples/ext:dtd-docs
* [44/21] [0/0] 0.02s 696b images/icon.png
* [45/20] [0/0] 20.98s 521b changes.rss
* [46/19] [0/0] 0.391s 12.8Kb samples/document-v13.pod
* [47/18] [0/0] 1.272s 7.4Kb samples/sdocbook.pdf
* [48/17] [0/0] 0.28s 6.5Kb
[/snapshot]
and the build fails, however..
[3] Forrest war completes without errors
[4] Forrest webapp completes without errors
[5] If I set up my Tomcat conf file for forrest 0.6 as indicated in the original problem, I can access forrest 0.6, I can also access the Cocoon 2.1.5.1 samples.
[5a] I cannot access my Tomcat admin panel, any of the JSP/Servlet examples that shipped with Tomcat, or my Xindice install.
[6] If I remove the conf file for Forrest 0.6 from Tomcat, then I can access everything (except forrest 0.6, of course. I can still access forrest 0.5.1 as I did not remove that conf file.)




-----Original Message-----
From: Nicola Ken Barozzi [mailto:nicolaken [at] apache]
Sent: Tuesday, September 07, 2004 10:47 AM
To: user [at] forrest
Subject: Re: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I commented out the DOCTYPE decl and added the validate=false entry into the properties file.
> I'm back to the Java ConnectException: Connection Timeout error

Try updating svn now and testing, I've put in what I believe could be a
fix without having to do either of the afromentioned actions.

--
Nicola Ken Barozzi nicolaken [at] apache
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------


Michael.Hare at fnc

Sep 7, 2004, 9:28 AM

Post #14 of 24 (241 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Rather than continue to deal with, what I thought might be a Tomcat conf file issue, I removed the conf file for forrest 0.6 and, instead, put the war file in Tomcat/webapps directory and let Tomcat unravel it into an application.

Once it does, I have the same problems accessing the Tomcat admin control panel, the JSP and Servlet demos (I can't) I had with the conf file.
Once I remove the war and the installed webapp, I can access the tomcat admin panel again.



-----Original Message-----
From: Hare, Michael [mailto:Michael.Hare [at] fnc]
Sent: Tuesday, September 07, 2004 11:54 AM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


I updated SVN to latest and rebuilt.

Nicola, you have successfully fixed the problem forrest was having seeding and building webapps

For better or for worse, though, we have come full circle with the issue.

[1] Forrest 0.6 builds fine.
[2] Forrest seeding completes without errors
[2] Forrest builds the site with the same error:
[snapshot]
* [39/21] [0/0] 0.06s 390b skin/images/rc-t-r-15-1body-2menu-3menu.png
* [40/20] [0/0] 4.627s 11.1Kb images/project.png
* [41/23] [4/31] 0.621s 21.8Kb samples/document-v13.html
* [42/23] [1/10] 0.09s 15.8Kb samples/document-v13.xml
X [0] samples/ext:dtd-docs BROKEN: No pipeline matched request: samples/ext:dtd-docs
* [44/21] [0/0] 0.02s 696b images/icon.png
* [45/20] [0/0] 20.98s 521b changes.rss
* [46/19] [0/0] 0.391s 12.8Kb samples/document-v13.pod
* [47/18] [0/0] 1.272s 7.4Kb samples/sdocbook.pdf
* [48/17] [0/0] 0.28s 6.5Kb
[/snapshot]
and the build fails, however..
[3] Forrest war completes without errors
[4] Forrest webapp completes without errors
[5] If I set up my Tomcat conf file for forrest 0.6 as indicated in the original problem, I can access forrest 0.6, I can also access the Cocoon 2.1.5.1 samples.
[5a] I cannot access my Tomcat admin panel, any of the JSP/Servlet examples that shipped with Tomcat, or my Xindice install.
[6] If I remove the conf file for Forrest 0.6 from Tomcat, then I can access everything (except forrest 0.6, of course. I can still access forrest 0.5.1 as I did not remove that conf file.)




-----Original Message-----
From: Nicola Ken Barozzi [mailto:nicolaken [at] apache]
Sent: Tuesday, September 07, 2004 10:47 AM
To: user [at] forrest
Subject: Re: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I commented out the DOCTYPE decl and added the validate=false entry into the properties file.
> I'm back to the Java ConnectException: Connection Timeout error

Try updating svn now and testing, I've put in what I believe could be a
fix without having to do either of the afromentioned actions.

--
Nicola Ken Barozzi nicolaken [at] apache
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------


dave at brondsema

Sep 7, 2004, 4:59 PM

Post #15 of 24 (243 views)
Permalink
Re: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> Rather than continue to deal with, what I thought might be a Tomcat conf file issue, I removed the conf file for forrest 0.6 and, instead, put the war file in Tomcat/webapps directory and let Tomcat unravel it into an application.
>
> Once it does, I have the same problems accessing the Tomcat admin control panel, the JSP and Servlet demos (I can't) I had with the conf file.
> Once I remove the war and the installed webapp, I can access the tomcat admin panel again.
>
>

I haven't tried this myself.. so I might be off base here. If the
*only* thing you did to tomcat was put the .war file in tomcat's webapp
directory, and you can't run the demos & admin webapp, then that is a
pretty big problem with tomcat. Maybe you should do a fresh install of
tomcat to make sure you have all the tomcat .jar files and not any from
forrest.

--
Dave Brondsema : dave [at] brondsema
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal
Attachments: signature.asc (0.25 KB)


Michael.Hare at fnc

Sep 8, 2004, 7:42 AM

Post #16 of 24 (235 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

I see your point.
Here is what I did.

I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
5.0.27)
I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
TC's webapp dir.
TC unraveled the war and installed cocoon and the samples.
At this point I am able to access everything: JSP/Servlet examples, TC Admin
Panel and Cocoon Samples.
I then put a xindice.war into webapp, TC unraveled it and installed the
webapp.
At this point I am still able to access everything, plus the Xindice 'Ugly
DB Tool'.
Now I put the forrest 0.6 compiled war into webapp and let TC unravel and
install it; which it did.
Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I can
still access Cocoon.

This may be a Tomcat problem, but it seems pretty specific to Forrest's
webapp.

- mike



-----Original Message-----
From: Dave Brondsema [mailto:dave [at] brondsema]
Sent: Tuesday, September 07, 2004 7:59 PM
To: user [at] forrest
Subject: Re: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> Rather than continue to deal with, what I thought might be a Tomcat conf
file issue, I removed the conf file for forrest 0.6 and, instead, put the
war file in Tomcat/webapps directory and let Tomcat unravel it into an
application.
>
> Once it does, I have the same problems accessing the Tomcat admin control
panel, the JSP and Servlet demos (I can't) I had with the conf file.
> Once I remove the war and the installed webapp, I can access the tomcat
admin panel again.
>
>

I haven't tried this myself.. so I might be off base here. If the
*only* thing you did to tomcat was put the .war file in tomcat's webapp
directory, and you can't run the demos & admin webapp, then that is a
pretty big problem with tomcat. Maybe you should do a fresh install of
tomcat to make sure you have all the tomcat .jar files and not any from
forrest.

--
Dave Brondsema : dave [at] brondsema
http://www.splike.com : programming
http://csx.calvin.edu : student org
http://www.brondsema.net : personal


crossley at apache

Sep 8, 2004, 5:38 PM

Post #17 of 24 (236 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
...
> [2] Forrest builds the site with the same error:
> [snapshot]
> * [39/21] [0/0] 0.06s 390b skin/images/rc-t-r-15-1body-2menu-3menu.png
> * [40/20] [0/0] 4.627s 11.1Kb images/project.png
> * [41/23] [4/31] 0.621s 21.8Kb samples/document-v13.html
> * [42/23] [1/10] 0.09s 15.8Kb samples/document-v13.xml
> X [0] samples/ext:dtd-docs BROKEN: No pipeline matched request: samples/ext:dtd-docs
> * [44/21] [0/0] 0.02s 696b images/icon.png
> * [45/20] [0/0] 20.98s 521b changes.rss
> * [46/19] [0/0] 0.391s 12.8Kb samples/document-v13.pod
> * [47/18] [0/0] 1.272s 7.4Kb samples/sdocbook.pdf
> * [48/17] [0/0] 0.28s 6.5Kb
> [/snapshot]
> and the build fails, however..

Perhaps you are not reading the messages that come to the
screen when doing 'forrest'. It is not a case of "the build fails".
There is one link that is broken (FOR-284). The rest of the site
generation is fine, so don't get hung up on this.

--
David Crossley


crossley at apache

Sep 8, 2004, 5:44 PM

Post #18 of 24 (236 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Hare, Michael wrote:
> I see your point.
> Here is what I did.
>
> I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
> 5.0.27)
> I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
> TC's webapp dir.
> TC unraveled the war and installed cocoon and the samples.
> At this point I am able to access everything: JSP/Servlet examples, TC Admin
> Panel and Cocoon Samples.
> I then put a xindice.war into webapp, TC unraveled it and installed the
> webapp.
> At this point I am still able to access everything, plus the Xindice 'Ugly
> DB Tool'.
> Now I put the forrest 0.6 compiled war into webapp and let TC unravel and
> install it; which it did.
> Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I can
> still access Cocoon.
>
> This may be a Tomcat problem, but it seems pretty specific to Forrest's
> webapp.

Have you tried starting with the fresh Tomcat and just adding
forrest-0.6-dev ?
... i.e. no Cocoon, no Xindice, and no forrest-0.5.1

--
David Crossley


Michael.Hare at fnc

Sep 9, 2004, 6:11 AM

Post #19 of 24 (240 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Sorry, I wasn't trying bash this, just reporting what I saw.
The webapp and war both built without error.

-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Wednesday, September 08, 2004 8:39 PM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
...
> [2] Forrest builds the site with the same error:
> [snapshot]
> * [39/21] [0/0] 0.06s 390b
skin/images/rc-t-r-15-1body-2menu-3menu.png
> * [40/20] [0/0] 4.627s 11.1Kb images/project.png
> * [41/23] [4/31] 0.621s 21.8Kb samples/document-v13.html
> * [42/23] [1/10] 0.09s 15.8Kb samples/document-v13.xml
> X [0] samples/ext:dtd-docs BROKEN: No
pipeline matched request: samples/ext:dtd-docs
> * [44/21] [0/0] 0.02s 696b images/icon.png
> * [45/20] [0/0] 20.98s 521b changes.rss
> * [46/19] [0/0] 0.391s 12.8Kb samples/document-v13.pod
> * [47/18] [0/0] 1.272s 7.4Kb samples/sdocbook.pdf
> * [48/17] [0/0] 0.28s 6.5Kb
> [/snapshot]
> and the build fails, however..

Perhaps you are not reading the messages that come to the
screen when doing 'forrest'. It is not a case of "the build fails".
There is one link that is broken (FOR-284). The rest of the site
generation is fine, so don't get hung up on this.

--
David Crossley


Michael.Hare at fnc

Sep 9, 2004, 6:47 AM

Post #20 of 24 (240 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Yes, a completely new install of TC 5.0.28 with no non-bundled webapps allows access to admin panel and the JSP/Servlet examples
Adding the forrest 0.6 war to the webapps dir stops that access. Since I can't get into the Admin Panel, I can't start forrest0.6, so the forrest site isn't working either.


-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Wednesday, September 08, 2004 8:45 PM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I see your point.
> Here is what I did.
>
> I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
> 5.0.27)
> I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
> TC's webapp dir.
> TC unraveled the war and installed cocoon and the samples.
> At this point I am able to access everything: JSP/Servlet examples, TC Admin
> Panel and Cocoon Samples.
> I then put a xindice.war into webapp, TC unraveled it and installed the
> webapp.
> At this point I am still able to access everything, plus the Xindice 'Ugly
> DB Tool'.
> Now I put the forrest 0.6 compiled war into webapp and let TC unravel and
> install it; which it did.
> Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I can
> still access Cocoon.
>
> This may be a Tomcat problem, but it seems pretty specific to Forrest's
> webapp.

Have you tried starting with the fresh Tomcat and just adding
forrest-0.6-dev ?
... i.e. no Cocoon, no Xindice, and no forrest-0.5.1

--
David Crossley


Michael.Hare at fnc

Sep 9, 2004, 8:22 AM

Post #21 of 24 (238 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Just for kicks I installed Tomcat 5.5.1 and Sun's JSDK 1.5.0.
The behavior is exactly the same as far as forrest-0.6 goes.


-----Original Message-----
From: Hare, Michael [mailto:Michael.Hare [at] fnc]
Sent: Thursday, September 09, 2004 9:47 AM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Yes, a completely new install of TC 5.0.28 with no non-bundled webapps
allows access to admin panel and the JSP/Servlet examples
Adding the forrest 0.6 war to the webapps dir stops that access. Since I
can't get into the Admin Panel, I can't start forrest0.6, so the forrest
site isn't working either.


-----Original Message-----
From: David Crossley [mailto:crossley [at] apache]
Sent: Wednesday, September 08, 2004 8:45 PM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> I see your point.
> Here is what I did.
>
> I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
> 5.0.27)
> I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
> TC's webapp dir.
> TC unraveled the war and installed cocoon and the samples.
> At this point I am able to access everything: JSP/Servlet examples, TC
Admin
> Panel and Cocoon Samples.
> I then put a xindice.war into webapp, TC unraveled it and installed the
> webapp.
> At this point I am still able to access everything, plus the Xindice 'Ugly
> DB Tool'.
> Now I put the forrest 0.6 compiled war into webapp and let TC unravel and
> install it; which it did.
> Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I can
> still access Cocoon.
>
> This may be a Tomcat problem, but it seems pretty specific to Forrest's
> webapp.

Have you tried starting with the fresh Tomcat and just adding
forrest-0.6-dev ?
... i.e. no Cocoon, no Xindice, and no forrest-0.5.1

--
David Crossley


dave at brondsema

Sep 9, 2004, 12:34 PM

Post #22 of 24 (237 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

Do the tomcat logs show anything useful?

You should ask about this on the tomcat mailing list. Even if our webapp
isn't correct it shouldn't interfere with other parts of tomcat.

Dave

On Thu, 9 Sep 2004, Hare, Michael wrote:

> Yes, a completely new install of TC 5.0.28 with no non-bundled webapps allows access to admin panel and the JSP/Servlet examples
> Adding the forrest 0.6 war to the webapps dir stops that access. Since I can't get into the Admin Panel, I can't start forrest0.6, so the forrest site isn't working either.
>
>
> -----Original Message-----
> From: David Crossley [mailto:crossley [at] apache]
> Sent: Wednesday, September 08, 2004 8:45 PM
> To: user [at] forrest
> Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27
>
>
> Hare, Michael wrote:
> > I see your point.
> > Here is what I did.
> >
> > I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
> > 5.0.27)
> > I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
> > TC's webapp dir.
> > TC unraveled the war and installed cocoon and the samples.
> > At this point I am able to access everything: JSP/Servlet examples, TC Admin
> > Panel and Cocoon Samples.
> > I then put a xindice.war into webapp, TC unraveled it and installed the
> > webapp.
> > At this point I am still able to access everything, plus the Xindice 'Ugly
> > DB Tool'.
> > Now I put the forrest 0.6 compiled war into webapp and let TC unravel and
> > install it; which it did.
> > Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I can
> > still access Cocoon.
> >
> > This may be a Tomcat problem, but it seems pretty specific to Forrest's
> > webapp.
>
> Have you tried starting with the fresh Tomcat and just adding
> forrest-0.6-dev ?
> ... i.e. no Cocoon, no Xindice, and no forrest-0.5.1
>
>

--
Dave Brondsema : dave [at] brondsema
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org


Michael.Hare at fnc

Sep 10, 2004, 7:18 AM

Post #23 of 24 (240 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

We may have closed this issue (FOR-277) pre-maturally.
I don't disagree that Tomcat may have an issue, but something about
forrest-0.6 really sets it off.
I have deployed several webapps and wars under Tomcat 5.5.1, including
forrest 0.5.1 and everything works fine.
Deploying forrest 0.6 is breaking Tomcat for some reason.

I can see a finger-pointing game starting up here, but that's not going to
resolve the issue.

I think I would leave FOR-277 open at least until we hear back from Tomcat.

wata-shi-no ni-yen, desu

- mike

-----Original Message-----
From: Dave Brondsema [mailto:dave [at] brondsema]
Sent: Thursday, September 09, 2004 3:35 PM
To: user [at] forrest
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27



Do the tomcat logs show anything useful?

You should ask about this on the tomcat mailing list. Even if our webapp
isn't correct it shouldn't interfere with other parts of tomcat.

Dave

On Thu, 9 Sep 2004, Hare, Michael wrote:

> Yes, a completely new install of TC 5.0.28 with no non-bundled webapps
allows access to admin panel and the JSP/Servlet examples
> Adding the forrest 0.6 war to the webapps dir stops that access. Since I
can't get into the Admin Panel, I can't start forrest0.6, so the forrest
site isn't working either.
>
>
> -----Original Message-----
> From: David Crossley [mailto:crossley [at] apache]
> Sent: Wednesday, September 08, 2004 8:45 PM
> To: user [at] forrest
> Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27
>
>
> Hare, Michael wrote:
> > I see your point.
> > Here is what I did.
> >
> > I performed a fresh install of Tomcat 5.0.28 (I did not upgrade from TC
> > 5.0.27)
> > I had already compiled cocoon 2.1.5.1 into a war, so I put that war into
> > TC's webapp dir.
> > TC unraveled the war and installed cocoon and the samples.
> > At this point I am able to access everything: JSP/Servlet examples, TC
Admin
> > Panel and Cocoon Samples.
> > I then put a xindice.war into webapp, TC unraveled it and installed the
> > webapp.
> > At this point I am still able to access everything, plus the Xindice
'Ugly
> > DB Tool'.
> > Now I put the forrest 0.6 compiled war into webapp and let TC unravel
and
> > install it; which it did.
> > Now I cannot access the JSP/Servlet examples or the TC Admin Panel. I
can
> > still access Cocoon.
> >
> > This may be a Tomcat problem, but it seems pretty specific to Forrest's
> > webapp.
>
> Have you tried starting with the fresh Tomcat and just adding
> forrest-0.6-dev ?
> ... i.e. no Cocoon, no Xindice, and no forrest-0.5.1
>
>

--
Dave Brondsema : dave [at] brondsema
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org


crossley at apache

Sep 10, 2004, 5:15 PM

Post #24 of 24 (236 views)
Permalink
RE: Forrest 0.6 Interaction with Tomcat 5.0.27 [In reply to]

I agree that it closed too early. It still does not
work for me either.

--David

Hare, Michael wrote:
> We may have closed this issue (FOR-277) pre-maturally.
> I don't disagree that Tomcat may have an issue, but something about
> forrest-0.6 really sets it off.
> I have deployed several webapps and wars under Tomcat 5.5.1, including
> forrest 0.5.1 and everything works fine.
> Deploying forrest 0.6 is breaking Tomcat for some reason.
>
> I can see a finger-pointing game starting up here, but that's not going to
> resolve the issue.
>
> I think I would leave FOR-277 open at least until we hear back from Tomcat.
>
> wata-shi-no ni-yen, desu
>
> - mike

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.