dimanche 24 mai 2015

Restful web service not working in AWS EBS

I am developing a backend service for an android application which would let it access a database that I have.

I created a web server running Glassfish 4.1 on Elastic Beanstalk and upload my application there.

Here is where the problem lies, when I upload an empty project, it shows the default index.jsp from my project, but as soon as I add a restful web service to the project and upload it, the application just straight up refuse to work, not even the default index page are shown, the only thing that is shown when I try to access the url is a message from glassfish as follows:

Your server is now running

To replace this page, overwrite the file index.html in the document root folder of this server. The document root folder for this server is the docroot subdirectory of this server's domain directory.

To manage a server on the local host with the default administration port, go to the Administration Console.

I am uploading the project through Netbeans' but manually uploading the project's .war file yields the same result.

Also, for the time being I have set the environment to accept traffics from all ports and ip so that's probably not the problem.




Aucun commentaire:

Enregistrer un commentaire