tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer Rawat" <techhel...@gmail.com>
Subject Problem redeploying war in Tomcat , Unix environment
Date Mon, 14 Apr 2008 15:43:33 GMT
Hi ,
I am using Tomcat5.0.28 and my application works fine in my local system(Dev
environment).
When i redeploy appln in test server(*Unix Environment*), i get the
following exception when i click on some link.

java.lang.ClassCastException: otrack.med.acuity.MedicalAcuityLevelCode
incompatible with otrack.med.acuity.MedicalAcuityLevelCode
I thought my appln does not unload its classes gracefully on redeploy. I
modified  tomcat's server.xml and added autoDeploy and unpackWars attribute
as below :

 <Host appBase="webapps" name="domain2" autoDeploy="true" unpackWARs
="true"><----The changes you requested
      <Alias>pubwebtest.doc.state.sc.us</Alias>
        <Logger className="org.apache.catalina.logger.FileLogger"
timestamp="true" prefix="pubweb."/>
      </Host>

*Still iam anable to resolve the issue. I dont have any clue how it works in
UNix environment. Need help. *
**
*Detail of the exception: *
**
 java.lang.ClassCastException: otrack.med.acuity.MedicalAcuityLevelCode
incompatible with otrack.med.acuity.MedicalAcuityLevelCode
 at
otrack.med.acuity.MedicalAcuityLevelCodeWrapper.getOptionswWithTitleDesc(MedicalAcuityLevelCodeWrapper.java:116)
 at
otrack.med.PatientSearchActions.loadPatientDeskTop(PatientSearchActions.java:927)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
 at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
 at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
 at
otrack.med.MtrackRequestProcessor.process(MtrackRequestProcessor.java:471)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
otrack.med.hibernate.HibernateSessionRequestFilter.doFilterInternal(HibernateSessionRequestFilter.java:206)
 at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
us.sc.state.doc.appsecurity.AppUserFilter.doFilter(AppUserFilter.java:93)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at otrack.med.RequestFilter.doFilter(RequestFilter.java:28)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:287)
 at
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:84)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.josso.tc50.agent.SSOAgentValve.invoke(SSOAgentValve.java:495)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:803)

Thanks and regards,
Raghu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message