Skip to main content

Error deploying TCP/IP RA

6 replies [Last post]
randythomos765
Offline
Joined: 2009-04-03
Points: 0

I'm trying to develop a simple TCP resource adaptor and running into some deployment errors. All I want this RA to do is to listen for any incoming connection requests. establish a connection and pass those messages.

RA jar contains the following items.

tcp-ra-DU.jar
|
---------- META-INF--------------------------deployable-unit.xml,deploy-config.xml
tcpra-events.jar------------------META-INF/eventjar.xml, class files
tcpra-resource-adaptor.jar---META-INF\resource-adaptor-jar.xml, class files
tcpra-resource-adaptor-type.jar---META-INF\resource-adaptor-type-jar.xml, class files

This is the output of the jboss log after I try to deploy the above said RA. What am I missing?

Thank you and I appreciate any pointers.
-T

------------------------------------------------------------
No RA Entity and Link config for ResourceAdaptorID[TCPRA#Test#1.0] found. Using default values!
------------------------------------------------------------
2009-05-26 17:31:20,841 INFO [org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl] Installing DU with URL file:/C:/mobicents-jainslee-server-1.2.4.GA-jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/tcp-ra-DU.jar
2009-05-26 17:31:20,992 INFO [org.mobicents.slee.container.SleeContainer] Installed event TCP_MESSAGE#Test#1.0
2009-05-26 17:31:20,994 ERROR [org.mobicents.slee.container.SleeContainer] Exception caught while installing component
javax.slee.management.DeploymentException: missing resource adaptor type where id = ResourceAdaptorTypeID[TCP RA#Test#1.0]
at org.mobicents.slee.container.SleeContainer.installResourceAdaptor(SleeContainer.java:2480)
at org.mobicents.slee.container.SleeContainer.install(SleeContainer.java:2368)
at org.mobicents.slee.container.component.deployment.AbstractComponentDeployer.deployAndInstall(AbstractComponentDeployer.java:118)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployedComponents(DeployableUnitDeployer.java:555)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployment(DeployableUnitDeployer.java:501)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deployUnitContent(DeployableUnitDeployer.java:253)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deploy(DeployableUnitDeployer.java:170)
at org.mobicents.slee.container.component.deployment.DeploymentManager.deployUnit(DeploymentManager.java:118)
at org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl.install(DeploymentMBeanImpl.java:149)
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)
at javax.management.StandardMBean.invoke(StandardMBean.java:323)
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:436)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:212)
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:304)
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)
2009-05-26 17:31:20,997 ERROR [STDERR] javax.slee.management.DeploymentException: missing resource adaptor type where id = ResourceAdaptorTypeID[TCP RA#Test#1.0]
2009-05-26 17:31:20,997 ERROR [STDERR] at org.mobicents.slee.container.SleeContainer.installResourceAdaptor(SleeContainer.java:2480)
2009-05-26 17:31:20,997 ERROR [STDERR] at org.mobicents.slee.container.SleeContainer.install(SleeContainer.java:2368)
2009-05-26 17:31:20,997 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.AbstractComponentDeployer.deployAndInstall(AbstractComponentDeployer.java:118)
2009-05-26 17:31:20,997 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployedComponents(DeployableUnitDeployer.java:555)
2009-05-26 17:31:20,997 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployment(DeployableUnitDeployer.java:501)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deployUnitContent(DeployableUnitDeployer.java:253)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deploy(DeployableUnitDeployer.java:170)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.component.deployment.DeploymentManager.deployUnit(DeploymentManager.java:118)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl.install(DeploymentMBeanImpl.java:149)
2009-05-26 17:31:20,998 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2009-05-26 17:31:20,998 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2009-05-26 17:31:20,998 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-05-26 17:31:20,998 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2009-05-26 17:31:20,998 ERROR [STDERR] at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
2009-05-26 17:31:20,998 ERROR [STDERR] at javax.management.StandardMBean.invoke(StandardMBean.java:323)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.deployment.jboss.DeploymentManager.sciAction(DeploymentManager.java:436)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:212)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.mobicents.slee.container.deployment.jboss.SLEESubDeployer.start(SLEESubDeployer.java:408)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2009-05-26 17:31:20,998 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
2009-05-26 17:31:20,998 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-05-26 17:31:20,998 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2009-05-26 17:31:20,998 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2009-05-26 17:31:20,999 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2009-05-26 17:31:20,999 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
2009-05-26 17:31:20,999 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-05-26 17:31:20,999 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-05-26 17:31:20,999 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2009-05-26 17:31:21,000 ERROR [STDERR] at $Proxy0.start(Unknown Source)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
2009-05-26 17:31:21,000 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2009-05-26 17:31:21,000 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-05-26 17:31:21,000 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-05-26 17:31:21,000 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2009-05-26 17:31:21,000 ERROR [STDERR] at $Proxy4.start(Unknown Source)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
2009-05-26 17:31:21,001 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2009-05-26 17:31:21,001 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2009-05-26 17:31:21,001 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-05-26 17:31:21,001 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-05-26 17:31:21,001 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2009-05-26 17:31:21,002 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
2009-05-26 17:31:21,002 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:508)
2009-05-26 17:31:21,002 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2009-05-26 17:31:21,009 INFO [org.mobicents.slee.container.SleeContainer] Uninstalled event EventTypeID[TCP_MESSAGE#Test#1.0], #92
2009-05-26 17:31:21,020 ERROR [org.mobicents.slee.container.deployment.jboss.DeploymentManager] Failure invoking 'install([file:/C:/mobicents-jainslee-server-1.2.4.GA-jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/tcp-ra-DU.jar]) on slee:name=DeploymentMBean
javax.management.MBeanException: Exception thrown in operation install
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:435)
at javax.management.StandardMBean.invoke(StandardMBean.java:323)
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:436)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:212)
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:304)
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: javax.slee.management.DeploymentException: Could not deploy: missing resource adaptor type where id = ResourceAdaptorTypeID[TCP RA#Test#1.0]
at org.mobicents.slee.container.component.deployment.DeploymentManager.deployUnit(DeploymentManager.java:133)
at org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl.install(DeploymentMBeanImpl.java:149)
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
Caused by: javax.slee.management.DeploymentException: missing resource adaptor type where id = ResourceAdaptorTypeID[TCP RA#Test#1.0]
at org.mobicents.slee.container.SleeContainer.installResourceAdaptor(SleeContainer.java:2480)
at org.mobicents.slee.container.SleeContainer.install(SleeContainer.java:2368)
at org.mobicents.slee.container.component.deployment.AbstractComponentDeployer.deployAndInstall(AbstractComponentDeployer.java:118)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployedComponents(DeployableUnitDeployer.java:555)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.loadDeployment(DeployableUnitDeployer.java:501)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deployUnitContent(DeployableUnitDeployer.java:253)
at org.mobicents.slee.container.component.deployment.DeployableUnitDeployer.deploy(DeployableUnitDeployer.java:170)
at org.mobicents.slee.container.component.deployment.DeploymentManager.deployUnit(DeploymentManager.java:118)
... 79 more
2009-05-26 17:31:21,272 ERROR [org.mobicents.slee.container.SleeContainer] Failed to create RA Entity. RA ID: ResourceAdaptorID[TCPRA#Test#1.0] not found.
2009-05-26 17:31:21,272 ERROR [org.mobicents.slee.container.deployment.jboss.DeploymentManager] Failure invoking 'createResourceAdaptorEntity([ResourceAdaptorID[TCPRA#Test#1.0], TCPRA, {}]) on slee:name=ResourceManagementMBean
javax.management.MBeanException: Exception thrown in operation createResourceAdaptorEntity
at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:435)
at javax.management.StandardMBean.invoke(StandardMBean.java:323)
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:436)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:212)
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:304)
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: javax.slee.management.UnrecognizedResourceAdaptorException: Failed to create RA Entity. RA ID: ResourceAdaptorID[TCPRA#Test#1.0] not found.
at org.mobicents.slee.container.SleeContainer.createResourceAdaptorEntity(SleeContainer.java:2760)
at org.mobicents.slee.container.management.jmx.ResourceManagementMBeanImpl.createResourceAdaptorEntity(ResourceManagementMBeanImpl.java:74)
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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hnyxd_sunny
Offline
Joined: 2010-05-20
Points: 0

And my email is hnyxd_sunny@hotmail.com. Thanks again.

randythomos765
Offline
Joined: 2009-04-03
Points: 0

The problem was in my deployable-unit.xml with order of jars.


tcpra-resource-adaptor.jar
tcpra-events.jar
tcpra-resource-adaptor-type.jar

The jar file "tcpra-resource-adaptor.jar" was ahead of "tcpra-resource-adaptor-type.jar".

After changing the order like below, it deployed fine.


tcpra-events.jar
tcpra-resource-adaptor-type.jar
tcpra-resource-adaptor.jar

hnyxd_sunny
Offline
Joined: 2010-05-20
Points: 0

hi, randythomos,
I had the same question as you mentioned above. Could you send me a whole eclipse project(TCPRA) to me? I want to compare my project with yours and hope to find the question.
Thanks a lot.

sachinparnami
Offline
Joined: 2008-07-28
Points: 0

Hi,

Make sure that resource-adaptor-type-ref specified in resource-adaptor-jar.xml should be identical as specified in resource-adaptor-type-jar.xml :)

randythomos765
Offline
Joined: 2009-04-03
Points: 0

Thank you for looking at the post.

That was the first thing I checked after I got the exception/error.
Here is the resource-adaptor-jar.xml



TCP Resource Adaptor

TCPRA
Test
1.0


TCP RA
Test
1.0



com.test.tcpra.ra.TCPResourceAdaptor



tcpraPort
java.lang.Integer
2220


sockTimeout
java.lang.Integer
1000

Below is resource-adaptor-type-jar.xml




TCP Resource Adaptor
TCP RA
Test
1.0



com.test.tcpra.ratype.TCPRAFActivity




com.test.tcpra.ratype.TCPRAActivityContextInterfaceFactory




com.test.tcpra.ratype.TCPRASbbInterface




TCP_MESSAGE
Test
1.0


sachinparnami
Offline
Joined: 2008-07-28
Points: 0

Both XML files looks ok to me :)
As you said its just a test you are doing ,so would you mind attaching RA here need to look into it, may be that would help ;)