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]

Reply via email to