File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Windows Server 2008 R2 and Tomcat Service Installer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Windows Server 2008 R2 and Tomcat Service Installer" Watch "Windows Server 2008 R2 and Tomcat Service Installer" New topic
Author

Windows Server 2008 R2 and Tomcat Service Installer

Nick Thomas
Greenhorn

Joined: May 26, 2010
Posts: 4
Before you tell me to just use Linux, let me say this is a downward-directed server upgrade. I have tried getting it to get it working several ways, using the 32-bit and 64-bit JVMs, replacing the binaries and moving around msvcr71.dll, but to no avail. Getting this error in the jakarta service log:

[2010-09-21 10:05:16] [985 prunsrv.c] [error] Failed creating java
[2010-09-21 10:05:16] [1280 prunsrv.c] [error] ServiceStart returned 1
[2010-09-21 10:05:16] [info] Run service finished.
[2010-09-21 10:05:16] [info] Commons Daemon procrun finished.
[2010-09-21 10:06:24] [info] Commons Daemon procrun (1.0.2.0) started
[2010-09-21 10:06:24] [info] Running Service...
[2010-09-21 10:06:24] [info] Starting service...
[2010-09-21 10:06:24] [206 javajni.c] [error] The specified module could not be found.

Any help with this setup would be greatly appreciated!
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Nick Thomas wrote:I have tried getting it to get it working several ways, using the 32-bit and 64-bit JVMs, replacing the binaries and moving around msvcr71.dll, but to no avail. Getting this error in the jakarta service log


It is hard to help, because it is not clear what exactly you did. Have you tried to search for your error? This looks similar http://smaier.net/programming/tomcat-60x-installation-issue-windows-server-2003-x64
Nick Thomas
Greenhorn

Joined: May 26, 2010
Posts: 4
I was able to resolve my issue. I had tried the 32 bit version first, but had not fully uninstalled it; I had to manually remove the old service as mentioned here:

http://forums.sun.com/thread.jspa?threadID=5121172&start=45

Once I started fresh with the 64-bit JDK and the latest Windows Service Installer, everything worked fine. I had read about problems with the x64 versions of everything, but apparently those are outdated, since it seems the 64-bit versions work best for 2008 R2.

Thanks for the info.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Windows Server 2008 R2 and Tomcat Service Installer