Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Hassan Schroeder
On Mon, Apr 14, 2008 at 8:43 AM, Raghuveer Rawat [EMAIL PROTECTED] wrote: I am using Tomcat5.0.28 and my application works fine in my local system When i redeploy appln in test server(*Unix Environment*), i get java.lang.ClassCastException: otrack.med.acuity.MedicalAcuityLevelCode

RE: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Litton, Tom - CEPM
It's been my experience errors like this are caused by having the same jar file in the common/lib and WEB-INF/lib directories. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 10:44 AM To: users@tomcat.apache.org Subject: Problem redeploying

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Raghuveer Rawat
I do not have same set of jars in common/lib and WEB-INF/lib directories.My problems resolves if i *restart the tomcat* but it should work without restarting the tomcat because in Production environment we can't restart the server so many times . On Mon, Apr 14, 2008 at 12:24 PM, Litton, Tom

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghuveer, Raghuveer Rawat wrote: | I do not have same set of jars in common/lib and WEB-INF/lib directories.My | problems resolves if i *restart the tomcat* but it should work without | restarting the tomcat because in Production environment we

RE: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Problem redeploying war in Tomcat , Unix environment If a Tomcat restart fixes your problem, then you are messing with classes in your webapp but somewhere an object lives on across the restart. That should be lives accross

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Martin Gainty
There exists a mismatch on existing class on classpath for otrack.med.acuity.MedicalAcuityLevelCode 1)backup old jars and classes 2)delete all old classes of otrack.med.acuity.MedicalAcuityLevelCode.class (including any jars that contain) from deploy machine 3)copy new jars and classes from local

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Subject: Re: Problem redeploying war in Tomcat , Unix environment | | If a Tomcat restart fixes your problem, then you are messing with | classes in your