cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Gil <Sebastian....@insert.com.pl>
Subject Strange problem with J2EE datasource
Date Fri, 31 Jan 2003 07:55:23 GMT
Hi there.

I have strange problem with J2EE data source. Well it works fine. There is 
no problem at all, but ...
when I start Tomcat I get an error message in Cocoon error log and in fact 
I don't understand it.
Why Avalon can't find jdbc when it is initializing Cocoon and it has no 
problem after the initializaction ?
I tried to move my JDBC resource to Tomcat GlobalNamingResource  section 
but it did't help. Any hints ?

Regards.
SG.

Cocoon 2.0.4
Tomcat 4.1.15
JDK 1.4.1

ERROR   (2003-01-31) 08:45.01:197   [core.manager] (Unknown-URI) Unknown- 
thread/J2eeDataSource: Problem with JNDI lookup of datasource
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
	at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
	at javax.naming.InitialContext.lookup(InitialContext.java:347)
.
.
.
ERROR   (2003-01-31) 08:46.28:453   [core.manager] (Unknown-URI) Unknown- 
thread/ExcaliburComponentSelector: Could not set up Component for hint [ 
MarynaOnLine]
org.apache.avalon.framework.configuration.ConfigurationException: Could not 
use JNDI to find datasource
	at 
org.apache.avalon.excalibur.datasource.J2eeDataSource.configure(J2eeDataSource.java:105)
.
.
.

-- 
Keep on rolling

mailto: create@insert.com.pl
http://create.e-informatyka.pl

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message