It's also possible to run more then one database instance within the same server. This is why the /db thing is in every thing you do. You can't control the instances separately (i.e. shutting one down takes all down) but you can serve two different database directories. This hasn't been tested in quite a while but as far as I know it still works.

To set it up in config/system.xml you just copy the service entry for the XindiceService and in the root-collection element change the dbroot to point to the new database directory and change the name to whatever you want. The name is what is used in connections. There's maybe a little more to it then this, but overall it isn't too tough to setup.

On Friday, February 8, 2002, at 01:33 AM, Carsten Ziegert wrote:

Am 07.02.2002 22:21 Uhr schrieb "Amit Rohatgi" unter <[EMAIL PROTECTED]>:

Hi,

I have a question regarding running two different instances of dbxml over the same machine? I have tried running two different server insatnces at different port no's and it is running fine but using dbxml I can connect to the db default instance of db running at port 4080.

If I try to give the -u options I always gets an exception. And all this leaves me in jeopardy of how to run and access two different servers at the same time.

Did anybody among you have had tried this?

dbXML user


Some weeks ago, I had a dbXML and a Xindice server running in parallel.
I had some difficulties using the command line but from within a java prog it
worked fine. You only need a line like this to specify the port number:


database.setProperty("xindice.naming.ior", "http://summit-bmt.fh-hannover.
de:4081/NamingService”);


-- Carsten Ziegert Fachhochschule Hannover FB Informations- und Kommunikationswesen Ricklinger Stadtweg 120 30459 Hannover ++49-511-9296-768 http://summit-bmt.fh-hannover.de


Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/



Reply via email to