Cargo Plugin Throws Cargoexception When Deploying on Glassfish - Deployment Has Failed: Null

Liferay on GlassFish: deployment fails

If you deploy a portlet to Glassfish and then try to see it in Liferay and you DO NOT see anything, check:

- Is the deploy failed?

- Is there a restart made before you go to see results?

- Does the server give you any errors on log?

- If deployment does not work one way, try another. You can use Liferay menu Plugins Installation-> Upload File or try the method on this post

Using Cargo with Maven to remotely deploy WAR without HOT deployment

We had difficulties with Cargo. After a while, tomcat gets stuck and won't restart. Cargo does not permit to start/stop tomcat.

So what we eventually did was giving up cargo and using a script to restart tomcat at a distance from our jenkins machine. Also we share a folder on the integration machine used to deploy our wars. We also use the maven assembly plugin for our conf files and folders.



Related Topics



Leave a reply



Submit