3 Replies Latest reply on May 21, 2012 2:26 AM by marx3

    Error redeploying datasource on JBoss CR

    marx3 Apprentice

      I have an error while redeploying datasource on JBoss, any idea what's wrong?

      15:05:49,046 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0)

      15:05:49,058 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Redeployed "postgresql.jar"

      15:05:49,058 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Undeployed "postgresql.jar"

      15:05:49,059 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Replaced deployment "postgresql.jar" with deployment "postgresql.jar"

      15:05:49,122 ERROR [org.jboss.as.controller] (Remoting "pc4012:MANAGEMENT" task-3) JBAS014612: Operation ("remove") failed - address: ([

          ("subsystem" => "datasources"),

          ("data-source" => "PostgresDS")

      ]): java.lang.IllegalArgumentException: Empty name segment is not allowed

              at org.jboss.msc.service.ServiceName.of(ServiceName.java:85) [jboss-msc-1.0.1.GA.jar:]

              at org.jboss.msc.service.ServiceName.append(ServiceName.java:112) [jboss-msc-1.0.1.GA.jar:]

              at org.jboss.as.naming.deployment.ContextNames.buildServiceName(ContextNames.java:173) [jboss-as-naming-7.1.0.Beta1b.jar:]

              at org.jboss.as.naming.deployment.ContextNames$BindInfo.<init>(ContextNames.java:185) [jboss-as-naming-7.1.0.Beta1b.jar:]

              at org.jboss.as.naming.deployment.ContextNames$BindInfo.<init>(ContextNames.java:176) [jboss-as-naming-7.1.0.Beta1b.jar:]

              at org.jboss.as.naming.deployment.ContextNames.bindInfoFor(ContextNames.java:285) [jboss-as-naming-7.1.0.Beta1b.jar:]

              at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceRemove.performRuntime(AbstractDataSourceRemove.java:56) [jboss-as-connector-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractRemoveStepHandler$1.execute(AbstractRemoveStepHandler.java:42) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractRemoveStepHandler.execute(AbstractRemoveStepHandler.java:50) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:426) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:322) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:216) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:152) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:115) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doProcessRequest(ModelControllerClientOperationHandler.java:158) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.processRequest(ModelControllerClientOperationHandler.java:111) [jboss-as-controller-7.1.0.Beta1b.jar:]

              at org.jboss.as.protocol.mgmt.ManagementChannel$RequestReceiver.processRequest(ManagementChannel.java:283)

              at org.jboss.as.protocol.mgmt.ManagementChannel$RequestReceiver.access$500(ManagementChannel.java:257)

              at org.jboss.as.protocol.mgmt.ManagementChannel.doHandle(ManagementChannel.java:158)

              at org.jboss.as.protocol.ProtocolChannel.handleMessage(ProtocolChannel.java:159)

              at org.jboss.remoting3.remote.RemoteConnectionChannel$4.run(RemoteConnectionChannel.java:368)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]