Hi, So in your dev and test environments, mysql.jar is in your WAR as well? My guess is it's in common/lib, where it should be, in your dev/test environments, but it's in your WAR for your production environment, hence the error.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 13, 2004 6:09 AM >To: [EMAIL PROTECTED] >Subject: deployment questions > >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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
