3 Replies Latest reply on Dec 6, 2007 10:54 AM by Clebert Suconic

    New to JBOSS / JMS integration

    maulik kayastha Newbie

      I'm a J2EE programmer.
      I have used JBoss as well as JMS (before long time with WebLogic), and need to know how JMS works in JBOSS, how to setup queues, monitor them (perhaps using JBOSSMQ and Active MQ), etc. I use Eclipse Europa.

      To get started and understand some existing code that uses this already, what would be a quick way. As running down with POC deadlines.
      I would appriciate if any one can provide sample application and configuration details to start with.


        • 1. Re: New to JBOSS / JMS integration
          maulik kayastha Newbie


          I would also like to add,

          - I aware that all the configuration files are available under deploy/jms folder.
          - jbossMQ-service.xml and uil2-service.xml files have great role to do while creating queues and creating ConnectionFactory, respectively.

          But I am not able to relate all the things and not able to start with a small example, even I am not able to define QueueConnectionFactory.
          I am getting error like,

          Exception in thread "main" javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)]
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
          at javax.naming.InitialContext.lookup(Unknown Source)
          at SendRecvClient.setupPTP(SendRecvClient.java:61)
          at SendRecvClient.sendRecvAsync(SendRecvClient.java:76)
          at SendRecvClient.main(SendRecvClient.java:107)
          Caused by: java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)
          at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
          at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
          at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
          at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
          at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
          at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
          at java.io.ObjectInputStream.readClassDesc(Unknown Source)
          at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
          at java.io.ObjectInputStream.readObject0(Unknown Source)
          at java.io.ObjectInputStream.readObject(Unknown Source)
          at java.rmi.MarshalledObject.get(Unknown Source)
          at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
          ... 5 more

          So Any startup small application along with configuration details is highly appriciated.


          • 2. Re: New to JBOSS / JMS integration
            Andy Taylor Master

            This forum is for the design of JBoss Messaging. User questions should be posted on the following forums:

            depending on which messaging implementation you are using.

            With regard to JBoss Messaging the wiki is a good place to start. http://www.jboss.com/wiki/Wiki.jsp?page=JBossMessaging

            • 3. Re: New to JBOSS / JMS integration
              Clebert Suconic Master

              I have moved this message to JBoss Messaging User's forum. (from JBM dev's forum)