• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to successfully deploy a web application on s156.eatj.com  RSS feed

 
Abhimanyus singh
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
I want to test my small jsp web-app online( using free hosting made available through EATJ.COM), though I've managed to succeed partially in uploading the web content( .war file) and running the application, but got stuck when I tried to click on a link which would take me to another jsp(newjsp.jsp), letting me know that the connection succeeded, and indeed ending up with an exception !!

1)The page which I am able to see, the moment i restart the tomcat server on eatj.com is as follows:


2)The page which I expect to be executed successfully is as follows:



The line marked as bold produced this exception :



Please help, as I am not able to figure out the cause of the problem.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like that hosting instance has SecurityManager enabled (for obvious reasons) and that's preventing your application from reading a system property.

You probably have to check their documentation to see what's allowed and what's not.
 
Paul Ngom
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Connection con=DriverManager.getConnection("jdbc:mysql://localhost/abhi28888?autoReconnect=true","abhi28888","mypassword");


It could be that your connection string is not complete. Try to add the port number.
 
Cexar Flores
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Had same problem.

For Free Trial account, there is security restriction. To remove the restriction, you have to sign up Basic or Advanced account.

http://jforum.s41.eatj.com/posts/list/3642.page
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!