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:
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.
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
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..