cancel
Showing results for 
Search instead for 
Did you mean: 

How to run Tomcat Server in standalone mode ?

Former Member
0 Kudos

Hi,

In order to use Tomcat (standalone mode), I've installed Tomcat 7.0 from Apache website: https://tomcat.apache.org/download-70.cgi as described in this page :

https://wiki.hybris.com/display/release5/Downloading+the+Data+Hub+and+Configuring+It+for+Standalone+...

But, I don't quite understand how to bind the web application " DataHub -webapp - 5.5.1.0 - RC9.war " withTomcat .

Should I put the .war file in the /webapps from Tomcat that I've just installed or in the /webapps from Hybris installation: "hybris\hybris\bin\platform\tomcat\webapps " ?

How to make to deploy properly the .war application and in order to run correctly this one ?

Accepted Solutions (1)

Accepted Solutions (1)

tsandhu
Participant
0 Kudos

You need to Copy the Data Hub webapp war file to the Tomcat(that you have installed) webapps directory and start Tomcat

Data Hub can be deployed to Tomcat like any other WAR file. One option is to simply rename the Data Hub WAR file to datahub-webapp.war and copy it to the Tomcat webapps directory. The next time Tomcat starts, it explodes the WAR file automatically. Alternatively, you can use a context.xml file to customize the location and context path of the Data Hub WAR file. Using a custom context.xml is optional, but a context.xml file is the preferred method, because it keeps your Tomcat webapps directory unencumbered. You can find a full explanation how to use Tomcat's context.xml file at https://tomcat.apache.org/tomcat-7.0-doc/config/context.html.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you for your answer.