cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Pool life cycle and JCO Pool Viewer

Former Member
0 Kudos

Hi All,

I am working on one application with EJB, packaged in ear and deployed in J2EE Engine on XI system

Some how my JCO pools are getting deleted after creation of pool. This happens only once  when the XI system is restarted.

Following is the JCO trace snippet.

SAPEngine_Application_Thread[impl:3]_12 [11:58:52:317]: [JAV-LAYER] JCO.PoolManager.addPool:

  name = XYZPool,

  connection = xisuper|200|EN|AS=[host|00|],

  pool_size = 20,

  max_wait_time = 30000,

  pooled_connection_timeout = 600000,

  timeout_check_period = 60000

Above trace confirms that the pool is added , but when I try to get function template on the connection obtained from pool I get following JCO Trace.

SAPEngine_Application_Thread[impl:3]_8 [11:59:09:643]: [JAV-LAYER] JCO.PoolManager.getClient(XYZPool, true) Error: application tries to get client from removed or non existent pool.

And in my application logs I get error as "Invalid connection encountered".

Is there any way to monitor JCO pools created ? Is there any JCO pool viewer available?

Can we monitor life cycle of the JCO Pool, when it was created and when it was removed and by whom?

I tried to use Web Dynpro Cnsole -> Monitor -> JCO Connection Pools but it did not give me much information and it did not even showed me single pool in there.

Many thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Charles ,

Hope you are doing good.

For more information, you will need to enable the JCo trace (to level 5) as per note 628962.

Check:

<https://wiki.sdn.sap.com/wiki/display/SI/Java+Connectivity>

Only this will tell you what exactly is happening on the j2ee end.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

Former Member
0 Kudos

Hi Hemant,

Thanks for your reply.

I have already set the jco trace parameters and level is set to 5.

Above are the logs produced after the following JVM parameters for JCO

-Djco.trace_level=5

-Djco.trace_path=/usr/sap/QXI/DVEBMGS00/j2ee/cluster/server0

Thanks!