Oracle eWay : Closed Connection problem

Hi everyone,

I hava a collaboration which use an oracle otd.

Unexpected I get next error:

project: runtime, component: OracleVariables, deployment: dpS3SOAServicioAutorizacionProd, environment: envProduction, logicalhost: lhProduction, integration server: isProduction ], monitor: ObjectReference [ name: SeeBeyond:GUID={06000000-D7828CEF100100-AC1907FD-01},Name=prjS3SOAServicioAutor iza_1164935312|runtime|dpS3SOAServicioAutorizacionProd|esS3OracleDBPerfiles_Outb ound Oracle eWay ], alert message: Closed Connection|#]

Why ?

How eWay control session to database?

Thanks

[615 byte] By [conectora] at [2007-11-26 19:32:25]
# 1

Hi,

Please let us know what is the MaxIdleTime property value for

your Outbound external oracle system.

I request you to provide some more information about the eway

settings, oracle external system settings and subsequent log

messages.

Regards

Venkatesh.S

VenkateshSampoornama at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 2

Hi,

Thanks for yor reply.

My first lines on my collaboration are

public void receive( com.stc.connector.appconn.tcpip.ext.TCPIPEXTServerApplication input, com.stc.connector.appconn.ldap.LDAPClientApplication LDAPClient_1, otdS3VariablesEsb.OtdS3VariablesEsbOTD otdS3VariablesEsb_1, otdS3PerfilesUsuario.OtdS3PerfilesUsuarioOTD otdS3PerfilesUsuario_1 )

throws Throwable

{

byte[] datosRespuestaServicio = null;

Comunicador manejadorComunicaciones = null;

String mensajeError = "Error Interno LDAP";

logger.info( "jcd " + collabContext.getCollaborationName() + " recibiendo peticion desde " + input.getSocket().getInetAddress() );

......................

My oracle external systes has next properties:

MinPoolSize:20

MaxPoolSize:40

MaxIdleTimeOut:0

ConnectionRetries:0

ConnectionRetryInterval:10000

My scenario is:

Logical host is up

I Test my collaboartion and it work ok

Database is down for while two hours

Database is now up.

I test my collaboration and it don't work ok. It Do磏't reconnect to database.

I send message to java collaboration but line on my collaboration : logger.info( "jcd " + collabContext.getCollaborationName() + " recibiendo peticion desde " + input.getSocket().getInetAddress() ); is never printed.

I find next lines on server.log when test my collaboration:

[#|2007-02-26T13:14:51.631-0500|INFO|IS5.1.1|STC.eWay.framework.management.com. stc.connector.management.util.Alerter|_ThreadID=73; ThreadName=Worker: 60;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmS3TCPEntregaLdap_jcdS3TcpEntregaLdap1, project: runtime, component: OracleS3VariablesEsb, deployment: dpS3TCPEntregaLdapProd, environment: envProduction, logicalhost: lhProduction, integration server: isProduction ], monitor: ObjectReference [ name: SeeBeyond:GUID={7C020000-D7828CEF100100-AC1907FD-01},Name=prjS3TcpEntregaLdap_u 002_1882209590|runtime|dpS3TCPEntregaLdapProd|esS3OracleDBPerfiles_Outbound Oracle eWay ], alert message: null|#]

[#|2007-02-26T13:14:51.704-0500|FINE|IS5.1.1|STC.eWay.framework.ra.com.stc.conn ector.framework.util.SemiSema|_ThreadID=86; ThreadName=Worker: 72;|acquire true 0|#]

[#|2007-02-26T13:14:51.711-0500|FINE|IS5.1.1|STC.eWay.framework.ra.com.stc.conn ector.framework.util.SemiSema|_ThreadID=86; ThreadName=Worker: 72;|release 1|#]

[#|2007-02-26T13:14:51.953-0500|INFO|IS5.1.1|STC.eWay.framework.management.com. stc.connector.management.util.Alerter|_ThreadID=30; ThreadName=Worker: 19;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmS3TCPEntregaLdap_jcdS3TcpEntregaLdap1, project: runtime, component: OracleS3VariablesEsb, deployment: dpS3TCPEntregaLdapProd, environment: envProduction, logicalhost: lhProduction, integration server: isProduction ], monitor: ObjectReference [ name: SeeBeyond:GUID={7C020000-D7828CEF100100-AC1907FD-01},Name=prjS3TcpEntregaLdap_u 002_1882209590|runtime|dpS3TCPEntregaLdapProd|esS3OracleDBPerfiles_Outbound Oracle eWay ], alert message: null|#]

[#|2007-02-26T13:14:52.249-0500|INFO|IS5.1.1|STC.eWay.framework.management.com. stc.connector.management.util.Alerter|_ThreadID=88; ThreadName=Worker: 74;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmS3TCPEntregaLdap_jcdS3TcpEntregaLdap1, project: runtime, component: OracleS3VariablesEsb, deployment: dpS3TCPEntregaLdapProd, environment: envProduction, logicalhost: lhProduction, integration server: isProduction ], monitor: ObjectReference [ name: SeeBeyond:GUID={7C020000-D7828CEF100100-AC1907FD-01},Name=prjS3TcpEntregaLdap_u 002_1882209590|runtime|dpS3TCPEntregaLdapProd|esS3OracleDBPerfiles_Outbound Oracle eWay ], alert message: null|#]

Thanks on advanced

Hector

conectora at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 3

Hi Hector,

We've been having the same issue whereby Oracle eWay doesn't reconnect in the event of database connection is down. This issue only happens with version 5.1.2 and not 5.1.0

We contacted the support and they gave us a hotfix to resolve this issue.

The hotfix number is 104586.

Hope it helps..

awid2a at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 4
We normally begin our Oracle JCDs with:if (!db.isConnected()) {db.reconnect();}Regards.
AKsuiteda at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 5
I don't think doing ( !db.isconnected) in a JCD will work as in the case the the Db is down the JCD will never get invoked.If a JCD is using an Oracle eWay (ie. JCD is connected up to the eWay in a C.Map) Before the JCD is invoked the Oracle eWay has to able to connect to the Db.
awid2a at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 6

Hi,

According to my knowledge, when we are exectuing a jcd which has oracle OTD first time , then eway tries to establish the connection with oracle. If connection is not success then jcd will not get invoked.

But once a conection is established with oracle, and after then if oracle

server is down or restarted, then eway will try to interact with oracle using already established connection. It is one of the reason to get error. Oracle Eway will not try to reconnect with oracle. In this scenario, according to my knowledge, handling reconnection through[oracleotd.reconnect()] will work.

VenkateshSampoornama at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...
# 7
I'm having a similar issue and contacted SUN support, they were unable to locate the hot fix you referenced. First, I just want to make sure that the fix is for JCAPS and second that you listed the correct number.Thanks!Dave
Dave.Smizika at 2007-7-9 22:03:36 > top of Java-index,Java Enterprise System,Java Composite Application Platform Suite -- General Discussion...