lakshitha
lakshitha

Reputation: 87

Deploy standalone war file in liferay tomcat

I am trying to deploy a simple standalone war file in liferay tomcat version. It is neither a portlet nor theme. How can I configure the war file to be deployed as a standalone war in liferay tomcat.

I am getting following error

16:45:51,175 ERROR [localhost-startStop-1][HotDeployImpl:211] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for travelinsurancetravelinsurance

So, I simply want to skip this registration as a portlet and access in by the url. Is this possible?

Upvotes: 0

Views: 548

Answers (1)

Olaf Kock
Olaf Kock

Reputation: 48057

What did you try so far? Just deployed to tomcat webapps directory? That should work. Make sure your plugin does not have any Liferay-recognized deployment descriptor, then everything should work and any complaints by Liferay can be ignored. Don't go through Liferay's deploy directory if you're not deploying a Liferay component.

Upvotes: 1

Related Questions