These questions might be simple, but they probably stem from my lack of Java
knowledge. I have a program running under mod_perl (so multiple processes each
with their own interpreter, but each is single threaded) that connects to an IBM
AS400 via Inline::Java and the SHARED_JVM (not PRIVATE). They connect using
AS400 JDBC and DataQueue classes.

I'm a little unclear as to how the JVM is handling the connections. If 2 apache
children are trying to access a static Java object, will they be using the same
one?

What concerns me is that everything works fine for a while, but during busier
periods stuff will start to go "wonky". Connections will be lost or timeout and
I see stuff like this in the logs:

 (in cleanup) In method DESTROY of class
UFT::PlunkIT::JavaService::com::ibm::as400::access::AS400JDBCConnectionHandle:
Malformed response from server:
scalar:86.50.10.99.108.97.115.115.32.99.111.109.46.105.98.109.46.97.115.52.48.48.46.97.99.99.101.115.115.46.65.83.52.48.48.74.68.66.67.67.111.110.110.101.99.116.105.111.110.72.97.110.100.108.101.32.106.97.118.97.46.108.97.110.103.46.79.98.106.101.99.116.10.109.101.116.104.111.100.32.105.110.115.116.97.110.99.101.32.99.111.109.46.105.98.109.46.97.115.52.48.48.46.97.99.99.101.115.115.46.65.83.52.48.48.74.68.66.67.67.111.110.110.101.99.116.105.111.110.72.97.110.100.108.101.32.116.111.83.116.114.105.110.103.40.41.10.109.101.116.104.111.100.32.105.110.115.116.97.110.99.101.32.99.111.109.46.105.98.109.46.97.115.52.48.48.46.97.99.99.101.115.115.46.65.83.52.48.48.74.68.66.67.67.111.110.110.101.99.116.105.111.110.72.97.110.100.108.101.32.115.101.116.82.101.97.100.79.110.108.121.40.98.111.111.108.101.97.110.41.10.109.101.116.104.111.10!

Any thoughts? Thanks.
-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to