Your Windows PATH variable needs to have %JAVA_HOME%\bin before WINNT\System32, so you are running the JDK's java.exe instead of Microsoft's.
- Mark -----Original Message----- From: Mark J. Stang [mailto:[EMAIL PROTECTED] Sent: Sunday, March 03, 2002 3:09 AM To: [email protected] Subject: Re: Xindice 1.0RC1 startup error In the last two days I have installed Xindice on a Mac OSX, a linux Red Hat 7.2 and a Windows NT box. Do I really have to rebuild it on windows to get it to work? I am running into this same problem. Why don't I run into it on any of the other platforms? I am running At least that is how the e-mail started, then I did a "java -fullversion" and of course I had a 1.2.2 java.exe in my system32 directory!!! Deleted and Xindice came right up! Mark Mohan Bethur wrote: > Do you have the source code,if you have you can modify the following > java file. which is in Java directory > > /java/src/org/apache/xxindice/server/service/APIService.java. > > Change > private static final String SINGLETON = "singleton" > to > private static final String SINGLETON = "singletonclass" > > and add the following line > System.setProperty("org.omg.CORBA.ORBSingletonClass", > "org.openorb.CORBA.ORBSingleton"); > > after this line. > orbConfig.put("org.omg.CORBA,ORBSingletoonClass",corba.getAttribute(SI > NGLETON)); > > Thanks > Mohan > > Umit VARDAR wrote: > > > Hello all, > > > > I 've downloaded Xindice 1.0RC1 and tried to run it. I am getting > > the following error: > > > > c:\xindice >startup > > java -classpath > > "c:\Xindice\java\lib\Xindice.jar;c:\Xindice\java\lib\ant-1.4.1.jar;c > > :\Xindic > > e\java\lib\examples.jar;c:\Xindice\java\lib\infozone-tools.jar;c:\Xindic e\ja > > va\lib\openorb-1.2.0.jar;c:\Xindice\java\lib\openorb_tools-1.2.0.jar;c:\ Xind > > ice\java\lib\servlet.jar;c:\Xindice\java\lib\xalan-2.0.1.jar;c:\Xindice\ java > > \lib\xerces-1.4.3.jar;c:\Xindice\java\lib\xindice.jar;c:\Xindice\java\li b\xm > > l-apis-1.0.jar;c:\Xindice\java\lib\xmldb-sdk.jar;c:\Xindice\java\lib\xml db-x > > update.jar;c:\Xindice\java\lib\xmldb.jar;c:\jdk1.3.1\lib\tools.jar" -noverif > > y org.apache.xindice.core.server.Xindice c:\Xindice\config\system.xml > > > > Xindice 1.0rc1 (DarkHorse) > > > > Database: 'db' initializing > > Script: 'GET' added to script storage > > Service: 'db' started > > Service: 'GopherServer' started @ gopher://vardar:4070/ > > Service: 'HTTPServer' started @ http://vardar:4080/ > > Service: 'APIService' started > > DEBUG> APIService: org.omg.CORBA.INITIALIZE: Unable to complete init > > DEBUG> orb > > singleton is not openorb singleton. > > Please use: System.setProperty("org.omg.CORBA.ORBSingletonClass", > > "org.openorb.CORBA.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 singleton. Please use: > > System.setProperty("org.omg.CORBA.ORBSingletonClass", > > "org.openorb.CORBA.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.apache.xindice.server.services.APIService.start(Unknown Source) > > at > > org.apache.xindice.server.standard.StdServiceManager.startServices(Unkno wn > > Source) > > at org.apache.xindice.server.Kernel.startServices(Unknown Source) > > at org.apache.xindice.server.Kernel.<init>(Unknown Source) > > at org.apache.xindice.server.Xindice.main(Unknown Source) > > DEBUG> Most likely your CORBA naming service couldn't be reached. > > Server Running > > > > Any ideas. > > > > Regards. > > Umit VARDAR
