hey,

it was late and i wasnt thinking :( ....

the probe would try to get an instance of the datasource (new 
InitialContext().lookup() business) and if that fails the datasource wouldnt be 
shown. There will be a stack trace in probe.log to do with that. The most 
common reason for that is jdbc driver not available to probe. The best thing to 
do is to stick the driver to common/lib so it will be available to both the 
probe and the webapp that uses it.


Regards,
Vlad


-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Wed 08/03/2006 12:31 AM
To: Tomcat Users List
Subject: Re: TomcatProbe 1.1 released
 
On 3/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> yeah, that makes sense. If you have a context referencing the datasource in 
> question via ResourceLink it will be displayed. Datasources declared in 
> contexts would also be shown.
>
> Whilst we are on this subject, can global datasources be looked up by 
> contexts without explicit ResourceLink?
>

No, but there was a ResourceLink in the context (I don't have the war
though, sorry).

--
xxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Developer & Consultant
JBoss Europe
xxxxxxxxxxxxxxxxxxxxxxxxx

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


--------------------------------------------------------------------------------------------------------------------------------------------
The information contained in this email message may be confidential. If you are 
not the intended recipient, any use, interference with, disclosure or copying 
of this material is unauthorised and prohibited. Although this message and any 
attachments are believed to be free of viruses, no responsibility is accepted 
by Informa for any loss or damage arising in any way from receipt or use 
thereof.  Messages to and from the company are monitored for operational 
reasons and in accordance with lawful business practices. 
If you have received this message in error, please notify us by return and 
delete the message and any attachments.  Further enquiries/returns can be sent 
to [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to