Skip to Content
0
Former Member
Nov 30, 2005 at 09:38 AM

JCA connection issue

97 Views

Hello,

I wrote the SAP example for JCA connection, the problem is that I have an exception on this point:

try {

<b>client = cgService.getConnection(system_alias, prop);</b>

} catch (Exception e) {

app.putValue(

"error",

<b>"Couldn't establish a connection with a target system " + system_alias + ".");</b>

return;

}

The error from the log file is:

<i>There was a problem getting the timestamp of the node: events with internal id: 4294967579

[EXCEPTION]

#1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: "ConnectionManager" is closed. Possible reasons: 1) <u>connector "SAPJ2EDB" is stopped or not started, 2) Connector service is stopped or has not been started.</u></i>

The problem seems to be on the cgService.getConnection, probabily on the Connector Gateway Service. I will appreciate any suggestion about this, could be a server configuration problem?

Thanks in advance,

Vipa