Can't get Tomcat started correctly [message #183709] |
Tue, 05 December 2006 18:22 |
Alan Chandler Messages: 45 Registered: July 2009 |
Member |
|
|
For some time I have been using Eclipse and WebTools to create a number
of Tapestry applications. Up to about a month ago I could run these
applications on Tomcat 5.0 server managed by eclipse. CATALINA_HOME
was set to /opt/jakarta-tomcat-5.0.30 and CATALINA_BASE in
the .metadata area inside my Eclipse workspace
(in other words the
For the past month, I have been (not :-) ) making a change to one of the
applications, and thinking about an upgrade to Tomcat 5.5.
Today, I have just come back to try and run the revised application
under 5.5 - my other applications I haven't touched.
In order to prevent any permissions problems, I downloaded the binary
version (5.5.20) of Tomcat for Linux from the Apache web site and
installed it in /opt/apache-tomcat-5.5.20. I copied all the .jar files
I had in the old 5.0.30 configuration under the shared/lib directory
into the same in in 5.5, and the postgresql jdbc driver from the
common/lib directory across as well.
Now I try and get something running on either version of tomcat its
failing.
On 5.0 there is a log file which shows
that "org.apache.tapestry.RedirectFilter" class is not found on any of
the applications as they start up. Since that is the class that
effectively acts as the gateway to the application, nothing is running
Given that the tapestry jar is in shared/lib directory, and I can look
inside this and find the appropriate class I assume this is some form
of classpath problem.
On 5.5 - where I have only "added" my revised application (called
usermgr) to the configuration, I have no log file at all. When I look
in the webapps directory in the .metadata/......../tmp1 directory the
application MINUS its WEB-INF directory are there, but that isn't.
In this case - I can't see any particular reason why this this directory
inside WebContent, but all the others made it across.
Can any one give me ANY clues as to where I should look to solve this
|
|
|
Re: Can't get Tomcat started correctly [message #183715 is a reply to message #183709] |
Tue, 05 December 2006 18:47 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
In Tomcat 5.0 and 5.5, "shared/lib" is relative to CATALINA_BASE, i.e.
the one under ".metadata/...". Based on your description, the
webapps shouldn't have worked with the jars in the installation's
"shared/lib". You can import the catalina.properties file into the
server's subfolder of the Servers project in your workspace and make
changes to the "shared.loader", if desired.
I don't know why the WEB-INF directory wouldn't be present.
Cheers,
Larry
Alan Chandler wrote:
> For some time I have been using Eclipse and WebTools to create a number
> of Tapestry applications. Up to about a month ago I could run these
> applications on Tomcat 5.0 server managed by eclipse. CATALINA_HOME
> was set to /opt/jakarta-tomcat-5.0.30 and CATALINA_BASE in
> the .metadata area inside my Eclipse workspace
> (in other words the
>
> For the past month, I have been (not :-) ) making a change to one of the
> applications, and thinking about an upgrade to Tomcat 5.5.
>
> Today, I have just come back to try and run the revised application
> under 5.5 - my other applications I haven't touched.
>
> In order to prevent any permissions problems, I downloaded the binary
> version (5.5.20) of Tomcat for Linux from the Apache web site and
> installed it in /opt/apache-tomcat-5.5.20. I copied all the .jar files
> I had in the old 5.0.30 configuration under the shared/lib directory
> into the same in in 5.5, and the postgresql jdbc driver from the
> common/lib directory across as well.
>
> Now I try and get something running on either version of tomcat its
> failing.
>
> On 5.0 there is a log file which shows
> that "org.apache.tapestry.RedirectFilter" class is not found on any of
> the applications as they start up. Since that is the class that
> effectively acts as the gateway to the application, nothing is running
> Given that the tapestry jar is in shared/lib directory, and I can look
> inside this and find the appropriate class I assume this is some form
> of classpath problem.
>
>
> On 5.5 - where I have only "added" my revised application (called
> usermgr) to the configuration, I have no log file at all. When I look
> in the webapps directory in the .metadata/......../tmp1 directory the
> application MINUS its WEB-INF directory are there, but that isn't.
>
> In this case - I can't see any particular reason why this this directory
> inside WebContent, but all the others made it across.
>
> Can any one give me ANY clues as to where I should look to solve this
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04029 seconds