Problems with user/password data when trying to connect to DBs - Tomcat sees '' as username instead of the given one

2008-09-09 Thread Daniele Development-ML
Hello, I have a WS deployed on Tomcat and querying a DB. The JDBC and JNDI configurations should be fine but I still have some problems. When loading the WS (actually starting Tomcat) I got the following exception. It doesn't recognise the user and password I set in the context.xml. I searched

Re: Problems with user/password data when trying to connect to DBs - Tomcat sees '' as username instead of the given one

2008-09-09 Thread David Smith
You have an error in your Resource definition. The attribute for username is 'username', not 'user'. The corrected version is below: Resource name=jdbc/cellmlrep type=javax.sql.DataSource auth=Container username=me password=me