cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <Edgar.de.Gr...@ordina.nl>
Subject RE: <datasources> <j2ee ....... ?!
Date Fri, 01 Mar 2002 16:16:22 GMT
I am novice in the j2ee stuff. I added JNDI.properties 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">
    		<dbname>java:/MSAccess</dbname>
    	</j2ee>
  </datasources>

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,

Regards,

Edgar

-----Oorspronkelijk bericht-----
Van: Berin Loritsch [mailto:bloritsch@apache.org]
Verzonden: vrijdag 1 maart 2002 14:32
Aan: cocoon-dev@xml.apache.org
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
is
> 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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message