  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Problem in connecting to database while running application on Apache Tomcat 4.0 | Problem in connecting to database while running application on Apache Tomcat 4.0 2004-06-24 - By Zulekha Banu
Back 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".
|
|
 |