4 Replies Latest reply on Apr 6, 2007 11:24 PM by Chen David

    Deployment web application in jboss 4.0.5.ga on Windows Serv

    Chen David Newbie

      Hi,

      I have developed an web application with NetBeans 5.5 and tested "OK" on standalone Windows XP PC. But once deployed (by copying war files into the deploy dir in Windows Server 2003) successfully into the running JBOSS. Its show up errors while browsing in the IE from workstation and the server itself. The errors are follows:

      22:10:17,984 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
      threw exception
      java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1815)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:869)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1322)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1201)
      at java.beans.Beans.instantiate(Beans.java:187)
      at java.beans.Beans.instantiate(Beans.java:48)
      at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactor
      y.java:223)
      at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreMan
      agedBeans(ApplicationAssociate.java:306)
      at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolve
      rImpl.java:97)
      at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEval
      uatorImpl.java:263)
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)

      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)

      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:666)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:641)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHand
      lerImpl.java:249)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      22:11:43,296 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
      threw exception
      java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1815)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:869)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1322)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1201)
      at java.beans.Beans.instantiate(Beans.java:187)
      at java.beans.Beans.instantiate(Beans.java:48)
      at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactor
      y.java:223)
      at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreMan
      agedBeans(ApplicationAssociate.java:306)
      at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolve
      rImpl.java:97)
      at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEval
      uatorImpl.java:263)
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)

      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)

      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:666)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:641)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHand
      lerImpl.java:249)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      22:13:11,375 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
      threw exception
      java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1815)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:869)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1322)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1201)
      at java.beans.Beans.instantiate(Beans.java:187)
      at java.beans.Beans.instantiate(Beans.java:48)
      at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactor
      y.java:223)
      at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreMan
      agedBeans(ApplicationAssociate.java:306)
      at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolve
      rImpl.java:97)
      at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
      at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEval
      uatorImpl.java:263)
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)

      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)

      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:666)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandle
      rImpl.java:641)
      at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHand
      lerImpl.java:249)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
      se.java:107)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)


      Can anyone help me ..!


      Thanks

      Rgds
      David