I just started using eXist DB for one of our ongoing projects. For this, =
I want to run eXist through the 'Tomcat' servlet engine. However, am =
getting issues while configuring the same... I unpack the 'exist.war' =
./Tomcat/webapps/exist and then have the conf.xml file under =
./Tomcat/webapps/exist/WEB-INF. I am running an embedded tomcat which =
would start the eXist DB.=20
However, when the embedded tomcat tries to register and start the eXist =
DB server, there are some issues. It says it has registered the DB =
without any errors. But when I try to browse through: =
localhost:8080/exist/index.xml, it says:=20
description The requested resource (/exist/index.xml) is not available.
I can copy paste some code snipplets if required. Would really =
appreciate if someone could throw some light on this... Thanks in =
advance... Have a nice day,
From: Anil N. Juthani <ajuthani4@ho...> - 2006-12-01 15:09:26
Sorry, by mistake posted it on the 'exist-commits' list....
Thanks a lot for your reply.... I tried the few suggestions, but no luck so
I tried what you suggested, but that does not work either. The problem is
that, in my directory structure:
I have, eXist/WEB-INF/data and eXist/WEB-INF/logs
Also, I have ./Tomcat/webapps/index.xml. When I start the Embedded Tomcat
server and try to register eXist DB with it, I use:
"xmldb:exist://localhost:8080/exist/xmlrpc"; as the URI path.
When I try to access the page as: http://localhost:8080/exist/index.xml, it
opens up the file in 'xml' inside the browser, instead of the browser page
as mentioned in the document. If I try to access:
http://localhost:8080/exist/status, it gives me the message:
type Status report
description The requested resource (/exist/status) is not available.
Also, if I go one level up, it shows me the directory listings available
I do not see any log mess. generated under:
This is all I do:
Class c = Class.forName("org.exist.xmldb.DatabaseImpl");
Database database = (Database) c.newInstance();
library = DatabaseManager.getCollection(
I think I do not have the configuration set up properly. Would appreciate
you could throw some light on this issue...
Thanks again for your help and time...