When the service runs, it does not run under the same permission authority
as it does when you execute startup.bat.  I'm not familiar with Oracle
authentication, but it sounds like the user that the service runs under
(normally System) doesn't have permission to make the connection.

John Turner
[EMAIL PROTECTED]


-----Original Message-----
From: Luciano Belotto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:02 AM
To: 'Tomcat Users List'
Cc: 'Ramon Lewis'
Subject: Connection to Oracle database doesn't work when Tomcat is a
service


I'm new to this list and to using Tomcat. Request help with this:

I setup TomCat 4 with my IIS 5.0 using the instructions on
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html

For the most part everything works fine. My webpage traxusers.com still
works with IIS (iis runs the html) and TomCat runs the jsp pages I want.

the problem lies in running a jsp that connects to the database, but
only when I run Tomcat as a service.

If I run TomCat from the startup.bat, everything seems to go fine.

But when i have it running only as a service (setup with the
jk_nt_service.exe), the JSP pages themselves work fine, but the
connection to the database returns this error: java.sql.SQLException:
ORA-12640: Authentication adapter initialization failed  

Can anyone suggest/help on this, what should I look for

-Luciano


----------------------------------------------------------------------------
--



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to