Subject | Error finding JNDI name |
---|---|
Author | Richard Drent |
Post date | 2004-02-03T17:35:10Z |
I have installed in server.xml and web.xml, the jndi settings,.... for a
connection to a firebird database.
When I check the setting it is working correct with jsp
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("mark");
Connection connection = ds.getConnection();
But when I try to connect with crystal report viewer, he gives the following
error
com.crystaldecisions.report.web.viewer.CrystalReportViewer
Error finding JNDI name (mark)
Thus anyone have an Idea what he is complaining about??
Greetz richard
connection to a firebird database.
When I check the setting it is working correct with jsp
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("mark");
Connection connection = ds.getConnection();
But when I try to connect with crystal report viewer, he gives the following
error
com.crystaldecisions.report.web.viewer.CrystalReportViewer
Error finding JNDI name (mark)
Thus anyone have an Idea what he is complaining about??
Greetz richard