Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
CalinM
Contributor
Contributor

stats and logs connection not getting closed

Hi,

 

I'm using Talend Open Studio 5.4 with jobs deployed as Axis web services. My jobs have Stats logging to database enabled, using the project wide stats connection. We use Oracle as the database.

 

The problem we have is that the stats and logs connection is never closed. Sometimes something happens to the network, the connection gets closed by the database, we run the job, the connection is closed, the job fails.

 

The generated code should either close the connection at the end of the job or it should check the connection before using it, but it doesn't. I tried closing the connection in a tJava at the end of the job, but then everything fails.

 

Can anyone think of a workaround for this?

 

Thanks,

 

Calin

 

Labels (3)
2 Replies
Anonymous
Not applicable

Hello Calin,

Are you defining stats and logs in project setting? Is it OK with you when you set up stats-and-logs for your active job?

Does this issue repro on talend open studio 7.0?

Best regards

Sabrina

CalinM
Contributor
Contributor
Author

talend open studio 7.0 does not export axis war files, so it cannot repro
or not repro.

Yes, I am defining them in the project setting. No, it is not OK when I am
defining them for the active job, the connection is never closed.