You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andreas Metz <am...@i-te.com> on 2002/03/21 15:39:38 UTC
Problems with Database Connections
Hello,
i hope you can help me here. I will make a Database Connection with the J2EE. In my Java File i make following procedure.
Context beanCtx = new InitialContext();
DataSource ds = (DataSource)beanCtx.lookup("java:/comp/env/Sprachdaten");
dbConnection = ds.getConnection();
dbStatement = dbConnection.createStatement();
know i want to know what files i also must edit that i can connect to my database at this way.
I hope you can give me good links for docus that i can read what i have to do. I have read many bocks and was looking on many pages but
dont find anything helpfully for me. I hope you know what i mean. I know i must edit the server.xml file in the tomcat folder. But not how.
I will also use the sun.jdbc.odbc.JdbcOdbcDriver.
Thanxs for your help.
Mfg,
Andreas Metz
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>