Can anyone point me to a really good, advanced tutorial or doco on configuring the messaging systems (Configurations-->default-config-->Java Messaging Service). We have a web app that needs to access the JMS queues of another glassfish instance and we're having a terrible time trying to get it working.
We can interact with the queues fine from a stand alone application and from hermes, but our web app can't do anything with them (as detailed in several previous posts).
This is a blocker for us, and we're getting pressure to drop glassfish for JBoss which I really don't want to do :(
Any assistance would be really really appreciated.
Cheers
Adam
--- On Thu, 14/5/09, Adam Jenkins <adamjenkinstmpredirect_at_yahoo.com.au> wrote:
> From: Adam Jenkins <adamjenkinstmpredirect_at_yahoo.com.au>
> Subject: Error configuring remote JMS
> To: users_at_glassfish.dev.java.net
> Received: Thursday, 14 May, 2009, 6:10 AM
>
> Hi,
>
> I'm trying to configure a remote JMS host in the admin
> console using the menu section "config-->Java Messaging
> Service". I set the type to 'REMOTE' and reference the
> host ejb (detailed below).
>
> I have added a host called ejb (my queue is running on my
> ejb server) so I have "config-->Java Messaging
> Service-->JMS Hosts-->ejb". It's values are:
>
> name: ejb
> host: ejb.mydomain.com
> port: 33701
> username: admin
> password: adminadmin
>
> When I click on "Physical Destinations" I get the following
> error:
>
> java.net.MalformedURLException: Service URL must start with
> service:jmx:
> at
> javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:160)
> at
> com.sun.enterprise.connectors.system.MQJMXConnectorInfo.getMQMBeanServerConnection(MQJMXConnectorInfo.java:122)
> at
> com.sun.enterprise.admin.mbeans.JMSDestination.listJMSDestinations(JMSDestination.java:203)
> at
> com.sun.enterprise.admin.mbeans.ResourcesMBean.listJMSDestinations(ResourcesMBean.java:2680)
> at
> com.sun.enterprise.admin.mbeans.ResourcesMBean.listPhysicalDestinations(ResourcesMBean.java:2782)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at
> java.lang.reflect.Method.invoke(Method.java:616)
> at
> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
> at
> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
> at
> com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
> at
> sun.reflect.GeneratedMethodAccessor28.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at
> java.lang.reflect.Method.invoke(Method.java:616)
> at
> com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
> at $Proxy1.invoke(Unknown
> Source)
> at
> com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
> at
> com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
> at
> com.sun.enterprise.tools.admingui.util.JMXUtil.invoke(JMXUtil.java:119)
> at
> com.sun.enterprise.tools.admingui.util.JMXUtil.invoke(JMXUtil.java:75)
> at
> com.sun.enterprise.tools.admingui.handlers.ConfigurationHandlers.getPhysicalDestinations(ConfigurationHandlers.java:3224)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at
> java.lang.reflect.Method.invoke(Method.java:616)
> at
> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:421)
> at
> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:343)
> at
> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:317)
> at
> com.sun.jsftemplating.layout.descriptors.LayoutComponent.beforeCreate(LayoutComponent.java:331)
> at
> com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:270)
> at
> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:413)
> at
> com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:203)
> at
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
> at
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
> at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> at
> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
> at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>
>
>
>
> When I try to start the server (the one that's referencing
> the REMOTE JMS with the configuration outlined above) I get
> the following error:
>
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_ceb6dd
> ;java.net.URLClassLoader_at_ceb6dd;_RequestID=03527a3a-53e9-490e-9b84-526f6d61fd0c;|"IOP00710305:
> (INTERNAL) Worker thread Thread[p: thread-pool-1; w:
> 1,5,main] finished work item with ClassLoader EJBClassLoader
> :
> urlSet = []
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_ceb6dd
> ; ClassLoader successfully reset to
> java.net.URLClassLoader_at_ceb6dd"
> org.omg.CORBA.INTERNAL: vmcid: SUN
> minor code: 305 completed: No
> at
> com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadClassloaderReset(ORBUtilSystemException.java:7522)
> at
> com.sun.corba.ee.impl.logging.ORBUtilSystemException.workerThreadClassloaderReset(ORBUtilSystemException.java:7547)
> at
> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:593)
> |#]
>
> [#|2009-05-14T06:06:50.771+1000|WARNING|sun-appserver9.1|javax.jms|_ThreadID=10;_ThreadName=main;_RequestID=7c398a87-6897-4f1d-a6fd-539f44c15b17;|[C4003]:
> Error occurred on connection creation
> [ejb.mydomain.com:33701]. - cause:
> java.lang.NumberFormatException: For input string:
> "^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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@^@^@^@^@^@
> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
> ^@^@^@^@^@^@^@"|#]
>
>
> Can anyone shed any light about what I might have done
> wrong here?
>
> Cheers
> Adam
>
>
> Need a Holiday? Win a $10,000 Holiday
> of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline