We are using it with Tomcat4.1.  I've got it working with the
information
given on

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html

There is on hint though:  In Cocoon's web.xml you must set

   <load-on-startup>-1</load-on-startup>

Otherwise Cocoon gets started and tries to get hold of the datasource
before
TC has initalized JNDI from the <resource-ref> further down the file.
(Tomcat bug?  NB the DTD does not allow to invert the lines in web.xml.)

HTH, Alfred.

> -----Original Message-----
> From: Tony Edwards [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 29. Juli 2003 02:16
> To: '[EMAIL PROTECTED]'
> Cc: Andrew Myers
> Subject: Using JNDI datasources in Tomcat
> 
> 
> Folks,
> Has anyone used the JNDI datasource function in Tomcat.
> There is a HowTo on wiki
> (http://wiki.cocoondev.org/Wiki.jsp?page=JNDIDatasourceWithJBo
ss3.0.6) but I
can't seem to apply the same principle to Tomcat.
Can anyone provide me with a clue?


Thanks,

Tony

--------------------------------------------------------------------- 
This email is from Civica Pty Limited and it, together with any
attachments,
is confidential to the intended recipient(s) and the contents may be
legally
privileged or contain proprietary and private information. It is
intended
solely for the person to whom it is addressed. If you are not an
intended
recipient, you may not review, copy or distribute this email. If
received in
error, please notify the sender and delete the message from your system
immediately.Any views or opinions expressed in this email and any files
transmitted with it are those of the author only and may not necessarily
reflect the views of Civica and do not create any legally binding rights
or
obligations whatsoever. Unless otherwise pre-agreed by exchange of hard
copy
documents signed by duly authorised representatives, contracts may not
be
concluded on behalf of Civica by email. Please note that neither Civica
nor
the sender accepts any responsibility for any viruses and it is your
responsibility to scan the email and the attachments (if any). All email
received and sent by Civica may be monitored to protect the business
interests of Civica. 
--------------------------------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to