[Thread Prev][Thread Next][Index]

Re: Java exception



Roland,
Thanks for the quick reply!

I believe that we are using a .war file that we built locally. I am not
a tomcat expert but I believe this because we have multiple las servers
running on this machine and I know we have a .war file for each server.
(since I am not a tomcat expert I will try all suggestions.)

-rw-r--r--    1 root     root      2315891 Apr 23 11:03 lasxml-org.war
-rw-r--r--    1 root     root      2315891 Apr 23 11:01 lasxml.war

#diff lasxml-org.war lasxml.war
Binary files lasxml-org.war and lasxml.war differ



Any other suggestions? Should I possibly update the j2sdk?

Thanks,
Phil
On Mon, 2004-05-17 at 12:52, Roland Schweitzer wrote:
> Phil,
> 
> If you have already tried this then I will dig deeper for other things 
> to try, but my experience indicates that this error crops up most often 
> when the JVM and Java compiler versions are out of sync.  The 
> distribution las.war file was built with 1.4.2_02 (two tweaks later than 
> your).  I suggest you stop the servlet container, remove the webapps/las 
> directory and las.war file and build new war file ('ant dist' in the 
> las_servlet directory) and restart the servlet container.
> 
> Let me know what happens or if you are using a .war that you built locally.
> 
> Roland
> 
> Phil Moses wrote:
> 
> >   Hello,
> >We have had the following exception error thrown more than once, I am
> >currently trying to figure out what is causing the exception. (although
> >the logs are not providing me with enough information.) The error at
> >this point seems to have spawned when using a Netscape navigator
> >browser. 
> >
> >-----------machine/software details-------------------
> >
> >Machine details:
> >x86 Running Redhat 9.0 
> >las server = 6.3.0
> >Ferrett = 5.51
> >$LasConfig{java} = '/opt/j2sdk_nb/j2sdk1.4.2/bin/java';
> >
> >------------end machine/software details---------------
> >
> >
> >------------------------------------------------error-----------------------------------------
> >
> >     type Exception report
> >
> >        message 
> >
> >        description The server encountered an internal error () that
> >prevented it from fulfilling this request.
> >
> >        exception 
> >
> >        java.lang.ClassCastException
> >               
> >gov.noaa.pmel.tmap.ExceptionFilter.doFilter(ExceptionFilter.java:39)
> >
> >----------------------------------------------end error---------
> >
> >
> >----------------------begin logs----------------------------
> >
> >2004-05-17 11:21:48 StandardWrapperValve[TemplateServlet]:
> >Servlet.service() for servlet TemplateServlet threw exception
> >java.lang.ClassCastException
> >        at
> >gov.noaa.pmel.tmap.ExceptionFilter.doFilter(ExceptionFilter.java:39)
> >        at
> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
> >        at
> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
> >        at
> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
> >        at
> >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> >        at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> >        at
> >org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
> >        at
> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
> >        at
> >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> >        at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> >        at
> >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
> >        at
> >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> >        at
> >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
> >        at
> >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
> >        at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> >        at
> >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
> >        at
> >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
> >        at
> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
> >        at
> >org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
> >        at
> >org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
> >        at
> >org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> >        at
> >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> >        at
> >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> >        at
> >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> >        at java.lang.Thread.run(Thread.java:534)
> >
> >-----------------end logs-----------------------
> >
> >
> >Any information is appreciated!!
> >Thanks,
> >Phil Moses
> >
> >
> >
> >  
> >
-- 
Phil Moses
UNIX/Network/Computing Administration and Support
Physical Oceanography Research Division, Scripps Institution of Oceanography
pbmoses@ucsd.edu
858-822-1541



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement