ERROR: JVM: Java agent thread initialization failed

This error message appears in the agent log for every java agent that runs scheduled. This has happened recently. It worked fine before, but not anymore (heard that one before?).

If I run the agent manually (right click and select “Run” in the agent listing in Designer), it works fine. But when the server tries to run it, it fails. It obviously doesn’t run my code, as the first thing my agent does is to write to the server log (System.out.println…), and this does not happen.

I’ve searched both forums and also used all the major web search engines, but to no awail.

Hope anyone can lead me to a solution.

Regards

Marius

Subject: ERROR: JVM: Java agent thread initialization failed.

Which operating system?

Subject: RE: ERROR: JVM: Java agent thread initialization failed.

AS/400

I now know a little more. Last night the agents started working again. I found in the server log that right before they started working, the JVM suddenly initialized. I have no clue why the JVM should initialize “alone”; that is, without any tasks being restarted. I tried restarting the HTTP task a couple of times earlier with no effect.

This morning, the problem had returned. This time I tried restarting the whole server, paying special attention to the JVM startup, which was ok. And the agents worked fine again after startup.

It seems, therefore, that it is a JVM initialization problem. But what can cause this?

Marius

Subject: ERROR: JVM: Java agent thread initialization failed.

Hello,

we has had the same error after an crashed setup. We have migrated an server (solaris9) from R505 to R602CF1 and get some problems with setup. Setup has crashed.

We have started the server and has get an message “Failure initializing JVM” at the console. And one of the agent has printed the message “Java agent thread initialization failed.”

After some days we have found the reason.

Some of the files in the /opt/lotus/notes/60020/jvm has had the wrong owner and wrong permissions for the owner. The user which is running domino has had insufficent permissions to run or read the files.

Good luck.

Regards Rico

Subject: RE: ERROR: JVM: Java agent thread initialization failed.

Thank you for your response.

The server is an AS/400 server, hosted by an asp. We have no way to control permissions or other on the server, but the asp claims that nothing has been changed on the server the last 10-12 days.

And, as you can see from my response to James Redmond, the problem isn’t constant.

Marius