Win a copy of Reactive Design Patterns this week in the Functional Programming forum
or Learn Linux in a Month of Lunches in the Linux forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hello world JSP page deployed on local weblogic works but gives 404 error on Amazon EC2.

 
Monica Shiralkar
Ranch Hand
Posts: 873
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a hello world JSP page. I deployed this on weblogic on my local machine. It works fine. If I deploy this on Amazon EC2, it gives a 404 not found error. I checked the port 7001 on management console, it is open. Also I added listen port on config.xml to 0.0.0.0.  It still gives a 404 error. I am posting this in java in general as do not know the appropriate category for this issue.

Thanks.
 
Maneesh Godbole
Saloon Keeper
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What URL do you use to access local as well as Amazon?
 
Monica Shiralkar
Ranch Hand
Posts: 873
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EC2 URL:

http://ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:7001/HellowWorld/index.html

Local URL:

http://localhost:7001/HellowWorld/index.html

 
Monica Shiralkar
Ranch Hand
Posts: 873
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


http://ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:7001/HellowWorld/index.html

Local URL:

http://localhost:7001/HellowWorld/index.html

 
Monica Shiralkar
Ranch Hand
Posts: 873
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to edit the post and I missed the URL tags but unable to do so as the EDIT button is not appearing.
 
Maneesh Godbole
Saloon Keeper
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are the index.html and jsp file related?
 
Monica Shiralkar
Ranch Hand
Posts: 873
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The html page calls the JSP page.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!