Skip to Content

Topic:     How to deploy the BI 4 web applications under custom context path in Tomcat 6 environment.

Ex:     Default BI Launch pad URL:     http://servername:portnumber/BOE/BI

          Custom context URL:              http://servername:portnumber/SAPBOE/BOE/BI (SAPBOE is custom context it can be any thing ex: companyreporting etc.,)

Solution:    

1. Stop Tomcat.

2. Go to ‘..\Tomcat6\conf\Catalina\localhost\’ and delete all the XML’s.

3. Go to ”..\Tomcat6\webapps\’ and delete all the folders.

4. Go to ‘..\Tomcat6\work\Catalina\localhost\’ and delete all the folders.

5. Using wdeploy, deploy all BOE web applications as it is.

   IMPORTANT: do not use the custom context while deploying. We will configure it later.

6. Once all apps are deployed, you should see the default app names in the webapps directory.

7. Open the ‘server.xml’ located in ‘..\Tomcat6\conf’ directory for editing.

8. Add the following lines towards the end of the file:

<Context path=”/SAPBOE/BusinessProcessBI” docBase=”BusinessProcessBI” reloadable=”true”/>

<Context path=”/SAPBOE/dswsbobje” docBase=”dswsbobje” reloadable=”true”/>

<Context path=”/SAPBOE/AdminTools” docBase=”AdminTools” reloadable=”true”/>

<Context path=”/SAPBOE/BOE” docBase=”BOE” reloadable=”true”/>

<Context path=”/SAPBOE/explorer” docBase=”explorer” reloadable=”true”/>

9. So the end of your server.xml should look like the following:

<Valve

className=”org.apache.catalina.authenticator.SingleSignOn” />

–>

<!– Access log processes all example.

Documentation at: /docs/config/valve.html –>

<!–

<Valve className=”org.apache.catalina.valves.AccessLogValve”

directory=”logs”

prefix=”localhost_access_log.” suffix=”.txt”

pattern=”common” resolveHosts=”false”/>

–>

<Context path=”/SAPBOE/BusinessProcessBI” docBase=”BusinessProcessBI” reloadable=”true”/>

<Context path=”/SAPBOE/dswsbobje” docBase=”dswsbobje” reloadable=”true”/>

<Context path=”/SAPBOE/AdminTools” docBase=”AdminTools” reloadable=”true”/>

<Context path=”/SAPBOE/BOE” docBase=”BOE” reloadable=”true”/>

<Context path=”/SAPBOE/explorer” docBase=”explorer” reloadable=”true”/>

</Host>

</Engine>

</Service>

</Server>

10. Start Tomcat and wait for the tomcat6.exe in Task Manager to be stable at 00 CPU utilization.

11. Alternatively you can check the ‘stderr.log’ in the logs directory for a message like “INFO: Server startup in xxx ms” to confirm Tomcat

has finished initializing.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply