Where is "config/datasource-sql.xml"?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is "config/datasource-sql.xml"?

Rodney Gitzel
Hopefully this doesn't fall into the "d'oh!" category of questions, but... I'm puzzling my way through the "SQL Address Book" example in 3.6.0.200712061930, and I can't find the datasource config file referred to in files such as "service-add.xpl".

I've googled around, and according to this post in particular, it should be in "/WEB-INF/resources/config" but it's not.   All I have there are these files:

  epilogue.xpl
  epilogue-portlet.xpl
  epilogue-servlet.xpl
  log4j.xml
  not-found.xhtml
  prologue-portlet.xpl
  properties.xml
  README.txt
  theme-examples.xsl
  theme-plain.xsl
  xforms-widgets.xsl


I can't find a filter or somesuch that might be generating the file on the fly (which would be odd, regardless).    Yet the demo app works just fine.

Colour me confused.

Thanks.

rodney
Reply | Threaded
Open this post in threaded view
|

Re: Where is "config/datasource-sql.xml"?

Erik Bruchez
Administrator
Rodney,

Some resources are "hidden" in JAR files to avoid having thousands of  
files around and make upgrading easier.

config/datasource-sql.xml in particular is available in orbeon-
resources-private.jar.

If you create your own config/datasource-sql.xml under your RESOURCES  
directory, that file will override the one in orbeon-resources-
private.jar.

-Erik

On Feb 11, 2008, at 9:52 AM, Rodney Gitzel wrote:

>
> Hopefully this doesn't fall into the "d'oh!" category of questions,  
> but...
> I'm puzzling my way through the "SQL Address Book" example in
> 3.6.0.200712061930, and I can't find the datasource config file  
> referred to
> in files such as "service-add.xpl".
>
> I've googled around, and according to
> http://www.nabble.com/SQL-Address-book-td11691567.html#a11836490 
> this post
> in particular, it should be in "/WEB-INF/resources/config" but it's  
> not.
> All I have there are these files:
>
>  epilogue.xpl
>  epilogue-portlet.xpl
>  epilogue-servlet.xpl
>  log4j.xml
>  not-found.xhtml
>  prologue-portlet.xpl
>  properties.xml
>  README.txt
>  theme-examples.xsl
>  theme-plain.xsl
>  xforms-widgets.xsl
>
>
> I can't find a filter or somesuch that might be generating the file  
> on the
> fly (which would be odd, regardless).    Yet the demo app works just  
> fine.
>
> Colour me confused.
>
> Thanks.
>
> rodney
> --
> View this message in context: http://www.nabble.com/Where-is-%22config-datasource-sql.xml%22--tp15416923p15416923.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws