Howdy,

>Factory?  What is a factory?  What does it look like?

It's a class implementing the GoF Factory pattern.

>I thought what I had below WAS a factory?  is having DataSource there
not
>good enough?

No.

>What's below is exactly what my Tomcat book has!!

Your book could be out of date or incorrect.

>Can you please help?

Add this parameter to your server.xml:

<parameter>
  <name>factory</name>
  <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>

And read the JNDI DataSource HOW-TO in the tomcat docs.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to