Hi Jil, the server on which you want to run the application (where the tomcat runs) does not provide java6
see: # Reason: You are trying to run a class compiled with newer version of JDK. For example, you have compiled the class with JDK 5.0 and try to run on JDK 1.4.2. Class file major/minor version evolves with major JDK releases. Each JDK version supports only upto a specific class file major.minor version. 1. Java SE 6 class file version 50.0 or below 2. JDK 5.0 class file version 49.0 or below 3. JDK 1.4.2 class file version 48.0 or below While you can run a .class file compiled with past release of JDK, the other way around does not work. You can use javac's -target option. Also, always check version of "java" used to run your program by using -version option. so please either upgrade the jvm on the server, or use the afore mentioned option while compiling the source, and compile it compatible to the target VM Kind regards Juergen > -----Ursprüngliche Nachricht----- > Von: jill han [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 9. Februar 2007 17:40 > An: Turbine Users List > Betreff: RE: Exception > > Thanks for your help. > > I updated xmlrpc from 1.x to 2.0. the problem still exists. > > It will cause the following runtime exception when I run the app. > > ************* > > .. > > 2007-02-09 09:39:54,065 [main] INFO > org.apache.turbine.services.BaseServiceBroker- Start Initializing service > (early): SecurityService > > 2007-02-09 09:41:28,950 [Thread-6] INFO org.apache.turbine.Turbine- > Double initialization of Turbine was attempted! > > 2007-02-09 09:41:28,960 [Thread-6] ERROR org.apache.turbine.Turbine- > Turbine.handleException: java.lang.NullPointerException > > at org.apache.turbine.Turbine.doGet(Turbine.java:692) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > .... > > Even I took out the xmlrpc service, the unsupported major.minor version > problem is gone, but the Double initialization still occurs. > > I am totally lost on this double initialization issue. What could cause > that??? > > > > > > > -----Original Message----- > > >Hi Jil, > > > > >this indicates, that a library you use was not compiled to be used for > >java6. > > > > >See Here... > > > com.nequalsone.webservice.FormLetter: com/nequalsone/om/BaseLibraryItem > > > (Unsupported major.minor version 50.0) > > > > >http://blogs.sun.com/sundararajan/entry/java_class_ic_errors > > > > >second stanza > > > > >Kind regards > > > > >Juergen > > > > > -----Ursprüngliche Nachricht----- > > > Von: jill han [mailto:[EMAIL PROTECTED] > > > Gesendet: Donnerstag, 8. Februar 2007 21:40 > > > An: Turbine Users List > > > Cc: Apache Torque Users List > > > Betreff: RE: Exception > > > > > > From the log file, the exception is caused by > > > ********************************************** > > > 2007-02-08 14:29:07,586 [main] ERROR > > > org.apache.turbine.services.BaseServiceBroker- > > > org.apache.turbine.services.InitializationException: XMLRPCService > > > failed to initialize: Failed to instantiate > > > com.nequalsone.webservice.FormLetter: com/nequalsone/om/BaseLibraryItem > > > (Unsupported major.minor version 50.0) > > > ****************************************************** > > > Any helps will be appreciated. > > > Jill > > > > > > -----Original Message----- > > > From: jill han > > > Sent: Thursday, February 08, 2007 10:35 AM > > > To: 'Turbine Users List' > > > Subject: Exception > > > > > > I have turbine/torque/velocity application. I upgraded java from 4 to > 6. > > > I used maven to build the objects. > > > The build is successful. However after I loaded the classes to > > > tomcat4.x, it threw a exception as follows. If I changed back to java4, > > > rebuild, load the objects to tomcat, the application will be running > > > fine. Is there anything else that I need to update? > > > Thanks for your helps. > > > Jill > > > > > > ***************************** > > > HTTP Status 500 - > > > > > > type Exception report > > > > > > message > > > > > > description The server encountered an internal error () that prevented > > > it from fulfilling this request. > > > > > > exception > > > > > > java.lang.NullPointerException > > > at org.apache.turbine.Turbine.doGet(Turbine.java:876) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > at > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > > > tionFilterChain.java:247) > > > at > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > > > erChain.java:193) > > > at > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > > > e.java:256) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:643) > > > at > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > > 80) > > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > > > e.java:191) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:643) > > > at > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > > 80) > > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 > > > 6) > > > at > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > > > :180) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:643) > > > at > > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > > > lve.java:171) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:641) > > > at > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > > > :172) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:641) > > > at > > > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577 > > > ) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:641) > > > at > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > > 80) > > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > > > java:174) > > > at > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > > nvokeNext(StandardPipeline.java:643) > > > at > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > > 80) > > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > > > at > > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:60 > > > 1) > > > at > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > > > onnection(Http11Protocol.java:392) > > > at > > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56 > > > 5) > > > at > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > > > .java:619) > > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > > Apache Tomcat/4.1.27 > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > *********************** > > > > -----Original Message----- > From: jill han [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 08, 2007 2:40 PM > To: Turbine Users List > Cc: Apache Torque Users List > Subject: RE: Exception > > > > From the log file, the exception is caused by > > ********************************************** > > 2007-02-08 14:29:07,586 [main] ERROR > > org.apache.turbine.services.BaseServiceBroker- > > org.apache.turbine.services.InitializationException: XMLRPCService > > failed to initialize: Failed to instantiate > > com.nequalsone.webservice.FormLetter: com/nequalsone/om/BaseLibraryItem > > (Unsupported major.minor version 50.0) > > ****************************************************** > > Any helps will be appreciated. > > Jill > > > > -----Original Message----- > > From: jill han > > Sent: Thursday, February 08, 2007 10:35 AM > > To: 'Turbine Users List' > > Subject: Exception > > > > I have turbine/torque/velocity application. I upgraded java from 4 to 6. > > I used maven to build the objects. > > The build is successful. However after I loaded the classes to > > tomcat4.x, it threw a exception as follows. If I changed back to java4, > > rebuild, load the objects to tomcat, the application will be running > > fine. Is there anything else that I need to update? > > Thanks for your helps. > > Jill > > > > ***************************** > > HTTP Status 500 - > > > > type Exception report > > > > message > > > > description The server encountered an internal error () that prevented > > it from fulfilling this request. > > > > exception > > > > java.lang.NullPointerException > > at org.apache.turbine.Turbine.doGet(Turbine.java:876) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > > tionFilterChain.java:247) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > > erChain.java:193) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > > e.java:256) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:643) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 80) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > > e.java:191) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:643) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 80) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 > > 6) > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > > :180) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:643) > > at > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > > lve.java:171) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:641) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > > :172) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:641) > > at > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577 > > ) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:641) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 80) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > > java:174) > > at > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > > nvokeNext(StandardPipeline.java:643) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > > 80) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > > at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:60 > > 1) > > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > > onnection(Http11Protocol.java:392) > > at > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56 > > 5) > > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > > .java:619) > > at java.lang.Thread.run(Thread.java:536) > > > > > > Apache Tomcat/4.1.27 > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
