2 Replies Latest reply on Jul 30, 2009 12:37 AM by Anushree Khandalkar

    JBoss ESB with JBoss Tools

    Anushree Khandalkar Newbie

      Hi,
      I have been working with Open ESB for quite some time and have just started exploring JBoss ESB.
      I downloaded JBoss tools plugins and tried out a simple project: JBossESB Service capable of processing JMS/ESB messages

      I am getting the following exception while server startup:

      ERROR [MainDeployer] Could not create deployment: file:/home/anushree/workspace5/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_ESB_4.4_Server/deploy/ESBJMSApp.esb
      org.jboss.deployment.DeploymentException: Error during create of ESB Module: file:/home/anushree/workspace5/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_ESB_4.4_Server/deploy/ESBJMSApp.esb; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character '\n' in key part of property)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.create(JBoss4ESBDeployer.java:411)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy9.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      Caused by: javax.management.MalformedObjectNameException: Invalid character '\n' in key part of property
      at javax.management.ObjectName.construct(ObjectName.java:535)
      at javax.management.ObjectName.(ObjectName.java:1403)
      at org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer.create(JBoss4ESBDeployer.java:340)
      ... 21 more


      but when i run the HelloWorld sample that comes along with jbossesb in console, everything works fine.
      please help me identify the problem..