1 Reply Latest reply on Nov 7, 2011 10:24 AM by Peter Johnson

    DeploymentException in jboss 5.1.0GA

    Dinesh venkatesan Newbie

      Hi,

       

      I am trying to upgrade my application from jboss 3 version to jboss 5.1.0GA version. when i deploy my ear file in deploy folder i am getting this exception.

       

       

       

      01:34:02,377 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/OFS/mySw/new/jboss-5.1.0.GA/server/default/deploy/test.ear/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Failed to create web module
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:461)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)
      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:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      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:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
      at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
      at org.jboss.Main.boot(Main.java:221)
      at org.jboss.Main$1.run(Main.java:556)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.deployers.spi.DeploymentException: Error creating rar deployment vfszip:/C:/OFS/mySw/new/jboss-5.1.0.GA/server/default/deploy/test.ear/receiving.war/
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.web.deployers.AbstractWarDeployer.deployWebModule(AbstractWarDeployer.java:722)
      at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:457)
      ... 34 more
      Caused by: javax.management.MalformedObjectNameException: Invalid character '*' in value part of property
      at javax.management.ObjectName.construct(ObjectName.java:529)
      at javax.management.ObjectName.<init>(ObjectName.java:1314)
      at org.jboss.web.deployers.AbstractWarDeployer.deployWebModule(AbstractWarDeployer.java:664)
      ... 35 more
      01:34:02,424 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS IN ERROR:
      Deployment "vfszip:/C:/OFS/mySw/new/jboss-5.1.0.GA/server/default/deploy/test.ear/" is in error due to the following reason(s): javax.management.MalformedObjectNameException: Invalid character '*' in value part of property

      01:34:02,424 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      01:34:02,471 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      01:34:02,487 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 38s:697ms

       

      Please kindly help me to resolve this error.

       

      Thanks in Advance ,

      Dinesh V.

        • 1. Re: DeploymentException in jboss 5.1.0GA
          Peter Johnson Master

          It would be nice if the error message told us exactly which config file it was looking at and which element in that config file conatined the unexpected "*". But based on this clue:

           

          Caused by: org.jboss.deployers.spi.DeploymentException: Error creating rar deployment vfszip:/C:/OFS/mySw/new/jboss-5.1.0.GA/server/default/deploy/test.ear/receiving.war/

           

          I would guess either the web.xml file or jboss-web.xml file in receiving.war contains the offending "*".