How to stop DODS for looking for config file

Boris Klug <[email protected]>
Newsgroups gmane.comp.java.enhydra.general
Organization control IT GmbH
Message-ID <[email protected]>
Hi!

we wrote a application using Enhydra 3 and want to move them to Enhydra 5.1. 
How can we do this without using the dodsConf.xml and all the other files?

We do database access using the DBConnection from Enhydra but with normal
JDBC - but when I start our application, Enhydra complains about not finding 
dodsConf.xml (see below).

Can you please reply to my personal email address.

Thank you to all in advance.

--------------------------------------------------------------------------------------------
15:55:50,347 DEBUG [       main] root -     Class path: ./src/
java.io.FileNotFoundException: 
/home/klug/projects/PdisWuiBI/dods/build/conf/dodsConf.xml (Datei oder 
Verzeichnis nicht gefunden)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:103)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
        at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:148)
        at java.net.URL.openStream(URL.java:955)
        at 
org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
        at 
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:493)
        at 
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1139)
        at org.enhydra.xml.XMLDocumentFactory.parse(Unknown Source)
        at org.enhydra.dods.Common.init(Unknown Source)
        at org.enhydra.dods.Common.<clinit>(Unknown Source)
        at 
com.lutris.appserver.server.sql.StandardDatabaseManager.loadLogicalDatabase(Unknown 
Source)
        at 
com.lutris.appserver.server.sql.StandardDatabaseManager.<init>(Unknown 
Source)
        at 
com.lutris.appserver.server.StandardApplication.createDatabaseManager(Unknown 
Source)
        at com.lutris.appserver.server.StandardApplication.startup(Unknown 
Source)
        at 
de.control.pdis.wui.enhydra.PDISEnhydraApp.startup(PDISEnhydraApp.java:90)
        at 
com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServlet.changeToRunningState(Unknown 
Source)
        at 
com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServlet.ensureAppIsRunning(Unknown 
Source)
        at 
com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationServlet.init(Unknown 
Source)
        at org.apache.tomcat.core.ServletWrapper$2.method(Unknown Source)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(Unknown 
Source)
        at org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown Source)
        at org.apache.tomcat.core.Context.loadServlets(Unknown Source)
        at org.apache.tomcat.core.Context.setupLoadableServlet(Unknown Source)
        at org.enhydra.servlet.servletManager.ServletManager.start(Unknown 
Source)
        at 
org.enhydra.servlet.servletManager.ServletManager.startAllContexts(Unknown 
Source)
        at org.enhydra.servlet.ServletContainer.readConfigFile(Unknown Source)
        at org.enhydra.servlet.ServletContainer.start(Unknown Source)
        at com.lutris.multiServer.MultiServer.start(Unknown Source)
        at com.lutris.multiServer.MultiServer.main(Unknown Source)
15:55:50,640 ERROR [       main] root - Unable to change application to 
running state

-- 
Dipl. Inform. Boris Klug, control IT GmbH, Germany
Fon: +49 261 92748-321    Fax: +49 261 92748-480
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.