Well, don't take my word for it...Oracle is a black-box for me. I just know, from experience, that if something works at the user level but not on the system level in Windows, it's usually a permissions issue somewhere. Especially with an error message that says "authentication failed".
John Turner [EMAIL PROTECTED] -----Original Message----- From: Luciano Belotto [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 12:34 PM To: 'Tomcat Users List' Subject: RE: Connection to Oracle database doesn't work when Tomcat is a service I see. Is there anyone who knows how this should be setup (Oracle authentication for System)? Or has had to set this up in order for Tomcat to run as a service and connect to database? maybe this questions is more appropriate in an Oracle forum -Luciano > > 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]>
