One more reference: http://tinyurl.com/2rxbh

Best,

Xuemin

----- Original Message ----- 
From: "Ralf Schneider" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 4:52 PM
Subject: Re: Problem with Data Source Definition


> Am Dienstag, 20. April 2004 08:53 schrieb Xuemin Guan:
> > Tomcat (5.0.19) comes together with commons-pool-1.1.jar, which
> > is under CALINA_HOME/common/lib. This directory is both seen
> > by container and you web applications. So, I guess the problem is not
> > cause by the lack of commons-pool-1.1.jar. Am I missing anything here?
>
> Exactly, commons-pool-1.1.jar as well as commons-dbcp-1.1.jar are located
in
> CATALINE_HOME/common/lib and I added them as external JARs to the build
path
> of the project. So I guess it should be found by the application.
>
> Is there a way to get a more detailed information about what's going wrong
> during startup? The displayed message
>
> StandardContext[/demo_03]Servlet /demo_03 threw load() exception
> javax.servlet.UnavailableException: Initializing application data source
> local_01
>         at
>
org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.j
ava:1091)
>         at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>
> does not really help to fix this problem. Probably, the problem might be
one
> of the properties. I took them from the example from the Struts HowTo on
> accessing databases.
>
> Any ideas?
>
> Best regards,
> Ralf.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to