Problem in connecting to database while running application o n ApacheTomcat 2004-07-04 - By Guy Katz
Back please specify your exception stack trace + the scope of your DS definition (context, global , etc).
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)]On Behalf Of Markus Fuchs Sent: Thursday, July 01, 2004 10:36 PM To: J2EE-INTEREST@(protected) Subject: Re: Problem in connecting to database while running application on ApacheTomcat 4.0
Hi Zulekha,
Your connection properties seem ok. What exception do you get?
Jan,
can you help?
Thanks,
-- markus.
Zulekha Banu wrote:
> Hi > > My entries in conf/server.xml are something like this: > > <Resource name="jdbc/test" auth="Container" > type="javax.sql.DataSource "/> > <ResourceParams name="jdbc/test" > > <parameter><name>user</name><value>user</value></parameter> > > <parameter><name>password</name><value>password</value></parameter> > <parameter><name>driverClassName</name> > <value>oracle.jdbc.driver.OracleDriver</value></parameter> > <parameter><name>driverName</name> > > <value>jdbc:oracle:thin:@(protected):1521:test</value></parameter> > </ResourceParams> > > also classes12.jar for JDBC connection is in common/lib folder. > with the datasource and username/password, I am able to connect to database > through PL/SQL but get coneection error while running the application on > Apache Tomcat 4.0 > > Kindly help me solving the problem. > > Regards, > Zulekha > > =========================================================================== > To unsubscribe, send email to listserv@(protected) and include in the body > of the message "signoff J2EE-INTEREST". For general help, send email to > listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|