1 Reply Latest reply on Aug 24, 2007 1:40 PM by Peter Johnson

    Jboss AS 5 run.sh error

    Tomas Cerny Novice

      Hi all,

      I have a following problem I have downloaded JBoss AS 5 beta 2,
      unpacked and ran but with exceptions:

      ERROR [AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter state=Described
      java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
      ....

      I tried the same with JBoss AS 4.2.1 and ran just great

      so what can be the problem with AS 5 beta 2?

      I am running Linux Gentoo with Java 1.6 (in log)

      Thanks Tomas

      ----------------------------------------------------------------------------
      LOG:
      ----------------------------------------------------------------------------

      11:22:05,687 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      11:22:05,688 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
      11:22:05,688 DEBUG [ServerImpl] Using config: org.jboss.system.server.BaseServerConfig@1b1aa65
      11:22:05,688 DEBUG [ServerImpl] Server type: class org.jboss.system.server.profileservice.ServerImpl
      11:22:05,688 INFO [ServerImpl] Home Dir: /home/cerny/jboss/jboss-5.0.0.Beta2
      11:22:05,688 INFO [ServerImpl] Home URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/
      11:22:05,689 INFO [ServerImpl] Library URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/
      11:22:05,689 INFO [ServerImpl] Patch URL: null
      11:22:05,689 INFO [ServerImpl] Server Name: default
      11:22:05,690 INFO [ServerImpl] Server Home Dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default
      11:22:05,690 INFO [ServerImpl] Server Home URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/
      11:22:05,690 INFO [ServerImpl] Server Data Dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default/data
      11:22:05,690 INFO [ServerImpl] Server Temp Dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default/tmp
      11:22:05,690 INFO [ServerImpl] Server Config URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/
      11:22:05,690 INFO [ServerImpl] Server Library URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/lib/
      11:22:05,691 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      11:22:05,787 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
      11:22:05,791 DEBUG [ServerImpl] Shutdown hook added
      11:22:05,792 DEBUG [KernelFactory] Starting JBoss Kernel construction...
      11:22:06,232 DEBUG [KernelFactory] Completed JBoss Kernel construction. Duration: 440 milliseconds
      11:22:06,342 DEBUG [ProfileServiceBootstrap] Deploying bootstrap config: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
      11:22:06,884 INFO [ProfileImpl] Using profile root:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default
      11:22:07,101 DEBUG [AspectManagerServiceJDK5] Creating AspectManagerServiceJDK5
      11:22:07,105 DEBUG [AspectManagerServiceJDK5] Created AspectManagerServiceJDK5
      11:22:07,107 DEBUG [AspectManagerServiceJDK5] Starting AspectManagerServiceJDK5
      11:22:07,107 DEBUG [AspectManagerServiceJDK5] Started AspectManagerServiceJDK5
      11:22:08,916 ERROR [AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter state=Described
      java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
      at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
      at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
      at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
      at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
      at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
      at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
      at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
      at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
      at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
      at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
      at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:64)
      at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:76)
      at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:146)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:522)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
      ... 35 more
      11:22:09,082 DEBUG [ServerImpl] Already in start, ignoring duplicate start
      11:22:09,213 DEBUG [JMXKernel] Created MBeanServer: org.jboss.mx.server.MBeanServerImpl@19fdbcb[ defaultDomain='jboss' ]
      11:22:09,302 DEBUG [JMXKernel] Boot url list: [file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/]
      11:22:09,302 DEBUG [JMXKernel] Creating loader for URL: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/
      11:22:09,309 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@b914b3, cl=org.jboss.mx.loading.UnifiedClassLoader3@fdfc58{ url=file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/ ,addedOrder=0}
      11:22:09,309 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@b914b3, cl=org.jboss.mx.loading.UnifiedClassLoader3@fdfc58{ url=file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/ ,addedOrder=0}
      11:22:09,309 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@fdfc58{ url=file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/ ,addedOrder=0}
      11:22:09,356 DEBUG [JMXKernel] Failed to create xmbean for: org.jboss.system.server.ServerInfo
      11:22:09,367 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
      11:22:09,367 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_02-b05,Sun Microsystems Inc.
      11:22:09,367 INFO [ServerInfo] OS-System: Linux 2.6.22-gentoo-r2,i386
      11:22:09,367 DEBUG [ServerInfo] Full System Properties Dump
      11:22:09,368 DEBUG [ServerInfo] java.runtime.name: Java(TM) SE Runtime Environment
      11:22:09,368 DEBUG [ServerInfo] jboss.server.base.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server
      11:22:09,368 DEBUG [ServerInfo] java.protocol.handler.pkgs: org.jboss.net.protocol
      11:22:09,368 DEBUG [ServerInfo] sun.boot.library.path: /opt/sun-jdk-1.6.0.02/jre/lib/i386
      11:22:09,368 DEBUG [ServerInfo] jboss.server.lib.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/lib/
      11:22:09,368 DEBUG [ServerInfo] java.vm.version: 1.6.0_02-b05
      11:22:09,368 DEBUG [ServerInfo] javax.management.builder.initial: org.jboss.mx.server.MBeanServerBuilderImpl
      11:22:09,368 DEBUG [ServerInfo] java.vm.vendor: Sun Microsystems Inc.
      11:22:09,368 DEBUG [ServerInfo] java.vendor.url: http://java.sun.com/
      11:22:09,368 DEBUG [ServerInfo] path.separator: :
      11:22:09,368 DEBUG [ServerInfo] java.vm.name: Java HotSpot(TM) Server VM
      11:22:09,368 DEBUG [ServerInfo] file.encoding.pkg: sun.io
      11:22:09,368 DEBUG [ServerInfo] user.country: US
      11:22:09,368 DEBUG [ServerInfo] sun.java.launcher: SUN_STANDARD
      11:22:09,368 DEBUG [ServerInfo] sun.os.patch.level: unknown
      11:22:09,368 DEBUG [ServerInfo] program.name: run.sh
      11:22:09,368 DEBUG [ServerInfo] java.vm.specification.name: Java Virtual Machine Specification
      11:22:09,368 DEBUG [ServerInfo] user.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/bin
      11:22:09,368 DEBUG [ServerInfo] jboss.server.base.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/
      11:22:09,368 DEBUG [ServerInfo] java.runtime.version: 1.6.0_02-b05
      11:22:09,369 DEBUG [ServerInfo] java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
      11:22:09,369 DEBUG [ServerInfo] java.endorsed.dirs: /home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed
      11:22:09,369 DEBUG [ServerInfo] os.arch: i386
      11:22:09,369 DEBUG [ServerInfo] sun.rmi.dgc.server.gcInterval: 3600000
      11:22:09,369 DEBUG [ServerInfo] java.io.tmpdir: /tmp
      11:22:09,369 DEBUG [ServerInfo] line.separator:

      11:22:09,369 DEBUG [ServerInfo] jbossmx.loader.repository.class: org.jboss.mx.loading.UnifiedLoaderRepository3
      11:22:09,369 DEBUG [ServerInfo] java.vm.specification.vendor: Sun Microsystems Inc.
      11:22:09,369 DEBUG [ServerInfo] org.jboss.resolver.warning: true
      11:22:09,369 DEBUG [ServerInfo] os.name: Linux
      11:22:09,369 DEBUG [ServerInfo] jboss.bind.address: 0.0.0.0
      11:22:09,369 DEBUG [ServerInfo] jboss.server.temp.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default/tmp
      11:22:09,369 DEBUG [ServerInfo] jboss.home.dir: /home/cerny/jboss/jboss-5.0.0.Beta2
      11:22:09,369 DEBUG [ServerInfo] sun.jnu.encoding: ANSI_X3.4-1968
      11:22:09,369 DEBUG [ServerInfo] java.library.path: /opt/sun-jdk-1.6.0.02/jre/lib/i386/server:/opt/sun-jdk-1.6.0.02/jre/lib/i386:/opt/sun-jdk-1.6.0.02/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
      11:22:09,369 DEBUG [ServerInfo] jboss.server.home.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default
      11:22:09,369 DEBUG [ServerInfo] java.class.version: 50.0
      11:22:09,369 DEBUG [ServerInfo] java.specification.name: Java Platform API Specification
      11:22:09,369 DEBUG [ServerInfo] sun.management.compiler: HotSpot Server Compiler
      11:22:09,369 DEBUG [ServerInfo] jboss.server.config.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/conf/
      11:22:09,369 DEBUG [ServerInfo] os.version: 2.6.22-gentoo-r2
      11:22:09,369 DEBUG [ServerInfo] jboss.home.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/
      11:22:09,369 DEBUG [ServerInfo] user.home: /home/cerny
      11:22:09,369 DEBUG [ServerInfo] user.timezone: America/Winnipeg
      11:22:09,369 DEBUG [ServerInfo] java.awt.printerjob: sun.print.PSPrinterJob
      11:22:09,369 DEBUG [ServerInfo] java.specification.version: 1.6
      11:22:09,370 DEBUG [ServerInfo] file.encoding: ANSI_X3.4-1968
      11:22:09,370 DEBUG [ServerInfo] jboss.server.home.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/server/default/
      11:22:09,370 DEBUG [ServerInfo] jboss.server.log.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default/log
      11:22:09,370 DEBUG [ServerInfo] user.name: cerny
      11:22:09,370 DEBUG [ServerInfo] java.class.path: /home/cerny/jboss/jboss-5.0.0.Beta2/bin/run.jar:/etc/java-config-2/current-system-vm/lib/tools.jar
      11:22:09,370 DEBUG [ServerInfo] jboss.lib.url: file:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/
      11:22:09,370 DEBUG [ServerInfo] jboss.server.name: default
      11:22:09,370 DEBUG [ServerInfo] java.vm.specification.version: 1.0
      11:22:09,370 DEBUG [ServerInfo] sun.arch.data.model: 32
      11:22:09,370 DEBUG [ServerInfo] java.home: /opt/sun-jdk-1.6.0.02/jre
      11:22:09,370 DEBUG [ServerInfo] java.specification.vendor: Sun Microsystems Inc.
      11:22:09,370 DEBUG [ServerInfo] user.language: en
      11:22:09,370 DEBUG [ServerInfo] java.vm.info: mixed mode
      11:22:09,370 DEBUG [ServerInfo] java.version: 1.6.0_02
      11:22:09,370 DEBUG [ServerInfo] java.ext.dirs: /opt/sun-jdk-1.6.0.02/jre/lib/ext:/usr/java/packages/lib/ext
      11:22:09,370 DEBUG [ServerInfo] jboss.server.data.dir: /home/cerny/jboss/jboss-5.0.0.Beta2/server/default/data
      11:22:09,370 DEBUG [ServerInfo] sun.boot.class.path: /home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed/xercesImpl.jar:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed/xml-apis.jar:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed/resolver.jar:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed/serializer.jar:/home/cerny/jboss/jboss-5.0.0.Beta2/lib/endorsed/xalan.jar:/opt/sun-jdk-1.6.0.02/jre/lib/resources.jar:/opt/sun-jdk-1.6.0.02/jre/lib/rt.jar:/opt/sun-jdk-1.6.0.02/jre/lib/sunrsasign.jar:/opt/sun-jdk-1.6.0.02/jre/lib/jsse.jar:/opt/sun-jdk-1.6.0.02/jre/lib/jce.jar:/opt/sun-jdk-1.6.0.02/jre/lib/charsets.jar:/opt/sun-jdk-1.6.0.02/jre/classes
      11:22:09,370 DEBUG [ServerInfo] java.vendor: Sun Microsystems Inc.
      11:22:09,370 DEBUG [ServerInfo] file.separator: /
      11:22:09,370 DEBUG [ServerInfo] java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
      11:22:09,370 DEBUG [ServerInfo] sun.rmi.dgc.client.gcInterval: 3600000
      11:22:09,370 DEBUG [ServerInfo] org.w3c.dom.DOMImplementationSourceList: org.apache.xerces.dom.DOMXSImplementationSourceImpl
      11:22:09,370 DEBUG [ServerInfo] sun.cpu.endian: little
      11:22:09,370 DEBUG [ServerInfo] sun.io.unicode.encoding: UnicodeLittle
      11:22:09,370 DEBUG [ServerInfo] sun.cpu.isalist:
      11:22:09,376 DEBUG [JMXKernel] Created system MBean: jboss.system:type=ServerInfo
      11:22:09,387 DEBUG [ServiceController] Controller MBean online
      11:22:09,427 INFO [JMXKernel] Legacy JMX core initialized
      11:22:09,435 DEBUG [AspectManagerJMXRegistrar] Registering AspectManagerService in JMX under: jboss.aop:service=AspectManager
      11:22:09,531 DEBUG [ServiceController] starting service jboss.aop:service=AspectManager
      11:22:09,531 DEBUG [ServiceController] Registering service jboss.aop:service=AspectManager
      11:22:09,537 DEBUG [MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.KernelDeploymentDeployer@cb07ef
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.aop.deployers.AspectDeployer@1fac852
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceClassLoaderDeployer@c272bc
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceDeployer@176086d
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer@234265
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.system.deployers.ServiceDeploymentDeployer@1304043
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.system.deployers.SARDeployer@25491d
      11:22:09,538 DEBUG [MainDeployerImpl] Added deployer: org.jboss.deployers.plugins.deployers.kernel.BeanDeployer@1e32382
      11:22:09,582 DEBUG [AspectManagerServiceJDK5] Creating jboss.aop:service=AspectManager
      11:22:09,582 DEBUG [AspectManagerServiceJDK5] Created jboss.aop:service=AspectManager
      11:22:09,583 DEBUG [AspectManagerServiceJDK5] Starting jboss.aop:service=AspectManager
      11:22:09,583 DEBUG [AspectManagerServiceJDK5] Started jboss.aop:service=AspectManager
      11:22:09,600 DEBUG [ServerImpl] Failed to start
      java.lang.RuntimeException: Exception during Bootstrap
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:522)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

      VFSBootstrapScanner
      -> DeploymentFilter{Configured:**ERROR**}

      VFSDeployerScanner
      -> DeploymentFilter{Configured:**ERROR**}

      VFSDeploymentScanner
      -> DeploymentFilter{Configured:**ERROR**}


      *** CONTEXTS IN ERROR: Name -> Error

      DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;


      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:389)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
      ... 5 more