There might be situations where you need to deploy liferay on to the different context than the default root("/") context.
One classic use case is - let us say you have a application that is deployed to the context "/app" and liferay reserves this context for json webservices. In this case you will have a context conflict thus making the liferay json ws not work properly.
For deploying liferay in non root context is two step process.
1. Add the property to portal-ext.properties
portal-ctx="/whatevercontext"
2. Change the context path of liferay where it is deployed, from root to whatevercontext context.
One classic use case is - let us say you have a application that is deployed to the context "/app" and liferay reserves this context for json webservices. In this case you will have a context conflict thus making the liferay json ws not work properly.
For deploying liferay in non root context is two step process.
1. Add the property to portal-ext.properties
portal-ctx="/whatevercontext"
2. Change the context path of liferay where it is deployed, from root to whatevercontext context.
No comments:
Post a Comment