Hi all
I define a connection pool and a datasource name in
weblogic6.0 by admin console,my config.xml:
...
<JDBCConnectionPool CapacityIncrement="1"
DriverName="sun.jdbc.odbc.JdbcOdbcDriver" InitialCapacity="1"
LoginDelaySeconds="5" MaxCapacity="2" Name="SqlServerPool"
Properties="user=daniel;password=daniel;server=localhost"
TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
TestTableName="cartype" URL="jdbc:odbc:Mydsn"/>
...
<JDBCDataSource JNDIName="AppDSN" Name="AppDSN" PoolName="SqlServerPool"/>
....
but i can not found the JNDI name:AppDSN
javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup("AppDSN");
any suggestion will be appreciated!
-
Cant found datasource jndi name in weblogic6.0 (1 messages)
- Posted by: an alix
- Posted on: June 26 2001 05:33 EDT
Threaded Messages (1)
- Cant found datasource jndi name in weblogic6.0 by Tinou Bao on June 26 2001 11:38 EDT
-
Cant found datasource jndi name in weblogic6.0[ Go to top ]
- Posted by: Tinou Bao
- Posted on: June 26 2001 11:38 EDT
- in response to an alix
double check that it is in your target server ( you have to define it and make it available).
--
Tinou Bao
www.baosys.com