[jboss-user] [Clustering] - Re: Non clustered Queue
Hi Brian, Thanks a ton for the reply. One more doubt. Is it possible to have a combination of singleton and non singleton queues in the clustered environment? Our requirement is to have just one of the queues as non-clustered and all other queues as normal singleton queues. Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258593#4258593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Non clustered Queue
Hi, We are using Jboss 4 AS in clustered mode. From the docs that I've read, its understood that JMS queues and topics are implemented as singleton service in a clustered environment. Is it possible to have non clustered queues? i.e., each local queues on node in the cluster? Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258122#4258122 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Message Selector based on the host name in clustered environ
Hi all, We are working in a clustered environment and the application server we use is JBoss. We have an MDB which listens to a queue. We want the MDB to filter the messages based on the hostname. i.e., I have Server A and Server B. I want the messages sent from Server A to be received only by the MDBs in Server A and vice versa. I was thinking of using message selectors for filtering the messages. i.e., before sending the message, I'll set node name as the property in the message and use that name as the message selector for the MDB. But I guess dynamic message-selector is not possible. How can I handle this? Can this be implemented? Please help me out. This is very urgent!! Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257919#4257919 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: cannot list on any port in range 0-123
Even i faced the same problem and changing the /etc/hosts file did the trick. Thank you every one View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232102#4232102 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Creating new session ids
Hi All, Every time I log into my application, I want the session to have a new session id. Currently if I close and open the browser, I'll get a new session id or else the session id will be the same even tough I am invalidating the session while logging out. Is there any solution for this? I'm using JBoss as my application server. Any help is highly appreciated. Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4216492#4216492 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - SpyJMSException
I'm getting the following exception. What could be the possible reason?? 2008-01-02 16:49:50,874 ERROR [org.jboss.mq.server.jmx.Queue.DLQ] Starting failed jboss.mq.destination:service=Queue,name=DLQ org.jboss.mq.SpyJMSException: Could not restore messages to destination : QUEUE.DLQ; - nested throwable: (java.io.IOException: Could not load the message: java.io.StreamCorruptedException: unexpected EOF in middle of data block) at org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:469) at org.jboss.mq.server.JMSQueue.(JMSQueue.java:44) at org.jboss.mq.server.jmx.Queue.startService(Queue.java:80) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:418) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at org.jboss.system.ServiceController.start(ServiceController.java:440) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy39.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:229) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) at
[jboss-user] [Messaging, JMS JBossMQ] - Re: SpyJMSException
Solved it.. some corrupt data is in the db. Since we did a restore of the db, we also restored the issue. One way to get rid of the DLQ errors is to shut down the server, and clean the tables manually from the db. DELETE FROM JMS_MESSAGES; Then restart the server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116684#4116684 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - DLQ issue
Can anyone tell me what could be the possible cause for the following error?? Thanks a lot!! 2007-12-24 11:26:01,961 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider 2007-12-24 11:26:01,965 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider 2007-12-24 11:26:01,969 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler javax.naming.NameNotFoundException: queue/DLQ at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223) at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134) at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187) at $Proxy149.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:161) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238) at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115851#4115851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user