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: [EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>