Wendy Bossons

Greenhorn
+ Follow
since Sep 04, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Wendy Bossons

[Question removed. Please ask questions in a new topic.]
14 years ago
JSF
I started a sample Ruby project in an interest to find out what Ruby was all about. I thought a quick tutorial would do. But when I looked at the configuration and organization and the language, I thought that this is not such a quick ramp up. What is it about Ruby that would make me want to invest the time to do this?
14 years ago
Issue: I can connect to my database using root, but not with any other MySql user. Specifically the issue is occurring when the web application is querying the database. The content which is database driven is empty with any other user.

Environment is Tomcat 6
MySql 5.X
JSF Web Application

I have created a DAO structure. I can ping the database using root, and even with my other user, let's call that user Sam.

So I then changed the username and password in the context.xml and in the server.xml to be Sam and SamsPassword. I can ping the MySql database from Eclipse, but when I deploy to the localhost, and enter the url in a browser, the content is empty. A look at the error log in Tomcat shows access is denied. "com.lavaflow.dao.DAOException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'Sam'@'localhost' (using password: YES))"

I am running into a wall on this . . . cannot construct a decent query result from google, so I'm hoping JavaSaloon gurus can help.

..\Wendy