juddi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt T Stam <ks...@apache.org>
Subject Re: jdbc driver in web-inf/lib instead of shared/lib
Date Thu, 25 Jan 2007 13:18:48 GMT
The connection to the database goes through a datasource. The datasource
is not part of the war and actually gets loaded *before* the war gets
loaded. Which mean that you can't have your driver in the war file
itself. This is generic J2EE behavior, not specific to jUDDI. Hope this
helps,

--Kurt

Abid Hussain wrote:
> Hi everybody,
>
> I posted the same question in beginning of january. Maybe most people
> where still having a hangover from New Years Eve ;-) so I try again:
>
> I'm new to jUDDI so maybe I've overlooked something but I didn't find
> anything about my problem in the archives.
>
> I'm using jUDDI 0.9rc4 and Tomcat 5.5 and when I place my JDBC-driver
> (postgresql.jar) into the WEB-INF/lib and run happyjuddi.jsp it
> doesn't find the JDBC driver. Whereas when I place it in
> $TOMCAT_HOME$/common/lib everything goes fine.
>
> Actually thats quite a strange case that a webapp doesn't find a
> resource which is in it's own WEB-INF/lib directory.
>
> I would rather have the driver being placed in the WEB-INF/lib
> directory so that I can build a war file and deploy it to any Tomcat
> without placing any libs in the particular Tomcat's common/lib dir.
>
> Does anybody know about a way to do so respectively what the reason
> for this problem is?
>
> Best regards,
>
> Abid
>



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-user-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-user-help@ws.apache.org


Mime
View raw message