Hi All,
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
far...
I tried what you suggested, but that does not work either. The problem is
that, in my directory structure:
./Tomcat/webapps:
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
message /exist/status
description The requested resource (/exist/status) is not available.
Also, if I go one level up, it shows me the directory listings available
under ./Tomcat/webapps
I do not see any log mess. generated under:
./Tomcat/webapps/exist/WEB-INF/logs
This is all I do:
Class c = Class.forName("org.exist.xmldb.DatabaseImpl");
Database database = (Database) c.newInstance();
database.setProperty("create-database", "true");
DatabaseManager.registerDatabase(database);
library = DatabaseManager.getCollection(
"xmldb:exist://localhost:8080/exist/xmlrpc");
I think I do not have the configuration set up properly. Would appreciate
if
you could throw some light on this issue...
Thanks again for your help and time...
Regards,
---AJ
|