We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Java application hang

asprecise-ams
on
Medium Priority
837 Views
Last Modified: 2013-11-17
Hi,

we are running a Java application in AIX 5.3.X, which hangs intermittently when reads messages from the queue and stages into DB. Killing the DB session in Oracle or restarting the application helps most of the time to continue but unsure about the root cause and permanent solution. Kindly help!.

regards,
suresh.
Comment
Watch Question

Top Expert 2015
Commented:
Install latest JDBC driver.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Commented:
Are there any logs or any kind of memory issues.

According to IBM if there is a JNI (Java Native Interface) based application then:

http://www-128.ibm.com/developerworks/java/jdk/aix/13_64/README.HTML

You must set the following environment variables before running Java if you are using JNI:
export AIXTHREAD_SCOPE=S
export AIXTHREAD_MUTEX_DEBUG=OFF
export AIXTHREAD_RWLOCK_DEBUG=OFF
export AIXTHREAD_COND_DEBUG=OFF

these variables can be set in your /etc/environment file.

May fiddle around with java heap size using -Xms (Initial java heap size) and -Xmx (Maximum java heap size) switches while starting the application.

Rgds
-Sandy
Top Expert 2015

Commented:
Oracle recommends Type4 JDBC drivers for such problems, in place of Type2 installed along with server installation.
Top Expert 2015

Commented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Split between gheist http:#16252843 and Sandy_it http:#16297675

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.