[jboss-user] [JBoss Messaging Users] - Re: Websphere MQ 7.0 - jBoss 4.2.3 Clustering
Sure. No Prob! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263526#4263526 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Websphere MQ 7.0 - jBoss 4.2.3 Clustering
Hi, I just configured jBoss 4.2.3 GA to use WebSphere MQ Server as its JMS service provider successfully. Now I want to implement the same on my jBoss Cluster (containg two application servers) that both application server instances should use WebSphere MQ Server as JMS provider. For that do I need to configure anything extra or just copy everything (new configuration releated to configure MQ Server only) from 'default' instnace to 'all' and run these two instances on two machines and I am good to go??? If anyone knows a good tutorial to configure above setup (with optimisation) please provide a link here. Thanks -- SJunejo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263523#4263523 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Websphere MQ 7.0 - jBoss 4.2.3 Clustering
Hi, I just configured jBoss 4.2.3 GA to use WebSphere MQ Server as its JMS service provider successfully. Now I want to implement the same on my jBoss Cluster (containg two application servers) that both application server instances should use WebSphere MQ Server as JMS provider. For that do I need to configure anything extra or just copy everything (new configuration releated to configure MQ Server only) from 'default' instnace to 'all' and run these two instances on two machines and I am good to go??? If anyone knows a good tutorial to configure above setup (with optimisation) please provide a link here. Thanks -- SJunejo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263522#4263522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jBoss 4.2.3GA and Websphere MQ 7.0
I found the problem and resolved it. Actually I was looking for 'JNDI' name in incorect format. I was using following in my jboss-web.xml (in web application) and jboss.xml (in mdb); Incorrect Reference | jms/jmsConnectionFactory | javax.jms.ConnectionFactory | wmq/myFC | Where 'wmq/myFC' is connection factory I defined to use MQ Server adaptor. I edited the above part in both (In Web application and MDB) jboss-web.xml and jboss.xml a follows and it worked; Correct Reference | jms/jmsConnectionFactory | javax.jms.ConnectionFactory | java:wmq/myFC | Hope this will help someone in the future. -- SJunejo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263512#4263512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - jBoss 4.2.3GA and Websphere MQ 7.0
Hi, I think this is the closest forum to post my message on. Currently, I am configuring jBoss 4.2.3GA with IBM Websphere MQ Server 7.0. I am using following link to setup the configurations; http://www.jboss.org/community/wiki/UsingWebSphereMQSeriesWithJBossASPart4#Overview I followed the instructions step by step with no exception at all during startup. Also I deployed my web application successfully but when I tried to USE it I am having following error message on screen as well as on jBoss console; Error Message 11:59:46,985 INFO [STDOUT] 2009-11-02 11:59:46,985 [http-0.0.0.0-8080-1] ERROR com.temenos.t24browser.comms.JMSConnector - Destination is not an instance of SpyDestination queue://T24QM/t24OFSQueue Where T24QM is my Queue Manager and t24OFSQueue is local queue What could be the reason for this error message? Please help; Thanks -- SJunejo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263472#4263472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - jBoss Messaging With Non-Transactional DLQ
Hi, We have a clustered JBoss deployment with an MDB which takes messages from a queue and forwards them to an external EIS. We have also configured a second MDB which pulls messages from the DLQ. This works fine as long as we configure the MDBs to use container-managed XA transactions but when we use Bean managed (local) transaction then JBoss messaging does not forward messages to the DLQ when the MDB throws an exception. Is it possible to configure a jBoss messaging (1.4) to forward messages to a DLQ when the MDB causing the exception has been configured to use local transactions? Many thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246216#4246216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable
hmmmthats make some sense..could you plz refer some good example for 'Clustered POST Office' implementation as I have already tried one but :-( Anyway...Thanks again for the clarificationcheers :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246180#4246180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable
Thanks very much. So it means the jBoss messaging is by-default scalable??? We don't need to apply different settings to reroute messages to other nodes if local queue is not present and jboss messaging will do it auto matically for us. I have two servers in a cluster both have their own distributed queues. Let say If I delete my request and response queue from one of the node message will be redirected automatically to other node?... I dont have to set any clustered PostOffice or anything??? By the way how to delete a queue once deployed??Lately I was jut playing around and try to change the 'Clustered' attribute of a deployed and started queue to true and it gives me exception that (something like that) 'Queue property Cluster = true can not be applied as the same queue has already been deployed as Cluster = false. Delete the queue first and then create again.' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246152#4246152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Making Cluster jBoss Messaging Scalable
I am sorry I made a mistake in writting. I mean messages should get processed by both app server. When my browser put message onto queue jBoss should distribute that message according to load on each server or even round robin fashion or any recomneded policy. In short load balanacing on messaging level (JMS level). Is it possible View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246143#4246143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: jBoss Cluster jvmRoute Value and HTTP Server Request Pro
I found my above huge descriptive problem working now. 1) First of all I changed the entire machine because there are some netwroking issues with that as I can not access my jboss using IP and Tomcat status on web console was showing that jBoss is only bind with 127.0.0.1. 2) Secondly when I copied over the same setup to other machine with no network issues i had same issue. I just copied over my working server directory to other server and changed the name to Server2 with unique ServerPeerID and its start working. 3) One more thing which is worth mentioning here is that I was using Service Binding Manager with port-01 settings which I just changed back to default. saisurya_bhasker I think you miss posted your above POST...anyway I am not a huge jboss geek like other people here but just copy your(part of) 'web.xml' where you have defined the distributable tag. It should be; That's it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246120#4246120 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Making Cluster jBoss Messaging Scalable
Hi, I have just implemented jBoss messaging in a cluster bearing High availability in mind and its working. I am using MySQL as my shared database. Now I want to scale my setup say If my browser put any message to my Queue (Clustered Queue) it should be get processed by both of my app servers running on different machines and when they get response back they put message back to response queue and my browser knows where to look for response message I have an idea about HAJNDI but i am not if this is the correct approach. I am using Apache as my Web Server load balancing. What is a method from which I can load balance my JMS. I was searching and found out about Clustered Post Office. Does this has anything to do with scalability. Can anyone please guide to proper setup or example to implement it??? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245919#4245919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: jBoss Cluster jvmRoute Value and HTTP Server Request Pro
Now I found that even If I shutdown my Server1 and only Server2 is up and running. I applied http://localhost/BrowserWeb/servlet/BrowserServlet in my address bar and it loads the main page. but when I submit my user name and password servlet got stuck and i have this exception on jboss console. | 14:25:59,059 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing | java.lang.RuntimeException: JvmRouteValve.checkJvmRoute(): Tomcat JvmRoute is null. Need to assign a value in Tomcat serv | at org.jboss.web.tomcat.service.session.JvmRouteValve.checkJvmRoute(JvmRouteValve.java:106) | at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:81) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) | at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Unknown Source) | please help this is happening even when its try to replicate the session in absence of other server :-( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245845#4245845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Hi Andy, Thanks for you help. It solved the problem. I have to change following xml in my MDB to get this thing work. jboss.xml to use 'java:/jmsXA' connection factory instead of 'java:/ConnectionFactory'. ejb-jar.xml Add the following lines in the end of file. | | | | OFSMessageMDB | * | | | Required | | | | | OFSMessageMDB_DLQ | * | | | Required | | | Thanks again :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245837#4245837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
hmmm thats something new.Where do I have to change my config Following are my ejb-jar.xml and jboss.xml used in MDB. ejb-jar.xml | | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | OFSMessage | | | OFSMessage Bean | OFSMessageMDB | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | OFSMessage Bean DLQ | OFSMessageMDB_DLQ | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | jboss.xml | | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | OFSMessageMDB | queue/t24OFSQueue | | jms/jmsConnectionFactory | java:/ConnectionFactory | | | queue/t24OFSReplyQueue | | queue/t24OFSReplyQueue | | | jca/t24ConnectionFactory | java:jca/t24ConnectionFactory | | | | | | OFSMessageMDB_DLQ | queue/t24OFSDLQ | | jms/jmsConnectionFactory | java:/ConnectionFactory | | | queue/t24OFSReplyQueue | | queue/t24OFSReplyQueue | | | jca/t24ConnectionFactory | java:jca/t24ConnectionFactory_DLQ | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245802#4245802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message not re-delivered to Specified OR Default DLQ
Network Problem!!! No...I failed my MDB INTENTIONALY... I mean i stoped my Database server listner on port 20005 so my MDB will fail to post message and mesage should get redirected to custom or even default DLQ where one more of my MDB is waiting to fetch message from DLQ and post it port 20003 on the same or anyother instance of database server on any port or address using my DLQ resource adaptor. Above is one of my FailOver requirements when one of the database server goes down. Exception for connection to 127.0.0.1 on port 20005 is from my resource adaptor which is been used by my default MDB(Normal flow when everything is UP and running and HAPPY) Hope this helps:-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245799#4245799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message not re-delivered to Specified OR Default DLQ
Hi, I have some strange problem here. I am using jboss 4.2.3GA with jboss messaging 1.4. I have defined deployed following destination using '/farm' method in my cluster consist of two nodes as follows *-destination-service.xml | | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | true | 1 | 0 | jboss.messaging.destination:service=Queue,name=t24OFSDLQ | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | false | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | true | | | | Above will successfuly deploy following three queues and my MDB's are successfuly binding to it. Request Queue : t24OFSQueue Response Queue: t24OFSReplyQueue Custom DLQ : t24OFSDLQ Now problem is when my MDB fails to post message to destination the message should get redirected to my custom DLQ but its NOT and jboss console shows me following exception only in which there is not even name of redirection or anything. * Strange thing is the message is not even redirected to default DLQ (queue/DLQ) created by jboss messaging destination-service.xml** | 10:57:33,543 WARN [JBossMessageProducer] JBoss Messaging does not support disabling message ID generation | 10:57:33,651 ERROR [STDERR] 24-Jul-2009 10:57:33 com.jbase.jremote.io.JRemoteSocketConnection send | WARNING: Failed to write message | 10:57:33,655 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.txconnectionmanager$txconnectioneventliste...@6755f302[state=normal mc=com.jbase.jremote.jc | a.jremotemanagedconnect...@66b378c2 handles=0 lastUse=1248428656709 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.jbossmanagedconnectionpool$onep...@10bd3d3b context=org.j | boss.resource.connectionmanager.internalmanagedconnectionp...@77fef512 xaresource=org.jboss.resource.connectionmanager.txconnectionmanager$localxaresou...@38bae4a txSync=null] | com.jbase.jremote.JRemoteException: Failed to write message - Connection reset by peer: socket write error | at com.jbase.jremote.io.JRemoteSocketConnection.send(JRemoteSocketConnection.java:103) | at com.jbase.jremote.io.InterceptorConnection.send(InterceptorConnection.java:89) | at com.jbase.jremote.io.AbstractJRemoteConnection.sendWaitForResponse(AbstractJRemoteConnection.java:47) | at com.jbase.jremote.io.JConnectionImpl.time(JConnectionImpl.java:281) | at com.jbase.jremote.jca.JRemoteManagedConnection.isAlive(JRemoteManagedConnection.java:341) | at com.jbase.jremote.jca.JRemoteManagedConnectionFactory.matchManagedConnections(JRemoteManagedConnectionFactory.java:177) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849) | at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(JRemoteConnectionFactoryImpl.java:121) | at com.jbase.jremote.jca.JRemoteConnectionFactoryImpl.getConnection(JRemoteConnectionFactoryImpl.java:104) | at com.temenos.ofsmessage.mdb.OFSMessageMDB.sendMessage(OFSMessageMDB.java:118) | at com.temenos.ofsmessage.mdb.OFSMessageMDB.onMessage(OFSMessageMDB.java:74) | at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:359) | at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173) |
[jboss-user] [Clustering/JBoss] - jBoss Cluster jvmRoute Value and HTTP Server Request Problem
Hi, I am using jboss 4.2.3GA release for clustring with Apache 2.2 HTTP Server as a load balancer. I have cluster consist of two nodes. I deployed in the following way; 1) Installe jBoss messaging for clustring (MySQL as a shared database in nodes) using automated installtion using xml file in 'utils' folder. ant -f release-admin.xml -Dmessaging.config.source=all -Dmessaging.config.name=LCHServer1 and complete the installtion with some extra steps. 2) Alter following attribute to true in C:\jboss-4.2.3.GA\server\LCHServer1\deploy\jboss-web.deployer\META-INF\jboss-service.xml for clustring jboss. true 2) Edit following attribute with jvmRoute in C:\jboss-4.2.3.GA\server\LCHServer2\deploy\jboss-web.deployer\server.xml 3) I have configred both my app servers to use exactly the same TCP configuration to connect to each other as follows [both on windows so loopback is true.; | | | | | | | | | | | | | | 4) I copied my MDB, destination-service.xml (holding clustered queues) and Browser application into '*\server\LCHServer1\farm' directory and sart the server (All application got deploye in the end if you notice in bold) and it got started properly with no errors [Some of the server startup output] | C:\jboss-4.2.3.GA\bin>call run.bat -b 0.0.0.0 -c LCHServer1 | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-4.2.3.GA | | JAVA: C:\jdk1.6.0_13\bin\java | | JAVA_OPTS: -Djava.util.logging.config.file="C:\jdk1.6.0_13\jre\lib\logging.properties" -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.ser | ver.gcInterval=360 | | CLASSPATH: C:\jdk1.6.0_13\lib\tools.jar;C:\jboss-4.2.3.GA\bin\run.jar | | === | | 09:28:37,797 INFO [Server] Starting JBoss (MX MicroKernel)... | 09:28:37,813 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) | 09:28:37,813 INFO [Server] Home Dir: C:\jboss-4.2.3.GA | 09:28:37,813 INFO [Server] Home URL: file:/C:/jboss-4.2.3.GA/ | 09:28:37,813 INFO [Server] Patch URL: null | 09:28:37,813 INFO [Server] Server Name: LCHServer1 | 09:28:37,813 INFO [Server] Server Home Dir: C:\jboss-4.2.3.GA\server\LCHServer1 | 09:28:37,828 INFO [Server] Server Home URL: file:/C:/jboss-4.2.3.GA/server/LCHServer1/ | 09:28:37,828 INFO [Server] Server Log Dir: C:\jboss-4.2.3.GA\server\LCHServer1\log | 09:28:37,828 INFO [Server] Server Temp Dir: C:\jboss-4.2.3.GA\server\LCHServer1\tmp | 09:28:37,828 INFO [Server] Root Deployment Filename: jboss-service.xml | 09:28:38,203 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc. | 09:28:38,219 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun Microsystems Inc. | 09:28:38,219 INFO [ServerInfo] OS-System: Windows Server 2008 6.0,amd64 | 09:28:38,922 INFO [Server] Core system initialized | 09:28:41,547 INFO [ServiceBindingManager] Initializing store | 09:28:41,547 INFO [ServiceBindingManager] Using StoreURL: file:/C:/jboss-4.2.3.GA/docs/examples/binding-manager/sample-bindings.xml | 09:28:42,516 INFO [WebService] Using RMI server codebase: http://hmlwin08serv:8183/ | 09:28:42,531 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 09:28:43,094 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 09:28:43,094 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 09:28:43,547 INFO [TransactionManagerService] Starting recovery manager | 09:28:43,719 INFO [TransactionManagerService] Recovery manager started | 09:28:43,719 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 09:28:47,672 INFO [EJB3Deployer] Starting java:comp multiplexer | 09:28:52,078 WARN [UDP] failed to join /224.0.0.75:7500 on net3: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface | 09:28:52,078 WARN [UDP] failed to join /224.0.0.75:7500 on net4: java.net.SocketException: Unrecognized Windows Sockets error: 0: no Inet4Address associated with interface | 09:28:52,094 INFO [STDOUT] | --- | GMS: address is 10.44.5.89:58942 | --- | 09:28:54,125 INFO [TreeCache] viewAccepted(): [10.44.5.89:58942|0] [10.44.5.89:58942] | 09:28:54,156 INFO [TreeCache] TreeCache local address is 10.44.5.89:58942 | 09:28:54,172 INFO [TreeCache] State could not be retrieved (we are the first
[jboss-user] [JBossMQ] - Re: DLQ not recieving messages upon Exception
This is to support above post having complete setup details for better debugging the problem. How to redirect message to default DLQ in jBoss AS 4.2.3GA?. DLQ here is the one which is created by jBoss when we start it as run.bat -b 0.0.0.0 -c all [Note: I want it to use cluster setup] along with some other default queues called A,B,C,D,ex... with two of my queues like t24OFSQueue and t24ReplyQueue. When My MDB fail to post message to server it gives an exception where I think by default the message resides in t24OFSQueue should get redirected to DLQ [jndi: queue/DLQ] where one other MDB is waiting and post message to some other instance of my server. I have deployed following in my /server/all/deploy directory; 1) BrowserWeb.warSuccessfully deployed web application which is putting message on queue and fetching messages back from reply queue. 2) Jremote-ra.rarÃÂ Successfully deployed resource adapter which provides connectivity to the database server on port 20005 using first connection factory in server-ds.xml below. If database server service goes down on port 20005 my primary MDB will give an exception here message should get redirected to jBoss default DLQ and my backup MDB_DLQ should read message from DLQ and will try to use second connection factory which will try to connect on port 20003 where my database server is alive. Server-ds.xml (Deployment Descriptor uses above resource adaptor) | | | | | | | | | | | | | jca/t24ConnectionFactory | | jremote-ra.rar | com.jbase.jremote.JConnectionFactory | | 10.44.5.138 --> | 20005 | | true | | true | 2048 | | | 1 | 10 | true | | | | | jca/t24ConnectionFactory_DLQ | | jremote-ra.rar | com.jbase.jremote.JConnectionFactory | | 10.44.5.138 --> | 20003 | | true | | true | 2048 | | | | 10 | | | | | | Destination-service.xml (For JMS) | | | | | | | | | | jboss.mq:service=DestinationManager | | | jboss.mq:service=DestinationManager | | | | MDB is a jar file contains following xml in META-INF Ejb-jar.xml | | http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";> | OFSMessage | | | OFSMessage Bean | OFSMessageMDB | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | OFSMessage Bean DLQ | OFSMessageMDB_DLQ | com.temenos.ofsmessage.mdb.OFSMessageMDB | javax.jms.MessageListener | Bean | javax.jms.Queue | | | acknowledgeMode | Auto-acknowledge | | | | T24 Queue Connection Factory | jms/jmsConnectionFactory | javax.jms.QueueConnectionFactory | Container | | | T24 JCA Connection Factory | jca/t24ConnectionFactory | com.jbase.jremote.JConnectionFactory | Container | | | OFS reply queue | queue/t24OFSReplyQueue | javax.jms.Queue | Container | | | | | Jboss.xml | | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | OFSMessageMDB | queue/t24OFSQueue | | jms/jmsConnectionFactory | java:/ConnectionFactory | | | queue/t24OFSReplyQueue | | queue/t24OFSReplyQueue | | | jca/t24ConnectionFactory | java:jca/t2
[jboss-user] [JBossMQ] - DLQ not recieving messages upon Exception
Hi All, I posted the following issue on Jboss Messaging earlier. Am I in right place this time??? :) For now I am running single jBoss 4.2.3GA (which is going to be part of a jBoss cluster). I want to test the JMS FailOver. I am using two Queues called 'Queue' where my browser will put message and MDB will post it to my remote app server let say port '20005' using Resource Adaptor and 'ReplyQueue' from where response will be fetched and give it back to browser. Now I have stoped my app server on 20005 and started back on 20003. In the meantime I have deployed one more MDB called MDB-DLQ which will get activated when default DLQ will recieve message when my first MDB should get failed to post message. I have check the jBoss console and it shows that my Queue depth is '1' but after failure message is not re-directed to defaul jBoss DLQ (DLQ depth= 0) where my other MDB is waiting??? My configuartions are... destinations-service.xml | | | | | | | | | | jboss.mq:service=DestinationManager | | | jboss.mq:service=DestinationManager | | | For More Info: there is default DLQ present when I start my jBoss using following command with above custom queues. run.bat -b 0.0.0.0 -c all Note: -c all --> because I am going to start my other instance when I am going to finish testing this one to make it cluster. Any help and suggestions will be appreciated :) Regards, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244087#4244087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: DLQ not recieving messages upon Exception
Thanks I have posted it there as well. Any suggestions and comments will be appreciated anywhere :) Admin: Please close this topic if its not relevant here. Thanks :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244090#4244090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: DLQ Question
Hi jgilbert, I have seen this post of yours and wondring ow did you manage to transfer the message to DLQ at first place?? I have a defualt DLQ created in jboss 4.2.3 and I am using jboss:mq (jboss builtin) but upon exception my message is resting in RequestQueue rather then redirected to DLQ where I have MDB for processing. Any Idea how to configure atleast that Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244613#4244613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - DLQ not recieving messages upon Exception
Hi All, For now I am running single jBoss 4.2.3GA (which is going to be part of a jBoss cluster). I want to test the JMS FailOver. I am using two Queues called 'Queue' where my browser will put message and MDB will post it to my remote app server let say port '20005' using Resource Adaptor and 'ReplyQueue' from where response will be fetched and give it back to browser. Now I have stoped my app server on 20005 and started back on 20003. In the meantime I have deployed one more MDB called MDB-DLQ which will get activated when default DLQ will recieve message when my first DLQ should get failed to post message. I have check the jBoss cosole and it shows that my Queue depth is '1' but after failure message is not re-directed to defaul jBoss DLQ (DLQ depth= 0) where my other MDB is waiting??? My configuartions are... destinations-service.xml | | | | | | | | | jboss.mq:service=DestinationManager | | | jboss.mq:service=DestinationManager | | | | Do I have to specify to redeliver the message to DLQ??? or whats missing here...???...jBoss should redeliver the message by itself...how to configure it Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243806#4243806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: ORA-12519 on jboss-4.2.3.GA cluster
Hi, Could it possible to have document which you have followed to even create a cluster using jBoss 4.2.3GA. I didn't find any guid where to even start. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243483#4243483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Implementation JMS Failover (Clustring) In jBoss 4.2.3 GA
Hi All, I search through internet and this forum but couldn't find a complete guid through which I can even start. Some of the documents mention on 'Home Page' of jBoss Clustring talking about some cluster-service.xml and cluster folder in my deploy directiry but i dont have anything here.can anyone please provide me some inof on how to setup a clusterw ith four jboss server instances. I am attaching a failover diagram in this post for better understanding. [img]http://img37.imageshack.us/i/ideak.png/%5D%5BIMG%5Dhttp://img37.imageshack.us/img37/962/ideak.th.png[/img] Server 1 and Server 2 will hold my Web Application and possible targets of each other in case of failure where Server 3 and Server 4 will hold my Message MDB and possible targets for each other in case of failure. All three Queues should be distributed destinations cluster wide. FYI: I have already implemeted the same using WebLogic 10.3. Is it going to be simillar using jBoss. Your help will be appreciated. Thanks & Regards, Sheeraz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240774#4240774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: How to configure
Same problem with me...:( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214587#4214587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user