[xwiki-dev] Removing DataSource definition in web.xml?
Ludovic Dubost
ludovic at xwiki.com
Fri Apr 27 21:02:41 CEST 2007
-1
I think you specify the reference to this value in hibernate.cfg.xml to
tell hibernate to get it's datasource from this variable.
It's useful because it allows to manage the datasource information in
the App Server config which is liked by App Server managers
However +1 for documenting and test how to specify the datasource in
hibernate.cfg.xml
Ludovic
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
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
More information about the devs
mailing list