This post is about Russell Beech in discussion on the SAP Forum. SAP BusinessObjects Enterprise was installed on a machine running Windows XP. It was being used for development, POC and sales demo purposes. Windows XP was a constraint imposed by the standard build of the organisation that he was working for. Russell identified that the issue was a clash between Java components and Windows XP. This issue was becoming very time consuming and the solution was looking more and more like it needed a Java customisation. Not wanting to pursue that route Russell finally got permission to install Windows Server 2003. The problems were instantly solved. The forum thread is reproduced below as it gives useful insights into troubleshooting or go to http://forums.sdn.sap.com/message.jspa?messageID=6076352 to view it on the forum.
————————————————————————————————————————
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 4:23 PM
Reply
I have installed Enterprise XI 3.0 from the Business Objects ESD site. I took the option to install Tomcat. The Tomcat service installed but will not start from the CCM or the .bat file.
I expected that as in previous releases Tomcat would be configured through the install. All other Business Objects services are running.
Has anyone had the same experience? Does anyone have a fix?
Best regards
Russ
————————————————————————————————————————————–
Ted Ueda
Posts: 3,348
Registered: 4/22/08
Forum Points: 10,871
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 4:50 PM in response to: Russell Beech
Reply
Anything in the Tomcat log files indicating the problem?
In the <install>\Tomcat55\logs folder.
Sincerely,
Ted Ueda
————————————————————————————————————————————–
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 5:34 PM in response to: Russell Beech
Reply
Ted,
I appreciate your advice. I got the log info, but interpretating it is not my greatest strength, so if you can diagnose that would be great. It’s quite short so I’ve pasted below.
Best regards
Russ
2008-08-26 08:52:18 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 08:52:18 http://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-08-26 08:52:18 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 08:55:20 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 08:55:20 http://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-08-26 08:55:20 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 10:24:50 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 10:24:50 http://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-08-26 10:24:50 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 12:45:44 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 12:45:44 http://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-08-26 12:45:44 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 12:49:21 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 12:49:21 http://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-08-26 12:49:21 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 12:52:52 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 12:52:52 http://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-08-26 12:52:52 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 14:07:54 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 14:07:54 http://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-08-26 14:07:54 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 14:24:20 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 14:24:20 http://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-08-26 14:24:20 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 14:26:32 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 14:26:32 http://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-08-26 14:26:32 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 14:30:11 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 14:30:11 http://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-08-26 14:30:11 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 14:30:17 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 14:30:17 http://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-08-26 14:30:17 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 15:09:50 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 15:09:50 http://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-08-26 15:09:50 http://1179 prunsrv.c error ServiceStart returned 2
2008-08-26 15:13:42 http://409 javajni.c error CreateJavaVM Failed
2008-08-26 15:13:42 http://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-08-26 15:13:42 http://1179 prunsrv.c error ServiceStart returned 2
————————————————————————————————————————————–
Ted Ueda
Posts: 3,348
Registered: 4/22/08
Forum Points: 10,871
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 5:59 PM in response to: Russell Beech
Reply
Were there any lines before those log entries – especially anything referring to JVM or JVM Options?
My estimate is that something bad has happened with the Tomcat config settings, and it can’t start up the JVM process correctly with the defined config params.
You might try a re-installation, or if you have a support contract, it may be best to open a SAP Incident
Sincerely,
Ted Ueda
————————————————————————————————————————————–
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 6:31 PM in response to: Ted Ueda
Reply
Ted,
Again thanks very much for the reply. I posted the full log; there were no references to the JVM or JVM Options. I have already run the install and the Fix Pack 1 three times. If I’m suspicious of anything it’s the Download Manager on the ESD site not downloading all the files for the install.
Since the Crystal acquisition I have made installs on the beta CB1, XI, and XI R2 and never had this issue.
Your guidance is appreciated.
Russ
————————————————————————————————————————————–
Ted Ueda
Posts: 3,348
Registered: 4/22/08
Forum Points: 10,871
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 26, 2008 6:51 PM in response to: Russell Beech
Reply
There’s something wrong with either the Tomcat install, or the Java JVM that comes with BusinessObjects.
I’m not aware of any current issues with the ESD and XI 3.0 download – many other companies rely on that for their downloads.
Would you have support, and would you be able to create a SAP Incident? There’s no info to move forward on this in this thread.
Sincerely,
Ted Ueda
————————————————————————————————————————————–
Tim Ziemba
Posts: 2,977
Registered: 5/6/08
Forum Points: 5,622
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 3:02 AM in response to: Russell Beech
Reply
Also what logfile was that. Is there anything ion the tomcat.log?
Regards,
Tim
————————————————————————————————————————————–
Denis Konovalov
Posts: 1,555
Registered: 6/5/08
Forum Points: 2,744
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 3:21 AM in response to: Russell Beech
Reply
Like Ted mentioned, this is most likely due to tomcat configuration problems or a conflict with something on that box.
Could you please post some more details about this environment: OS, other installed programs, tomcat settings from Configure Tomcat program, results of netstat -a command, etc.
————————————————————————————————————————————–
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 12:18 PM in response to: Russell Beech
Forum Points: 5,622
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 3:02 AM in response to: Russell Beech
Reply
Also what logfile was that. Is there anything ion the tomcat.log?
Regards,
Tim
————————————————————————————————————————————–
Denis Konovalov
Posts: 1,555
Registered: 6/5/08
Forum Points: 2,744
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 3:21 AM in response to: Russell Beech
Reply
Like Ted mentioned, this is most likely due to tomcat configuration problems or a conflict with something on that box.
Could you please post some more details about this environment: OS, other installed programs, tomcat settings from Configure Tomcat program, results of netstat -a command, etc.
————————————————————————————————————————————–
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 27, 2008 12:18 PM in response to: Russell Beech
Reply
Ted, Tim and Denis,
Thanks for your interest in this. I’ll answer one at a time.
Ted – I work for a large SAP partner and I have contacted our relationship manager about raising an SAP Incident. Raising an SAP Incident may not bring a quick response? I’ve downloaded from ESD and NSD many many times and know that it’s usually robust, but not this time.
Tim – The log file is the one that Ted requested earlier in the thread i.e. BusinessObjects\ Tomcat55\ logs\ jakarta_service_20080826.log. Specifically which other Tomcat log do you mean?
Denis – Below is the other info you request. However, as it’s a straightforward install with the default Tomcat option should we really need to be troubleshooting like this? I could understand doing this if I’d deployed to Websphere or Oracle Application Server etc.
Best regards
Russ
Windows XP Service Pack 2 with default programs and MS Office
Checkpoint VPN-1 SecureClient NG_AI_R56
Symantec Antivirus
SAP Business Explorer
SAP GUI 7.10
HP protect tool that come with the machine
Tomcat Configuration
Service Name BOE120Tomcat
Display Name Apache Tomcat 5.5.20
Description Tomcat Application Server
Path to executable “C:\Program Files\Business Objects\Tomcat55\bin\tomcat5.exe”//RS//BC
Startup type Automatic
Log on as: Local System account
Logging Level: Error
Log path: C:\Program Files\Business Objects\Tomcat55\logs\
Redirect Stdout: C:\Program Files\Business Objects\Tomcat55\logs\stdout.log
Redirect Stderror: C:\Program Files\Business Objects\Tomcat55\logs\stderr.log
Java Virtual Machine: C:\Program Files\Business Objects\javasdk\jre\bin\server\jvm.dll
Java Classpath: C:\Program Files\Business Objects\Tomcat55\bin\bootstrap.jar;C:\Program Files\Business Objects\javasdk\lib\tools.jar
Java Options: -Djava.library.path=C:\WINDOWS\system32\;C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\
-Dcatalina.base=C:\Program Files\Business Objects\Tomcat55\
-Dcatalina.home=C:\Program Files\Business Objects\Tomcat55\
-Djava.endorsed.dirs=C:\Program Files\Business Objects\Tomcat55\common\endorsed\
-Dbobj.enterprise.home=C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\
-Xrs
-XX:MaxPermSize=256M
-Dbusinessobjects.olap.bin=
-Dbusinessobjects.olap.stylesheets=C:\Program Files\Business Objects\OLAP Intelligence 12.0\stylesheets\
-Djava.awt.headless=true
Maximum memory pool: 1024 MB
Startup Class:org.apache.catalina.startup.Bootstrap
Arguments: start
Mode: jvm
Shutdown Class: org.apache.catalina.startup.Bootstrap
Arguments: stop
Mode: jvm
I don’t want to publish the results of netstat -a on the forum, but if you have specific questions about ports such as 8080 please ask.
————————————————————————————————————————————–
Denis Konovalov
Posts: 1,555
Registered: 6/5/08
Forum Points: 2,744
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 28, 2008 1:23 AM in response to: Russell Beech
Reply
As Ted mentioned, raising a Support Incident will be the best and fastest way to resolve this as Webex session will be the best tool in troubleshooting this.
However, you are installing on windows XP and it is not a platform on which this product has been tested , so it may have unforseen circumstances.
To troubleshoot – can you download Tomcat 5.5 from Tomcat web site and install it, then see if that will start ? If you run into same issue – something on your machine is preventing Tomcat from starting, either port conflict, or service conflict or something else.
If the issue not reproducible with original Tomcat – then the problem is with XI3 installation package anf your only option will be to install on one of the OS listed in Supported Platforms document.
————————————————————————————————————————————–
Tim Ziemba
Posts: 2,977
Registered: 5/6/08
Forum Points: 5,622
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 28, 2008 1:36 AM in response to: Denis Konovalov
Reply
ya this could be difficult to troubleshhot via forum, is tomcat running under local system account? Are there any errors in windows event viewer, have any changes been made to the server.xml file?
tomcat.log is actually deployment failures not startup, that’s why it’s not there. It replaced the localhost logs in 5.0
Regards,
Tim
————————————————————————————————————————————–
Russell Beech
Posts: 6
Registered: 8/26/08
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 28, 2008 2:23 PM in response to: Russell Beech
Reply
Thanks guys, some helpful info. Tomcat is running under the local system account and I have not modified any of the .xml files.
Denis you are correct that XP SP2 Professional is not a supported platform for the server products on 3.0, although it is for the 3.0 desktop products. With XI R2 Productivity Pack I made many successful live demos last year using the OS XP SP2 Professional. But may be there is a conflict with 3.0.
In the meantime I decided not to take an independant install of Tomcat as you suggested but uninstalled 3.0 from my system and went back to the ESD site where I downloaded the part2.rar and the part3.rar from scratch. Note that when I did the uninstall there were several folders left for BOBJ and Tomcat, I removed these manually.
I re-installed 3.0 and this time Tomcat has gone a lot further. I can now view the Tomcat home page http://<system>:8080/ which I could not do before, although I still cannot start the service from the CCM. The startup.bat file does start but then hangs. Some of the info displayed when the .bat file runs is:
log4j: Warn Please initialise the log4j properly
No appenders could be found for logger
Where would you expect the .war files to be deployed in 3.0? Mine seem to be under Business Objects\ BusinessObjects Enterprise 12.0\ Java\ Applications.
Best regards
Russ
————————————————————————————————————————————–
Tim Ziemba
Posts: 2,977
Registered: 5/6/08
Forum Points: 5,622
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Aug 28, 2008 3:45 PM in response to: Russell Beech
Reply
Some long shots
same issue on this thread but I don’t think the solution will work http://www.mail-archive.com/users@ tomcat.apache.org/msg37402.html -take out the space
tomcat 5.5 guidelines could be helpful
http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-5.5.html
found this solution interesting about tomcat 5.5 and XP
http://forums.sun.com/thread.jspa?threadID=5211470
The problem described above is caused by Sun’s “requirements” for a password file (see http://java.sun.com/j2se/1.5.0/docs/guide/management/security-windows.html).
In addition to these requirements it is MANDATORY that the “owner” of the password file is the “current” VM user.
I. e., if your Tomcat service fails to start, follow the instructions in http://java.sun.com/j2se/1.5.0/docs/guide/management/security-windows.html and ADDITIONALLY, start the Tomcat service with the SAME USER ACCOUNT used for creating the password file (i.e. the owner of the password file).
Regards,
Tim
————————————————————————————————————————————–
littlez
Posts: 10
Registered: 10/29/09
Forum Points: 0
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Oct 31, 2009 2:24 AM in response to: Tim Ziemba
Reply
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
————————————————————————————————————————————–
Denis Konovalov
Posts: 1,555
Registered: 6/5/08
Forum Points: 2,744
Re: XI 3.0 Tomcat Service Will Not Start
Posted: Nov 2, 2009 2:12 PM in response to: littlez
Reply
In Xi 3.x Tomcat by default has Max Heap set at 1024. One of the Microsoft Patches prevents any JVM from reserving that much memory.
maybe that’s the problem here. Try reducing Max Heap to 768 and see if Tomcat starts.
This KB has more details : 1331062 – Tomcat 5.5 doesn’t start up anymore after applying Windows Update patches from April 2009
Pages: 1