RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread rahul
--Rahul > -Original Message- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 26, 2005 10:04 PM > To: Tomcat Users List > Subject: Re: problem in getting database connection from remote machine > using JNDI > > > rahul wrot

Re: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread Hassan Schroeder
rahul wrote: > url="jdbc:mysql://localhost:3306/myDB" removeAbandoned="true" > This works absolutely fine. But when I try to connect to a remote database > by changing url in above > file to "jdbc:mysql://192.168.5.65:3306/myDB" my application fails > It creates following exception while retrie

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread rahul
blem in getting database connection from remote > machine using JNDI > > > rahul wrote: > > >Yes the database myDB exists on the remote server, > >at the same prot number, with the same username and password, > > > >And there is no known IP address filters (unless t

Re: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread David Delbecq
t; > >>-Original Message- >>From: Steve Kirk [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, October 26, 2005 6:31 PM >>To: 'Tomcat Users List' >>Subject: RE: problem in getting database connection from remote machine >>using JNDI >> &

Re: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread Mikolaj Rydzewski
rahul wrote: Yes the database myDB exists on the remote server, at the same prot number, with the same username and password, And there is no known IP address filters (unless there is some provision in default settings of mysql server) Are you sure that you can connect to that remote db wi

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread rahul
mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 26, 2005 6:31 PM > To: 'Tomcat Users List' > Subject: RE: problem in getting database connection from remote machine > using JNDI > > > at the risk af asking the obvious, does the database "myDB" exist on t

RE: problem in getting database connection from remote machine using JNDI

2005-10-26 Thread Steve Kirk
e- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: Monday 24 October 2005 15:26 > To: Tomcat Users List > Subject: problem in getting database connection from remote > machine using JNDI > > > Hi all, > > I am using tomcat JNDI for getting databse connectio

ASKING AGAIN: problem in getting database connection from remote machine using JNDI

2005-10-24 Thread rahul
Is there anything else that is required for remote database? > -Original Message- > From: rahul [mailto:[EMAIL PROTECTED] > Sent: Monday, October 24, 2005 7:56 PM > To: Tomcat Users List > Subject: problem in getting database connection from remote machine > using

problem in getting database connection from remote machine using JNDI

2005-10-24 Thread rahul
Hi all, I am using tomcat JNDI for getting databse connection in my application For this I have created a context.xml file in myAPP/META-INF which looks like this: This works absolutely fine. But when I try to connect to a remote database by changing url in above file to "jdbc:mysql://192