Jump to content

Recommended Posts

Posted

I am getting a 404 Error

type Status report

message /lani1234_CandC/

description The requested resource is not available.

lani1234_CandC is my mySQL database.

Any suggestions as to why this would be happening?

Posted

Usually 404 means something can't be found. Do you have any absolute references to files such as /home/lani1234/... Or C:\Documents\...?

Posted

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?

Posted

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_lani

password: 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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...