I still have problems, it may be something to do with CORBA IOR, when I parsed
my
db_bootstrap.ior, it gave my IP address and port number (10.169.76.15:32953).
This
is the stack trace I get.bu putting some debug statements in AddCollection.java
and
DatabaseImpl.java
Can anyone please help me.
mohit[mbethur]:/u/mbethur/tools/xml-xindice/ xindiceadmin ac -c
xindice://10.169.76.15:4080/db -n root
org.apache.xindice.client.corba.db._DatabaseStub:[EMAIL PROTECTED]
org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
at org.omg.CORBA.NO_IMPLEMENT.<init>(NO_IMPLEMENT.java:69)
at org.omg.CORBA.NO_IMPLEMENT.<init>(NO_IMPLEMENT.java:47)
at org.omg.CORBA.NO_IMPLEMENT.<init>(NO_IMPLEMENT.java:38)
at org.omg.CORBA.portable.Delegate.releaseReply(Delegate.java:328)
at org.omg.CORBA.portable.ObjectImpl._releaseReply(Compiled Code)
at
org.apache.xindice.client.corba.db._DatabaseStub.getCollection(Compiled
Code)
at
org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:223)
at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:198)
at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:158)
at
org.apache.xindice.tools.command.AddCollection.execute(AddCollection.java:104)
at org.apache.xindice.tools.XMLTools.execute(Compiled Code)
at org.apache.xindice.tools.XMLTools.process(Compiled Code)
at org.apache.xindice.tools.XMLAdminTools.main(XMLAdminTools.java:89)
org.xmldb.api.base.XMLDBException:
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at org.xmldb.api.base.XMLDBException.<init>(XMLDBException.java:85)
at
org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:247)
at
org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.java:238)
at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:198)
at org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:158)
at
org.apache.xindice.tools.command.AddCollection.execute(AddCollection.java:104)
at org.apache.xindice.tools.XMLTools.execute(Compiled Code)
at org.apache.xindice.tools.XMLTools.process(Compiled Code)
at org.apache.xindice.tools.XMLAdminTools.main(XMLAdminTools.java:89)
ERROR :
Adrian Chong wrote:
> try
>
> indiceadmin ac -c xindice://mohit:4080/db -n root
>
> --Adrian
>
> [EMAIL PROTECTED] wrote:
>
> > I have this problem too, I checked out Xindice from CVS yesterday and built
> > it.
> > When I run the following command I don't get anything.
> >
> > mohit[mbethur]:/u/mbethur/Xindice/xml-xindice/ xindice lc -c
> > xindice://mohit:4080/db
> > mohit[mbethur]:/u/mbethur/Xindice/xml-xindice/
> >
> > This is expected since there are only "system" collection. (should it
> > display
> > the system collection too??)
> >
> > and when I try to add a collection, I get this error message :
> >
> > mohit[mbethur]:/u/mbethur/Xindice/xml-xindice/ xindiceadmin ac -c /db -n
> > root
> > -u xindice://mohit:4080
> > ERROR : A connection to the Database instance 'db' could not be created.
> > Error: Invalid URL: xindice://mohit:4080
> >
> > Can anyone please help me.
> >
> > Thanks
> > Mohan
> >
> > Carsten Ziegert wrote:
> >
> > > Am 17.01.2002 12:02 Uhr schrieb "Adrian Chong" unter <[EMAIL PROTECTED]>:
> > >
> > > > Hi,
> > > >
> > > > If I run the command line tool dbxml or dbxmladmin to access the dbxml
> > > > (version 1.0b4) server locally, everything is ok so far. But if I access
> > > > the dbxml server remotely as in the user guide, for example,
> > > >
> > > > dbxml lc -c /db -u http://my_host:4080
> > > >
> > > > I will give me an error:
> > > >
> > > > ERROR: A connection to the Database instance 'db' could not be created.
> > > > Error: Invalid URL: http://my_host:4080/NamingService.
> > > >
> > > > I have tried xmlindice://my_host:4080 and xmldb:dbxml://my_host:4080,
> > > > theyl do not work. I also tried modifying config/system.xml to uncomment
> > > > the line with "http://localhost:4080/NamingService", it won't work too.
> > > >
> > > > Any idea? How to fix it? Many thanks.
> > > >
> > > > --Adrian
> > > >
> > >
> > > Hi Adrian,
> > >
> > > I had similar error messages when I tried this with dbxml.
> > > Now I've switched to Xindice and it seems to work:
> > >
> > > [EMAIL PROTECTED]:~/tmp$ xindice ld -c
> > > xindice://summit-bmt.fh-hannover.de:4080/db/summit/config
> > >
> > > allconcepts
> > > argstruct
> > > config
> > > contextexp
> > > directories
> > > nominal
> > > nomsyn
> > > predsyntax
> > > semroles
> > > verbsyn
> > >
> > > Total documents: 10
> > >
> > > Carsten
> > >
> > > --
> > > Carsten Ziegert
> > > Fachhochschule Hannover
> > > FB Informations- und Kommunikationswesen
> > > Ricklinger Stadtweg 120
> > > 30459 Hannover
> > > ++49-511-9296-768
> > > http://summit-bmt.fh-hannover.de