1 Reply Latest reply on Jan 22, 2013 7:52 AM by mbohnen

    Problem: Jboss AS 6 with JDK7

    rost85 Newbie

      Hello,

       

      i have a big problem running jboss-6.0.0.Final with JDK 7.

       

      At start up following error occurs:

      11:58:09,257 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]

      11:58:13,810 INFO  [ServerInfo] Java version: 1.7.0_09,Oracle Corporation

      11:58:13,810 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_09-b05)

      11:58:13,810 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 23.5-b02,Oracle Corporation

      11:58:13,810 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64

      11:58:13,811 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=UTF-8

      11:58:13,851 INFO  [JMXKernel] Legacy JMX core initialized

      11:58:34,978 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      11:58:35,008 WARN  [AbstractKernelController] Broken callback: ClassSingleCallbackItem@57cd2006{name=interface org.jboss.wsf.spi.metadata.DescriptorProcessor whenRequired=ControllerState@26fb5989{Installed} dependentState=ControllerState@26fb5989{Installed} attributeName=setProcessor owner=AbstractKernelControllerContext@3ef3aec8{ metadata=AbstractBeanMetaData@51ed1906{name=JMSDescriptorDeployer bean=org.jboss.webservices.integration.deployers.JMSDescriptorDeployer properties= classLoader=BeanMetaDataDeployer$DeploymentClassLoaderMetaData@701a0f8f{classloader=null} constructor=null autowireCandidate=true installCallbacks=[method=setProcessor, method=setParser]}name=JMSDescriptorDeployer target=org.jboss.webservices.integration.deployers.JMSDescriptorDeployer@5bf196f2 state=Installed depends=AbstractDependencyInfo@250602ef{}} signature=org.jboss.wsf.spi.metadata.DescriptorProcessor}: java.lang.ClassCastException: org.jboss.wsf.framework.deployment.jms.WebservicesDescriptorProcessorImpl cannot be cast to org.jboss.wsf.spi.metadata.jms.JMSDescriptorProcessor

                at org.jboss.webservices.integration.deployers.JMSDescriptorDeployer.setProcessor(JMSDescriptorDeployer.java:33) [:6.0.0.Final]

       

      Additionaly I have now several ClassCastExceptions with my own beans:

      Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to

      org.jboss.serial.finalcontainers.IntegerContainer

       

      With JDK6 everything is working fine.

      Anyone knows the rootcause of the problem and how to fix it(except changing the JDK to 6)?

       

      with regards

      Robert