2 Replies Latest reply on Jun 10, 2008 2:24 AM by Keshri Nandan Chaudhary

    Urgent : Compiling Jboss 3.2.8 SP1 using jdk 1.3

    Keshri Nandan Chaudhary Newbie

      Hi All

      Due to some interoperability issue with other A.S.(BroadVision7.0) we have to stick to jdk 1.3, but we also want to migrate our App from tomcat 4.x to JBoss 3.2.8 SP1. Since all the binaries were available for java5.0, we had to build Jboss using jdk 1.3.

      But we are getting the below mentioned exception on running it, kindly help ASAP :

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: E:\jboss\bin\\..
      .
      JAVA: D:\jdk\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: D:\jdk\lib\tools.jar;E:\jboss\bin\\run.jar
      .
      ===============================================================================
      .
      11:03:47,406 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:03:47,406 INFO [Server] Release ID: JBoss [WonderLand] 3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200806061752)
      11:03:47,406 INFO [Server] Home Dir: E:\jboss
      11:03:47,406 INFO [Server] Home URL: file:/E:/jboss/
      11:03:47,406 INFO [Server] Patch URL: null
      11:03:47,406 INFO [Server] Server Name: default
      11:03:47,406 INFO [Server] Server Home Dir: E:\jboss\server\default
      11:03:47,406 INFO [Server] Server Home URL: file:/E:/jboss/server/default/
      11:03:47,406 INFO [Server] Server Temp Dir: E:\jboss\server\default\tmp
      11:03:47,406 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:03:47,750 INFO [ServerInfo] Java version: 1.3.1,Sun Microsystems Inc.
      11:03:47,750 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.3.1-b24,Sun Microsystems Inc.
      11:03:47,750 INFO [ServerInfo] OS-System: Windows 2000 5.1,x86
      11:03:48,203 INFO [Server] Core system initialized
      11:03:51,921 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      11:03:52,078 INFO [WebService] Using RMI server codebase: http://bvteam11:8083/
      11:03:52,500 INFO [NamingService] JNDI bootstrap JNP=0.0.0.0/0.0.0.0:1099, RMI=0.0.0.0/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
      11:03:55,875 INFO [STDOUT] Can't find resource org.apache.catalina.core.LocalStrings org.jboss.mx.loading.UnifiedClassLoader3@6eb6bc{ url=file:/E:/jboss/server/default/deploy/jbossweb-tomcat50.sar/ ,addedOrder=6}
      11:03:55,875 INFO [STDOUT] [Ljava.net.URL;@f9a32
      11:03:55,875 INFO [STDOUT] Can't find resource org.apache.catalina.startup.LocalStrings org.jboss.mx.loading.UnifiedClassLoader3@6eb6bc{ url=file:/E:/jboss/server/default/deploy/jbossweb-tomcat50.sar/ ,addedOrder=6}
      11:03:55,875 INFO [STDOUT] [Ljava.net.URL;@f9a32
      11:03:55,875 ERROR [Registry] Error loading jar:file:/E:/jboss/server/default/tmp/deploy/tmp50859catalina.jar!/org/apache/catalina/startup/mbeans-descriptors.xml
      11:03:55,875 ERROR [Registry] Error loading jar:file:/E:/jboss/server/default/tmp/deploy/tmp50859catalina.jar!/org/apache/catalina/mbeans-descriptors.xml
      11:03:55,937 INFO [STDOUT] Error
      11:03:55,937 ERROR [BaseModelMBean] Error creating class java.lang.ExceptionInInitializerError
      11:03:55,937 WARN [ServiceController] Problem starting service jboss.web:service=WebServer
      java.lang.NoSuchMethodException
      at java.lang.Class.getMethod0(Native Method)
      at java.lang.Class.getMethod(Class.java:888)
      at org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:646)
      at org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker.java:69)
      at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:466)
      at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:342)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:404)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:968)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:404)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
      at org.jboss.Main.boot(Main.java:201)
      at org.jboss.Main$1.run(Main.java:459)
      at java.lang.Thread.run(Thread.java:484)
      11:03:56,734 INFO [RARMetaData] Required license terms present. See deployment descriptor.
      11:03:56,796 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers
      11:03:56,796 INFO [RARMetaData] Required license terms present. See deployment descriptor.
      11:03:56,843 INFO [RARMetaData] Required license terms present. See deployment descriptor.
      11:03:59,484 INFO [MailService] Mail Service bound to java:/Mail
      11:03:59,718 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'
      11:03:59,968 INFO [A] Bound to JNDI name: queue/A
      11:03:59,968 INFO [B] Bound to JNDI name: queue/B
      11:03:59,968 INFO [C] Bound to JNDI name: queue/C
      11:03:59,968 INFO [D] Bound to JNDI name: queue/D
      11:03:59,968 INFO [ex] Bound to JNDI name: queue/ex
      11:04:00,000 INFO [testTopic] Bound to JNDI name: topic/testTopic
      11:04:00,000 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      11:04:00,000 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      11:04:00,000 INFO [testQueue] Bound to JNDI name: queue/testQueue
      11:04:00,031 INFO [UILServerILService] JBossMQ UIL service available at : 0.0.0.0/0.0.0.0:8093
      11:04:00,062 INFO [DLQ] Bound to JNDI name: queue/DLQ
      11:04:00,078 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
      11:04:00,125 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@f41aeb49 { url=file:/E:/jboss/server/default/deploy/http-invoker.sar/invoker.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/http-invoker.sar/invoker.war/
      lastDeployed: 1212989638328
      lastModified: 1212755227453
      mbeans:

      org.jboss.deployment.DeploymentInfo@f61695b3 { url=file:/E:/jboss/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
      lastDeployed: 1212989638328
      lastModified: 1212755226812
      mbeans:

      org.jboss.deployment.DeploymentInfo@6274aa87 { url=file:/E:/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
      deployer: null
      status: Starting
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      lastDeployed: 1212989638328
      lastModified: 1212755226156
      mbeans:

      org.jboss.deployment.DeploymentInfo@72554222 { url=file:/E:/jboss/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/jmx-console.war/
      lastDeployed: 1212989640109
      lastModified: 1212755225921
      mbeans:

      org.jboss.deployment.DeploymentInfo@6c61be8d { url=file:/E:/jboss/server/default/deploy/management/web-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/management/web-console.war/
      lastDeployed: 1212989640125
      lastModified: 1212755225265
      mbeans:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@72554222 { url=file:/E:/jboss/server/default/deploy/jmx-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/jmx-console.war/
      lastDeployed: 1212989640109
      lastModified: 1212755225921
      mbeans:

      org.jboss.deployment.DeploymentInfo@6c61be8d { url=file:/E:/jboss/server/default/deploy/management/web-console.war/ }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/E:/jboss/server/default/deploy/management/web-console.war/
      lastDeployed: 1212989640125
      lastModified: 1212755225265
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web:service=WebServer
      State: FAILED
      Reason: java.lang.NoSuchMethodException
      I Depend On:
      jboss.security:service=JaasSecurityManager
      jboss:service=TransactionManager
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP

      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker
      jboss.web:service=WebServer

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web:service=WebServer
      State: FAILED
      Reason: java.lang.NoSuchMethodException
      I Depend On:
      jboss.security:service=JaasSecurityManager
      jboss:service=TransactionManager
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP


      11:04:00,343 INFO [Server] JBoss (MX MicroKernel) [3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200806061752)] Started in 12s:922ms