9 Replies Latest reply on Nov 17, 2015 12:51 AM by rubasingha

    Warning: JBoss 6.1.0.Final seems incompatible with Java 7u2 on Win32

    ktnagel

      Hello Collegues,

       

      it seems as though the JBoss AS 6.1.0.Final would not be compüatible with Java 7 Update 2 on Windows 32 (maybe also other acrh's).

       

      Even a completely emtpy installation fresh from the archivedoes not start without error.

       

      Here is the output of calling bin/run.bat:

       

      -----

      Calling C:\p\jboss-6.1.0.Final\bin\run.conf.bat
      ===============================================================================

       

        JBoss Bootstrap Environment

       

        JBOSS_HOME: C:\p\jboss-6.1.0.Final

       

        JAVA: C:\Programme\Java\jdk1.7.0_02\bin\java

       

        JAVA_OPTS: -Dprogram.name=run.bat -Dlogging.configuration=file:logging.properties -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server

       

        CLASSPATH: C:\Programme\Java\jdk1.7.0_02\lib\tools.jar;C:\p\jboss-6.1.0.Final\bin\run.jar

       

      ===============================================================================

       

      10:58:03,345 INFO  [AbstractJBossASServerBase] Server Configuration:

       

              JBOSS_HOME URL: file:/C:/p/jboss-6.1.0.Final/
              Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
              Common Base: $JBOSS_HOME\common/
              Common Library: $JBOSS_HOME\common/lib/
              Server Name: default
              Server Base: $JBOSS_HOME\server/
              Server Library: $JBOSS_HOME\server/default/lib/
              Server Config: $JBOSS_HOME\server/default/conf/
              Server Home: $JBOSS_HOME\server/default/
              Server Data: $JBOSS_HOME\server/default/data/
              Server Log: $JBOSS_HOME\server/default/log/
              Server Temp: $JBOSS_HOME\server/default/tmp/

       

      10:58:03,345 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]
      10:58:05,142 INFO  [ServerInfo] Java version: 1.7.0_02,Oracle Corporation
      10:58:05,142 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
      10:58:05,142 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 22.0-b10,Oracle Corporation
      10:58:05,142 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
      10:58:05,142 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Dlogging.configuration=file:logging.properties -Xms128M -Xmx512M -XX:M
      axPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -Djava.end
      orsed.dirs=C:\p\jboss-6.1.0.Final\lib\endorsed
      10:58:05,189 INFO  [JMXKernel] Legacy JMX core initialized
      10:58:17,345 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      10:58:17,438 WARN  [AbstractKernelController] Broken callback: ClassSingleCallbackItem@114fb0a{name=interface org.jboss.wsf.spi.metadata.DescriptorProcessor whenRequired=ControllerState@90ccda{Installed} dependentState=ControllerState@90ccda{Installed} attributeName=setProcessor
      owner=AbstractKernelControllerContext@6bedc9{ metadata=AbstractBeanMetaData@6bf2bf{name=WSDescriptorDeployer bean=org.jboss.webservices.integration.deployers.WSDescriptorDeployer properties= classLoader=BeanMetaDataDeployer$DeploymentClassLoaderMetaData@bbb128{classloader=null} c
      onstructor=null autowireCandidate=true installCallbacks=[method=setProcessor, method=setParser]}name=WSDescriptorDeployer target=org.jboss.webservices.integration.deployers.WSDescriptorDeployer@1f7a8d0 state=Installed depends=AbstractDependencyInfo@10dfdb7{}} signature=org.jboss.wsf.spi.metadata.DescriptorProcessor}: java.lang.ClassCastException: org.jboss.wsf.stack.cxf.deployment.jms.JMSDescriptorProcessorImpl cannot be cast to org.jboss.wsf.spi.metadata.webservices.WebservicesDescriptorProcessor
              at org.jboss.webservices.integration.deployers.WSDescriptorDeployer.setProcessor(WSDescriptorDeployer.java:33) [:6.1.0.Final]

      ....

      -----

       

      Notabene, it keeps running, but may not work properly.

      The same runs without any problem on Java 6u30, as it also did on Java 7u1.

       

      Kind Regards,
      Thomas Nagel