Monday, November 10, 2008

JRun4 wsconfig Error Loading jvm.dll

Recently I attempted to patch our JRun4 servers with updater 7. Unfortunately after the fact, I found out that there is no 64 bit installer for it on windows. "64-bit Support – JRun4 Updater 7 provides 64-bit support on Solaris-SPARC. Other 64-bit operating systems including Windows 64-bit and Solaris-x86 64-bit are not supported."

So after a quick panic attack and reverting to the backed up copy (yes I did back up some recommended things) I felt that I was out of the woods. Twas not the case.

The next time I went to add a site to the Coldfusion instance through wsconfig command line - I received a dreaded "Error Loading jvm.dll". So I could no longer add sites and associate them to the webserver etc.

Here was the old version:
wsconfig.exe -ws IIS -site "jobs-jobs.com" -coldfusion -server "cfcluster" -v -ws64 -norestart
(Error Loading jvm.dll)

The new version of this has be using another technique using a java properties file instead. :
java -jar wsconfig.jar -f c:\j2w_IISconfig\jrun.properties

This called a jrun.properties file that had the arguments that i was executing directly to the wsconfig.exe prior

The Properties looks somehing like this:

ws=IIS
site=jobs-jobs.com
ws64=true
norestart=true
server=cfcluster
coldfusion=true

Bingo - Hope this helps some other soul out there - as it stopped me in my tracks for a bit.

3 comments:

Anonymous said...

It is a shame that there is no 64 bit installer for it on windows. I think it would be great to install a program I have to get generic viagra

Framework said...

You should check this error loading dll post for your problem.. I had same problem.. but I solved my problem for that post.. hope it helps u too...

Jackie Co Kad said...

Thanks for the post, I am techno savvy. I believe you hit the nail right on the head. I am highly impressed with your blog. It is very nicely explained. Your article adds best knowledge to our Java Online Training from India. or learn thru Java EE Online Training Students.