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>
}

Similar Messages

  • Problem with JMS in a Cluster

    In summary I am having a problem with my application when it is running on the server that does not contain the JMS.
              Setup:
              2 machines:- Server 1 with the Admin Server and a Managed Server with JMS and a Distributed Queue. Second machine (Server 2) with a managed server. The two managed servers are in a Cluster.
              The connection factory has xa enabled.
              The queue is a distributed queue, with one member queue - on server 1.
              Scenario 1 (works):
              Deploy my application on Server 1 only
              Scenario 2 (works):
              Deploy my application on Server 1 and Server 2
              When the application puts messages on the JMS queue, the messages are processed round robin by the MDB on both Server 1 and Server 2 - as expected.
              Scenario 3 - Does not work
              Deploy my application on Server 2 only
              The application successfully sends a message to the queue - I can see it in queue through the console.
              However the MDB never processes the message. On the queue, I can see 0 consumers.
              Essentially the MDB appears to deploy correctly from the server log but never appears as a consumer on the queue.
              I know the above information is very brief, however I can provide more configuration details and detailed logging if required.

    On a further look through the logs, I have found the following Warning message which may point to the reason why my MDB is not receiving messages from JMS:
              <25-Apr-2005 17:26:01 o'clock IST> <Warning> <EJB> <BEA-010220> <The jms destination 'AsyncMessageQueue' is a distributed destination and it has no physical destination(s) on the current weblogic server. As per distributed destination co-location rules, no pool was creted for the MDB 'AsyncMessage(Application: m3-j2ee_Weblogic21apr_2, EJBComponent: ejb_framework.jar)' on this weblogic server. Hence the MDB 'AsyncMessage(Application: m3-j2ee_Weblogic21apr_2, EJBComponent: ejb_framework.jar)' cannot receive any messages on this server.>
              I have created a Destination on the JMS Server ("Replicate JNDI Name In Cluster" is set), and I have created a Distributed Destination, which has as its member the Destination associated with the JMS Server.
              If the JMS is not on the same server as the deployed application, how do I get the MDB to connect to the physical destination?
              Do I always need a Physical Destination on the the same server as my deployed application? If so, how do I create a Physical Destination on the server that does not have the JMS?
              Any help appreciated.

  • 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

  • Problem Reading JMS queue

    I have written a jms client to read a queue in weblogic. Specifically the wlai
    event queue. However, I have tried to read other not-wli specific queues with
    the same error. I get an access denied error even trying the system user!
    I have even played with the ACL for the queue.
    Anyone have any ideas?
    Thanks

    You need to add a 'browse' permission for your user to the ACL for that queue (or
    the weblogic.jms ACL). It worked for me.
    If you look in the stack, it mentions that your user was denied for the action
    'browse'.
    "Ryan Richards" <[email protected]> wrote:
    >
    Thanks for the help. I am not dequeueing any messages when I read them.
    I have
    also verified that there are messages on the queue. Here is the access
    denied
    message I am receiving.
    Start server side stack trace: weblogic.jms.common.JMSSecurityException:
    Access
    denied to resource: type=<jms>, application=, destinationType=queue,
    resource=RyanTestQueue,
    action=browse at weblogic.jms.JMSService.checkPermission(JMSService.java:1065)
    at weblogic.jms.JMSService.checkBrowsePermission(JMSService.java:1081)
    at weblogic.jms.frontend.FESession.browserCreate(FESession.java:1100)
    at weblogic.jms.frontend.FESession.invoke(FESession.java:2254) at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:602)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:152)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyncFuture(DispatcherImpl.java:303)
    at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
    at weblogic.jms.dispatcher.DispatcherImpl_WLStub.dispatchSyncFuture(Unknown
    Source) at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSync(DispatcherWrapperState.java:282)
    at weblogic.jms.client.JMSSession.createBackEndBrowser(JMSSession.java:1749)
    at
    weblogic.jms.client.JMSQueueBrowser.<init>(JMSQueueBrowser.java:46) at
    weblogic.jms.client.JMSSession.createBrowser(JMSSession.java:1344)
    at weblogic.jms.client.JMSSession.createBrowser(JMSSession.java:1324)
    at Test.init(Test.java:41)
    at Test.main(Test.java:115) Exception in thread "main"
    Thanks for any help Ryan
    "Karthik V" <[email protected]> wrote:
    Check if you have selected the running server as target for your connection
    factory and JMS server config (from admin console).
    If still problem exists, can you post the exception and portion of your
    client code causing the problem?
    Remember one thing when trying to listen on any wli specific queues:
    there
    might be MDBs that consumes the message before your client code canread
    from the queue. So avoid creating listeners on wli specific queues.(topic
    is not a problem)
    /k
    "Ryan Richards" <[email protected]> wrote in message
    news:[email protected]...
    I have written a jms client to read a queue in weblogic. Specificallythe
    wlai
    event queue. However, I have tried to read other not-wli specific
    queues
    with
    the same error. I get an access denied error even trying the systemuser!
    I have even played with the ACL for the queue.
    Anyone have any ideas?
    Thanks

  • 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

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

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

  • Problem in running application(using ADF) on BEA Weblogic Server

    Hi..,
    I am Gunardy Sutanto from Indonesia. Currently, I had a problem in deploying application which is using ADF framework in BEA Weblogic Server(WLS 8.1). I also add all the libraries which were required for running this application. But I found some error when I ran this application. About the error message that I found from log file which is generated by BEA Weblogic Server 8.1, herewith I attach the detail of the error message :
    <Error> <HTTP> <BEA-101020> <[ServletContext(id=27825828,name=bp_presentment,context-path
    =/bp_presentment)] Servlet failed with Exception
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN, collection id 16,408, persistent id 1
    at oracle.jbo.PCollException.throwException(PCollException.java:39)
    at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1845)
    at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
    at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
    at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
    at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ## Detail 0 ##
    java.lang.ClassCastException
    at oracle.jbo.pcoll.OraclePersistManager.updateBlobs(OraclePersistManager.java:1613)
    at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1832)
    at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
    at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
    at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
    at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I hope this is enough for somebody for solving this problem. If someone have the solution for this problem, please contact me by e-mail to [email protected].
    Thanks,
    Gunardy

    I already set the value for jbo.server.internal_connection and then deployed to Weblogic Server. When I was tested the application, all the records from table had shown on the screen but I found the application can't insert row to table PS_TXN. I I want to know it always happened?
    Herewith I attach the detail log from log file which was generated by Weblogic Server:
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN, collection id 162, persistent id 1     at oracle.jbo.PCollException.throwException(PCollException.java:39)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1845)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.jbo.pcoll.OraclePersistManager.updateBlobs(OraclePersistManager.java:1613)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1832)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:561)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:684)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:643)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:461)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:294)
         at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
         at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:5119)
         at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:5011)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7741)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2161)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1261)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
         at oracle.jbo.common.ws.WSApplicationModuleImpl.endRequest(WSApplicationModuleImpl.java:2672)
         at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1283)
         at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:300)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:249)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Besides that, I found new error when I was starting Weblogic Server. Herewith, I attach the detail of the error message:
    java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap$KeySet
         at org.apache.commons.collections.FastHashMap.keySet(Unknown Source)
         at org.apache.struts.action.ActionServlet.destroyDataSources(ActionServlet.java:769)
         at org.apache.struts.action.ActionServlet.destroy(ActionServlet.java:431)
         at weblogic.servlet.internal.ServletStubImpl$ServletDestroyAction.run(ServletStubImpl.java:1086)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:569)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:596)
         at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:581)
         at weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebAppServletContext.java:5797)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:5675)
         at weblogic.servlet.internal.ServletContextManager.removeContext(ServletContextManager.java:187)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:706)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:764)
         at weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:742)
         at weblogic.j2ee.J2EEApplicationContainer.rollbackModule(J2EEApplicationContainer.java:2942)
         at weblogic.j2ee.J2EEApplicationContainer.rectifyClassLoaders(J2EEApplicationContainer.java:1429)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1176)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2634)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2584)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2506)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:833)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:542)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    So, I need someone to sove this problem. I am looking forward for hearing from you.
    Thanks,
    Gunardy

  • When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

    When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.

  • App Store problem, appear an application update that does not exist applications

    I have an iMac 2.5 Ghz Intel Core I5 and operating system Mac OS X Version 10.7.3
    The problem is an application (Angry Birds) in my app store's update section that doesn't exist my installed applications.
    It has been seen update section for two months and that is created by an account which is not my account
    How can I remove this object from my app store's update section?
    <Edited by Host>

    Hi..
    Unfortunately, it sounds like you are the subject of pirated software.
    Follow Dahveed's help here >  app update available but not an app on...: Apple Support Communities
    You can report this to Apple using the email form here >  Apple - Support - Mac App Store - Contact Support

  • Problem while running application on sun one 8 application server.

    Dear All,
    We have a strange problem in JAS8 application. When ever we access the site from any browser for which the proxy is configured, and when we click on any of the tab ( Link or Web Page) after login, the application is redirecting back to Login page. We seem to be losing the session information at the application and so it continually redirects back to the login page, thinking that a user is not logged in with the current session.
    But when we access the same site with the same login id from browser for which proxy is not configured it is working fine.
    Does anyone has a solution to this problem.
    Message was edited by:
    tiwari1982

    This means your application client component is trying to access an entry within its component environment "java:comp/env/ejb/SimpleDemo" but there is no entry by that name. You'll need to make sure you define an ejb-ref within the application-client.xml and map the remote ejb dependency to the global JNDI name of the target Remote EJB within sun-application-client.xml.

  • Problem while running application on Java Application Server 8

    Dear All,
    We have a strange problem in JAS8 application. When ever we access the site from any browser for which the proxy is configured, and when we click on any of the tab ( Link or Web Page) after login, the application is redirecting back to Login page. We seem to be losing the session information at the application and so it continually redirects back to the login page, thinking that a user is not logged in with the current session.
    But when we access the same site with the same login id from browser for which proxy is not configured it is working fine.
    Message was edited by:
    tiwari1982

    What is the size of the Jpg images???
    Almost all j2me enabled devices have bad compatibility with Images of size greater than a few kbs.
    As of present working with images greater than 50kb is not worth the time spent on development.
    Some others will tell u that SE phones are good but trust me out of experience it can cause a hell lot of problems.
    Thanks
    Pradeep G.

  • Hello, I have this problem on updating applications on my iPhone 4s 5.1.1 i dont know if you can help me with. when ever i want to update an application on apple store i get a different user name then mine(slamdance@cracked.by) this user name is not mine

    Hello,
    I have this problem on updating applications on my iPhone 4s 5.1.1 (jail broken) i dont know if you can help me with.
    when ever i want to update an application on apple store i get a different user name then mine([email protected]) this user name is not mine but its always there only on updating my app's.
    thanking you in advance for your kind help.

    Under the Terms of Use of this forum it is prohibited to discuss jail breaking. By jail breaking your iPhone you void any warranty you may have and forfeit any support from this forum.

  • 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

  • I downloaded a application to my iphone5, however when i open the application i receive a message stating that my device clock apperars to be incorrect as a result you may experience problems using this application. How do i fix this issue?

    Im trying to watch a show but because of this message its not allowing me to do so. Again the error message im receiving is " Your device's clock appears to be incorrect as a result you ,ay experince problems using this application" how do i resolve this issue?

    If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox application and save the disk image file to the desktop
    *Firefox 26.0: http://www.mozilla.org/en-US/firefox/all.html
    *Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re-)install
    *Install the new version that you have downloaded
    *https://support.mozilla.org/kb/Installing+Firefox+on+Mac
    Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

Maybe you are looking for

  • Dynamics CRM 2015 Install requires Active Directory on VM Windows 2012 R2 Server

    Hello, I'm trying to install Dynamics CRM 2015 on a standalone VM not connected to a domain (it's running under WIndows 8.1 Professional). The VM was configured using WIndows Server 2012 R2. I'm getting an error message shortly into the install proce

  • HP touchsmart applicatio​n download for Windows 7 Home Premium 64

    I have installed a Windows 7 Home Premium 64 on my HP TouchSmart IQ846 Desktop PC. Since i am not eligible for Windows 7 upgrade from HP, I would appreciate if you could provide the link to download the complete touchsmart application.  I do not want

  • How do I get my form back as an un editable pdf.

    I wish to send out a purchase order form to clients however when they email it back I want it to come as an uneditable pdf. Clients say I cannot prove what they ordered is what I gave them because I can tamper with their order.  If I have a 'flat' pd

  • Accessing Atom XML entry by id?

    Hello, I have a strange problem when trying to access atom feeds (or any xml really). I'm using a standard HttpService to grab an atom feed, then i'm trying to access a particular node summary from its id with this xml query: myLabel.text=myFeed..ent

  • Impor material procuring from local vendor with all import conditions

    Dear Experts, Our client requirementis that, we are getting import materials from local vendor. The vendor ischarging all the import charges like cutoms duty and etc., apart from that, He is charging 4% additional TAX on total amount . After that ven