0 Replies Latest reply on Feb 20, 2002 4:22 PM by raghav75

    JBOSSMQ problem

    raghav75

      Ha iam using the combination of JBOSS JBOSSMQ (JBOSS-2.4.3). Iam using JBOSSMQ for sending messages from client to server. Iam using topics,QUES and the durable subscription also.
      I had mentioned all the topics and ques iam using in jboss.jcml . I had added some code in jbossmq-state.xml like the following:


      user
      pass
      JBossMQServer

      the above code is for having the support for durablesubscription.Here JBossMQServer is the java file which contains to code for creation of topics and ques and logging to JBOSSMQ server with user name and password as user and pass respectively.I had stated running the application . At first i had logged into the application with some user and password.Everthing is doing fine. In my application i had providethe facilty of switchuser(just like switching to another user) at that time iam getting the following exception :


      javax.jms.JMSException: Invalid configuration.
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.destroyQueue(PersistenceManager.java:186)
      at org.jboss.mq.server.PersistentQueue.destroy(PersistentQueue.java:29)
      at org.jboss.mq.server.JMSTopic.destoryDurableSubscription(JMSTopic.java:142)
      at org.jboss.mq.server.StateManager.setDurableSubscription(StateManager.java:115)
      at org.jboss.mq.server.JMSServer.destroySubscription(JMSServer.java:408)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:267)
      at java.lang.Thread.run(Thread.java:484)

      Iam facing the above problem


      and another problem is in the jbossmq-state.xml

      when ever i login to application ,observerd that
      some sesiions are created and stored in jbossmq-state.xml
      (related to durable subscription) and the id s are as follows


      admin64883c:ec2042f688:-7f56
      PROXY_TOPIC


      raghav64883c:ec2042f688:-7ed7
      PROXY_TOPIC


      here admin and raghav are users in my application

      Proxy_Topic is the name of the topic that i was using

      for DURable subscription. Like this when ever i login into application i had observed that the new messages like above are getting stored in jbossmq-state.xml . Like this if the count reaches nearly to 20 or 30 iam getting the exception ( too many open files) . Again iam deleting all the session id's and back to working with application.
      why iam getting this type of problems.

      PLZ give me the reply ...
      thanks in advaance...

      plz get back to me if u had any concerns..

      thanks
      Raghav