[Messaging, JMS & JBossMQ] - How to Delete jms queue
by shankha
I have a problem to delete jms queue.
I created a jms queue in my jboss. I write following entries in the jbossmq-destinations-service.xml file in the jboss-4.2.1.GA\server\default\deploy\jms location to create a queue.
Entry for RFID_COMMAND_Q
------------------------------------
<mbean code="org.jboss.mq.server.jmx.Queue"
| name="jboss.mq.destination:service=Queue,name=RFID_COMMAND_Q">
| <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
| <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
| <attribute name="MessageCounterHistoryDayLimit">-1</attribute>
| <attribute name="SecurityConf">
| <security>
| <role name="guest" read="true" write="true"/>
| <role name="publisher" read="true" write="true" create="false"/>
| <role name="noacc" read="false" write="false" create="false"/>
| </security>
| </attribute>
| </mbean>
Now I send some messages to the queue.There is no listener to the queue.
After that I remove the entry form the file to delete the queue and restart the jboss and find no RFID_COMMAND_Q.
But when I again put the entry in the file and write a listener to the RFID_COMMAND_Q I find I got all the messages what I send to the queue befeore delete the queue ?
Is the queue is not deleted or - I have to delete some other entries also ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102398#4102398
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102398
18 years, 6 months
[EJB/JBoss] - Cannot Serialise using XMLEncoder
by bosshere
Hi
I tried to serialize an object using XMLEncoder. I am using jboss/ejb platform for my application development. I am a fresher in this area.
But when i tried to serialize the object i am getting the following error messages in the jboss console.
java.lang.IllegalAccessException: Class java.beans.statement cannot access a member of class org.jdom.Element with modifier "protected".
The class which I tried to serialize extends another super class. Initially, the default constructor of this super class was "protected". I changed it to public. But the same error is displayed. I also made all protected variables in the super class and the main class made public. But no use.
Also, I am trying to serialise an existing object of my class to serialize. If I use a new object of this class, this problem is not seen. ie
public void serialize(Test test) {
encoder.serialize(test);
}
problem exists.
If i use
public void serialize(Test test) {
encoder.serialize(new Test());
}
no problem is seen.
Can anybody tell the cause of this problem ? If I use XStream, the serialization problem does not exist. But due to some reasons I have to use XMLEncoder
Thanks
Anoop
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102396#4102396
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102396
18 years, 6 months
[JBoss jBPM] - Integration with external system.
by neptune
Hello everyone,
I have two question, the first one is what does the External System exactly means?
I want to use a state node in my process, which means I hope the process go into this node then wait for signal from external systems. From my understanding, the external system means an application like web-console in the suite, but the other type, like java program, is also possible. External system will integrate with JBPM engine though JbpmConfiguration and then get JbpmContext then get ProcessDefinition, instance and token and so on.
If above understanding is correct, Here's my second question. I think it should be common that there are more than one external system using the same jbpm engine and work on the same process instance, like that there are one web-console run a processinstance and go into a state node and wait for another external system, a java program to trigger the token.signal(). I try to do like this using the 3.2.2 suite, but if I try to run these two external system currently, there will be an error prompt me that the hsqldb was locked by a process so one of the external system can't operate currectly. This is where my confusion comes from. Is this the problem of Hsqldb or my use case is not supporteb by jbpm?
Thank you very much for your attention and look forward your suggestion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102393#4102393
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102393
18 years, 6 months
[JBoss Seam] - Re: Seam with multiple web pages
by DiegoCoronel
There was no exceptions, the problem is that i have 2 wars, /segurancaWeb and /generalWeb, my segurancaWeb use authenticator and im doing the login normally, when im in /generalWeb and try to use s:hasRole('xxx') my roles arent in the context, it is like i need to login again, when i come back to /segurancaWeb/ any page my login is ok... so, i wanna something like JAAS, all my roles to be visible in all wars /segurancaWeb/ and /generalWeb/ with 1 authenticar, i need single sign on, is there any way to do that ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102391#4102391
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102391
18 years, 6 months