JMS with Resin

Hi,
I am currently trying to set Resin to work with JMS and I have encountered the following problems (that didn't appear using the Java Servlet Development Kit) :
When looking up (with the InitialContext.lookup method) for a TopicConnectionFactory, I receive a null value. After having looked on forums and newsgroups, I added these lines before I created the InitialContext :
jndiProps.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sun.enterprise.naming.SerialInitContextFactory");
After that, I did find a TopicConnectionFactory, but later, when I called createTopicConnection from that factory, I receive the following error (which stops Resin instantly) :
SEVERE unable to locate resource bundle: com.sun.jms.LocalStrings
I am using Resin 2.1.10, I have %J2EE_HOME%\lib\locale in my classpath and I'm using Eclipe 2.1.1.
Any help would be greatly appreciated

I'm having too problems with Resin-Eclipse.
You must first set all environment variables needed and start j2ee.
I'm debbuging the servlet with Eclipse plug-in for Eclipse. To do so, I had to copy the config directory from J2EE_HOME to RESIN_HOME. The plug-in was searching some config_files, but not at in the J2EE_HOME dircetory. I did that to be able to get it working with Eclipse in Resin. When I run the servlet in Resin stand alone, everything works fine...
I registered a topic with j2eeadmin -add and I can access my topic.
My problem is that I cannot get it to work in a Debug mode situation in Eclipse. It is probably a issue with the Resin plug-in.
I get the following error:
Ignoring com/sun/jms/util/jms.properties due to exception java.lang.NullPointerException
BUT ONLY WITH THE RESIN PLUG-IN WITH ECLIPSE
You also have to set the following in your resin.conf
<system-property jms.properties="c:/j2sdkee1.3.1/config/jms_client.properties"/>
If you find something new, please advise.
Hope I've helped you.

Similar Messages

  • How to use SOAP over JMS with Glassfish

    Hi
    Is it possible to use JMS with JAX-WS2.0 ?
    Any answer welcome
    Andre

    I want to secure the message between my web service and a Automated activity in SAP Netweaver BPM (Process
    development). I think in this case the usage of of SOAP adapter may not be useful.
    Security parameters (settings) can be defined for Sender SOAP Adapter (as in your case it is)......to know more check this help section: http://help.sap.com/saphelp_nwpi71/helpdata/EN/fc/5ad93f130f9215e10000000a155106/content.htm
    Check the section: Define Security Parameters.
    Regards,
    Abhishek.

  • Do i have to use JMS with EJBS?

    Hi
    I want to use JMS as a messaging system (a queue) between my system and someone elses. I would like to have some java classes on Tomcat to do the job. But...whenever i hear about JMS i always hear it in relation to EJBs. Can i only use JMS with EJBS?
    If i can use JMS is there anything important i need to know about.
    Thanks in advance!
    San H.

    As far as I understand you are use JNDI and JMS is not bound with EJB's. These are java API's which are independent. Like JDBC you can use with Servlets, Applets, standalone applications, EJB, JMS etc etc.......
    In the same way you can use JNDI and JMS with diferent API. And the important feature of Java is that all java API interact with each other when these are independent. I would appricate comments of everyone......................Thanks

  • How to Create web service using JMS with PUB/SUB pattern.

    Hi All,
    I need to expose web service using JMS with PUB/SUB pattern.
    if you have any source for this.
    I tried to use @WLJmsTransport annotation but unable to get it done.
    I have configured all JMS server, topic, and connection factory.
    Thanks.

    Hi, I am having web sample web service program which is simple one.
    But I need to Modify this to JMS enable.
    Can any one help me?
    Thanks.

  • How to do jms with netweaverdeveloperstudio

    hi,
    can u pls tell how to do jms with nwds ?
    which things i need to configure in webas?
    how to write client for jms?
    regards
    Guru

    Please try the J2EE  engine (JMS) example first to have a better understanding of JMS given in portal/index.html
    I hope the following references may also help you
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
    Regards

  • Integrating Messaging system like MQ Series or JMS with SIM

    Hi,
    I am working with Integrating Messaging system Integration with SIM.
    Can anyone tell me in detail how we can integrate Messaging system like MQ Series/JMS with Sun Identity Manager?
    Thanks & Regards
    Chitarm

    Hi,
    I am working with Integrating Messaging system Integration with SIM.
    Can anyone tell me in detail how we can integrate Messaging system like MQ Series/JMS with Sun Identity Manager?
    Thanks & Regards
    Chitarm

  • Siebel JMS with IBM Webshere MQ(7.5.0.1)

    Hi Guys,
    I try to configure MQ 7.5.0.1(with JMS) with Siebel so that I can send/receive messages using EAI JMS Transport. when I try to send a message, i get following error in jms log file:
    [SIEBEL ERROR] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Error invoking Send --
    SiebelJMSException errorSubtype=JMS_EXCEPTION
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:582)
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:249)
      at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
    [SIEBEL ERROR] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Threw SiebelBusinessServiceException with
    ErrorCode = JMS_EXCEPTION
    ErrorMessage = An unexpected error occurred (see StackTrace): com.ibm.mq.jms.MQConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory
    StackTrace = SiebelJMSException errorSubtype=JMS_EXCEPTION
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethodWithExceptions(JMSBusinessService.java:582)
      at com.siebel.eai.jms.JMSBusinessService.doInvokeMethod(JMSBusinessService.java:249)
      at com.siebel.eai.SiebelBusinessService.invokeMethod(SiebelBusinessService.java:9)
    [SIEBEL DETAIL] Thread[main,5,main] [11:56:37.171 AM Fri Feb 28: ] Cumulative time = 2107
    JAVA profile:
    JVM Classpath C:\JAR;C:\JAR\SIEBEL.JAR;C:\JAR\SIEBELJI_ENU.JAR;C:\JAR\JNDI.JAR;C:\JAR\CONNECTOR.JAR;C:\JAR\JMS.JAR;C:\JAR\PROVIDERUTIL.JAR;C:JAR\FSCONTEXT.JAR;C:\JAR\COM.IBM.MQ.JAR;C:\JAR\COM.IBM.MQJMS.JAR;C:\JAR\COM.IBM.MQ.JMQI.JAR;C:\JAR\DHBCORE.JAR;
    JVM DLL Name C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
    JVM Options -Djms.log=C:\JMS\log\jms.log
    binding file is located in folder c:\JAR
    file jndi.properties:
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    java.naming.provider.url=file:/c:/JMS
    Can anybody help me?
    Thanks,
    SN

    >
    > I am trying to connect to Websphere MQ series via PI, Websphere MQ series is running on Linux environment and PI system running on AIX operating system, i got the drivers from linux environment where queue is running, can i deploy those drivers into my PI system?? because it is running on AIX.
    >
    It will work.
    > Or else is there any different jar files for different operating systems???
    as per my knowledge no.
    Regards,
    Raj

  • JMS with mysql

    Hi All,
    Can you anyone help me to setup on my linux machine JMS with mysql. I have installed JMS and mysql.I don't know after that what i need to do. I would like to setup on linux machine JMS with mysql database. Your help will be really appreciated
    Regards,
    Tech456

    MySQL will be supported with MQ 4.1 which is currently in beta. You can download the community preview of Open Message Queue 4.1 at http://mq.dev.java.net/downloads.html.
    To use MySQL as the JDBC-based persistent store you need to set the following properties in your config.properties file:
    imq.brokerid=<brokerID>
    imq.persist.store=jdbc
    imq.persist.jdbc.dbVendor=mysql
    imq.persist.jdbc.mysql.user=<user>
    imq.persist.jdbc.mysql.password=<password>
    imq.persist.jdbc.mysql.property.url=<url>
    Hope this help!

  • Need file to JMS with complete screen shots....!!!!

    hi all plzzzz post me file to JMS with complete screen shots...i have tried for the same in the forums but i didnt got with exact screen shots...!!!
    thnx in advance to all

    I guess no buddy can provide you exact indepth steps with screen shots. You need to start working with whatever you have it and then ask your question into some particular area which you face during your disign. Best option is to satrt with sap help.
    Regards,
    Sarvesh

  • INTEGRATING JMS with SIM 7.0

    Hi all,
    I have to integerate JMS with SIM 7.0....but i am new to JMS..so any help as to how sould i intergrate it will be very usefull.
    Thanks.
    Edited by: adi123 on Jan 16, 2008 5:25 AM

    adi123 wrote:
    SIm 7.0 s sun identity manager version 7.0 and i am trying to configure JMS with SIM so that it can be used for provisioning..and as of now i am trying to use mesaage que 3....Well this isn't the forum for either product. This forum is for Sun's email server product.
    Identity manager help is available at:
    => http://forum.java.sun.com/forum.jspa?forumID=764
    Message Queue help is available at:
    http://forum.java.sun.com/forum.jspa?forumID=711
    Regards,
    Shane.

  • Filters with Resin server

    hi all,
    I was using Tomcat to deploy my web application , and when I turned to Resin to deploy my web application there My pages didn't display correctly .. some data on the page disappear !!! (like left navigation bar) ??
    I put the structure of the directories as :
    - classes(filter) in webapps/myapp/web-inf/classes/myfilter.class
    - html pages in webapps/myapp/*.html
    can anyone tell me what is the error in that or there is a problem with Filters with Resin ??
    Thanks,

    Here is the Error that is appearing..
    [2002/03/05 17:24:36] oracle.jdbc.driver.OracleDriver
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
         at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:479)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at hope_jsp._jspService(_hope__jsp.java:46)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:485)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:179)
         at com.caucho.server.http.Invocation.service(Invocation.java:288)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
         at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937)
         at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
         at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
         at java.lang.Thread.run(Thread.java:484)

  • INTEGRATING JMS with SIM

    Hi all,
    I have to integerate JMS with SIM ....but i am new to JMS..so any help as to how sould i intergrate it will be very usefull.
    Thanks.

    You can certainly reduce the latency of web requests by making things asynchronous. e.g. if you have a slow piece of functionality such as registration & sending of emails back, you could make that completely asynchronous and just send a message to a JMS Queue then consume it in another process/thread. Then the user of your web application doesn't have to wait for the slow processing to complete before their browser refreshes.
    To make it easy to integrate JMS into your application, you might want to stick to a POJO model and then use Spring Remoting over JMS via Lingo
    http://lingo.codehaus.org/
    James
    http://logicblaze.com/

  • Sync/Async bridge via JMS with FAULT messages

    Hello all,<br><br>
    I set up a sync/async bridge scenario with using of JMS communication channel (SAP - JMSReceiverCC - JMSServer and application - JMSSenderCC - SAP). The normal communication works fine.<br>
    But what we can not solve is the Fault Message handling. If there is a application error behind the JMS, a fault message is generated instead of proper application response and sent back to XI. Without any additional setup of JMS Sender CC the processing of the message ends with "MAPPING - EXCEPTION_DURING_EXECUTE", because normal "response mapping" is executed instead of "fault message mapping". This is correct behavior without any discussion.<br><br>
    [SAPhelp|http://help.sap.com/saphelp_nw70/helpdata/en/45/202845de34072ce10000000a155369/frameset.htm] says that there are 2 module parameters to be set : fault, faultNamespace. The description is rather vague, so let's see, what the "NotifyResponseBean" does, when parameters fault/faultNamespace are filled:<br><br>
    <pre>if(fault != null && faultNamespace != null)
      if(faultNamespace.equals("http://sap.com/xi/XI/System"))
        ((XIMessage)message1).setMessageClass(MessageClass.SYSTEM_ERROR);
        ((XIMessage)message1).setError(fault, "no additional information");
      } else
        ((XIMessage)message1).setMessageClass(MessageClass.APPLICATION_ERROR);
        ErrorInfo errorinfo = message1.createErrorInfo();
        errorinfo.setAttribute("ApplicationFaultInterface", fault);
        errorinfo.setAttribute("ApplicationFaultInterfaceNamespace", faultNamespace);
        errorinfo.setAttribute("ErrorCode", fault);
        errorinfo.setAttribute("AdditionalErrorText", "no additional information");
        message1.setErrorInfo(errorinfo);
    } else
      ((XIMessage)message1).setMessageClass(MessageClass.APPLICATION_RESPONSE);
    }</pre><br>
    The code is pretty straight forward so one could assume, that it's the name and namespace of inbound synchronnous message interface what is supposed to be filled in the values of each parameter. And from that kind of information SAP XI can evolve how to handle the response, actually the fault.<br>
    Unfortunatelly the real situation is different - every time the fault message is generated and sent back to XI, the response is correctly corelated with the request message, "WaitResponseBean" and "NotifyResponseBean" are finished correctly and the processing crashes in messaging class on following exception:<br><br>
    java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:592) at
    com.sap.aii.messaging.mo.MessageContext.setAttribute(MessageContext.java:140) at
    com.sap.aii.adapter.xi.ms.XIMessage.updateHeaders(XIMessage.java:4244) at
    com.sap.aii.adapter.xi.ms.XIMessage.getTransportHeaders(XIMessage.java:570) at
    com.sap.aii.af.ra.ms.impl.ServerConnectionImpl.request(ServerConnectionImpl.java:212) at
    com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(MessagingServlet.java:337) at ...
    <br><br>
    Is there anyone, who can put more light on JMS sync/async bridge fault handling ???
    <br><br>
    Thank you ...<br>
    Regards
    Tomas

    Hello again,
    I proceed in investigation little more, but the main problem has not been solved. I found that the problem is not even in WaitResponseBean (placed in JMCReceiverCC). This bean is woken up properly on base of proper CorrelationID. See the log:
    2009-10-15 11:00:33 Success WRB: entering WaitResponseBean
    2009-10-15 11:00:33 Success WRB: retrieving the message for f1ea1fc0-b96d-11de-9b68-00144f4acd86 ...
    2009-10-15 11:00:46 Success WRB: retrieved the message: ApplicationError
    2009-10-15 11:00:46 Success WRB: leaving WaitResponseBean
    I think, that the problem is somewhere within main messaging functionality. I suppose that on base of exception message:
    com.sap.aii.messaging.mo.MessageContext.setAttribute(MessageContext.java:140) at
    which is generated.
    Any ideas or comments ?
    Thank you in advance.
    Regards
    Tomas

  • URGENT -- Problem in using JMS with JBOSS

    Hi,
    My jar file which includes my Java/JMS classes can easily be executed when I use Sun Application server, but I don't know how I can change execute the same jar file in when I switch to JBOSS. Do I need to use ants? or I can use the original jar files?
    thanks,

    It can depends on your application, but basically in order to run JMS JBoss client application you need:
    1) Set proper jndi settings, e.g. by placing jndi.properties to the root of your classpath.
    2) Add some jars to your classpath from client folder of your jboss AS distribution. My latest application works well with concurrent.jar, jnp-client.jar and jbossall-client.jar on the classpath.
    You can read more at http://docs.jboss.org/jbossas/guides/j2eeguide/r2/en/html/ch6.chapt.html It is valid for all the 4.x jboss versions. Check jboss samples also.
    Best Regards,
    Roman

  • Error in Access JMS with MQSeries5.2

    Hi,
    I'm trying to integrate Xi (SP12) with MQSeries (5.2) using the JMS Adapter (receiver) with WebSphereMQ as Transport protocol. So flatfile>XI>MQSeries (JMS Adapter)
    My Parameter configs:
    QueueConnectionFactory Java Class: com.ibm.mq.jms.MQQueueConnectionFactory
    Queue Java Class: com.ibm.mq.jms.MQQueue
    Server Name:
    Server Port: 1414
    Queue Manager Name: QM1
    Channel Name: CHANNEL1
    Queue Name: QUEUE1
    Transport/Network Protocol: TCP/IP
    JMS-Compliant: WebSphereMQ (non-JMS)
    In RWB..Adaptor monitoring it shows the following:
    Receiver Channel. Details: null
    Running scenario errors in RWB with Audit logs below:
    Exception caught by adapter framework: The JMS channel with channel ID 86aa3972fbc332528aa2e51b3217b8f1 is errornous. Details:null
    Delivery of the message to the application using connection AFW failed, due to: The JMS channel with channel ID 86aa3972fbc332528aa2e51b3217b8f1 is errornous. Details:null.
    Any advice or help would be great.
    Regards,
    Felix

    I assume the server name is not empty, is it? In that case the solution is easy
    You are sure, that the drivers are deployed correctly? The server can be reached by the XI?
    The character set should be entered as well.
    Regards
    Stefan

Maybe you are looking for

  • Questions on iPhone and ITunes

    1. I took photo with iPhone and then sync with the iTune. Where can I get my photo on the PC? 2. I know that there is a back of my iPhone each time I sync with the iTune on the PC. However, How can I get and use the backup? It seems that there are a

  • Installing apps stored on iTunes onto a new handset.

    Can anyone help me as the waiting time to get through to help desk is 15 mins!!!! I have just had my I4 replaced after smashing screen and want to reload my apps from Itunes onto handset but cant seem to do it. I'm guessing its not hard but I'm clear

  • Account generation workflow custom process  not visible in lov

    Hi guru, i have created a sample process in "Project Supplier Invoice Account Generation". but when i upload the work flow in data base by the concurrent program . i dont find the sample process in " account generation window" in GL. Please help guru

  • After launching Adobe CC many processes show as (Not Responding) in Activity Monitor

    I'm running Adobe CC on a new Apple MacPro 6,1 (12-core with 64GB RAM). I find that many processes get into a (Not Responding) state as displayed by Activity Monitor. Typically, when one sees a process (Not Responding) there's really not much that ca

  • RW Cronacle : JCS-02041: cannot wait on job that does not exist (yet)

    Hi all, We are facing a new problem when submitting our maintaining variants scripts. The script failed and returns the error JCS-02041: cannot wait on job that does not exist (yet) Have you ever met this kind of error ? What kind of issue could it b