lani1234 Posted December 11, 2013 Share Posted December 11, 2013 I have placed my war file in home/lani1234/CandC.war. Can you please deploy it? Thank you so much. Link to comment Share on other sites More sharing options...
Krydos Posted December 11, 2013 Share Posted December 11, 2013 Deployed. http://lani1234.heliohost.org/CandC Link to comment Share on other sites More sharing options...
lani1234 Posted December 11, 2013 Author Share Posted December 11, 2013 I am getting a 404 Errortype Status reportmessage /lani1234_CandC/description The requested resource is not available.lani1234_CandC is my mySQL database. Any suggestions as to why this would be happening? Link to comment Share on other sites More sharing options...
Krydos Posted December 11, 2013 Share Posted December 11, 2013 Usually 404 means something can't be found. Do you have any absolute references to files such as /home/lani1234/... Or C:\Documents\...? Link to comment Share on other sites More sharing options...
lani1234 Posted December 11, 2013 Author Share Posted December 11, 2013 No I do not have any absolute references. Link to comment Share on other sites More sharing options...
Krydos Posted December 12, 2013 Share Posted December 12, 2013 Well, you know your code better than anyone else. What else could it be looking for and not finding? Does it output any error messages anywhere? Perhaps start with a simple .war that works and add to it until you find the part that gives the error? Link to comment Share on other sites More sharing options...
lani1234 Posted December 13, 2013 Author Share Posted December 13, 2013 In the error message, it says the resource is not available, and it lists lani1234_CandC which is the name of my database. I am trying to connect to the mySQL database using my Java web app. Is there anything out of the ordinary that needs to be done to connect to the database I have set up on your server? The database name is lani1234_CandC username: lani1234_lanipassword: dbpass I am using:driver = "com.mysql.jdbc.Driver"url = "jdbc:mysql://localhost/lani1234_CandC" I have this same .war file deploying fine on a different server.I have placed a new .war file in my home directory (home/lani1234/CandC.war) if you wouldn't mind re-deploying it just in case I had a typo in the database name or something. I appreciate any input you might have otherwise. Link to comment Share on other sites More sharing options...
Recommended Posts