Irfan's World

April 26, 2011

Apache Tomcat 5.5 Service installed with BusinessObjects 3.1 does not start on Windows 2003 Server ?

I was trying to install Business Objects 3.1 (32 bit) on Windows 2003 Standard Edition (32 bit).  This system does not have any web servers nor any service packs.   While installing Business Objects 3.1, I selected the option, Install on Apache Tomcat 5.5 and deploy war files.   After the completion of Business Objects installation, I thought everything is running fine but found that the Apache Tomcat 5.5 (Web/app server) is not starting correctly.  Due to this issue, I was unable to login to CMC Launchpad or Infoview.

Symptoms:

     When tried to start Tomcat in CCM,  it starts and stops immediately.

     When tried to start from Control Panel, Services, it started few times by displaying “Starting” and after few seconds service status disappears.

At first, I thought this might be a Windows Service Pack issue.  

1) When checked in Event Viewer it displayed the following error. 

image

2) Downloaded SP2 for Windows 2003 and installed.
    To find out whether your system has already SP2 installed, you can either go to Add Remove Programs or Use the following spCheck Tool from Microsoft.
   
http://support.microsoft.com/kb/279631 

    I tried starting the Apache Tomcat again but still in vain, no success yet. Thinking

3) At this time, I started looking the other way around, that is on the application server Apache Tomcat side.   Looked into Tomcat log files found at the following path on my machine D:\BusinessObjects31\Business Objects\Tomcat55\logs.  (Check the correct location for your machine, default location would be [drive]:\Program Files\Business Objects\Tomcat55\logs),   I found the following error shown below from jakarta_service_date.log. 

image

This gave a little clue that the Apache Tomcat 5.5 service is not able to initialize itself and shuts down immediately,  and that is nothing but it cannot find the JRE on my machine, hence cannot initialize itself.  To resolve the issue, I did the following two things:

a) Setting up the JAVA_HOME
    
       My JAVA_HOME directory location was at D:\BusinessObjects31\Business Objects\javasdk\jre\bin\server.  Following screenshot shows the JAVA_HOME setting.

image

      I also made sure that javaw.exe is also available at the same location “D:\BusinessObjects31\Business Objects\javasdk\jre\bin\server”  when Tomcat 
          
initializes JVM.

SNAGHTML1069b99
b) Setting up Apache Tomcat to look for jvm.dll or javaw.exe at the correct location.

    To do this, I need Apache Tomcat Service name.  I found it from here Start –> Settings –> Control Panel –> Administration Tools –> Services, Clicking on 
    Apache 
Tomcat Service to open its properties window,  On the General Tab, I was able to find the Service Name registered on my server, that is BOE120Tomcat.

image

        Opened a command prompt window and travelled to Tomcat55 bin directory, and then executed the following command tomcat52.exe //ES//BOE120Tomcat.
          Please see the screenshot below.

       After the command execution successful, It displayed a window of Apache Tomcat 5.5.20 Properties shown below, I was able to change the Java Virtual Machine 
          path including the initial and max. memory that  it can use 128MB and 512 MB respectively and then I clicked ‘OK’ to close the window.

 

image

         Rebooted the Server and directly went to Services in Administration Tools to Start the Apache Tomcat 5.5 service.  What I see you can’t imagine… the service starts 
          without any issue. 

         Enabled all the BOE Services, Logged onto CMC Lauchpad, Scheduled few documents in Infoview … everything is working perfectly.Wave

Thanks for stopping by and feel free to discuss any alternative solutions through comments.

Advertisements

6 Comments »

  1. HI PLEASE advice.
    ” Apache Tomcat 5.5 Service installed with BusinessObjects 3.1 does not start on Windows XP-”
    I am facing the same problem and as illustrated i followed steps a and b . But in step i could not execute the said command ( tomcat5.exe //ES//BOE120Tomcat ) successfully and it prompted me error –

    [2011-06-16 22:50:33] [111 cmdline.c ] [error]
    Unrecognized cmd option E
    [2011-06-16 22:50:33] [402 cprunsrv.c ] [error]
    The operation completed successfully.
    [2011-06-16 22:50:33] [1246 cprunsrv.c ] [error]
    Load configuration failed

    thanks in advance

    Comment by kiran — June 16, 2011 @ 11:39 am

    • Kiran,
      You have to browse to the appropriate tomcat’s bin directory using command prompt window. Make sure you are using the exact service name from your machine. Hope it works.

      Irfan

      Comment by Irfan — June 17, 2011 @ 12:49 am

  2. Hi Thank you for the reply.
    Yes I was typing the service name incorrectly. I re executed the command in command promt window and its executed successfully,
    I rebooted the machine and checked tomcat starts now.
    I went to CCM and found that all 4 servers are in running status. Then I clicked on Busnessobjects enterpise Central Management Consol but it did not start and gave error message—— ” Not Found (404)
    The file that you requested could not be found on this server. If you provided the URL, please check to ensure that it is correct. If you followed a hypermedia link, please notify the administrator of that server of this error. “””
    Also tried opening InfoView but received same error message —- Not Found (404)

    The file that you requested could not be found on this server. If you provided the URL, please check to ensure that it is correct. If you followed a hypermedia link, please notify the administrator of that server of this error.

    Even tried .Net infoview but got error message —
    ” Not Found
    The requested URL /InfoViewApp/logon.aspx was not found on this server.
    Oracle HTTP Server Powered by Apache/1.3.12 Server at localhost Port 80 ”

    Please advice what shall i do now?
    I have installed the server on Windows XP Professional OS.

    At the time of installation after ‘Configure Tomcat’ dialog box I got a pop-up message named “PortConfirm – One of more ports you selected are in use. Do you to continue?” here I clicked on Yes button and later on the installation started which successfully finished

    Kindly advice.
    Thanks in advance
    KK

    Comment by Kiran — June 17, 2011 @ 11:52 am

    • Kiran,

      What is your application server for Business Objects ..? why don’t you try with Tomcat/Apache combination .? On the other note, make sure that you are not using the port for any other service(s). If you want you can uninstall and re-install and choose a different port like 9090 instead of 8080…. or something similar. In addition to that, For .NET Infoview you need IIS to be installed… first. But I would prefer Tomcat/Apache combination the best.

      Irfan

      Comment by Irfan — June 17, 2011 @ 6:34 pm

      • hi,
        Thank you very much for the above input. It triggered me that the port 8080 is being used by another server which i stopped through wndows services ( it was ORACLE ORAHOME90TNSLISTER ) and now I am able to access CMC, Infoview.
        thanks again you are really helpful.
        KK

        Comment by kiran — June 18, 2011 @ 12:51 pm

      • Nice to know you were able to resolve your issue.

        Irfan

        Comment by Irfan — June 18, 2011 @ 6:13 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: