![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSlCAtf0pXApyh2cI_gozKW6ahuYr_BlwHphbZK4TEg5A7jeulcCxPm9ExcbN_SiXyLGjOdRovF2WEqdmf-fAkcYTpPBQf8yJSV0SVO9Qk2ami5ZppY_od4ucj0QHg7nO1H-jH/s320/apache-tomcat.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO5u6mHWjSwKZnsu23KFm6R02GP-jMZSYd9Mwjt0U6nEht9z07vrFbRoBoKH5RxCpqcIPUnneltEuemTGdQ_cCW3NLaWJOvidRuqMp4gDQUfkRIB_qz4bfFKCWkaxOiVVSWVZ6/s320/java.jpg)
After upgrading Java from version 1.5 to 1.6 Tomcat didn't start anymore and showed me the followind error:
Failed creating java (prunsrv.c)
There were 3 problems:
1) Tomcat was configured to use the old Java Runtime, you should modify the registry key or use its own Configurator2) Permission on Java folder for Tomcat Service Impersonated Account
5 commenti:
I spent forever trying to get it to run, your copying that little file worked perfectly. I can't believe how long it took me to get there. Thank you.
-Julie
Thanks a lot for this easy solution. Copying the file did it.
I quote Julie 100%. Thanks again. I can only wonder how you found it out...
The more appropriate way is to have the registry settings set correctly. i.e.:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\Tomcat6\Parameters\Java\Jvm = C:\Program Files\Java\jdk1.5.0_22\jre\bin\server\jvm.dll
(Obviously the registry and folder location will change to match your environment)
Hello
I found that in the reg key quoted I had somehow picked up a double forward slash. How this happened I have no idea.
Post a Comment