hvas89 Posted April 27, 2011 Author Posted April 27, 2011 ok i did it but still only my homepage is working... my homepage has jsp so that means the jsp is ok but from my homepage when someone logs in it doesnt load it shows Bad Gateway The proxy server received an invalid response from an upstream server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30 mod_wsgi/3.3 Python/2.4.3 Server at lounge.heliohost.org Port 80 maybe something wrong with SQL? Please help This is how i connect to SQL it worked when i uploaded my site to EATJ JSP hosting but that is only 12 days trial Class.forName("com.mysql.jdbc.Driver"); Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/hvas89_lounge", "hvas89", myPassword); In ur tutorial the localhost is something like 127.0.0.1.. And now even my homepage stopped working it works sometimes only
hvas89 Posted April 28, 2011 Author Posted April 28, 2011 ok tnx very very much it is working unfortunately down again :(:(
hvas89 Posted April 28, 2011 Author Posted April 28, 2011 Ryt now not again.. showing 502 bad gateway.. u can try visiting it to check.. lounge.heliohost.org
hvas89 Posted April 29, 2011 Author Posted April 29, 2011 ok it is working but after logging in there is an out of memory exception being shown... but server and java is ok no prob
Ashoat Posted April 29, 2011 Posted April 29, 2011 I think that may be a bug in your code. Read up the following websites and try their fixes: http://wiki.apache.org/tomcat/FAQ/Memory http://wiki.apache.org/tomcat/OutOfMemory
Recommended Posts