1 Reply Latest reply on Nov 25, 2005 11:00 AM by Frank Grimes

    Jboss 3.2.3 not starting with jdk1.5.0

    ch praveen Newbie

      Hi,

      Iam using jboss 3.2.3 with jdk1.4.1 set as JAVA_HOME. When I pointed JAVA_HOME to jdk1.5.0, server is not starting.

      With JAVA_HOME=C:\jdk1.4.1
      ------------------------------------

      ===============================================================================
      .
       JBoss Bootstrap Environment
      .
       JBOSS_HOME: D:\jboss-3.2.3\bin\\..
      .
       JAVA: C:\jdk1.4.1\bin\java
      .
       JAVA_OPTS: -Dprogram.name=run.bat
      .
       CLASSPATH: ;C:\jdk1.4.1\lib\tools.jar;D:\jboss-3.2.3\bin\\run.jar
      .
      ===============================================================================
      .
      11:21:58,073 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:21:58,073 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
      11:21:58,073 INFO [Server] Home Dir: D:\jboss-3.2.3
      11:21:58,073 INFO [Server] Home URL: file:/D:/jboss-3.2.3/
      11:21:58,073 INFO [Server] Library URL: file:/D:/jboss-3.2.3/lib/
      11:21:58,073 INFO [Server] Patch URL: null
      11:21:58,073 INFO [Server] Server Name: default
      11:21:58,073 INFO [Server] Server Home Dir: D:\jboss-3.2.3\server\default
      11:21:58,073 INFO [Server] Server Home URL: file:/D:/jboss-3.2.3/server/default/
      11:21:58,088 INFO [Server] Server Data Dir: D:\jboss-3.2.3\server\default\data
      11:21:58,088 INFO [Server] Server Temp Dir: D:\jboss-3.2.3\server\default\tmp
      11:21:58,088 INFO [Server] Server Config URL: file:/D:/jboss-3.2.3/server/default/conf/
      11:21:58,104 INFO [Server] Server Library URL: file:/D:/jboss-3.2.3/server/default/lib/
      11:21:58,104 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:21:58,104 INFO [Server] Starting General Purpose Architecture (GPA)...
      11:21:58,370 INFO [ServerInfo] Java version: 1.4.1_01,Sun Microsystems Inc.
      11:21:58,370 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.1_01-b01,Sun Microsystems Inc.
      11:21:58,370 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      11:21:58,495 INFO [ServiceController] Controller MBean online
      11:21:58,620 INFO [MainDeployer] Started jboss.system:service=MainDeployer
      11:21:58,682 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@4e79f1
      11:21:58,682 INFO [JARDeployer] Started jboss.system:service=JARDeployer
      11:21:58,698 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@134a7d8
      11:21:58,714 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer
      11:21:58,714 INFO [Server] Core system initialized
       ....... [STARTS NICELY HERE]
       ........
      
      


      With JAVA_HOME=C:\jdk1.5.0
      ------------------------------------
      ===============================================================================
      .
       JBoss Bootstrap Environment
      .
       JBOSS_HOME: D:\jboss-3.2.3\bin\\..
      .
       JAVA: C:\jdk1.5.0\bin\java
      .
       JAVA_OPTS: -Dprogram.name=run.bat
      .
       CLASSPATH: ;C:\jdk1.5.0\lib\tools.jar;D:\jboss-3.2.3\bin\\run.jar
      .
      ===============================================================================
      .
      
      11:26:37,407 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:26:37,438 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
      11:26:37,438 INFO [Server] Home Dir: D:\jboss-3.2.3
      11:26:37,438 INFO [Server] Home URL: file:/D:/jboss-3.2.3/
      11:26:37,438 INFO [Server] Library URL: file:/D:/jboss-3.2.3/lib/
      11:26:37,438 INFO [Server] Patch URL: null
      11:26:37,438 INFO [Server] Server Name: default
      11:26:37,438 INFO [Server] Server Home Dir: D:\jboss-3.2.3\server\default
      11:26:37,438 INFO [Server] Server Home URL: file:/D:/jboss-3.2.3/server/default/
      11:26:37,438 INFO [Server] Server Data Dir: D:\jboss-3.2.3\server\default\data
      11:26:37,454 INFO [Server] Server Temp Dir: D:\jboss-3.2.3\server\default\tmp
      11:26:37,454 INFO [Server] Server Config URL: file:/D:/jboss-3.2.3/server/default/conf/
      11:26:37,454 INFO [Server] Server Library URL: file:/D:/jboss-3.2.3/server/default/lib/
      11:26:37,454 INFO [Server] Root Deployment Filename: jboss-service.xml
      11:26:37,454 INFO [Server] Starting General Purpose Architecture (GPA)...
      Failed to boot JBoss:
      javax.management.InstanceNotFoundException: JMImplementation:service=LoaderRepository,name=Default
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
       at org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:499)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:335)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:395)
       at java.lang.Thread.run(Thread.java:595)
      Press any key to continue . . .
      
      
      
      What can be the possible reason for this.
      
      Thanks in advance.