Issue:
When you try to connect to Siebel Server using JCA, you may got following exception.
Exception:
New trace 2009-12-25 15:16:24.828
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:36.125] [SiebelJCASessionManager.handleRequest()] getConnection(SiebelConnectionSpec)
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:36.125] [SiebelNoTxManagedConnectionFactory] matchManagedConnections(0 connections; CRI=SiebelConnectionRequestInfo: (null, siebel.TCPIP.None.None://192.168.1.112:2321/siebel/EAIObjMgr_enu, SADMIN, enu); Subject=主题:
私人认证 javax.resource.spi.security.PasswordCredential@17739078
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:36.125] [SiebelNoTxManagedConnectionFactory] Subject has no PasswordCredential for this ManagedConnectionFactory
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:36.125] [SiebelNoTxManagedConnectionFactory] No connection had matching connection parameters.
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:36.125] [SiebelConnection(12035390)] Opening a new connection to Siebel ...
java.lang.Throwable
at com.siebel.integration.util.SiebelTrace$Representation.trace(SiebelTrace.java:39)
at com.siebel.integration.util.SiebelTrace.trace(SiebelTrace.java:154)
at com.siebel.integration.jca.cci.SiebelConnection.trace(SiebelConnection.java:723)
at com.siebel.integration.jca.cci.SiebelConnection.initialize(SiebelConnection.java:583)
at com.siebel.integration.jca.cci.SiebelConnection. (SiebelConnection.java:129)
at com.siebel.integration.jca.cci.notx.SiebelNoTxConnection. (SiebelNoTxConnection.java:29)
at com.siebel.integration.jca.spi.notx.SiebelNoTxManagedConnectionFactory.createManagedConnection(SiebelNoTxManagedConnectionFactory.java:152)
at com.siebel.integration.jca.spi.notx.SiebelNoTxConnectionManager.allocateConnection(SiebelNoTxConnectionManager.java:138)
at com.siebel.integration.jca.cci.SiebelConnectionFactory.getConnection(SiebelConnectionFactory.java:190)
at com.siebel.integration.sessmgr.SiebelJCASessionManager.getConnectionHandle(SiebelJCASessionManager.java:316)
at com.siebel.integration.sessmgr.SiebelJCASessionManager.initEncryption(SiebelJCASessionManager.java:590)
at com.siebel.integration.adapter.SiebelJCAAdapterBase.invoke(SiebelJCAAdapterBase.java:245)
at com.siebel.service.jca.accountws.AccountWSBusServAdapter.mQueryPage(AccountWSBusServAdapter.java:102)
at com.siebel.service.jca.accountws.AccountWSWrapper.QueryPage(AccountWSWrapper.java:106)
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:597)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:101)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:83)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:264)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:249)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:453)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:298)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:211)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[SIEBEL FATAL] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:39.218] [SiebelConnection(12035390)] Error in initialize(): Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
[SIEBEL ERROR] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:39.218] [SiebelJCAAdapterBase.invoke()] javax.resource.spi.CommException: Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
[SIEBEL ERROR] Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:16:39.218] [mQueryPage] Exception : javax.resource.spi.CommException: Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [SiebelJCASessionManager.handleRequest()] getConnection(SiebelConnectionSpec)
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [SiebelNoTxManagedConnectionFactory] matchManagedConnections(0 connections; CRI=SiebelConnectionRequestInfo: (null, siebel.TCPIP.None.None://192.168.1.112:2321/siebel/EAIObjMgr_enu, SADMIN, enu); Subject=主题:
私人认证 javax.resource.spi.security.PasswordCredential@17739078
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [SiebelNoTxManagedConnectionFactory] Subject has no PasswordCredential for this ManagedConnectionFactory
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [SiebelNoTxManagedConnectionFactory] No connection had matching connection parameters.
[SIEBEL INFO] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [SiebelConnection(10182288)] Opening a new connection to Siebel ...
java.lang.Throwable
at com.siebel.integration.util.SiebelTrace$Representation.trace(SiebelTrace.java:39)
at com.siebel.integration.util.SiebelTrace.trace(SiebelTrace.java:154)
at com.siebel.integration.jca.cci.SiebelConnection.trace(SiebelConnection.java:723)
at com.siebel.integration.jca.cci.SiebelConnection.initialize(SiebelConnection.java:583)
at com.siebel.integration.jca.cci.SiebelConnection. (SiebelConnection.java:129)
at com.siebel.integration.jca.cci.notx.SiebelNoTxConnection. (SiebelNoTxConnection.java:29)
at com.siebel.integration.jca.spi.notx.SiebelNoTxManagedConnectionFactory.createManagedConnection(SiebelNoTxManagedConnectionFactory.java:152)
at com.siebel.integration.jca.spi.notx.SiebelNoTxConnectionManager.allocateConnection(SiebelNoTxConnectionManager.java:138)
at com.siebel.integration.jca.cci.SiebelConnectionFactory.getConnection(SiebelConnectionFactory.java:190)
at com.siebel.integration.sessmgr.SiebelJCASessionManager.getConnectionHandle(SiebelJCASessionManager.java:316)
at com.siebel.integration.sessmgr.SiebelJCASessionManager.initEncryption(SiebelJCASessionManager.java:590)
at com.siebel.integration.adapter.SiebelJCAAdapterBase.invoke(SiebelJCAAdapterBase.java:245)
at com.siebel.service.jca.accountws.AccountWSBusServAdapter.mQueryPage(AccountWSBusServAdapter.java:102)
at com.siebel.service.jca.accountws.AccountWSWrapper.QueryPage(AccountWSWrapper.java:106)
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:597)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:101)
at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:83)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:264)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:249)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:453)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:298)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:211)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.781] [] creating socket for listening thread: host=10.182.106.124 port=2321
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.796] [] set tx=1
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.796] [] wait=1 tx=1
[SIEBEL DETAIL] Thread[Thread-45,5,Listener Threads] [2009-12-25 15:42:02.812] [] about to read to bytes: len=168
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.812] [] end loop tx=1 closed
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.843] [] creating socket for listening thread: host=10.182.106.124 port=2321
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.843] [] set tx=1
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.843] [] wait=1 tx=1
[SIEBEL DETAIL] Thread[Thread-46,5,Listener Threads] [2009-12-25 15:42:02.843] [] about to read to bytes: len=168
[SIEBEL DETAIL] Thread[Thread-46,5,Listener Threads] [2009-12-25 15:42:02.843] [] read some bytes: tx=1 len=168 read=168 left=0 count=1
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.875] [] end loop tx=1 isDone
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.875] [] creating socket for listening thread: host=10.182.106.124 port=2321
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.875] [] set tx=1
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.875] [] wait=1 tx=1
[SIEBEL DETAIL] Thread[Thread-47,5,Listener Threads] [2009-12-25 15:42:02.890] [] about to read to bytes: len=168
[SIEBEL DETAIL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.890] [] end loop tx=1 closed
[SIEBEL FATAL] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.890] [SiebelConnection(10182288)] Error in initialize(): Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
[SIEBEL ERROR] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.890] [SiebelJCAAdapterBase.invoke()] javax.resource.spi.CommException: Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
[SIEBEL ERROR] Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads] [2009-12-25 15:42:02.890] [mQueryPage] Exception : javax.resource.spi.CommException: Unable to open a connection to Siebel(SBL-JCA-00125)
Caused by:
8716488 Could not open a session in 4 attempts. {1}(SBL-JCA-00200)
Solution:
The connect string is a URL containing the information needed to connect to any Siebel Server
component. It specifies both the protocol and the details of the Client Application Manager service
in the Siebel Servers to which the client connects. The generic form of the syntax for the connect
string follows:
host="siebel[.transport][.encryption][.compression]://host[:port]/
EnterpriseServer/AppObjMgr_lang" lang=”lang_code”
The following is an example of a connect string. SiebelApplication is an application instance:
SiebelApplication.Login "host=""siebel://host/EnterpriseServer/SCCObjMgr_enu""
“lang=”ENU””, "CCONWAY", "CCONWAY"
Note that the entire protocol string is optional. You can specify the transport protocol alone and
separate it from siebel with a single period:
siebel.tcpip://host/siebel/AppObjMgr_lang
However, if you specify any of the other protocols, you must use a period as a placeholder for each
protocol not specified. The following is an example:
siebel...zlib://myhost/siebel/SCCObjMgr_enu