4 Replies Latest reply on Mar 19, 2004 12:49 PM by chanchal11

    Setting up JMS servlet in JBoss

    chanchal11

      Can anybody tell me what settings to do in order to invoke a JMS servlet.When my servlet is invoked then it gives javax/resource/ResourceException.Please help me.

        • 1. Re: Setting up JMS servlet in JBoss
          darranl

          What do you mean by "JMS Servlet" it isn't something that I have heard of.

          Do you mean JMS queue / topic or is it something that I have missed?

          • 2. Re: Setting up JMS servlet in JBoss
            chanchal11

            I mean I am using JMS QueueSender and QueueReceiver classes in my servlet to send and receive messages.

            • 3. Re: Setting up JMS servlet in JBoss
              darranl

              Ok to get help in the forums you need to provide the following:-

              Desription of what you are actually doing.
              Tell us the JBoss version
              JDK version
              OS version

              Code snippets
              Deployment descriptors / snippets as appropriate.

              Stack traces including error messages

              • 4. Re: Setting up JMS servlet in JBoss
                chanchal11

                Hey,
                I am passing some form parameters from a HTML form to
                a Servlet which is accessing these parameters and
                creating a MQSeries message from these parameters and
                sending it to a queue.When servlet is invoked then it
                displays name and value of passed parameters but when
                MQSeries code is executed then it gives 500
                javax/resource/ResourceException.My MQ jar files are
                in my application folder(ear) and entries of these jar
                files are in application.xml file.Classpath of MQ has
                been set using environment variables only.If I need to
                set classpath using JBoss too then I am not aware of
                that.I m using JBoss 3.0.8 and J2sdk 1.4.2 and I m
                working on windows XP.If I need to do any additional
                setting then please let me know.I am first time using
                Servlet for MQseries.