Changing the url path on my application

1
0
-1

Hello everyone,

I'm using version 6.4.0 and on the final leg of deployment.
Right now there is one more things that I need to do that is of critical importance:

Currently to access my application I need to go to /bonita
However I'm trying to do change it so that the application is on the root path. In order words, I want it so that to access it I only need to go to www..com (with no /bonita, for example, if my host was bananas, to go to my app it would be www.bananas.com)

Also, I'm using the deploy bundle files with Tomcat 7

Thanks in advance,
Eduardo

1 answer

1
0
-1

Hi there,

change the server.xml file

<Host name="localhost" appBase="webapps"
 unpackWARs="true" autoDeploy="true"
 xmlValidation="false" xmlNamespaceAware="false">
                                                                                                                                       
<Context docBase="bonita" path="" />

regards
Seán

PS: If this reply answers your question, please mark as resolved.

Comments

Submitted by tugaknight on Thu, 07/28/2016 - 11:36

I've done with change, however now when I go to the root url I get an error code 500 "org.bonitasoft.console.common.server.utils.DefaultTenantIdException"

However trying to access /bonita still works though

As an alternative, having another name other than bonita would also be acceptable, I've tried changing the Context element, so that the path would be something else but I run into the same problem...

Notifications