Reputation: 33
I am running an application in WebSphere Portal Server 6.1 and WAS 7. In the native_stderr.log , I am getting the following error message :
<JNI GetStringCritical: buffer=0x000000004D810988>
<JNI ReleaseStringCritical: buffer=000000004D810988>
These messages fill up the log rapidly and the size of the log increases rapidly and grows up to 1 GB in about 5 minutes.
This does not seem to be related to our deployed application since even when the application is not in use the logs keep getting generated.
Can anyone please help me on this issue. Thanks in advance.
Upvotes: 3
Views: 4896
Reputation: 840
You can also turn this off in the config files:
(You will have to modify this path to your own setup)
../WAS-7.0/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostNode01Cell/nodes/localhostNode01/servers/server1/server.xml
Look for the tag, you will see it has there:
verboseModeClass="false"
verboseModeGarbageCollection="false"
verboseModeJNI="false"
etc
Upvotes: 0
Reputation: 33936
The messages are from -verbose:jni. Turn that off to remove the messages. From the admin console:
Servers > (Server Types) > WebSphere application servers > server1 > (Java and Process Management) > Process Definition > (Additional Properties) > Java Virtual Machine
There is an option "Verbose JNI". Alternatively, you have -verbose:jni specified manually in the "Generic JVM Arguments" argument.
Upvotes: 3
Reputation: 11344
You got to provide additional info besides this for folks to help.
What is the JNI Stuff that you have in your application?
Notice the call here - GetStringCritical() would likely be blocking GC on the JVM.
Try and turn off the JNI component of the application and see how your servers behave
Manglu
Upvotes: 0