JMS with JRun

Hi All,
I am trying to run the following servlet working as a Message Sender on JRun 3.0 but getting the following error.....
Naming Exception: Failed to communicate with localhost:2323
Code--->
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,"allaire.ejipt.ContextFactory");
properties.setProperty(Context.PROVIDER_URL,"ejipt://localhost:2323");
_context = new InitialContext(properties);
final QueueConnectionFactory factory =(QueueConnectionFactory)_context.lookup(QueueConnectionFactory.class.getName());
Is there a need for some configuration in JRun to get work this code?
Please help
Praveen

Hi All,
I have started trying my samples with SonicMQ(abandoning messing with Jrun) after downloading a evaluation version from their site(www.sonicmq.com). I found their documentation and samples very good. I suggest newcomers in JMS to start with their product and samples.
Bye..Cheers
Praveen

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.

  • Oracle 10g with JRUN 4.0

    Hi,
    I am new to this side... & Secondly i am not a Java expert .... I am a Oracle DBA....
    We are using Oracle 10g with JRUN 4.0 ...... In Oracle i define all the paramters properly... I thing some how we are unable to configure our JRUN 4.0 successfully... due to this we are facing a "Connection Pooling" problem in JRUN .... Everytime we need to restart our JRUN... to release the connections..
    What are ways to handled the connection pooling in JRUN .... & what are necessary setting w e have to do in "jrun-resources.xml " and "jrun.xml " to handled connection pooling.
    Regard
    Mani

    http://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/resources2.htm
    this might help

  • 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

  • IPlanet 4.1 seems to be cutting my pages when working with JRun.

    I'm using iPlanet Web Server 4.1 with SP 9. It interacts with JRun running as an application server, and it seems not to be serving complete pages, but cutting them in a randomly manner. Can anybody help me?
    I'm working with HP-UX

    If you just want to get going quickly, and you are not too worried about counts, ratings etc...
    With iTunes closed, drag iTunes Library.itl and iTunes Music Library.xml from your iTunes folder to your desk top. You might want to put them somewhere else that's safe as you may want them back if you successfully upgrade.
    Now restart iTunes and you will have an empty library. Use File Add folder to library to add your iTunes Music library to iTunes.

  • 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.

  • Integrate JDeveloper 2.0 with JRUN

    Hi,
    Is there a way to integrate JDeveloper 2.0 IDE with JRUN Servlet Engine to debug servlets?
    Your help is greatly appreciated. Thank you.
    Cathy

    No.
    Please upgrade to JDeveloper 3.1.
    JDeveloper 3.1 includes JPDA support so
    you can remote debug anything running
    on a JDK 1.2 JVM with JPDA support.
    John - JDeveloper Team
    null

  • 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

Maybe you are looking for

  • I can't save my open documents in Pages.

    I have 2 untitled documents in pages open. I have the animated progress bar spinning and spinning. - I have tried to reinstall Pages but that dosn't cut it. What to do ?? Please help.

  • Are my ADSL stats normal?

    Hi there, Just looking for some insight on the ADSL stats on my line. Recently connected, still in DLM period but have noticed noise, output and attentuation settings have not changed +/- 0.5 dB at any point since connection. Broadband performance fe

  • Sales order in MD04

    HI, I have completed sales order means sales order is completely delivered and invoice is also generated. but still in MD04 system is showing requirement against that sales order (There is only one item line in sales order) What is the standared prog

  • How many K8T Neo2 different versions? (and how to tell them apart)

    First of all, hello everyone ^_^ This is my first post so... I hope I won't be annoying anyone. My questions are: is there a way to tell (from the name/item-code/prod number) which version "K8T Neo2" (code 6702-E) has the Promise controller onboard,

  • Dream weaver php?

    Hi I have been using dreamweaver a while now the design use is fantastic for html. My question is this I see more and more sites that are php can dreamweaver be used as easily for making php sites like drag and drop paste etc. or is it all scripting