Web Services Client Exception - Please Help Urgent

Discussions

XML & Web services: Web Services Client Exception - Please Help Urgent

  1. Dear All,

    I have create done simple clinet but when ever I fire the method fro web services from my client side its giving this exception ...can any body help ....
    Thanks in advance :)

    <Oct 29, 2003 8:32:58 PM IST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactor
    y from the EJB "SyncDispatcher" inside application "Price". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of th
    e JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' didn't
     find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
    <Oct 29, 2003 8:32:58 PM IST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactor
    y from the EJB "AsyncErrorHandler" inside application "Price". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of
     the JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' did
    n't find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
    <Oct 29, 2003 8:32:58 PM IST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactor
    y from the EJB "StatelessContainer" inside application "Price". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup o
    f the JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' di
    dn't find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
    <Oct 29, 2003 8:32:58 PM IST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactor
    y from the EJB "AsyncDispatcher" inside application "Price". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup of t
    he JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' didn'
    t find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
    <Oct 29, 2003 8:32:58 PM IST> <Warning> <J2EE> <BEA-160082> <There was an error while making the initial connection to the JMS resource named weblogic.jws.jms.QueueConnectionFactor
    y from the EJB "StatelessContainer" inside application "Price". The server will attempt the connection again later. The error was javax.jms.JMSException: [J2EE:160048]JNDI lookup o
    f the JMS connection factory weblogic.jws.jms.QueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jws.jms.QueueConnectionFactory' di
    dn't find subcontext 'jws' Resolved weblogic; remaining name 'jws/jms/QueueConnectionFactory'>
    <Oct 29, 2003 8:33:23 PM IST> <Error> <WLW> <000000> <Exception processing product.priceControl
    com.bea.wlw.runtime.core.dispatcher.DispCache$CacheException
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:642)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:868)
            at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.getDispFile(ServiceHandleImpl.java:440)
            at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:275)
            at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:240)
            at $Proxy13.getPriceFactorProd(Unknown Source)
            at product.prcController.Input(prcController.jpf:117)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:1262)
            at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:1214)
            at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:650)
            at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowController.java:278)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
            at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
            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)
    ---------- Nested Exception ----------
    java.security.PrivilegedActionException: java.lang.Exception: Queue creation failed:DispQueue: AsyncDispatcher(PriceClientWeb.queue.AsyncDispatcher)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
            at com.bea.wlw.runtime.core.bean.EJBGenerator.deploy(EJBGenerator.java:156)
            at com.bea.wlw.runtime.core.dispatcher.DispResources.deployJars(DispResources.java:891)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:638)
            at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:868)
            at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.getDispFile(ServiceHandleImpl.java:440)
            at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:275)
            at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:240)
            at $Proxy13.getPriceFactorProd(Unknown Source)
            at product.prcController.Input(prcController.jpf:117)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:1262)
            at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:1214)
            at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:650)
            at com.bea.wlw.netui.pageflow.PageFlowController.execute(PageFlowController.java:278)
            at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
            at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
            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)
    Caused by: java.lang.Exception: Queue creation failed:DispQueue: AsyncDispatcher(PriceClientWeb.queue.AsyncDispatcher)
            at com.bea.wlw.runtime.core.bean.EJBGenerator$3.run(EJBGenerator.java:207)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
            ... 36 more
    >
    $$$$$$$$$$java.lang.reflect.UndeclaredThrowableException
    <Oct 29, 2003 8:33:24 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=28655359,name=PriceClientWeb,context-path=/PriceClientWeb)] Servlet failed with Exception
    java.lang.NullPointerException
            at jsp_servlet._product.__output._jspService(output.jsp:36)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
            at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:185)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
            at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806)
            at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
            at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429)
            at com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405)
            at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
            at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
            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)
    >
  2. It's possible that either the JNDI name was not correct or you don't have lookup access to your JMS connection Factory