[jboss-user] [Messaging, JMS & JBossMQ] - Email Sending using JMS with JBoss Application Server
Hello Folks, >From my application, I need to send an Email to the user as a Confirmation >mail using JMS. I don't know how to do with JMS. My application is running under JBoss Application Server 4.0.4GA in Cluster mode. Please help me folks. Any reference doc or any help is greatly appreciated. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990344#3990344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Email Sending using JMS with JBoss Application Server
Hello, Thanks for your immediate reply. Actually, I need to test JMS on Clustering mode of JBoss AS. So, I have to use JMS for saving the some info on queue and send that queue info as a mail to the user. Is it possible using Message Driven Beans?? or, I think, I have to edit mail-service.xml file in /server/all/deploy path. Any suggestion?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990352#3990352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Sending Email using mail-service.xml file of JBoss AS
Hello Folks, I have configured the mail-service.xml file in deploy directory correctly to send a mail. I need to send an email from my application using JBoss AS 4.0.4GA. How come I accomplish this? How to write a program to send email using JBoss AS? Please help me. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990867#3990867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Sending Email using JBoss AS 4.0.4GA??
Hello Folks, I have configured the mail-service.xml file in deploy directory correctly to send a mail. I need to send an email from my application using JBoss AS 4.0.4GA. How come I accomplish this? How to write a program to send email using JBoss AS? Please help me. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990868#3990868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sending Email using JBoss AS 4.0.4GA??
Hello, Thank you very much for your quick response. Now, I got the idea. Sorry for the duplicate post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990871#3990871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sending Email using JBoss AS 4.0.4GA??
Hello, "[EMAIL PROTECTED]" wrote : | | The only *real* difference is in how a Mail Session is acquired. This is done via JNDI and should be done using a resource reference. | Now, I have stuck with this point on how to create Mail Session using JNDI and how to edit the ejb-jar.xml and jboss.xml of my application. Please tell me, how can I add the entry in ejb-jar.xml for mail sending? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990900#3990900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Missing ws4ee jar files in JBoss 4.0.5.GA why?
Hello JBoss Folks, While I'm trying to build medrec application by referring some of the jar files from JBoss 4.0.5.GA, found the missing jars as follows. axis-ws4ee.jar | jboss-ws4ee.jar I have found these two jars in JBoss 4.0.4.GA at the following location. docs/examples/ws4ee/jboss-ws4ee.sar But, the folder jboss-ws4ee.sar is not present in the latest release JBoss 4.0.5.GA. Where can I get the above two jar files for JBoss 4.0.5.GA and what is the reason for removing it in JBoss 4.0.5.GA release?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993261#3993261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Needed WS4EE jars missing in JBoss4.0.5.GA
Hello, While I'm trying to build MedRec Application by referring some of the jar files from JBoss 4.0.5.GA, found the missing jars as follows. Code: axis-ws4ee.jar jboss-ws4ee.jar When I try to build the Application, I get the following Error. #cd /src | #ant | ... | ... | genWSjava: | [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/axis/wsdl/WSDL2Java | [java] Java Result: 1 | | compilewsejb: | [javac] Compiling 14 source files to /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb | [javac] /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb/com/bea/medrec/webservices/AddressWS.java:148: package org.jboss.axis.description does not exist | [javac] private static org.jboss.axis.description.TypeDesc typeDesc = | [javac] ^ | I have found these two jars in JBoss 4.0.4.GA at the following location. docs/examples/ws4ee/jboss-ws4ee.sar But, the folder jboss-ws4ee.sar is not present in the latest release JBoss 4.0.5.GA. Where can I get the above two jar files for JBoss 4.0.5.GA and what is the reason for removing it in JBoss 4.0.5.GA release?? What is the alternative method for rectifying this problem with JBoss 4.0.5.GA?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993675#3993675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Needed WS4EE jars missing in JBoss4.0.5.GA
Hello, Thank you for the reply. I have done the changes said in (http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEDowngrade) and the MedRec Application works fine with JBoss 4.0.5.GA. Is there any other way to upgrade WS4EE based axis applications to WS in JBoss ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993749#3993749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBlazer
Hello JBoss Folks, While I'm trying to deploy the clusterstore(EJB3TrailBlazer POJO Clustering demo)application, getting the following Error. I'm using JBoss 4.0.5.GA - EJB3 Cluster configuration in HP-UX system. 09:54:12,228 WARN [JmsActivation] Failure in jms activation [EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/clusterstore isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0) | javax.jms.JMSSecurityException: User: null is NOT authenticated | at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230) | at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66) | at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613) | at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172) | at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:165) | at org.jboss.mq.Connection.authenticate(Connection.java:1065) | at org.jboss.mq.Connection.(Connection.java:252) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:116) | at org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnectionFactory.java:137) | at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:108) | at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQConnection(AbstractDLQHandler.java:137) | at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:83) | at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:359) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:305) | at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:589) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:595) | | Please help where I did wrong?? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020463#4020463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla
Hello, Thank you very much for your reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022192#4022192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF Warnings at EJB3 Cluster application-JBoss 4.0.5GATrailB
Hello JBoss Folks, I'm trying to deploy the EJB3 POJO Cluster TrailBlazer Demo application called "clusterstore" in EJB3 Cluster server configuration of JBoss AS 4.0.5.GA, MySQL in HP-UX OS. I have used the tomahawk-1.1.3.jar and modified the web.xml file as told in the JBoss Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces I'm getting the following warnings while accessing the application in web-console, clicking the checkout button of the application. | 06:32:45,649 INFO [[/clusterstore]] No state saving method defined, assuming default server state saving | 06:32:45,702 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true | | | 06:37:34,099 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:36,623 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:39,938 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:42,525 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | | Please help me. Thanks in Advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023489#4023489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla
Hello folks, I got the Error while trying to Login in the clusterstore application in web console. Error: Incorrect credentials, please try again I have read the Wiki link http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQSecurity But, still not able to configure my jbossmq security domain. Anybody, please explain me how to do it, and where to do it. Any help is greatly appreciated. Thanks in Advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023494#4023494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla
Hello visolvejboss, You are right!! Thank you. The problem is in the password. Now, everything works fine. Thanks a lot for your immediate reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023556#4023556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Configure EvictionPolicy on JBoss 4.0.5 Doubt
Hello, I'm trying to run the clusterstore EJB3 TrailBlazer POJO Clustering and Caching demo application. The demo src consists the file "clusterstore-cache-service.xml" and it is having the following code snippet for configuring TreeCache eviction policy. | | | | 5 | | | 5000 | 1000 | | | | | 1000 | 5000 | | | | | | After deploying the demo application in the deploy directory of one node in the cluster(only one node available in the cluster), it gives the following Warnings. | 05:58:35,385 INFO [STDOUT] purchase for username1 | 05:58:35,405 INFO [STDOUT] Send mesg to ccproc | 05:58:35,408 INFO [STDOUT] The Msg ID is ID:4-11728151154051 | 05:57:50,727 INFO [STDOUT] Finalized order called | 05:57:50,728 WARN [TreeCache] node /CreditVerification not found | 05:57:55,822 INFO [STDOUT] Finalized order called | 05:57:55,823 WARN [TreeCache] node /CreditVerification not found | 05:58:00,946 INFO [STDOUT] Finalized order called | 05:58:00,947 WARN [TreeCache] node /CreditVerification not found | 05:58:35,424 INFO [STDOUT] Finalized order called | 05:58:35,425 WARN [TreeCache] node /CreditVerification not found | Whats the problem here? Is there anyother file also need to specify the "region name"? Please help me to solve this. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024552#4024552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Can't find file specified in EJB3 POJO Clustering Demo Appli
Hello JBoss Folks, In the Clustering and Caching in JBoss POJO Web Application "clusterstore" demo from the link http://clusterstore.demo.jboss.com having the README.txt file in http://clusterstore.demo.jboss.com/README.txt. In that file it states that, anonymous wrote : 4. Copy the "cluster/creditcardprocessor.ejb3" file to the server's | "server/default/deploy" directory. This is the credit card verification | service MDB. But, I haven't found any file like that in the demo src. Please help, where can I find that file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024813#4024813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Can't find file specified in EJB3POJOClusteringDemoApplicati
Hello JBoss Folks, In the Clustering and Caching in JBoss POJO Web Application "clusterstore" demo from the link http://clusterstore.demo.jboss.com having the README.txt file in http://clusterstore.demo.jboss.com/README.txt In that file it states that, anonymous wrote : 4. Copy the "cluster/creditcardprocessor.ejb3" file to the server's | "server/default/deploy" directory. This is the credit card verification | service MDB. But, I haven't found any file like that in the downloaded demo source. Please help, where can I find that file? Any help is greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024815#4024815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can't find file specified in EJB3POJOClusteringDemoAppli
Hello JBoss Folks, Anybody, Please answer for my question. I need it very desperately. Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024967#4024967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can't find file specified in EJB3POJOClusteringDemoAppli
Hello JBoss Folks, Anybody, Please answer for my question. I need it very desperately. Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024966#4024966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss AS with External Tomcat instead of using Bundled Tomca
Hello All, How to use the External Tomcat with JBoss Application Server instead of using the Tomcat which bundled with JBoss AS?? I want to do an application which should use the external tomcat instead of the internal tomcat of JBoss AS?? Is it possible??? If so, How can I accomplish this? I need it very urgently.. Please help me in this folks.. Thanks in Advance, Mp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978220#3978220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss AS with External Tomcat instead of using Bundled T
Hello, Thanks for your reply. Yes. Both Tomcat's are same only. But, I need to do with different set up with JBoss AS with External Tomcat for my application. Its the basic criteria for my task. I have to achieve this. Is anybody from JBoss Help me?? Thanks in Advance, Mp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978432#3978432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Steps needed for Configure the Cluster JMS on JBoss 4.0.4GA
Hello All, I'm trying to do Clustering JMS for JBoss AS 4.0.4 GA with a Demo Application. I have referred the Wiki page JBossMQHA too. But, Haven't got idea how to configure my application with Cluster enabled JMS. I need the following details. 1.The steps need to configure JBoss AS for Cluster JMS. 2.The steps need to configure my demo application for testing this Cluster JMS enabled JBoss AS. And I don't know, how to test this Cluster JMS while Fail over of one node. Anybody, please tell me the steps to follow for doing the above. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982273#3982273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Steps needed for Configure the Cluster JMS on JBoss 4.0.4GA
Hello All, I'm trying to do Clustering JMS for JBoss AS 4.0.4 GA with a Demo Application. I have referred the Wiki page JBossMQHA too. But, Haven't got idea how to configure my application with Cluster enabled JMS. I need the following details. 1.The steps need to configure JBoss AS for Cluster JMS. 2.The steps need to configure my demo application for testing this Cluster JMS enabled JBoss AS. And I don't know, how to test this Cluster JMS while Fail over of one node. Anybody, please tell me the steps to follow for doing the above. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982274#3982274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Steps needed for Configure the Cluster JMS on JBoss 4.0.4GA
Hello All, I'm trying to do Clustering JMS for JBoss AS 4.0.4 GA with a Demo Application. I have referred the Wiki page JBossMQHA too. But, Haven't got idea how to configure my application with Cluster enabled JMS. I need the following details. 1.The steps need to configure JBoss AS for Cluster JMS. 2.The steps need to configure my demo application for testing this Cluster JMS enabled JBoss AS. And I don't know, how to test this Cluster JMS while Fail over of one node. Anybody, please tell me the steps to follow for doing the above. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982276#3982276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Steps needed for Configure the Cluster JMS on JBoss 4.0.
Hello JBoss Folks, Please help me for this issue. Its very urgent. Thanks in Advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982842#3982842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Steps needed for Configure the Cluster JMS on JBoss 4.0.
Hello JBoss Folks, Please help me for this issue. Its very important and urgent. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982851#3982851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Steps needed for Configure the Cluster JMS on JBoss 4.0.
Hello, Thanks for pointing out. I have referred already that and did the steps as specified. It Works fine. I need to know, how to configure my sample application for running HA-JMS clustered JBoss AS?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983408#3983408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Is it possible to execute Petstore demo in cluster mode??
Hello All, I would like to run the Petstore Demo Application on JBoss 4.0.4GA in 'all' mode of Cluster Configuration with two machines. I got the error while confirmOrder button clicked on webconsole, as follows. 10:19:04,195 INFO [STDOUT] sendToJMSQueue(java:comp/env/jms/queue/xpetstore/order,1,false) | 10:19:04,270 ERROR [LogInterceptor] EJBException in method: public abstract java.lang.Integer xpetstore.services.petstore.interfaces.PetstoreLocal.createOrder(java.lang.String,java.util.Date,java.util.Map) throws xpetstore.services.petstore.exceptions.CartEmptyOrderException,javax.ejb.FinderException,javax.ejb.CreateException, causedBy: | javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: queue not bound] | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at xpetstore.util.JMSUtil.sendToJMSQueue(Unknown Source) | at xpetstore.services.petstore.ejb.PetstoreEJB.createOrder(Unknown Source) | 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.invocation.Invocation.performCall(Invocation.java:359) | .. | .. | .. | Please tell me, what all the other changes need to do with JMS in Petstore application for running it in Cluster mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984411#3984411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - JMS Queue Error on Petstore demo run under Cluster mode
Hello All, I would like to run the Petstore Demo Application on JBoss 4.0.4GA in 'all' mode of Cluster Configuration with two machines. I got the error while confirmOrder button clicked on webconsole, as follows. | | 10:19:04,195 INFO [STDOUT] sendToJMSQueue(java:comp/env/jms/queue/xpetstore/order,1,false) | 10:19:04,270 ERROR [LogInterceptor] EJBException in method: public abstract java.lang.Integer xpetst | ore.services.petstore.interfaces.PetstoreLocal.createOrder(java.lang.String,java.util.Date,java.util | .Map) throws xpetstore.services.petstore.exceptions.CartEmptyOrderException,javax.ejb.FinderExceptio | n,javax.ejb.CreateException, causedBy: | javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFo | undException: queue not bound] | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at xpetstore.util.JMSUtil.sendToJMSQueue(Unknown Source) | at xpetstore.services.petstore.ejb.PetstoreEJB.createOrder(Unknown Source) | 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.invocation.Invocation.performCall(Invocation.java:359) | .. | .. | .. | | Please tell me, what all the other changes need to do with JMS in Petstore application for running it in Cluster mode. I need to do HA-JMS with that demo. Thanks in Advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984413#3984413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Is it possible to execute Petstore demo in cluster mode?
Hello, Thanks for your reply. Actually, I have run the two servers named node1 and node2 with Apache modjk load balancer by keeping node1 as the main node and it only bound the queue/order and queue/mail. I have did the below modification in both the server machines node1 as well as node2. I have copied the jndi.properties file from /server/node1/conf/ path and copied to /server/node1/lib/ path and with the following modifications. | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=:1100, /xpetstore-ejb/java/xpetstore/util/JMSUtil.java" | ic = new InitialContext( ); | | Queue queue = ( Queue ) ic.lookup( queueName ); | | QueueConnectionFactory factory = ( QueueConnectionFactory ) ic.lookup( JNDINames.QUEUE_CONNECTION_FACTORY ); | cnn = factory.createQueueConnection( ); | While running the application, all the transaction is done by node1 till clicking the Submit button for sending mail to user. When I hit the submit button, the transaction goes to the second node node2 in which the queue is not bound. 1. While two server is running, the sending of mail is not done and error comes as shown my post above. 2. If any of one node is down, its automatically bound the queue and running the petstore application successfully. My problem is, the application should run successfully when all the nodes in the cluster are active. Please help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985320#3985320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS Queue Error on Petstore demo run under Cluster mode
Hello, Actually, I have run the two servers named node1 and node2 with Apache modjk load balancer by keeping node1 as the main node and it only bound the queue/order and queue/mail. I have did the below modification in both the server machines node1 as well as node2. I have copied the jndi.properties file from /server/node1/conf/ path and copied to /server/node1/lib/ path and with the following modifications. java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | | java.naming.provider.url=:1100, /xpetstore-ejb/java/xpetstore/util/JMSUtil.java" ic = new InitialContext( ); | Queue queue = ( Queue ) ic.lookup( queueName ); | QueueConnectionFactory factory = ( QueueConnectionFactory ) ic.lookup( JNDINames.QUEUE_C | ONNECTION_FACTORY ); | cnn = factory.createQueueConnection( ); While running the application, all the transaction is done by node1 till clicking the Submit button for sending mail to user. When I hit the submit button, the transaction goes to the second node node2 in which the queue is not bound. 1. While two server is running, the sending of mail is not done and error comes as shown my post above. 2. If any of one node is down, its automatically bound the queue and running the petstore application successfully. My problem is, the application should run successfully when all the nodes in the cluster are active. Please help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985321#3985321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Is it possible to execute Petstore demo in cluster mode?
Hello, Thanks once again for ur quick response. "azhurakousky" wrote : 1. What was the reason for moving jndi.properties file from "conf" to "lib" directory? I assumed that the application needs jndi.properties for looking up the JNDI Name. So, I thought the application will look on to the 'lib' directory for that file. anonymous wrote : 2. Is node1 and node2 joined in JBoss Cluster or they are just two independent nodes under RoundRobin controll of mod_jk? Seem to me you do not have JBoss Cluster estalished and node1 and node2 are independent nodes where only node1 running JBossMQ. Is that correct? Node 1 and Node 2 are joined in JBoss Cluster only. It detects automatically the another node if the other one also started up. Same configurations done on both nodes. anonymous wrote : 3. Node1 and node2 derived from "all" configuration or "default"? Yes. I have created node1 and node2 from 'all' configuration of JBoss 4.0.4.GA only and I'm working on Unix. node1 => working in one server machine node2 => working in another server machine anonymous wrote : With default JBoss behavior when running in the cluster you wouldn't even have to specify provider url, since JGroups auto-discovery is enabled by default and your "Master" (the one that running JBossMQ singleton) node would be discovered before NameNotFound exception is thrown. | As specified earlier, the queue bounds on one node say node1, and when the order confirmed and when we hit the Submit button, it should send mail to the customer. Till this, it looks only node1. But, what happens is, it checks the queue/mail in the another node (node2) where the queue not bound. Please tell me, how to enable the Auto-discovery of JGroups to avoid NameNotFound exception? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985683#3985683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Is it possible to execute Petstore demo in cluster mode?
Hello, I have done already the scenario you specified as moving jndi.properties to conf/ directory and remove the provider.url line. But, No effects. It gives the same error as I mensioned my previous post. Is it need to set any Interceptors in the Application code? Since, the application Petstore is running well under non-cluster environment. And, I'm trying to run it in the Clustered Environment. So, I suppose that, need to set Interceptors in Application side. But, I don't know where and how.. Please help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986015#3986015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user