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?

Thanks.





      





      


      

Reply via email to