Deploying glass fish project from IntelliJ on Mac to server in ubuntu

Answered

I have developed a RESTful web service and deployed it to the GlassFish application server using IntelliJ on a Mac. Specifically I used this tutorial. Now, I would like to deploy it in my other ubuntu machine that runs apache2. I used this other tutorial to deploy the IntelliJ project to my ubuntu machine. My question is: How do I get my project running on my ubuntu machine? I have deployed my IntelliJ code in the folder /var/www/html/projectName/ and in that same folder I have saved the glassfish4 package. I can get the glassfish server running typing 

glassfish4/bin/asadmin start-domain

,and it runs smoothly, but I don't know how to get my IntelliJ project going.

0
1 comment

Apache 2 is not a JSP container, it cannot run Java EE applications. Please clarify how Apache 2 is configured on your system so that glassfish is handling the requests.

0

Please sign in to leave a comment.