• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic