I put the following file in my war at META-INF/context.xml

 

<Context path="/external" docBase="${catalina.home}/webapps/external" debug="0" 
reloadable="false">

   <!-- Oracle Resource Definitions -->

            <Resource name="jdbc/abadb"

                        auth="Container"

                        type="oracle.jdbc.pool.OracleDataSource"

                        driverClassName="oracle.jdbc.driver.OracleDriver"

                        factory="oracle.jdbc.pool.OracleDataSourceFactory"

                        url="jdbc:oracle:thin:@myhost:1521:myinstance"

                        username="name"

                        password="password"

                        maxActive="20"

                        maxIdle="10"

                        maxWait="-1" />

</Context>

 

I have the following problems with it :

 

1.)     I can no longer undeploy the application (which is odd)

2.)     When I startup the admin app to see my context data all I see the the 
jdbc/abadb name entry but none of the other data

 

Im running Tomcat 5.5.7 under JDK1.5.0 on a RedHat Enterprise Linux 3

Thanks in advance

Salvatore E. Scotto Di Luzio

The American Board of Anesthesiology
4101 Lake Boone Trail Suite 510
Raleigh, NC 27607-7506
v: (919) 573-4324
f: (919) 881-2575
e: HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]

 

</>


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005
 

Reply via email to