mondrian_maikelnait
11-23-2005, 04:17 AM
Hello. I'm trying to connect to an oracle datasource defined in a OC4J environment. I'm using the jpivot jsp examples.
I use the following line in my jsp :
<jp:mondrianQuery id="query01" dataSource="jdbc/pigapDS" catalogUri="/WEB-INF/queries/DataMart.xml">
but I've got the following error :
com.tonbeller.jpivot.mondrian.MondrianModelFactory#testDataSource: Datasource java:comp/env/jdbc/pigapDS is not configured properly
javax.naming.NameNotFoundException: jdbc/pigapDS not found in JPivot
I have the datasource properly configured on my OC4J configuration, but why mondrian is trying to access the "java:comp/env" prefix ?? I know this works for tomcat, but not oc4j
Can I change this behaviour in some way ?
Anyone has been able to connect to an oc4j datasource ? Thanks in advance,
Michael
I use the following line in my jsp :
<jp:mondrianQuery id="query01" dataSource="jdbc/pigapDS" catalogUri="/WEB-INF/queries/DataMart.xml">
but I've got the following error :
com.tonbeller.jpivot.mondrian.MondrianModelFactory#testDataSource: Datasource java:comp/env/jdbc/pigapDS is not configured properly
javax.naming.NameNotFoundException: jdbc/pigapDS not found in JPivot
I have the datasource properly configured on my OC4J configuration, but why mondrian is trying to access the "java:comp/env" prefix ?? I know this works for tomcat, but not oc4j
Can I change this behaviour in some way ?
Anyone has been able to connect to an oc4j datasource ? Thanks in advance,
Michael