Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database connection issues. #23

Open
madsravn opened this issue Aug 2, 2013 · 0 comments
Open

Database connection issues. #23

madsravn opened this issue Aug 2, 2013 · 0 comments

Comments

@madsravn
Copy link

madsravn commented Aug 2, 2013

Hi, I'm having troubles accessing the database with the differ-webapp.

My current differ.properties looks like:

db.driverClassName=com.mysql.jdbc.Driver
db.url=localhost:3306
db.username=differ
db.password=differ

and while I can register a user using the Register button, reading from the database seems to create errors by throwing the exception: "Could not get
JDBC connection; nested exception is java.sql.SQLExcetion: No suitable
driver found for localhost:3306". Am I even using the correct driverClassName?

Another things is that in my tomcat log it says

SEVERE: The web application [] registered the JDBC driver 
[com.mysql.jdbc.Driver] but failed to unregister it when the web 
application was stopped. To prevent a memory leak, the JDBC Driver has 
been forcibly unregistered.

It would seem there is missing some kind of cleanup which then makes tomcat forcibly kill the driver which results in the database not being accessible for later interaction.

As a last resort, is there a way to use the tool without the web application? I mean in a way where I still will be receiving some visual information as output like the web application? Maybe a generated HTML page showing the information the web application would. I have tried running the command line tool by using the run-two.sh file and the reports generated doesn't seem to produce anything visual - even the web report *.drep file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant