Hi,
I have a setup that works 100% in my development
(Windows) and test (linux) environments, but just
refuses to work in a linux environment provided by a
commercial hosting company. A number of issues arise,
one which some of you could perhaps comment:
I have a .war which is NOT unpacked. My jsp's are
precompiled as java classes with servlet mappings in
the web.xml. I have an myapp.xml in the tomcat/webapp
directory which has as docbase this .war (in a
non-Tomcat directory) and defining some JDBC
datasources.
In the production environment, the exact same files
and setup fail to work with the popular
"driverclass"=null attribute. Ie, the datasource
cannot be initialised. mysql.jar is where it should be
etc. I've tried everything, can't get it to work. It
sucks.
The provider also requires me to dump my .war in a
directory where it gets extracted and that often leads
to file not found exceptions. Its seems the
precompiled JSP's aren't always detected and instead
Apache web server searches for the actual jsp file,
which does not exist.
I eventually got the app to work, but every few hours
Tomcat crashes with an "internal server error"
reported in the browser. Tomcat logs are empty and
when I stop Tomcat, I get a connection exception.
Furthermore there are static html files in the .war
and as soon as one of those are called, the
application seems to lose track if it should call
Tomcat or try to read files directly from the
filesystem.
We run Tomcat 4.1.30 on JDK 1.4.2_03. RedHat linux.
Any comments about where I should simplify or look for
solutions? Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]