0 Replies Latest reply on Dec 18, 2002 2:45 PM by Manoj Nair

    How to start cloudscape from within JBoss??

    Manoj Nair Newbie

      Hello All,

      I am looking for some way to start cloudscape inside JBoss (embedded mode).

      I wrote a simple cscapeserver-service.xml with the following contents, but does not work.








      The error on the console:
      11:23:48,404 INFO [MainDeployer] Starting deployment of package: file:/Q:/jboss
      -3.2.0beta2/server/default/deploy/cscape-service.xml
      11:23:48,529 INFO [SARDeployer] looking for nested deployments in : file:/Q:/jb
      oss-3.2.0beta2/server/default/deploy/cscape-service.xml
      11:23:48,654 INFO [SARDeployer] Remove MBean, name: user:service=Cscapeserver
      11:23:48,654 ERROR [MainDeployer] could not create deployment: file:/Q:/jboss-3.
      2.0beta2/server/default/deploy/cscape-service.xml
      org.jboss.deployment.DeploymentException: create operation failed for package fi
      le:/Q:/jboss-3.2.0beta2/server/default/deploy/cscape-service.xml; - nested throw
      able: (javax.management.InstanceNotFoundException: user:service=Cscapeserver is
      not registered.)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:283)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:770)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:400)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:524)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:195)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:206)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:185)
      Caused by: javax.management.InstanceNotFoundException: user:service=Cscapeserver

      Please help.

      MS