cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <>
Subject RE: <datasources> <j2ee ....... ?!
Date Fri, 01 Mar 2002 16:16:22 GMT
I am novice in the j2ee stuff. I added to my WEB-INF/classes
directory of cocoon and I added the jndi.jar to the lib. 

My cocoon.xconf looks like this:
	<j2ee name="tryout">

I use JBoss. The datasource works with an EJB installed on JBoss and when I
use JDBC instead everything goes great to (very good by the way esql makes
thinks very simple)

Please provide more information,



-----Oorspronkelijk bericht-----
Van: Berin Loritsch []
Verzonden: vrijdag 1 maart 2002 14:32
Onderwerp: Re: <datasources> <j2ee ....... ?!

Graaf, Edgar de (fin) wrote:
> People,
> I try to use <datasources> <j2ee ....... 
> But what ever I do I keep on having the same problem. Please look at the
> included exception. The only thing the Cocoon site says about the subject
> that it is as simple as filling <dbname>. Unfortunately nothing is simple.
> Or is it?

The j2ee datasource component connects to your J2EE compliant
application server.  If you are not using one, you should not use the
j2ee datasource.

The place to look up datasource components is defined by the J2EE spec,
so if JNDI cannot find "java:comp" then something is not set up
correctly on your server.


"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin

To unsubscribe, e-mail:
For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message