cancel
Showing results for 
Search instead for 
Did you mean: 

Apache Tomcat Service not starting

Former Member
0 Kudos

Hi,

I recenly installed Edge R3 Professional on a machine running Windows XP.

I noticed that Tomcat never starts automatically although it is cogfigured to do so. And when I try to start it from Configuration Manager 99% of the times it refuses to start with the message:"the server did not respond to start or control in a timely fashion"

Then without reason it starts.

Another thing that I noticed is that the ReportApplicationServer does not always start and I am wordering if they are related problems.

Suggestions would be appreciated

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What version of Tomcat is this? Also what version of Java is Tomcat using?

What is the following value set to in the registry?


\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Tomcat5\Start

If it's set to 0x03, change it to 0x02 and reboot.

Former Member
0 Kudos

Hi,

I am using Tomcat v 5.5.20.

I see the virtual machine is C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll so I guess that identifies the version.

David

Former Member
0 Kudos

Sorry,

I omitted to add that I do not see the registry key: \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Tomcat5\Start.

There is no \Tomcat5\Start under \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001

Former Member
0 Kudos

Which JVM does Tomcat use (this is in the Java Tab of the Tomcat Configuration tool. If you're using the default, change it to the jvm that BO packages. i.e. (or similar)


C:\Program Files\Business Objects\javasdk\jre\bin\server\jvm.dll

Also, have you tried uninstalling/reinstalling the service? This is done via the service.bat batch file in C:\Program Files\Business Objects\Tomcat55\bin.

Former Member
0 Kudos

Hi,

I have changed the default dir for java and ran the server.bat batch file as recommended but am still getting the problem; even after I restarted

Former Member
0 Kudos

Hi Folks,

I did a complete reinstall and am having the same problem.

Apache tamcat started once but after I shut down and restarted the machine it refused to restart.

I realy dot know where to go from here

BasicTek
Advisor
Advisor
0 Kudos

Can you try installing on a server OS instead of XP?

Have you tried disabling windows firewall?

How about checking the tomcat\logs

I'm not used to trying to make tomcat work on XP so not a lot of ideas I'm afraid....

Regards,

Tim

Former Member
0 Kudos

What's the content of your tomcat.log . It should be in

C:\Program Files\Business Objects\Tomcat55\logs\tomcat.log

Also, what's in your stdout.log (in the same location) ?

Also, is there anything in your Event Viewer logs relating to Tomcat?

Edited by: Srinivas Ganapathi on Oct 9, 2008 3:18 PM

Former Member
0 Kudos

Hi Guys

Thanks for your support:

EVENT VIEWER LOG

The event viewer has the following sequences of messages:

Date 10/9/2008 9:26:07 AM

Log Windows NT (System)

Source Service Control Manager

Category (0)

Event 1073748859

User DAVIDHENRY\David Henry

Computer DAVIDHENRY

Message

The Apache Tomcat 5.5.20 service was successfully sent a start control.

////////////////////////////////////

Date 10/9/2008 9:26:07 AM

Log Windows NT (System)

Source Service Control Manager

Category (0)

Event 1073748860

Computer DAVIDHENRY

Message

The Apache Tomcat 5.5.20 service entered the stopped state.

/////////////////////////////

Date 10/9/2008 9:26:07 AM

Log Windows NT (System)

Source Service Control Manager

Category (0)

Event 3221232496

Computer DAVIDHENRY

Message

The Apache Tomcat 5.5.20 service terminated with service-specific error 0 (0x0)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

TOMCAT

The "stdout", "stderr" and "Tomcat" logs are empty.

Here is what is in the "Jakarta_Service_20081009"log:

[2008-10-09 06:37:13] [409 javajni.c] [error] CreateJavaVM Failed

[2008-10-09 06:37:13] [930 prunsrv.c] [error] Failed initializing java C:\Program Files\Business Objects\Tomcat55\bin\bootstrap.jar;C:\Program Files\Business Objects\javasdk\lib\tools.jar

[2008-10-09 06:37:13] [1179 prunsrv.c] [error] ServiceStart returned 2

[2008-10-09 06:37:17] [409 javajni.c] [error] CreateJavaVM Failed

[2008-10-09 06:37:17] [930 prunsrv.c] [error] Failed initializing java C:\Program Files\Business Objects\Tomcat55\bin\bootstrap.jar;C:\Program Files\Business Objects\javasdk\lib\tools.jar

[2008-10-09 06:37:17] [1179 prunsrv.c] [error] ServiceStart returned 2

[2008-10-09 08:56:32] [409 javajni.c] [error] CreateJavaVM Failed

[2008-10-09 08:56:32] [930 prunsrv.c] [error] Failed initializing java C:\Program Files\Business Objects\Tomcat55\bin\bootstrap.jar;C:\Program Files\Business Objects\javasdk\lib\tools.jar

[2008-10-09 08:56:32] [1179 prunsrv.c] [error] ServiceStart returned 2

[2008-10-09 09:26:07] [409 javajni.c] [error] CreateJavaVM Failed

[2008-10-09 09:26:07] [930 prunsrv.c] [error] Failed initializing java C:\Program Files\Business Objects\Tomcat55\bin\bootstrap.jar;C:\Program Files\Business Objects\javasdk\lib\tools.jar

[2008-10-09 09:26:07] [1179 prunsrv.c] [error] ServiceStart returned 2

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Lookinf forward to you further assistance

BasicTek
Advisor
Advisor
0 Kudos
Failed initializing java C:Program FilesBusiness ObjectsTomcat55inootstrap.jar;C:Program FilesBusiness Objectsjavasdklib	ools.jar

This error indicates a problem initializing the JDK, I suppose that could be an environment variable/conflict but the path is set in the tomcat java options.

I don't think we were able to resolve via forums last time we ran into this.

Regards,

Tim

Former Member
0 Kudos

My short reply is that reinstall tomcat service - it works for me. I totally uninstalled bo enterprise xi 3.1 including tomcat5.5

run the following to open the tomcat configuration panel to reconfig its java jvm default path

"C:\Program Files\Business Objects\Tomcat55\bin\tomcat5w.exe" //ES//BOE120Tomcat

go to services in windows to start the apache tomcat 5 service

in command line, execute the following to uninstall the service

c:\Program Files\Business Objects\Tomcat55\bin>service.bat remove BOE120Tomcat

reboot the system

in command line, execute the following to install the service

c:\Program Files\Business Objects\Tomcat55\bin>service.bat install BOE120Tomcat

Former Member
0 Kudos

My short reply is that reinstall tomcat service - it works for me. I totally uninstalled bo enterprise xi 3.1 including tomcat5.5

run the following to open the tomcat configuration panel to reconfig its java jvm default path

"C:\Program Files\Business Objects\Tomcat55\bin\tomcat5w.exe" //ES//BOE120Tomcat

go to services in windows to start the apache tomcat 5 service

in command line, execute the following to uninstall the service

c:\Program Files\Business Objects\Tomcat55\bin>service.bat remove BOE120Tomcat

reboot the system

in command line, execute the following to install the service

c:\Program Files\Business Objects\Tomcat55\bin>service.bat install BOE120Tomcat

Former Member
0 Kudos

@littlez thank you very much, It worked like a charm

former_member212749
Active Participant
0 Kudos

Hi,

I too had the same problem when i installed on a XP machine.I tried to do a Custom Installation but it din't work it gave me the same errors.Later I had to ReInstall it which is not a good suggession.

Any one who can help on the same other than Re Installing.

Regards

Prashant