Hosting jms application

hello,
i have developed a jms application, currently tht is running on my test server of websphere 5.0. But my production server setup demands hosting the application on apache 1.3.3
Can can one guide as how to host the jms application on apache server 1.3.3 or is there some other way out.

Apache 1.3.3 is a web server. I wasn't aware that you could host JMS applications on it (unless there is a MOD-JMS module)

Similar Messages

  • Error while migrating JMS application from Weblogic8.1 to Weblogic10.3

    Hi All,
    I am migrating my JMS application from weblogic8.1 to 10.3. I'm able to publish and subscribe message from local weblogic server. But when i'm configuring ldap server in weblogic-ejb-jar.xml, while deploying the application itself i'm getting the below error. Same thing working fine in weblogic8.1.
    For this am i need to use foreignjms?. If this is the case please let me know how to configure foreignjms in weblogic10.3 server.
    below are the details i'm giving in weblogic-ejb-jar.xml:
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>10</max-beans-in-free-pool>
    <initial-beans-in-free-pool>3</initial-beans-in-free-pool>
    </pool>
         <destination-jndi-name>evtTESTEH3Queue</destination-jndi-name>
    <initial-context-factory>com.sun.jndi.ldap.LdapCtxFactory</initial-context-factory>
    <provider-url>ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com</provider-url>
    <connection-factory-jndi-name>ivtQCF</connection-factory-jndi-name>
    </message-driven-descriptor>
    Error:
    weblogic.application.ModuleException: Exception activating module: EJBModule(evtEJB.jar)
    Unable to deploy EJB: JMSTESTEVTEventSubscriberMDBean from evtEJB.jar:
    unable to find EndPointFinder for ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com
    at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
    Truncated. see log file for complete stacktrace
    java.lang.AssertionError: unable to find EndPointFinder for ldap://192.168.20.18:389/ou=mqseries,o=crimsonlogic.com
    [email protected] on Mar 18, 2009 3:07 AM

    Hello TomB,
    Could you elaborate a bit on your explanation? I'm having the same problem as talk2srujan. I currently have an application which works fine in weblogic81 and, when migrated to weblogic103, fails at deployment time. The error I get is: unable to find EndPointFinder for tibjmsnaming://host:port
    We didn't have to register any foreign servers in weblogic81, should I do this in weblogic103?
    Could you also give a pointer to the known bug you mentioned?
    Thanks in advance,
    Rudra

  • How to run local host web application in win 7 64 bit with oracle database?

    Hi all,
    Hope doing well,
    sir i am running my local host web application with oracle database in win 7 32 bit. it's working fine.
    but when i am running the same thing in win 7 64 bit. it's showing login error.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?
    thanks in advance.

    The number of times you have been asked to post sufficient details for your questions, we would expect you to have got the message by now... but clearly not.
    952646 wrote:
    but when i am running the same thing in win 7 64 bit. it's showing login error.What error? You haven't posted an error. There are millions of possible errors in computing and you're expecting people to guess which one.
    not going to home page even i checked with this published file open in visual studio it's working fine.
    how to run it correctly?No code, no database version, no details...... = NO HELP.
    When are you going to learn.

  • How to configure the JMS application in WSAD 5.0

    hi
    i need to configure an JMS application in WSAD 5, but while configuring the application i am checked with intial context exception. but i have configured the jndi in the server. but i cant able to run the application.
    can anybody help me like how to configure the JMS application in WSAD (can we configure it without MQ simulator if yes i need the steps)
    thanks in advance

    Hi,
    did you check the WebSphere documentation or ask a question on an IBM forum?
    Frank

  • Help needed to run a JMS application on WSAD

    Hello everybody,
    I�m trying to execute a JMS application which calls a QueueConnectionFactory and a Queue by JNDI lookup.
    I had configured these queues & Connection Factory at the server configuration for the JMS Server & these are being displayed while the server is starting up that these names had been binded.until here it�s ok.
    But the problem comes when I try to us my JMS program with configurations as websphere 5.1 application client.\
    The error is being displayed as :
    com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.
    [Root exception is java.lang.Exception: De-reference of JMS provider's Reference failed - check provider is on classpath]
    WSCL0100E: Exception received: java.lang.reflect.InvocationTargetException
    If any body can check this out please help.
    best regards,
    Raju Cherukuri.

    Hi,
    I am facing the same issue. Also regarding the resolution posted in this thread, to add the MQ jars in the classpath, do I still have to do if I am using the embedded JMS and not MQ.
    Cosmo can you pls explain what are the steps to do, for whatever you've suggested.
    Regards,
    Hari

  • JMS Application on J2EE server

    Hi,
    How can I run a simple PTP client-server application of JMS on windows platform? I am using a machine running windows 98, on which I have installed JDK1.3 and J2SDKEE1.2.1. I use J2EE server to deploy EJBs and Servlets on localmachine. I want to use the same J2EE server (J2SDKEE1.2.1 for windows) for JMS applications also. Please help me.
    Paras.

    Sun's J2EE SDK 1.2.1 does not support JMS. In other words, it does not have a JMS provider.
    You need to use Sun's J2EE SDK 1.3 to use the reference implementation of JMS API.
    However, you could use JMS provider from other vendor and still use J2EE SDK 1.2.1 reference inplementation as your application server.

  • How to create the jms application in eclipse3.5 ide

    Any body please help me to create the jms application in eclipse3.5.....i am new to this jms technology ........pls help
    me regarding this

    What kind of help are you expecting here? I would expect that your first stop is a good book on JMS technology, an perhaps a visit to the Eclipse website to read up how to do JEE development using it.
    Lack of knowledge is a problem you can easily fix yourself and must fix yourself. But perhaps you would like some book suggestions?

  • Testing simple JMS application

    I have written a very simple JMS application.
    I am trying to get it to run with the SUN App Server 8. I accepted the default values when installing the server. I have the app server up and running. The following code is suppose to create the Session:
    Context context = new InitialContext();
    ConnectionFactory connectionFactory =
    (ConnectionFactory)context.lookup("ConnectionFactory");
    Connection connection = connectionFactory.createConnection();
    session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
    I ave tried to run this from both the command line and from JBuilder. I have include the J2EE.jar in the classpath. I get the following error.
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    I know that I can set properties for the InitialContext constructor, but is this required? If so, what would the properties be for the default server?

    Looks like you're missing the initial context factory class which is:
    java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
    But I believe Sun recommends not settting it directly. You should include appserv-rt.jar in your classpath. That jar file has a file called jndi.properties which specifies the above property I just mentioned. Open it up and take a look for yourself.

  • Need free development account to host sample application to host in Windows Azure platform.

    Hi all,
    I just started exploring the application on Windows Azure platform. Locally my sample application is working perfectly.
    Now I am thinking to host it on Microsoft Windows Azure platform. I started googling and found that it required the valid account which also requires some cost as well. But my application is not a real world apps. It is just a "HelloWorld" application and
    I want to know how the things works in Azure platform.
    After tons of experiment I could not find any free account to host a application.
    If Microsoft won't provide such a development account how would I start my application in Azure platform.
    If I am wrong can anyone suggest me to create a development account on Azure platform.
    Quick response is highly appreciated.
    Thanks in advance.
    Regards,
    Sanjay

    If you BizSpark or MSDN Customer you can receive up to $3500 in annual Windows Azure Platform benefits at no extra charge. But you still must enter credit card information. For more details, please, follow this link http://blogs.msdn.com/b/ceibner/archive/2011/10/06/cloud-computing-free-for-startups.aspx

  • ConnectionRunTimeException problem on JMS Application

    Hi guys i am developing a JMS application based on durable publish/subscribe model on
    netbeans 5.0 running Sun Java App Server 8.0 .I have defined a Connector resource of
    resource type TopicConnectionFactory and a Destination resource of resource type Topic ,and registered
    both of them with the app server.First i created both of these resources using the JMS Resource wizard, and configured
    them both in the web app descriptor(web.xml) and sun web app descriptor(sun-web.xml) but when i try to run the PublishingHandler Servlet
    i gives me a ConnectionRuntimeException.I deleted both of these resource,logged in to the app server
    and created them afresh on the Admin Server Console.The creation was successful but when i restart the app server and try to run my application
    i still get that ConnectionRuntimeException.
    Now i don't know how can i configure my application to run,because i have tried all possible configurations.Anyone knowledgeable
    about this, plz help me.
    Here are snippets from app descriptors and the servlet class
    Web Application Descriptor(web.xml)
    <resource-ref>
            <res-ref-name>jms/sanparksConnectionFactory</res-ref-name>
            <res-type>javax.jms.TopicConnectionFactory</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
            <res-ref-name>jms/sanparksTopics</res-ref-name>
            <res-type>javax.jms.Topic</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Sun Web Application Descriptor(sun-web.xml)
    <resource-ref>
        <res-ref-name>jms/sanparksConnectionFactory</res-ref-name>
        <jndi-name>jms/sanparksConnectionFactory</jndi-name>
    </resource-ref>
    <resource-ref>
        <res-ref-name>jms/sanparksTopics</res-ref-name>
        <jndi-name>jms/sanparksTopics</jndi-name>
    </resource-ref>
    Servlet Source Code(PublishingHandler.java)
    package com.mcebo.sanparks.mediator;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.jms.*;
    import javax.naming.*;
    //User Defined packages
    import com.klaas.sanparks.beans.TopicBean;
    import com.mcebo.sanparks.accesslayer.XMLDBProcessor;
    public class PublishingHandler extends HttpServlet
         TopicConnectionFactory factory = null;
         TopicConnection connection = null;
         TopicSession session = null;
         Topic topic = null;
         TopicBean sanparkTopic = new TopicBean();
         TopicPublisher publisher = null;
        XMLDBProcessor dbAcces = new XMLDBProcessor();
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String title = request.getParameter("title");
            String category = request.getParameter("category");
            String body = request.getParameter("body");
            String keyWord = request.getParameter("keyword");
            if((!title.equals(null)) && (!category.equals(null))&&(!body.equals(null))&& (!keyWord.equals(null)))
                    sanparkTopic.setTitle(title);
                    sanparkTopic.setCategory(category);
                    sanparkTopic.setBody(body);
                    sanparkTopic.setKeyWord(keyWord);
            try
                   Context initContext = new InitialContext();
                  package com.mcebo.sanparks.mediator;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.jms.*;
    import javax.naming.*;
    //User Defined packages
    import com.klaas.sanparks.beans.TopicBean;
    import com.mcebo.sanparks.accesslayer.XMLDBProcessor;
    public class PublishingHandler extends HttpServlet
         TopicConnectionFactory factory = null;
         TopicConnection connection = null;
         TopicSession session = null;
         Topic topic = null;
         TopicBean sanparkTopic = new TopicBean();
         TopicPublisher publisher = null;
        XMLDBProcessor dbAcces = new XMLDBProcessor();
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String title = request.getParameter("title");
            String category = request.getParameter("category");
            String body = request.getParameter("body");
            String keyWord = request.getParameter("keyword");
            if((!title.equals(null)) && (!category.equals(null))&&(!body.equals(null))&& (!keyWord.equals(null)))
                    sanparkTopic.setTitle(title);
                    sanparkTopic.setCategory(category);
                    sanparkTopic.setBody(body);
                    sanparkTopic.setKeyWord(keyWord);
            try
                    Context initContext = new InitialContext();
                   // Context envContext = (Context)initContext.lookup("java:comp/env");
                //factory = (TopicConnectionFactory)envContext.lookup("jms/sanparksConnectionFactory");
                   //topic = (Topic) envContext.lookup("jms/sanparksTopics");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");     
                   factory = (TopicConnectionFactory)initContext.lookup("jms/sanparksConnectionFactory");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");
                   connection = factory.createTopicConnection();
                   session = connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
                   publisher = session.createPublisher(topic);
                   ObjectMessage message = session.createObjectMessage();
                   message.setObject(sanparkTopic);
                   message.setStringProperty("Category",sanparkTopic.getCategory());
                   publisher.publish(message);
                   out.println("Message Published"+ sanparkTopic.getCategory());
                   out.close();
            catch(Exception ex)
                    ex.printStackTrace();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo()
            return "Short description";
        // </editor-fold>
                   factory = (TopicConnectionFactory)initContext.lookup("jms/sanparksConnectionFactory");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");
                   connection = factory.createTopicConnection();
                   session = connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
                   publisher = session.createPublisher(topic);
                   ObjectMessage message = session.createObjectMessage();
                   message.setObject(sanparkTopic);
                   message.setStringProperty("Category",sanparkTopic.getCategory());
                   publisher.publish(message);
                   out.println("Message Published"+ sanparkTopic.getCategory());
                   out.close();
            catch(Exception ex)
                    ex.printStackTrace();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo()
            return "Short description";
        // </editor-fold>
    }

    Hi guys i am developing a JMS application based on durable publish/subscribe model on
    netbeans 5.0 running Sun Java App Server 8.0 .I have defined a Connector resource of
    resource type TopicConnectionFactory and a Destination resource of resource type Topic ,and registered
    both of them with the app server.First i created both of these resources using the JMS Resource wizard, and configured
    them both in the web app descriptor(web.xml) and sun web app descriptor(sun-web.xml) but when i try to run the PublishingHandler Servlet
    i gives me a ConnectionRuntimeException.I deleted both of these resource,logged in to the app server
    and created them afresh on the Admin Server Console.The creation was successful but when i restart the app server and try to run my application
    i still get that ConnectionRuntimeException.
    Now i don't know how can i configure my application to run,because i have tried all possible configurations.Anyone knowledgeable
    about this, plz help me.
    Here are snippets from app descriptors and the servlet class
    Web Application Descriptor(web.xml)
    <resource-ref>
            <res-ref-name>jms/sanparksConnectionFactory</res-ref-name>
            <res-type>javax.jms.TopicConnectionFactory</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
            <res-ref-name>jms/sanparksTopics</res-ref-name>
            <res-type>javax.jms.Topic</res-type>
            <res-auth>Container</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Sun Web Application Descriptor(sun-web.xml)
    <resource-ref>
        <res-ref-name>jms/sanparksConnectionFactory</res-ref-name>
        <jndi-name>jms/sanparksConnectionFactory</jndi-name>
    </resource-ref>
    <resource-ref>
        <res-ref-name>jms/sanparksTopics</res-ref-name>
        <jndi-name>jms/sanparksTopics</jndi-name>
    </resource-ref>
    Servlet Source Code(PublishingHandler.java)
    package com.mcebo.sanparks.mediator;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.jms.*;
    import javax.naming.*;
    //User Defined packages
    import com.klaas.sanparks.beans.TopicBean;
    import com.mcebo.sanparks.accesslayer.XMLDBProcessor;
    public class PublishingHandler extends HttpServlet
         TopicConnectionFactory factory = null;
         TopicConnection connection = null;
         TopicSession session = null;
         Topic topic = null;
         TopicBean sanparkTopic = new TopicBean();
         TopicPublisher publisher = null;
        XMLDBProcessor dbAcces = new XMLDBProcessor();
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String title = request.getParameter("title");
            String category = request.getParameter("category");
            String body = request.getParameter("body");
            String keyWord = request.getParameter("keyword");
            if((!title.equals(null)) && (!category.equals(null))&&(!body.equals(null))&& (!keyWord.equals(null)))
                    sanparkTopic.setTitle(title);
                    sanparkTopic.setCategory(category);
                    sanparkTopic.setBody(body);
                    sanparkTopic.setKeyWord(keyWord);
            try
                   Context initContext = new InitialContext();
                  package com.mcebo.sanparks.mediator;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.jms.*;
    import javax.naming.*;
    //User Defined packages
    import com.klaas.sanparks.beans.TopicBean;
    import com.mcebo.sanparks.accesslayer.XMLDBProcessor;
    public class PublishingHandler extends HttpServlet
         TopicConnectionFactory factory = null;
         TopicConnection connection = null;
         TopicSession session = null;
         Topic topic = null;
         TopicBean sanparkTopic = new TopicBean();
         TopicPublisher publisher = null;
        XMLDBProcessor dbAcces = new XMLDBProcessor();
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String title = request.getParameter("title");
            String category = request.getParameter("category");
            String body = request.getParameter("body");
            String keyWord = request.getParameter("keyword");
            if((!title.equals(null)) && (!category.equals(null))&&(!body.equals(null))&& (!keyWord.equals(null)))
                    sanparkTopic.setTitle(title);
                    sanparkTopic.setCategory(category);
                    sanparkTopic.setBody(body);
                    sanparkTopic.setKeyWord(keyWord);
            try
                    Context initContext = new InitialContext();
                   // Context envContext = (Context)initContext.lookup("java:comp/env");
                //factory = (TopicConnectionFactory)envContext.lookup("jms/sanparksConnectionFactory");
                   //topic = (Topic) envContext.lookup("jms/sanparksTopics");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");     
                   factory = (TopicConnectionFactory)initContext.lookup("jms/sanparksConnectionFactory");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");
                   connection = factory.createTopicConnection();
                   session = connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
                   publisher = session.createPublisher(topic);
                   ObjectMessage message = session.createObjectMessage();
                   message.setObject(sanparkTopic);
                   message.setStringProperty("Category",sanparkTopic.getCategory());
                   publisher.publish(message);
                   out.println("Message Published"+ sanparkTopic.getCategory());
                   out.close();
            catch(Exception ex)
                    ex.printStackTrace();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo()
            return "Short description";
        // </editor-fold>
                   factory = (TopicConnectionFactory)initContext.lookup("jms/sanparksConnectionFactory");
                   topic = (Topic) initContext.lookup("jms/sanparksTopics");
                   connection = factory.createTopicConnection();
                   session = connection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
                   publisher = session.createPublisher(topic);
                   ObjectMessage message = session.createObjectMessage();
                   message.setObject(sanparkTopic);
                   message.setStringProperty("Category",sanparkTopic.getCategory());
                   publisher.publish(message);
                   out.println("Message Published"+ sanparkTopic.getCategory());
                   out.close();
            catch(Exception ex)
                    ex.printStackTrace();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo()
            return "Short description";
        // </editor-fold>
    }

  • Stoping JMS application graceful

    Hi
    I have one flat java JMS application starts with command line. Application is consumer of one queue and split messages in to many and finally insert into DataBase. Application also have two other threads.
    Here I am struggling with problem how to graceful stop this application with out any lost or fail.
    Currently I use �kill -9 pid� to stop this which is not proper.
    Kapil

    Hi,
    The process for creating/deploying "application resource" type JMS Modules are different from the "system" type modules.
    To create the module itself, users need to
    1) use any standard XML editor/IDE using the JMS module schema (http://www.bea.com/ns/weblogic/weblogic-jms/1.0/weblogic-jms.xsd)
    2) Use the WebLogic Admin console to create a "system resource" type module then copy/rename/edit the corresponding JMS module descriptor file (which gets created under DOMAIN/config/jms" dir) as needd and delete the corresponding "system resource" module using the Admin console abefore attempting to deploy the "application resource" module.
    For more information on this topic, please look at :
    http://e-docs.bea.com/wls/docs103/jms_admin/deployjms.html
    PS: Please note that the use of "default" targeting is not a recommended best practice when its comes to JMS resource targeting as it can quickly become very complicated when there are more than one JMS Servers in the domain.
    A list of best practice recommendations can be found at: (though this is listed under the context of Automatic Service Migration, it still applies to general JMS configuration process).
    http://e-docs.bea.com/wls/docs103/cluster/service_migration.html#wp1067914
    Hope this helps.

  • Unable to run cmd.exe in hosted web application?

    Hi
    I have to execute a cmd.exe in web application to merge a file.My code work fine on my dev environment. But on hosting the
    application on server unable to run the cmd.exe . Below is the code.
     ProcessStartInfo processStartInfo = new ProcessStartInfo("cmd.exe");
                        processStartInfo.RedirectStandardInput = true;
                        processStartInfo.RedirectStandardOutput = true;
                        processStartInfo.UseShellExecute = false;
                        Process process = Process.Start(processStartInfo);
                        if (process != null)
                            process.StandardInput.WriteLine("c:");
                            process.StandardInput.WriteLine("xcopy " + srcfilename + " " + destfilename + "
    /a /m /d /s /e /v");
                            // process.StandardInput.WriteLine("a");
                            process.StandardInput.Close(); // line added to stop process from hanging on ReadToEnd()
                            string outputString = process.StandardOutput.ReadToEnd();
                            process.Close();
                            // process.Kill();                   
    Pawan

    What is the hosting you are using on azure? Hosted your application as Azure web site or cloud service?
    If it is a azure cloud service - you will either need to define the start up tasks to do the same or need to run your azure roles in elevated context.
    Read more - https://msdn.microsoft.com/en-us/library/azure/gg456327.aspx
    https://msdn.microsoft.com/en-us/library/gg557553.aspx#Runtime
    Bhushan | Blog |
    LinkedIn | Twitter

  • Hosting jnlp applications on internet

    Hi,
    I would like to share my java application packed as jnlp application.
    I tried to host it in free web hosting sites like geocities, tripod, bravenet.
    But none of them seem to regonize jnlp extn and automatically open with javawebstart.
    Are there any free java application hosting sites (while allows to host jnlp applications) available..?
    Thanks a lot,
    Raja.

    But none of them seem to regonize jnlp extn and
    automatically open with javawebstart.That's not how it works. The JNLP file is served like
    any other file (that is, unless the hosting site is
    blocking it?). Once the file is on the client side,
    THEN it will start up and look for the supporting
    jars/files (assuming the client has Java and Web
    Start installed)Not true. You need to have the mime-type set up on the web-server. Maybe you can request that the mime-type be set up.
    See http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html#server

  • Sample Websphere6 JMS application with default Messaging

    Hi,
    Where could I get the Sample Websphere6 JMS application with default messaging?.
    Please post me a link
    Thank you

    I am trying to execute
    SimpleQueueSender.java from jms tutorial but unforunately getting following
    errors.
    Errors-->
    Queue name is MyQueue
    JNDI lookup failed: javax.naming.CommunicationException:
    java.rmi.MarshalException: CORBA MARSHAL 13
    98079699 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge :
    minor code: 139807969
    9 completed: Maybe
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor
    code: 1398079699 comple
    ted: Maybe
    at
    com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_
    1_0.java:936)
    at
    com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java
    :292)
    at
    com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:268)
    at
    com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:562)
    at
    com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_
    0.java:618)
    at
    com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:2
    63)
    at
    com.sun.corba.ee.internal.javax.rmi.CORBA.Util.readAny(Util.java:103)
    at javax.rmi.CORBA.Util.readAny(Util.java:92)
    at
    org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Un
    known Source)
    at
    com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:154)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at SimpleQueueSender.main(SimpleQueueSender.java:70)
    I have all the setup required for running jms api examples & also tried all the tips mentioned here ,but still getting these errors . Any
    help would be greatly appreciated.
    Praveg

  • Host-target application for setting the PC(host) time to cRIO(target)

    if there is any host-target application for setting the PC(host) time to cRIO(target)? if probably a sample program provided? 

    Hi Charles,
    There's a function called RT Set Date and Time that you can make use of.
    We don't have a sample program but this is a very simple VI to use. Read off the current date time in Windows, then enter the corresponding info into this VI and run it. The cRIO controller will then have its date time updated accordingly.
    Regards,
    Boon Chen 

Maybe you are looking for