4 Replies Latest reply on Sep 4, 2012 8:14 PM by Bob Muller

    JBoss 6.1.0 Final error

    Bob Muller Novice

      I upgraded to JBoss 6.1.0 Final to start a new project and deployed an existing exploded war file that uses RichFaces 4. This was working in 6.0.0.20101110-CR1. I'm using MyEclipse to manage the server, so I do the deployment, then start the server in Eclipse. The server, accounting, is a copy of the default server. If this doesn't seem like a RichFaces-related problem, I will repost where you suggest. I have no idea what an "attachment" is but it's probably something to do with annotations, no?

       

       

      16:24:07,762 INFO  [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]

      16:24:09,365 INFO  [ServerInfo] Java version: 1.6.0_33,Apple Inc.

      16:24:09,366 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-10M3720)

      16:24:09,366 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.8-b03-424,Apple Inc.

      16:24:09,366 INFO  [ServerInfo] OS-System: Mac OS X 10.6.8,x86_64

      16:24:09,367 INFO  [ServerInfo] VM arguments: -Djboss.home=/opt/jboss-6.1.0.Final -Djava.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin -Djava.endorsed.dirs=/opt/jboss-6.1.0.Final/lib/endorsed -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dlogging.configuration=file:logging.properties

      16:24:09,413 INFO  [JMXKernel] Legacy JMX core initialized

      16:24:15,443 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA

      16:24:16,146 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]

      16:24:20,025 ERROR [AbstractKernelController] Error installing to PostParse: name=vfs:///opt/jboss-6.1.0.Final/server/accounting/deploy/accounting-web.war state=Parse mode=Manual requiredState=PostParse: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///opt/jboss-6.1.0.Final/server/accounting/deploy/accounting-web.war

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.2.GA]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.2.GA]

                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.2.GA]

                at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.1.0.Final]

                at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]

                at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.1.0.Final]

                at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]

                at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]

                at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]

                at java.lang.Thread.run(Thread.java:680) [:1.6.0_33]

      Caused by: java.lang.IllegalArgumentException: Null attachment

                at org.jboss.deployers.plugins.attachments.AttachmentsImpl.addAttachment(AttachmentsImpl.java:72) [:2.2.2.GA]

                at org.jboss.deployers.structure.spi.helpers.TrackingMutableAttachments.addAttachment(TrackingMutableAttachments.java:131) [:2.2.2.GA]

                at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addAttachment(AbstractDeploymentUnit.java:334) [:2.2.2.GA]

                at org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments.addAttachment(AbstractMutableAttachments.java:44) [:2.2.2.GA]

                at org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments.addAttachment(AbstractMutableAttachments.java:67) [:2.2.2.GA]

                at org.jboss.jsf.deployer.JSFImplManagementDeployer.deploy(JSFImplManagementDeployer.java:281) [:1.0.3]

                at org.jboss.jsf.deployer.JSFImplManagementDeployer.deploy(JSFImplManagementDeployer.java:56) [:1.0.3]

                at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56) [:2.2.2.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63) [:2.2.2.GA]

                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA]

                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.2.GA]

                ... 43 more

       

      16:24:22,697 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      16:24:22,895 INFO  [JMXConnector] starting JMXConnector on host 127.0.0.1:1090