...
Webservices hosted in a Tomcat container can access the DAC and exchange data with the underlying FEWS system.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <clientConfiguration xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/clientConfig.xsd"> <databaseServer> <!--jdbc url. jdbc:postgresql://host:port/database OR jdbc:oracle:thin:@//host:port/service_name OR jdbc:oracle:thin:@host:port:SID OR jdbc:oracle:thin:@TNSName OR jdbc:jtds:sqlserver://host:port/database, use DBVisualizer to test the url--> <url>jdbc:oracle:thin:@oraclex@dummy_hostname:1521:database<dummy_databasename</url> <user>user<<user>dummy_username</user> <!-- use F12 in explorer to encrypt password---> <encryptedPassword>PTEROds4OabQI=<<encryptedPassword>dummy_password_encrypted</encryptedPassword> </databaseServer> <!-- The JMSServer section is only required for the writing of timeseries For a read only instance this section must be omitted. --> <jmsServer> <appServerType>jboss</appServerType> <appServerName>jbossx.infra.xtr.deltares.nl<<appServerName>dummy_hostname_2</appServerName> <appServerPort>1099</appServerPort> <rootJNDI>/wd/nz/mc00/</rootJNDI> </jmsServer> <localCacheSizeMB>500</localCacheSizeMB> </clientConfiguration> |
...