1 Reply Latest reply on Oct 27, 2008 4:31 PM by Peter Pei Guo

    EJB does not take proxy and authentication settings

    Peter Pei Guo Newbie

      We EJB needs to access internet, and in my company we go through http proxy, so I added the following to the beginning of my bean. However it didn't seem like JBoss actually take those configuration...

       Properties systemSettings = System.getProperties();
       systemSettings.put("http.proxyHost", "httpproxy.companyname.com");
       systemSettings.put("http.proxyPort", "8080");
       System.setProperties(systemSettings);
      
      
       Authenticator.setDefault(new Authenticator() {
       protected PasswordAuthentication getPasswordAuthentication() {
       return new
       PasswordAuthentication("myusername","mypassword".toCharArray());
       }});


        • 1. Re: EJB does not take proxy and authentication settings
          Peter Pei Guo Newbie

          I noticed that the web service I called is https not http, so I modified my code to:

          systemSettings.put("http.proxyHost", "httpproxy.companyname.com");
           systemSettings.put("http.proxyPort", "8080");


          However I got this exception explaining about truststore etc. How to solve this?


          2008-10-27 13:25:31,234 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Get locator for: [addr=https://demo.itemcentre.gs1ca.org/WebService/Service.svc,props={javax.xml.ws.service.endpoint.address=https://demo.itemcentre.gs1ca.org/WebService/Service.svc}]
          2008-10-27 13:25:31,234 DEBUG [org.jboss.remoting.security.SSLSocketBuilder] Could not find keystore url. Can not find store file for url because store url is null.
          2008-10-27 13:25:31,234 ERROR [org.jboss.remoting.transport.http.HTTPClientInvoker] Error creating SSL Socket Factory for client invoker.
          java.io.IOException: Error initializing socket factory SSL context: Can not find truststore url.
           at org.jboss.remoting.security.SSLSocketBuilder.initializeSocketFactorySSLContext(SSLSocketBuilder.java:1340)
           at org.jboss.remoting.security.SSLSocketBuilder.createCustomSocketFactory(SSLSocketBuilder.java:451)
           at org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:431)
           at org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:381)
           at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.createSocketFactory(HTTPSClientInvoker.java:140)
           at org.jboss.remoting.RemoteClientInvoker.<init>(RemoteClientInvoker.java:46)
           at org.jboss.remoting.transport.http.HTTPClientInvoker.<init>(HTTPClientInvoker.java:105)
           at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.<init>(HTTPSClientInvoker.java:63)
           at org.jboss.remoting.transport.https.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)
           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:585)
           at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
           at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
           at org.jboss.remoting.Client.connect(Client.java:459)
           at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(RemotingConnectionImpl.java:247)
           at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:165)
           at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
           at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
           at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
           at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
           at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
           at $Proxy120.signOn(Unknown Source)
           at org.jboss.tutorial.entity.bean.ShoppingCartBean.getProductData(ShoppingCartBean.java:42)
           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:585)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
           at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
           at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
           at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
           at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
           at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
           at $Proxy115.getProductData(Unknown Source)
           at org.jboss.tutorial.entity.bean.CalculatorBean.getProductData(CalculatorBean.java:49)
           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:585)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
           at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
           at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
           at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103)
           at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
           at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:595)
          2008-10-27 13:25:31,609 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@1c33b55 connecting
          2008-10-27 13:25:31,609 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@1c33b55 connected
          2008-10-27 13:25:31,609 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Remoting metadata: {HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true}
          2008-10-27 13:25:31,609 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : ""
          2008-10-27 13:25:31,609 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.jaxrpc.binding.SimpleSerializer] serialize: [xmlName=userId,xmlType={http://www.w3.org/2001/XMLSchema}string]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] xmlFragment: [source=<userId>OverwaiteaAPI</userId>]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.jaxrpc.binding.SimpleSerializer] serialize: [xmlName=password,xmlType={http://www.w3.org/2001/XMLSchema}string]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] xmlFragment: [source=<password>passdemo</password>]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}int,javaType=int]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.jaxrpc.binding.SimpleSerializer] serialize: [xmlName=companyId,xmlType={http://www.w3.org/2001/XMLSchema}int]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] xmlFragment: [source=<companyId>0</companyId>]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.jaxrpc.binding.SimpleSerializer] serialize: [xmlName=partnerUserId,xmlType={http://www.w3.org/2001/XMLSchema}string]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.ObjectContent] xmlFragment: [source=<partnerUserId></partnerUserId>]
          2008-10-27 13:25:52,218 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {Content-Length=[240], X-Powered-By=[ASP.NET], X-AspNet-Version=[2.0.50727], ResponseCodeMessage=OK, Date=[Mon, 27 Oct 2008 20:25:31 GMT], Content-Type=[text/xml; charset=utf-8], Server=[Microsoft-IIS/6.0], HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true, Cache-Control=[private], ResponseCode=200}
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
          2008-10-27 13:25:52,390 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@1c33b55 from registry
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.MessageContextJAXWS] Begin response processing
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@292edb (Thread http-127.0.0.1-8080-1)
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1bb0662 (Thread http-127.0.0.1-8080-1)
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindResponseMessage: {http://v1.productapi.gs1ca.org}signOn
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] setReturnValue: org.jboss.ws.core.soap.SOAPContentElement
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.CommonClient] Handler modified body payload, unbind message again
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindResponseMessage: {http://v1.productapi.gs1ca.org}signOn
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] setReturnValue: org.jboss.ws.core.soap.SOAPContentElement
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] getReturnValue
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from XML_VALID to OBJECT_VALID
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.XMLContent] getObjectValue [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String]
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxrpc.binding.SimpleDeserializer] deserialize: [xmlName=signOnResult,xmlType={http://www.w3.org/2001/XMLSchema}string]
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.XMLContent] objectValue: java.lang.String
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: org.jboss.ws.core.soap.SOAPContentElement -> java.lang.String
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] close
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1bb0662 (Thread http-127.0.0.1-8080-1)
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS@1a04643 (Thread http-127.0.0.1-8080-1)
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] setRequestParamValue: [name=sessionId,value=java.lang.String]
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] bindRequestMessage: {http://v1.productapi.gs1ca.org}signOff
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] Create RPC body element: {http://v1.productapi.gs1ca.org}signOff
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestParamValue: sessionId
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: java.lang.String -> java.lang.String
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
          2008-10-27 13:25:52,390 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Get locator for: [addr=https://demo.itemcentre.gs1ca.org/WebService/Service.svc,props={javax.xml.ws.service.endpoint.address=https://demo.itemcentre.gs1ca.org/WebService/Service.svc}]
          2008-10-27 13:25:52,390 DEBUG [org.jboss.remoting.security.SSLSocketBuilder] Could not find keystore url. Can not find store file for url because store url is null.
          2008-10-27 13:25:52,406 ERROR [org.jboss.remoting.transport.http.HTTPClientInvoker] Error creating SSL Socket Factory for client invoker.
          java.io.IOException: Error initializing socket factory SSL context: Can not find truststore url.
           at org.jboss.remoting.security.SSLSocketBuilder.initializeSocketFactorySSLContext(SSLSocketBuilder.java:1340)
           at org.jboss.remoting.security.SSLSocketBuilder.createCustomSocketFactory(SSLSocketBuilder.java:451)
           at org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:431)
           at org.jboss.remoting.security.SSLSocketBuilder.createSSLSocketFactory(SSLSocketBuilder.java:381)
           at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.createSocketFactory(HTTPSClientInvoker.java:140)
           at org.jboss.remoting.RemoteClientInvoker.<init>(RemoteClientInvoker.java:46)
           at org.jboss.remoting.transport.http.HTTPClientInvoker.<init>(HTTPClientInvoker.java:105)
           at org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker.<init>(HTTPSClientInvoker.java:63)
           at org.jboss.remoting.transport.https.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)
           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:585)
           at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:419)
           at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:320)
           at org.jboss.remoting.Client.connect(Client.java:459)
           at org.jboss.ws.core.client.RemotingConnectionImpl.createRemotingClient(RemotingConnectionImpl.java:247)
           at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:165)
           at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
           at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
           at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
           at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
           at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
           at $Proxy120.signOff(Unknown Source)
           at org.jboss.tutorial.entity.bean.ShoppingCartBean.getProductData(ShoppingCartBean.java:45)
           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:585)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
           at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
           at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
           at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
           at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
           at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
           at $Proxy115.getProductData(Unknown Source)
           at org.jboss.tutorial.entity.bean.CalculatorBean.getProductData(CalculatorBean.java:49)
           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:585)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
           at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
           at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
           at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
           at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
           at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103)
           at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
           at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
           at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Thread.java:595)
          2008-10-27 13:25:52,812 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@164f01b connecting
          2008-10-27 13:25:52,812 DEBUG [org.jboss.remoting.MicroRemoteClientInvoker] org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker@164f01b connected
          2008-10-27 13:25:52,812 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Remoting metadata: {HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true}
          2008-10-27 13:25:52,812 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : ""
          2008-10-27 13:25:52,812 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
          2008-10-27 13:25:52,812 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------