Hi, For development purposes, we are wanting to keep files away from common areas (there might be 2 or 3 of us working on this application at a time). Is there a way to declare this in a manner to let is load from WEB-INF/lib and not common/lib?
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 1:40 PM To: Tomcat Users List Subject: RE: Naming Question Hi, ><GlobalNamingResources> > ><Resource name="myobj" auth="Container" type="obj"> > </Resource> > <ResourceParams name="obj"> The name should match the resource name, so both should be "myobj". Note also that the case matters, so your application will need to lookup "myobj" and not "MyObj" for example. The parameters section you had is fine. Note that the class you're declaring as the resource's type, in this case "obj" must be available to the server classloader. For tomcat, that means you should put the jar containing this class and any others it depends on in the common/lib directory. 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] ********************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
