Ramya Raghukumar wrote:
I am trying to configure jdbc realm on Tomcat 6, by connecting to Oracle 11g that runs on Ubuntu.I 
tried doing it with <Realm> inside <Engine> but got the exception "Network adapter 
unable to establish connection".

However when I tried to connect to the database through a JNDI resource using 
<Resource> inside <Engine>, it worked fine. (I had
 removed the <Realm> element from <Engine> and had only <Resource>).

I continued getting the exception when I had both <Resource> and <Realm> inside 
<Engine>.

I also tried configuring JDBC realm at the context level but it thew the same 
exception.

What am I missing?

It smells like the network issue.

Did you test the access to the DB server with "telnet server.com 1521", or something similar?

Regards,
Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to