Commen Problem with Tomcat. & WARs - eg using some JSF library

J

jon

A commen probel that can occure with Tomcat when you run your .WAR
files is that it can produce error messages that cllaim that the
application cannot fin the class that is used in the app. This only
happens when Tomcat trys to run the .war file if you build directly to
the server or test server it works fine.

The reason this can happen is that tomcat is installed into a
directory with a space in the name of one of the folders, this is due
to the fact that Tomcat uses ANT to explode the .war, as ANT script is
in xml there can be problems encoding spaces into xml especialy if the
document is parsed more than once in some way.

solution:
NEVER install tomcat into directory that has a space in it, even
though the windows installer puts one in even if you do not install
into the Program Files. Change the path to "C:\Tomcat_5_5\" fo
instance.

More info can be found on the Sun forums.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,185
Latest member
GluceaReviews

Latest Threads

Top