[jboss-user] [Messaging, JMS & JBossMQ] - Binding remote queue to local jndi is failed

slogger do-not-reply at jboss.com
Mon Nov 26 10:14:27 EST 2007


It is necessary for me to send message to remote queue. Queue must be predefined declaratively. 
I step by example hear http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigAdminObject with some changes:

<server>
  |     <mbean code="org.jboss.resource.deployment.AdminObject"
  |            name="jca.test:name=Inbox">
  |         <attribute name="JNDIName">queue/Inbox</attribute>
  |         <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='jms-ra.rar'</depends>
  |         <attribute name="Type">javax.jms.Queue</attribute>
  |         <attribute name="Properties">
  |             java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |             java.naming.factory.url.pkgs=org.jnp.interfaces
  |             java.naming.provider.url=10.0.0.226:1099
  |         </attribute>
  |     </mbean>
  | </server>
  | 

and found issue:
org.jboss.deployment.DeploymentException: No admin object metadata type=javax.jms.Queue ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
  | 	at org.jboss.resource.deployment.AdminObject.startService(AdminObject.java:99)
  | 	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 org.jboss.system.ServiceController.start(ServiceController.java:435)
  | 	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 $Proxy39.start(Unknown Source)
  | 	at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:356)
  | 	at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:127)
  | 

What's the matter?
May be am I wrong in principle?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107762#4107762

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107762



More information about the jboss-user mailing list