Skip to main content

Re: NoClassDefFoundError in trying to run ant proxy-service-deploy

1 reply [Last post]
ralf_siedow
Offline
Joined: 2004-11-10

Hello Paul,

please check that you don't have class paths that contain a whitespace. See the XML-Spy library. Guess you don't need id.

Please post in the new forums. I moved the topic.

Cheers,
Ralf

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
plin3000
Offline
Joined: 2005-05-17

Thanks Ralf.
It works after removed the white space in classpath.
After executed ant proxy-service-deploy, there is MBeanException. Could you let me know what I did miss? The output message is as:

--
build-proxy-service-jars:
[mkdir] Created dir: D:\mobicents\build
[jar] Building jar: D:\mobicents\build\registrarsbb.jar
[jar] Building jar: D:\mobicents\build\proxysbb.jar
[copy] Copying 1 file to D:\mobicents\build
[jar] Building jar: D:\mobicents\proxyservice.jar
[move] Moving 1 files to D:\mobicents\thirdparty\oc-sip-examples\examples
[delete] Deleting 3 files from D:\mobicents\build
[delete] Deleted 1 directory from D:\mobicents\build

proxy-service-deploy:
[echo] D:\mobicents/./sipra/DeploySipRA
[exec] "Deploying SIP Proxy Service"
[exec] "JAVA_HOME=c:\programs\j2sdk1.4.2_05"
[exec] "JBOSS_HOME=C:\Programs\jboss-3.2.7"
[exec] MBeanException: javax.management.InstanceNotFoundException: slee:nam
e=DeploymentMBean is not registered.
[exec] Cause: javax.management.InstanceNotFoundException: slee:name=Deploym
entMBean is not registered.
[exec] Bad result: slee:name=DeploymentMBean.install
[exec] "Activating SIP Proxy Service"
[exec] "JAVA_HOME=c:\programs\j2sdk1.4.2_05"
[exec] "JBOSS_HOME=C:\Programs\jboss-3.2.7"
[exec] MBeanException: javax.management.InstanceNotFoundException: slee:nam
e=ServiceManagementMBean is not registered.
[exec] Cause: javax.management.InstanceNotFoundException: slee:name=Service
ManagementMBean is not registered.
[exec] Bad result: slee:name=ServiceManagementMBean.activate
[exec] Result: -1

BUILD SUCCESSFUL
Total time: 3 seconds