Jump to content

Recommended Posts

Posted

I use Johnny server with activated Java support.

 

I created a Java web app. I call a servlet by a link in the index.jsp

This is my web: http://danghh92.heliohost.org/

 

I run my app at localhost. There was no problem.

Then, I unzipped the war file. I uploaded all unzipped files to public_html folder.

 

The problem is:

I can get the index page. But when I click on the link to call servlet, the 404 error appear.

 

I have tested this app on another hosting. There was no problem.

 

How can I solve this problem?

Posted

If you would like to deploy a .war file follow these steps:

  1. Create your account on Johnny http://www.heliohost.org/home/create-johnny-account
  2. Request Java to be enabled on your account http://www.helionet.org/index/forum/74-java-requests/
  3. Wait patiently and keep your account active, because Java can only be enabled on a finite number of account at a time, and you must wait in line to have it enabled. It can take up to a month to get Java enabled depending on how many other people are in line ahead of you.
  4. Once Java is enabled on your account upload your .war file to your home directory. Ex: /home/username/MyProject.war
  5. Request to have the .war file deployed by creating a new topic in Customer Service http://www.helionet.org/index/forum/45-customer-service/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...