You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Jim Branecki <Ji...@sparta.com> on 2002/01/15 01:02:28 UTC

Examples Don't Run

I am working with current CVS version. I can add/list collections and
documents from the command line. I can use the gopher port and display the
tables. I can't get any of the examples to run. Guide/Example1 looks like it
wants /db/root/ocs and /db/addressbook, API wants /db/root/ocs, and it looks
like Addressbook wants /db/addressbook. I set all of the above from the
command line. The two from the command line (run.bat) give XML:DB Exception
occured 400. The JSP addressbook example in tomcat 4.0  just dumps in tomcat
when I try to do anything list/add/search etc. So my question to the group
is what part of the documentation should I be reading? If this is a case of
"Assumed Knowledge" for using xindice then I and probably allot of other
people who will venture in won't have this knowledge either. Because I want
this to work, especially Tomcat, I respectfully ask for any advice/examples
that someone can offer me.

Thanks,

Jim


Re: Help Error starting Xindice

Posted by Mohan Bethur <mb...@netscape.com>.
Thanks Kimbro, Now I am running into the same problem as when I started Xindice
in NT (this time its from UNIX environment) which is given below. Any help will
be appreciated.

Thanks
Mohan

Kimbro Staken wrote:

> In dbXML those classes are in juggernaut-1.0.jar so you need it on the
> classpath. In Xindice we rolled them back into the main source tree.
>
> On Monday, January 14, 2002, at 06:37 PM, Mohan Bethur wrote:
>
> > Hi,
> >
> > I tried starting Xindice on Unix and this is the error I get.
> >
> > Starting dbXML
> > --------------
> >
> > dbXML 1.0b4 (Mustard)
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/dbxml/server/Kern
> > el
> >         at org.dbxml.core.server.dbXML.main(dbXML.java:91)
> >
> > Then I checked the dbxml.jar file and I found out that  none of the
> > classes in
> > org.dbxml.server.* are bundled in dbxml.jar. I also checled the src, I
> > didn't. see
> > this directory. Am I missing anything. Can anyone please have any
> > pointers or help
> > me.
> >
> > Thanks
> > Mohan
> >
> > The one below was on Windows NT.
> >
> >> Hi,
> >>
> >> I get the following erro when I start Xindice, Any help will be
> >> appreciated.
> >>
> >> Thanks
> >> Mohan
> >>
> >> dbXML 1.0b4 (Mustard)
> >>
> >> Database: 'db' initializing
> >> Script: 'GET' added to script storage
> >> Service: 'db' started
> >> Service: 'GopherServer' started @ gopher://pc632261:4070/
> >> Service: 'HTTPServer' started @ http://pc632261:4080/
> >> DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete init orb
> >> singlet
> >> on is not openorb singleton.
> >> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass",
> >> "org.openorb.C
> >> ORBA.ORBSingleton");
> >> As the first statement in your application.  minor code: 0  completed: No
> >> DEBUG>
> >> org.omg.CORBA.INITIALIZE: Unable to complete init orb singleton is not
> >> openorb s
> >> ingleton.
> >> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass",
> >> "org.openorb.C
> >> ORBA.ORBSingleton");
> >> As the first statement in your application.  minor code: 0  completed: No
> >>         at
> >> org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:105)
> >>         at org.openorb.CORBA.ORB.set_parameters(ORB.java:646)
> >>         at org.omg.CORBA.ORB.init(ORB.java:353)
> >>         at
> >> org.dbxml.core.server.services.APIService.start(APIService.java, Comp
> >> iled Code)
> >>         at
> >> org.dbxml.server.standard.StdServiceManager.startServices(StdServiceM
> >> anager.java, Compiled Code)
> >>         at org.dbxml.server.Kernel.startServices(Kernel.java:477)
> >>         at org.dbxml.server.Kernel.<init>(Kernel.java:148)
> >>         at org.dbxml.core.server.dbXML.main(dbXML.java:89)
> >> DEBUG> Most likely your CORBA naming service couldn't be reached.
> >> Service: 'APIService' started
> >>
> >> Server Running
> >
> >
> >
> Kimbro Staken
> XML Database Software, Consulting and Writing
> http://www.xmldatabases.org/


Re: Help Error starting Xindice

Posted by Kimbro Staken <ks...@dbxmlgroup.com>.
In dbXML those classes are in juggernaut-1.0.jar so you need it on the 
classpath. In Xindice we rolled them back into the main source tree.

On Monday, January 14, 2002, at 06:37 PM, Mohan Bethur wrote:

> Hi,
>
> I tried starting Xindice on Unix and this is the error I get.
>
> Starting dbXML
> --------------
>
> dbXML 1.0b4 (Mustard)
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/dbxml/server/Kern
> el
>         at org.dbxml.core.server.dbXML.main(dbXML.java:91)
>
> Then I checked the dbxml.jar file and I found out that  none of the 
> classes in
> org.dbxml.server.* are bundled in dbxml.jar. I also checled the src, I 
> didn't. see
> this directory. Am I missing anything. Can anyone please have any 
> pointers or help
> me.
>
> Thanks
> Mohan
>
> The one below was on Windows NT.
>
>> Hi,
>>
>> I get the following erro when I start Xindice, Any help will be 
>> appreciated.
>>
>> Thanks
>> Mohan
>>
>> dbXML 1.0b4 (Mustard)
>>
>> Database: 'db' initializing
>> Script: 'GET' added to script storage
>> Service: 'db' started
>> Service: 'GopherServer' started @ gopher://pc632261:4070/
>> Service: 'HTTPServer' started @ http://pc632261:4080/
>> DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete init orb 
>> singlet
>> on is not openorb singleton.
>> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", 
>> "org.openorb.C
>> ORBA.ORBSingleton");
>> As the first statement in your application.  minor code: 0  completed: No
>> DEBUG>
>> org.omg.CORBA.INITIALIZE: Unable to complete init orb singleton is not 
>> openorb s
>> ingleton.
>> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", 
>> "org.openorb.C
>> ORBA.ORBSingleton");
>> As the first statement in your application.  minor code: 0  completed: No
>>         at 
>> org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:105)
>>         at org.openorb.CORBA.ORB.set_parameters(ORB.java:646)
>>         at org.omg.CORBA.ORB.init(ORB.java:353)
>>         at 
>> org.dbxml.core.server.services.APIService.start(APIService.java, Comp
>> iled Code)
>>         at 
>> org.dbxml.server.standard.StdServiceManager.startServices(StdServiceM
>> anager.java, Compiled Code)
>>         at org.dbxml.server.Kernel.startServices(Kernel.java:477)
>>         at org.dbxml.server.Kernel.<init>(Kernel.java:148)
>>         at org.dbxml.core.server.dbXML.main(dbXML.java:89)
>> DEBUG> Most likely your CORBA naming service couldn't be reached.
>> Service: 'APIService' started
>>
>> Server Running
>
>
>
Kimbro Staken
XML Database Software, Consulting and Writing
http://www.xmldatabases.org/


Re: Help Error starting Xindice

Posted by Mohan Bethur <mb...@netscape.com>.
Hi,

I tried starting Xindice on Unix and this is the error I get.

Starting dbXML
--------------

dbXML 1.0b4 (Mustard)

Exception in thread "main" java.lang.NoClassDefFoundError: org/dbxml/server/Kern
el
        at org.dbxml.core.server.dbXML.main(dbXML.java:91)

Then I checked the dbxml.jar file and I found out that  none of the classes in
org.dbxml.server.* are bundled in dbxml.jar. I also checled the src, I didn't. see
this directory. Am I missing anything. Can anyone please have any pointers or help
me.

Thanks
Mohan

The one below was on Windows NT.

> Hi,
>
> I get the following erro when I start Xindice, Any help will be appreciated.
>
> Thanks
> Mohan
>
> dbXML 1.0b4 (Mustard)
>
> Database: 'db' initializing
> Script: 'GET' added to script storage
> Service: 'db' started
> Service: 'GopherServer' started @ gopher://pc632261:4070/
> Service: 'HTTPServer' started @ http://pc632261:4080/
> DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete init orb singlet
> on is not openorb singleton.
> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", "org.openorb.C
> ORBA.ORBSingleton");
> As the first statement in your application.  minor code: 0  completed: No
> DEBUG>
> org.omg.CORBA.INITIALIZE: Unable to complete init orb singleton is not openorb s
> ingleton.
> Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", "org.openorb.C
> ORBA.ORBSingleton");
> As the first statement in your application.  minor code: 0  completed: No
>         at org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:105)
>         at org.openorb.CORBA.ORB.set_parameters(ORB.java:646)
>         at org.omg.CORBA.ORB.init(ORB.java:353)
>         at org.dbxml.core.server.services.APIService.start(APIService.java, Comp
> iled Code)
>         at org.dbxml.server.standard.StdServiceManager.startServices(StdServiceM
> anager.java, Compiled Code)
>         at org.dbxml.server.Kernel.startServices(Kernel.java:477)
>         at org.dbxml.server.Kernel.<init>(Kernel.java:148)
>         at org.dbxml.core.server.dbXML.main(dbXML.java:89)
> DEBUG> Most likely your CORBA naming service couldn't be reached.
> Service: 'APIService' started
>
> Server Running


Help Error starting Xindice

Posted by Mohan Bethur <mb...@netscape.com>.
Hi,

I get the following erro when I start Xindice, Any help will be appreciated.

Thanks
Mohan

dbXML 1.0b4 (Mustard)

Database: 'db' initializing
Script: 'GET' added to script storage
Service: 'db' started
Service: 'GopherServer' started @ gopher://pc632261:4070/
Service: 'HTTPServer' started @ http://pc632261:4080/
DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete init orb singlet
on is not openorb singleton.
Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", "org.openorb.C
ORBA.ORBSingleton");
As the first statement in your application.  minor code: 0  completed: No
DEBUG>
org.omg.CORBA.INITIALIZE: Unable to complete init orb singleton is not openorb s
ingleton.
Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", "org.openorb.C
ORBA.ORBSingleton");
As the first statement in your application.  minor code: 0  completed: No
        at org.openorb.CORBA.kernel.OpenORBLoader.init(OpenORBLoader.java:105)
        at org.openorb.CORBA.ORB.set_parameters(ORB.java:646)
        at org.omg.CORBA.ORB.init(ORB.java:353)
        at org.dbxml.core.server.services.APIService.start(APIService.java, Comp
iled Code)
        at org.dbxml.server.standard.StdServiceManager.startServices(StdServiceM
anager.java, Compiled Code)
        at org.dbxml.server.Kernel.startServices(Kernel.java:477)
        at org.dbxml.server.Kernel.<init>(Kernel.java:148)
        at org.dbxml.core.server.dbXML.main(dbXML.java:89)
DEBUG> Most likely your CORBA naming service couldn't be reached.
Service: 'APIService' started

Server Running



Re: Examples Don't Run

Posted by "Mark J. Stang" <ma...@earthlink.net>.
I think someone said that the installation doesn't create the proper
collections for the examples.   Add a collection, add a document
and then try Example1.

Mark

Jim Branecki wrote:

> I am working with current CVS version. I can add/list collections and
> documents from the command line. I can use the gopher port and display the
> tables. I can't get any of the examples to run. Guide/Example1 looks like it
> wants /db/root/ocs and /db/addressbook, API wants /db/root/ocs, and it looks
> like Addressbook wants /db/addressbook. I set all of the above from the
> command line. The two from the command line (run.bat) give XML:DB Exception
> occured 400. The JSP addressbook example in tomcat 4.0  just dumps in tomcat
> when I try to do anything list/add/search etc. So my question to the group
> is what part of the documentation should I be reading? If this is a case of
> "Assumed Knowledge" for using xindice then I and probably allot of other
> people who will venture in won't have this knowledge either. Because I want
> this to work, especially Tomcat, I respectfully ask for any advice/examples
> that someone can offer me.
>
> Thanks,
>
> Jim