Details

    • Steps to Reproduce:
      Hide
      1. Get RF 5 kitchensink archetype and build it with JDK 6
      2. Start JBoss AS 7.1 with Java 6 and deploy kitchensink app
      3. See console for errors

      _______________________________________
      ORIGINAL STEPS TO REPRODUCE
      1. Use this in web.xml:

       <servlet>
              <servlet-name>Resource Servlet</servlet-name>
              <servlet-class&gt;org.richfaces.servlet.ResourceServlet</servlet-class&gt;
              <load-on-startup>1</load-on-startup>
          </servlet>
      

      2. Deploy

      Show
      Get RF 5 kitchensink archetype and build it with JDK 6 Start JBoss AS 7.1 with Java 6 and deploy kitchensink app See console for errors _______________________________________ ORIGINAL STEPS TO REPRODUCE 1. Use this in web.xml: <servlet> <servlet-name>Resource Servlet</servlet-name> <servlet- class& gt;org.richfaces.servlet.ResourceServlet</servlet- class& gt; <load-on-startup>1</load-on-startup> </servlet> 2. Deploy
    • Workaround Description:
      Hide

      Build with JDK 7

      Show
      Build with JDK 7

      Description

      An exception is thrown when applicattion is been deployed:

       java.lang.UnsupportedClassVersionError: org/richfaces/servlet/ResourceServlet : unsupported classversion 51.0
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
      	at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
      	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
      	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
      	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
      	at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
      	at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
      	at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(WebAnnotationProcessorImpl.java:225)
      	at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnotations(WebAnnotationProcessorImpl.java:209)
      	at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotations(WebAnnotationProcessorImpl.java:105)
      	at weblogic.servlet.internal.WebAppServletContext.processAnnotations(WebAppServletContext.java:1368)
      	at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:449)
      	at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
      	at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
      	at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
      	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
      	at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
      	at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
      	at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
      	at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
      	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      	at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
      	at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
      	at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
      	at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
      	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
      	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
      	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
      	at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
      	at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
      	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
      	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
      	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      

      I'm using this in the web.xml file.

       <servlet>
              <servlet-name>Resource Servlet</servlet-name>
              <servlet-class&gt;org.richfaces.servlet.ResourceServlet</servlet-class&gt;
              <load-on-startup>1</load-on-startup>
          </servlet>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nestor.armando.bohorquez Nestor Armando Bohorquez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: