|
Hello all:
I deployed ofbiz on an external tomcat server. Other applications will be deployed to this tomcat. I need to change the root path for ofbiz. For example: ofbiz can be accessed at http://localhost:8443/webtools and I changed ecommerce to be at the root, so http://localhost:8080 will show the ecommerce application. I need to be able to access it through http://localhost:8443/demo/webtools and for ecommerce http://localhost:8080/demo How can I get this ? Thank you in advance. |
|
I found a way around. When creating the files to run on tomcat, this process
generates a server.xml file to be copied to $CATALINA_HOME/conf/server.xml The generated file has some lines like: <Context path="/webtools" docBase="/opt/ofbiz/specialpurpose/webpos/webapp/webpos" privileged="false" antiResourceLocking="true" antiJARLocking="true"> </Context> These lines should be changed to: <Context path="/ofbiz_demo/webtools" docBase="/opt/ofbiz/specialpurpose/webpos/webapp/webpos" privileged="false" antiResourceLocking="true" antiJARLocking="true"> </Context> If there's a better way please let me know. Thank you. On Thu Nov 11,2010 04:18 pm, Mansour Al Akeel wrote: > Hello all: > > I deployed ofbiz on an external tomcat server. Other applications will be deployed to this tomcat. > I need to change the root path for ofbiz. For example: > ofbiz can be accessed at http://localhost:8443/webtools > and I changed ecommerce to be at the root, so http://localhost:8080 will show the ecommerce > application. > > I need to be able to access it through http://localhost:8443/demo/webtools > and for ecommerce http://localhost:8080/demo > > How can I get this ? > > Thank you in advance. > |
|
Sorry, the method I found wont work. I just didn't test it properly. Links still point to
"/webtools" or "/accounting" instead of "/ofbiz_demo/webtools" or /ofbiz_demo/accounting". Still looking for a solution. Any advice ? On Fri Nov 12,2010 09:13 pm, Mansour Al Akeel wrote: > I found a way around. When creating the files to run on tomcat, this process > generates a server.xml file to be copied to $CATALINA_HOME/conf/server.xml > > The generated file has some lines like: > <Context path="/webtools" docBase="/opt/ofbiz/specialpurpose/webpos/webapp/webpos" > privileged="false" antiResourceLocking="true" antiJARLocking="true"> > </Context> > > These lines should be changed to: > > <Context path="/ofbiz_demo/webtools" docBase="/opt/ofbiz/specialpurpose/webpos/webapp/webpos" > privileged="false" antiResourceLocking="true" antiJARLocking="true"> > </Context> > > If there's a better way please let me know. > Thank you. > > > > > On Thu Nov 11,2010 04:18 pm, Mansour Al Akeel wrote: > > Hello all: > > > > I deployed ofbiz on an external tomcat server. Other applications will be deployed to this tomcat. > > I need to change the root path for ofbiz. For example: > > ofbiz can be accessed at http://localhost:8443/webtools > > and I changed ecommerce to be at the root, so http://localhost:8080 will show the ecommerce > > application. > > > > I need to be able to access it through http://localhost:8443/demo/webtools > > and for ecommerce http://localhost:8080/demo > > > > How can I get this ? > > > > Thank you in advance. > > |
| Free forum by Nabble | Edit this page |
