RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Peter . Zoche
I dont know if it is required, but do you have a resource-ref entry in your web.xml, something like this? resource-ref descriptionmySQL Datasource/description res-ref-namejdbc/myAPP/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref where

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
database connection from rem ote machine using JNDI I dont know if it is required, but do you have a resource-ref entry in your web.xml, something like this? resource-ref descriptionmySQL Datasource/description res-ref-namejdbc/myAPP/res-ref-name res-typejavax.sql.DataSource/res-type

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
: problem in getting database connection from rem ote machine using JNDI In your deploy XML you should have somethink like this: ResourceLink global=jdbc/global name=jdbc/myApp type=javax.xml.DataSource/ Where jdbc/global is defined in the Data Sources of the tomcat server. Jan rahul

Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Andoni
the remote DB have a schema called myDB? Andoni. - Original Message - From: rahul Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Tuesday, October 25, 2005 10:08 AM Subject: RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI Thanks for help Jan, But how

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
To: Tomcat Users List Subject: Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI In your deploy XML you should have somethink like this: ResourceLink global=jdbc/global name=jdbc/myApp type=javax.xml.DataSource/ Where jdbc/global

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread Peter . Zoche
[mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Oktober 2005 11:32 An: Tomcat Users List Betreff: Re: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI Hello, I am looking at this error message you are getting: Cannot create PoolableConnectionFactory (Unknown

RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI

2005-10-25 Thread rahul
@tomcat.apache.org Subject: RE: ASKING AGAIN: problem in getting database connection from rem ote machine using JNDI Inspired by the last mail: Have you configured your remote database to listen to the ip-adress of your client. Does your databse accept connections from there? And is there a user