1 Reply Latest reply on Jun 23, 2009 11:19 PM by David Lloyd

    How to run JBOSS-5.0.0.CR2

    Pradeep Sharma Newbie

      Hi,
      I have downloaded JBOSS-5.0.0.CR2 , and unzipped it into directory D:/JBOSS. then i set JBOSS_HOME path as D:/JBOSS/jboss-5.0.0.cr2/ in environmental variable of my computer. Then i started JBOSS from run.bat file from /bin folder, a dos screen comes up and suddenly disappears, means server not started. Then i configured JBOOS in my IDE(MYECLIPSE 6.5), and started it. i got following message on console


      19:28:45,531 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      19:28:45,546 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)
      19:28:45,562 INFO [ServerImpl] Home Dir: D:\JBOSS\jboss-5.0.0.CR2
      19:28:45,578 INFO [ServerImpl] Home URL: file:/D:/JBOSS/jboss-5.0.0.CR2/
      19:28:45,578 INFO [ServerImpl] Library URL: file:/D:/JBOSS/jboss-5.0.0.CR2/lib/
      19:28:45,578 INFO [ServerImpl] Patch URL: null
      19:28:45,578 INFO [ServerImpl] Server Name: default
      19:28:45,578 INFO [ServerImpl] Server Home Dir: D:\JBOSS\jboss-5.0.0.CR2\server\default
      19:28:45,578 INFO [ServerImpl] Server Home URL: file:/D:/JBOSS/jboss-5.0.0.CR2/server/default/
      19:28:45,578 INFO [ServerImpl] Server Data Dir: D:\JBOSS\jboss-5.0.0.CR2\server\default\data
      19:28:45,578 INFO [ServerImpl] Server Temp Dir: D:\JBOSS\jboss-5.0.0.CR2\server\default\tmp
      19:28:45,578 INFO [ServerImpl] Server Config URL: file:/D:/JBOSS/jboss-5.0.0.CR2/server/default/conf/
      19:28:45,578 INFO [ServerImpl] Server Library URL: file:/D:/JBOSS/jboss-5.0.0.CR2/server/default/lib/
      19:28:45,578 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      19:28:49,796 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/JBOSS/jboss-5.0.0.CR2/server/default/conf/bootstrap.xml
      19:28:53,531 INFO [CopyMechanism] VFS temp dir: D:\JBOSS\jboss-5.0.0.CR2\server\default\tmp
      19:28:53,546 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      19:28:58,187 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
      19:28:58,187 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc.
      19:28:58,187 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      19:28:58,281 INFO [JMXKernel] Legacy JMX core initialized
      19:29:03,093 INFO [MetaDataAwareProfile] Using profile root:D:\JBOSS\jboss-5.0.0.CR2\server\default
      19:30:21,578 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      19:31:15,500 WARN [ClassLoaderManager] Unexpected error during load of:org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository
      java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:62)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:504)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:464)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:462)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:439)
      at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
      at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
      at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
      at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:254)
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:148)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:256)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1099)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:730)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jboss.kernel.plugins.dependency.KernelScopeInfo.getScope(KernelScopeInfo.java:106)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:119)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:258)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:544)
      at java.lang.Thread.run(Unknown Source)
      19:31:15,546 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/D:/JBOSS/jboss-5.0.0.CR2/server/default/deployers/jboss-jca.deployer/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error during deploy: JCAMetaDataRepository
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:258)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:544)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.RuntimeException: Unable to load class: org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository for [JVM=THIS, CLASS=org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository, INSTANCE=JCAMetaDataRepository]
      at org.jboss.kernel.plugins.dependency.KernelScopeInfo.getScope(KernelScopeInfo.java:110)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:119)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      ... 19 more
      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.resource.metadata.repository.DefaultJCAMetaDataRepository, msg=Bad version number in .class file
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:169)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:256)
      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1099)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:730)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at org.jboss.kernel.plugins.dependency.KernelScopeInfo.getScope(KernelScopeInfo.java:106)
      ... 24 more
      Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:62)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:504)
      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:464)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:462)
      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:439)
      at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134)
      at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)
      at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452)
      at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:254)
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:148)
      ... 33 more
      19:31:44,656 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      vfsfile:/D:/JBOSS/jboss-5.0.0.CR2/server/default/deployers/jboss-jca.deployer/ -> java.lang.UnsupportedClassVersionError: Bad version number in .class file


      19:31:44,796 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171139)] Started in 2m:59s:187ms



      Then i typed http://localhost:8080/ in my browser. But i got 'page not found ' error. Can any one tell me what's the issue is this and how to resolve it.

      Thanks,
      Pradeep Sharma