您的位置:首页 > 编程语言 > Java开发

Siebel EAI: [SiebelJCAAdapterBase.invoke()] javax.resource.spi.CommException: Unable to open a connection to Siebel(SBL-JCA-0012

2009-12-28 14:33 447 查看
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.

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

Solution:

Please verify whether or not your non-managed connection properties are correct. In my case, my Enterprise Server name is not siebel. The Connect String should be observe following specfication.
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

Please check if you have enabled EAI component.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐