Skip to main content

Error occur while deploying call-controller2-DU-1.0.0.CR2-SNAPSHOT.jar

8 replies [Last post]
harikumarms
Offline
Joined: 2008-09-08

Hi All,
I have download the latest mobicent source code. I deploy the call-contoller2 and sip wake in jboss box, while deploying it throws following error which mentioned below.

Following jar files are deployed in jboss server
a. call-controller2-DU-1.0.0.CR2-SNAPSHOT.jar
b. msc-ra-DU-1.0.0.CR2-SNAPSHOT.jar
c. sip-ra-DU-2.0.00-SNAPSHOT.jar
d. sip-services-proxy-without-initial-invite-DU-2.0.00-SNAPSHOT.jar
e. sip-wake-up-DU-2.0.00-SNAPSHOT.jar

Please mention any configuration or dependency file is missing.

Error stack:

2008-10-21 01:45:02,906 INFO [org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl] Deployable unit with URL file:/D:/CR2-mobiloos/arunCR2/jboss-4.2.2.GA/server/default/deploy/msc-ra-DU-1.0.0.CR2-SNAPSHOT.jar deployed as DeployableUnitID[0]
2008-10-21 01:45:03,156 INFO [org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl] Created RA Entity. Id: ResourceAdaptorID[MediaResourceAdaptor#org.mobicents#1.0], name: LocalMs, properties: {}
2008-10-21 01:45:03,421 ERROR [org.mobicents.slee.container.deployment.jboss.DeploymentManager] Failure invoking 'activateResourceAdaptorEntity([LocalMs]) on slee:name=ResourceManagementMBean
javax.management.RuntimeErrorException: Error thrown in operation activateResourceAdaptorEntity
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:432)
at javax.management.StandardMBean.invoke(StandardMBean.java:421)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.sciAction(DeploymentManager.java:428)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:204)
at org.mobicents.slee.container.deployment.jboss.SLEESubDeployer.start(SLEESubDeployer.java:408)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
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 $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: org.mobicents.mscontrol.MsProvider.addNotificationListener(Lorg/mobicents/mscontrol/MsNotificationListener;)V
at org.mobicents.slee.resource.media.local.MsProviderLocal.(MsProviderLocal.java:42)
at org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.entityActivated(MediaResourceAdaptor.java:146)
at org.mobicents.slee.resource.ResourceAdaptorEntity.activate(ResourceAdaptorEntity.java:188)
at org.mobicents.slee.container.SleeContainer.activateResourceAdaptorEntity(SleeContainer.java:838)
at org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl.activateResourceAdaptorEntity(ResourceManagementMBeanImpl.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
... 73 more

Thanks
M.S.HariKumar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
harikumarms
Offline
Joined: 2008-09-08

Hi All,

Anybody please help me in the call configuration I have used latest mobicent source code, while deploying it thtrows above error.
I have to make a call between to sip client. Is there is any working source code for call, please give me the link.

Thanks & Regards
M.S.HariKumar

eduardomartins
Offline
Joined: 2005-10-10

Caused by: java.lang.NoSuchMethodError: org.mobicents.mscontrol.MsProvider.addNotificationListener(Lorg/mobicents/mscontrol/MsNotificationListener;)V
at org.mobicents.slee.resource.media.local.MsProviderLocal.(MsProviderLocal.java:42)
at org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.entityActivated(MediaResourceAdaptor.java:146)
at org.mobicents.slee.resource.ResourceAdaptorEntity.activate(ResourceAdaptorEntity.java:188)
at org.mobicents.slee.container.SleeContainer.activateResourceAdaptorEntity(SleeContainer.java:838)
at org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl.activateResourceAdaptorEntity(ResourceManagementMBeanImpl.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
... 73 more

I guess you don't have the Media Server SAR installed.

harikumarms
Offline
Joined: 2008-09-08

Hi Eduardo,

I try to follow the steps given in mobicent web page to install Media Server.
Link is http://groups.google.com/group/mobicents-public/web/mobicents-ms-binary.

These are the steps it has mentioned:
a) Installing media server endpoints.
switch to the /servers/media and run mvn install
[b]Issue:[/b]In the step [b]"a"[/b], if I execute the cmd mvn install, it throws following error.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build
is not using one.

b) Installing Media Resource Adaptor with local link
switch to the /servers/jain-slee/resources/media and run mvn install
[b]Issue:[/b]In the latest mobicent source code "jain-slee/resources/media" folder is not available.

c) Installing MGCP control module
switch to the /servers/jain-slee/resources/mgcp and run mvn install
[b]Issue:[/b]In the latest mobicent source code "jain-slee/resources/mgcp " folder is not available.

Please suggest me to run the media server.

Thanks & Regards
M.S.HariKumar

alexandrem
Offline
Joined: 2005-10-19

Hi HariKumar,

That doc is out-of-date. Please do the following:

a) run [b]mvn install[/b] at /servers/media/core/ instead.

b) use folder /servers/media/controllers/msc instead.

c) use folder /servers/media/controllers/mgcp instead.

Regards,
Alexandre Mendonça
JBoss R&D

harikumarms
Offline
Joined: 2008-09-08

Hi Alexandre Mendonça,

Thanks for your reply,I have try out the way u have said. But in the "servers\media\controllers\mgcp" folder while executing "mvn install", it throws "cannot execute mojo".
Below I have mention the error, please review on it.
If I run the server, it throws "Failure invoking 'activateResourceAdaptorEntity([LocalMs]) on slee:name=ResourceManagementMBean" which is mentioned in the first message.
Please guide me to sort out the issue, I used the latest code in trunk.

[u][b]Error:[/b][/u]
D:\MobiloosManagement_svn\Sip\MobicentSourceCode_20Oct\servers\media\controllers\mgcp>mvn install -e

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build
is not using one.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: resources. It requires
a project with an existing pom.xml, but the build is not using one.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:583)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec
ycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: resources. It requir
es a project with an existing pom.xml, but the build is not using one.
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:377)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:558)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Oct 30 00:57:52 GMT+05:30 2008
[INFO] Final Memory: 3M/5M
[INFO] ------------------------------------------------------------------------

Thanks & Regards
M.S.HariKumar

alexandrem
Offline
Joined: 2005-10-19

Hi HariKumar,

In fact you are right, as the "servers\media\controllers\mgcp" does not contain a pom.xml, only the sub-folders of it.

You can simply do these two steps in order to have everything deployed correctly:

a) run "mvn install" at [b]/servers/media/core/[/b].

b) run "mvn install" at [b]/servers/media/controllers/[/b].

This should be enough for deploying the core and all the needed controllers.

Regards,
Alexandre Mendonça
JBoss R&D

coimsen
Offline
Joined: 2008-11-03

Hi Alexandre Mendonça,

The build gets successful when following your steps (with the latest code as on 5th Nov 2008):
a) run "mvn install" at /servers/media/core/.
b) run "mvn install" at /servers/media/controllers/.

But the media server doesn't get started properly due to the following error:

Error noticed while starting the JBoss server:
*****************************************************
18:00:10,421 INFO [DeploymentMBeanImpl] Deployable unit with URL file:/F:/MyPro
gramFiles/jboss-4.2.2.GA/server/default/deploy/msc-ra-DU-1.0.0.CR3-SNAPSHOT.jar
deployed as DeployableUnitID[3]
18:00:10,671 INFO [ResourceManagement] Created RA Entity. Id: ResourceAdaptorID
[MediaResourceAdaptor#org.mobicents#1.0], name: LocalMs, properties: {}
18:00:10,953 ERROR [DeploymentManager] Failure invoking 'activateResourceAdaptor
Entity([LocalMs]) on slee:name=ResourceManagementMBean
javax.management.RuntimeErrorException: Error thrown in operation activateResour
ceAdaptorEntity
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI
mpl.java:432)
at javax.management.StandardMBean.invoke(StandardMBean.java:323)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1
64)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.sciAc
tion(DeploymentManager.java:428)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.insta
llDeployableUnit(DeploymentManager.java:204)
at org.mobicents.slee.container.deployment.jboss.SLEESubDeployer.start(S
LEESubDeployer.java:408)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
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 $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: org.mobicents.slee.container.SleeContain
er.getResourceAdaptorEnitity(Ljava/lang/String;)Lorg/mobicents/slee/resource/Res
ourceAdaptorEntity;
at org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.initializeN
amingContext(MediaResourceAdaptor.java:351)
at org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.entityActiv
ated(MediaResourceAdaptor.java:147)
at org.mobicents.slee.resource.ResourceAdaptorEntity.activate(ResourceAd
aptorEntity.java:188)
at org.mobicents.slee.container.management.jmx.ResourceManagement.activa
teResourceAdaptorEntity(ResourceManagement.java:411)
at org.mobicents.slee.container.management.jmx.ResourceManagementMBeanIm
pl.activateResourceAdaptorEntity(ResourceManagementMBeanImpl.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI
mpl.java:414)
... 73 more
18:00:11,343 INFO [ResourceManagement] Bound link between RA Entity LocalMs and
Name LocalMs

Error in Management console while trying to activate the media RA:
*******************************************************************************
[ERROR] javax.management.RuntimeErrorException:Error thrown in operation activateResourceAdaptorEntity com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:432) javax.management.StandardMBean.invoke(StandardMBean.java:323) org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.server.Invocation.invoke(Invocation.java:86) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) $Proxy48.invoke(Unknown Source) org.mobicents.slee.container.management.console.server.mbeans.ResourceManagementMBeanUtils.activateResourceAdaptorEntity(ResourceManagementMBeanUtils.java:68) org.mobicents.slee.container.management.console.server.resources.ResourceServiceImpl.activateResourceAdaptorEntity(ResourceServiceImpl.java:89) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:528) com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265) com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NoSuchMethodError:org.mobicents.slee.container.SleeContainer.getResourceAdaptorEnitity(Ljava/lang/String;)Lorg/mobicents/slee/resource/ResourceAdaptorEntity; org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.initializeNamingContext(MediaResourceAdaptor.java:351) org.mobicents.slee.resource.media.ra.MediaResourceAdaptor.entityActivated(MediaResourceAdaptor.java:147) org.mobicents.slee.resource.ResourceAdaptorEntity.activate(ResourceAdaptorEntity.java:188) org.mobicents.slee.container.management.jmx.ResourceManagement.activateResourceAdaptorEntity(ResourceManagement.java:411) org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl.activateResourceAdaptorEntity(ResourceManagementMBeanImpl.java:105) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414) javax.management.StandardMBean.invoke(StandardMBean.java:323) org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.server.Invocation.invoke(Invocation.java:86) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) $Proxy48.invoke(Unknown Source) org.mobicents.slee.container.management.console.server.mbeans.ResourceManagementMBeanUtils.activateResourceAdaptorEntity(ResourceManagementMBeanUtils.java:68) org.mobicents.slee.container.management.console.server.resources.ResourceServiceImpl.activateResourceAdaptorEntity(ResourceServiceImpl.java:89) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:528) com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265) com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) java.lang.Thread.run(Thread.java:595)

Can you please suggest a solution to fix this issue?

Thanks in Advance.

Regards,
Senthil

alexandrem
Offline
Joined: 2005-10-19

Hi Senthil,

Looks like you are using HEAD of SVN for JSLEE which is under heavy changes due to 2.x version of Mobicents. At the moment some RAs are not compatible with that new version, and anyway it shouldn't be used as it is quite unstable.

Please checkout by tag: http://mobicents.googlecode.com/svn/tags/mobicents-jainslee-server-1.2.1...

Best Regards,
Alexandre Mendonça