hm,

Just tried again for both Tomcat 5.0.30 and 5.5.15 :

 >>> snip (server.xml 5.5.15) <<<

    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
           factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml" />


    <Resource name="jdbc/GlobalDS" auth="Container" 
type="oracle.jdbc.pool.OracleDataSource"
              factory="oracle.jdbc.pool.OracleDataSourceFactory"
              url="jdbc:oracle:thin:@orablah:1521:ORCL"
              connectionCachingEnabled="true"
              connectionCacheName="dummy1"
              connectionCacheProperties="{MinLimit=0, MaxLimit=2, 
InitialLimit=0}"
              user="user"
              password="pass"
              debug="0"/>

  </GlobalNamingResources>

 >>> snap (server.xml 5.5.15) <<<

 >>> snip (appcontext.xml 5.5.15) <<<

    <ResourceLink name="jdbc/LocalDS" global="jdbc/GlobalDS" 
type="oracle.jdbc.pool.OracleDataSource"/>

 >>> snap (appcontext.xml 5.5.15) <<<

probe 1.1 shows the resource OK.


Mind you, prior to 1.1 probe did not "recognize" ResourceLinks.

If you still stuck you could send me server.xml + context.xml and i'll 
troubleshoot.

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