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.
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.