I am trying to use connection pool.I am using jDriver from weblogic for
SQLserver 7.0,
Here is my part of the code.
Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
InitialContext context = null;
Connection connection = null;
context = new InitialContext();
DataSource ds = (DataSource) context.lookup("java:comp/env/jdbc/" + dsn);
connection = ds.getConnection();
i am getting
javax.naming.NoInitialContextException: Need to specify class name in
environmen
t or system property, or as an applet parameter, or in an application
resource f
ile: java.naming.factory.initial
Is there any configuration missing? where can i find the
filejava.naming.factory.initial.
For configuring the weblogic driver ,i suppose to edit the
weblogic.properties file which comes with weblogic app driver.
I am using JRun 3.0,as servlet, jsp container.
i am not using any EJB's
How do i do it?
sahaya.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists