[xwiki-dev] Removing DataSource definition in web.xml?

Sébastien Gaïde sgaide at gmail.com
Fri Apr 27 19:27:16 CEST 2007


+1

S.

Vincent Massol a écrit :
> Hi,
> 
> I'd like to remove the DataSource reference in web.xml (for 1.1 Beta 1):
> 
>     <resource-ref>
>         <description>DB Connection</description>
>         <res-ref-name>jdbc/XWikiDS</res-ref-name>
>         <res-type>javax.sql.DataSource</res-type>
>         <res-auth>Container</res-auth>
>     </resource-ref>
> 
> it's defined in there but our default hibernate config doesn't use it, 
> so it's not used by default... but forces users using an app server to 
> create a fake DS as is described for example in the install notes for 
> Websphere and jboss.
> 
> We also need to document how to configure xwiki to use the app server DS.
> For example see:
> http://mail-archive.objectweb.org/xwiki-dev/2005-06/msg00124.html
> 
> But I think our default should be the simplest possible ie without DS.
> 
> WDYT?
> 
> Thanks
> -Vincent
> 





More information about the devs mailing list