Hi
From: Antonio Fiol Bonnin [mailto:[EMAIL PROTECTED]
Sent: 11 2004 . 11:39
Subject: Re: Datasource - OK in app context - Fails in Global context
So, could someone summarize for me the different ways of
creating a JDBC
DataSource in Tomcat?
I will start the summary, so that it's
, if not, the workaround works just fine.
Bruno.
-Original Message-
From: ext Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 4:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Datasource - OK in app context - Fails in Global context
There's a catch though
In TC 4.x, if you put a app
]
Subject: RE: Datasource - OK in app context - Fails in Global context
There's a catch though
In TC 4.x, if you put a app context entry in the server.xml, the app
doesn't get reloaded even if the war is overwritten or the app
directory
is deleted or the server is restarted. The fully
-
From: ext Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 9:25 AM
To: [EMAIL PROTECTED]
Subject: RE: Datasource - OK in app context - Fails in Global context
When I tested 5.0 for auto deployment, the datasource JNDI context was
no longer available to the application
: Datasource - OK in app context - Fails in Global context
When I tested 5.0 for auto deployment, the datasource JNDI context was
no longer available to the application and a SQLException was thrown
in
the logs (the app interacts with database on initialization). The
application worked fine after
-effects.
-Original Message-
From: ext Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 11:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Datasource - OK in app context - Fails in Global context
On a different topic, do you have the database driver under WEB-INF/lib
or common
So, could someone summarize for me the different ways of creating a JDBC
DataSource in Tomcat?
I will start the summary, so that it's easier to correct/complete.
Please fill in the gaps ;-)
1. Have the DataSource defined in your application's context.
That way, if you have two apps, you
I have an Oracle JDBC datasource that I defined in the Tomcat5 context for an
application (conf/Catalina/localhost/nwg.xml). Works fine, context file listed below.
But when I tried to move the datasource to the GlobalNamingResources section of
server.xml so that it would be accessible to
Have you defined a reference to the global resource in the
ResourceLink element of the application context ?
[EMAIL PROTECTED] 01/09/04 10:38AM
I have an Oracle JDBC datasource that I defined in the Tomcat5 context
for an application (conf/Catalina/localhost/nwg.xml). Works fine,
context file
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 3:22 PM
To: [EMAIL PROTECTED]; Melloni Bruno (Nokia-BI/Dallas)
Subject: Re: Datasource - OK in app context - Fails in Global context
Have you defined a reference to the global resource in the
ResourceLink element of the application context
hair on this issue for almost a month.
Bruno
-Original Message-
From: ext Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 3:22 PM
To: [EMAIL PROTECTED]; Melloni Bruno (Nokia-BI/Dallas)
Subject: Re: Datasource - OK in app context - Fails in Global context
Have you
-
From: ext Keshav Sarin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 3:22 PM
To: [EMAIL PROTECTED]; Melloni Bruno (Nokia-BI/Dallas)
Subject: Re: Datasource - OK in app context - Fails in Global context
Have you defined a reference to the global resource in the
ResourceLink element
12 matches
Mail list logo