[opencms-dev] OpenCms Database Location

Steffen Valentin sva at archikart.de
Fri Feb 20 15:24:01 CET 2004


Thanks a lot! It works perfectly.

Bye Steffen
  ----- Original Message ----- 
  From: Petr Hollay 
  To: opencms-dev at opencms.org 
  Sent: Friday, February 20, 2004 2:40 PM
  Subject: AW: [opencms-dev] OpenCms Database Location


  Hi,

  you can read connection string from opencms.properties using CmsObject. getConfigurations(),

  but you can store your database server name for example in some your property file or in web.xml 

  of your web application (see <context-param> in web-app_2_3.dtd) as well, if you are developing some Java already.

   

   

  Best regards

  Petr

   

   


------------------------------------------------------------------------------

  Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] Im Auftrag von Steffen Valentin
  Gesendet: Freitag, 20. Februar 2004 13:55
  An: opencms-dev at opencms.org
  Betreff: [opencms-dev] OpenCms Database Location

   

     Hi group!

   

   Is there any function in the opencms classes that returns the server the database is stored on?

  Or is there any other possibilty to get the database server name?

   

  Thanks in advance!

   

  Bye Steffen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040220/013e2dbf/attachment.htm>


More information about the opencms-dev mailing list