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 "Mark J. Stang" <ma...@earthlink.net> on 2002/03/25 22:51:44 UTC
Re: Install Windows
Which version of java?
Juozas Baliuka wrote:
> Hi,I have problems to setup Xindice on windows 98.I see it
> configuration problem, server starts but prints some stack
> trace. Client :................................................
> C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n addressbook ERROR
> : Server
> :.................................................viceManager.java:104)
>
> at
> org.apache.xindice.util.Configuration.processChildren(Configuration.j
> ava:684)
> at
> org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
> viceManager.java:90)
> at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
> at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
> at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
> at org.apache.xindice.server.Xindice.main(Xindice.java:96)
> Script: 'GET' added to script storage
> Service: 'db' started
> Service: 'HTTPServer' started @ http://juozas:4080/
> Service: 'APIService' started Server Running
> DEBUG>
> java.lang.IndexOutOfBoundsException
> at java.io.ByteArrayInputStream.read(Unknown Source)
> at
> org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
> at
> org.apache.xindice.core.filer.Paged.writeValue(Paged.java:215)
> at
> org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
> 173)
> at
> org.apache.xindice.core.Collection.putDocument(Collection.java:629)
> at
> org.apache.xindice.core.Collection.putObject(Collection.java:795)
> at
> org.apache.xindice.core.Collection.setObject(Collection.java:807)
> at
> org.apache.xindice.core.SystemCollection.saveSymbols(SystemCollection
> .java:202)
> at
> org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection
> .java:185)
> at
> org.apache.xindice.core.Collection.setConfig(Collection.java:175)
> at
> org.apache.xindice.core.CollectionManager.createCollection(Collection
> Manager.java:224)
> at
> org.apache.xindice.core.Collection.createCollection(Collection.java:2
> 50)
> at
> org.apache.xindice.client.corba.CollectionManagerServant.createCollec
> tion(CollectionManagerServant.java:107)
> at
> org.apache.xindice.client.corba.db.CollectionManagerPOA._invoke(Colle
> ctionManagerPOA.java:101)
> at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
> at
> org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
> java:750)
> at
> org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
> a:1467)
> at
> org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
> java:1410)
> at
> org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
> 7)
> at
> org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
> va:1557)
Re: Install Windows
Posted by Juozas Baliuka <ba...@centras.lt>.
I see it is some problem to put config. The same problem for all documents
on win98(java.lang.IndexOutOfBoundsException)
at
org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
at
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
viceManager.java:90)
at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
DEBUG>
java.lang.IndexOutOfBoundsException
at java.io.ByteArrayInputStream.read(Unknown Source)
at
org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:198)
at
org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
173)
at
org.apache.xindice.core.Collection.putDocument(Collection.java:629)
at
org.apache.xindice.core.Collection.setDocument(Collection.java:670)
at org.apache.xindice.core.Database.setConfig(Database.java:192)
at
org.apache.xindice.server.services.XindiceService.initialize(XindiceS
ervice.java:106)
at
org.apache.xindice.server.standard.StdServiceManager.addService(StdSe
rviceManager.java:166)
at
org.apache.xindice.server.standard.StdServiceManager$1.process(StdSer
viceManager.java:104)
at
org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
at
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
viceManager.java:90)
at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://juozas:4080/
Service: 'APIService' started
Server Running
> Try changing the name of the directory "xml-xindice-1.0" to something
> without "-" or "." in the name, e.g. "xindice".
> I remember having problems with those characters in file or directory
names
> when running Win98 / command line / Java apps.
>
> >> C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n addressbook ERROR :
>
> Regards
>
> Perry
>
Re: Install Windows
Posted by Perry Molendijk <pe...@inflexions.com>.
Try changing the name of the directory "xml-xindice-1.0" to something
without "-" or "." in the name, e.g. "xindice".
I remember having problems with those characters in file or directory names
when running Win98 / command line / Java apps.
>> C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n addressbook ERROR :
Regards
Perry
Re: Install Windows
Posted by Juozas Baliuka <ba...@centras.lt>.
Ok,
I think nobody can help me, I will solve this problem myself.
----- Original Message -----
From: Mark J. Stang
To: xindice-users@xml.apache.org
Sent: Tuesday, March 26, 2002 12:23 AM
Subject: Re: Install Windows
I have had problems in the past getting the .bat files to work properly
on 98. I usually just create one batch file to setup the environment and
run it that way. I don't think you have to build it yourself, just have the
environment set up correctly. Have you added any jars to your
java installation? If you have a pristine java installation and set up your
environment, Xindice should run. I haven't tried it lately... I have
been running on Mac OSX, Linux, NT and Win2K.
Mark
Juozas Baliuka wrote:
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) This is not the firs my problem on this kind of widows ( It is not my favorite "OS").It is possible I have problems because I don't used to *biuld.bat* to compile server,lcp.bat doe's not set LOCALCLASSPATH for me (it seems it adds some extra '\r' characters).I use *ant.bat* from my ANT_HOME to compile project.And I added all jars to CLASSPATH manualy to startup.bat from XINDICE_HOME\java\lib
----- Original Message -----
From: Mark J. Stang
To: xindice-users@xml.apache.org
Sent: Monday, March 25, 2002 10:51 PM
Subject: Re: Install Windows
Which version of java?
Juozas Baliuka wrote:
Hi,I have problems to setup Xindice on windows 98.I see it configuration problem, server starts but prints some stack trace. Client :................................................
C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n addressbook ERROR : Server :.................................................viceManager.java:104)
at org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
at org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
viceManager.java:90)
at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://juozas:4080/
Service: 'APIService' started Server Running
DEBUG>
java.lang.IndexOutOfBoundsException
at java.io.ByteArrayInputStream.read(Unknown Source)
at org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:215)
at org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
173)
at org.apache.xindice.core.Collection.putDocument(Collection.java:629)
at org.apache.xindice.core.Collection.putObject(Collection.java:795)
at org.apache.xindice.core.Collection.setObject(Collection.java:807)
at org.apache.xindice.core.SystemCollection.saveSymbols(SystemCollection
.java:202)
at org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection
.java:185)
at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
at org.apache.xindice.core.CollectionManager.createCollection(Collection
Manager.java:224)
at org.apache.xindice.core.Collection.createCollection(Collection.java:2
50)
at org.apache.xindice.client.corba.CollectionManagerServant.createCollec
tion(CollectionManagerServant.java:107)
at org.apache.xindice.client.corba.db.CollectionManagerPOA._invoke(Colle
ctionManagerPOA.java:101)
at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
at org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
java:750)
at org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
a:1467)
at org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
java:1410)
at org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
7)
at org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
va:1557)
Re: Install Windows
Posted by "Mark J. Stang" <ma...@earthlink.net>.
I have had problems in the past getting the .bat files to work properly
on 98. I usually just create one batch file to setup the environment
and
run it that way. I don't think you have to build it yourself, just
have the
environment set up correctly. Have you added any jars to your
java installation? If you have a pristine java installation and set up
your
environment, Xindice should run. I haven't tried it lately... I have
been running on Mac OSX, Linux, NT and Win2K.
Mark
Juozas Baliuka wrote:
> java version "1.3.1_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
> Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) This is
> not the firs my problem on this kind of widows ( It is not my favorite
> "OS").It is possible I have problems because I don't used to
> *biuld.bat* to compile server,lcp.bat doe's not set LOCALCLASSPATH for
> me (it seems it adds some extra '\r' characters).I use *ant.bat*
> from my ANT_HOME to compile project.And I added all jars to CLASSPATH
> manualy to startup.bat from XINDICE_HOME\java\lib
>
> ----- Original Message -----
> From: Mark J. Stang
> To: xindice-users@xml.apache.org
> Sent: Monday, March 25, 2002 10:51 PM
> Subject: Re: Install Windows
> Which version of java?
>
> Juozas Baliuka wrote:
>
> > Hi,I have problems to setup Xindice on windows 98.I see it
> > configuration problem, server starts but prints some stack
> > trace. Client
> > :................................................
> > C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n
> > addressbook ERROR : Server
> > :.................................................viceManager.java:104)
> >
> > at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.j
> >
> > ava:684)
> > at
> > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
> >
> > viceManager.java:90)
> > at
> > org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
> > at
> > org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
> > at
> > org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
> > at
> > org.apache.xindice.server.Xindice.main(Xindice.java:96)
> > Script: 'GET' added to script storage
> > Service: 'db' started
> > Service: 'HTTPServer' started @ http://juozas:4080/
> > Service: 'APIService' started Server Running
> > DEBUG>
> > java.lang.IndexOutOfBoundsException
> > at java.io.ByteArrayInputStream.read(Unknown
> > Source)
> > at
> > org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
> >
> > at
> > org.apache.xindice.core.filer.Paged.writeValue(Paged.java:215)
> >
> > at
> > org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
> >
> > 173)
> > at
> > org.apache.xindice.core.Collection.putDocument(Collection.java:629)
> >
> > at
> > org.apache.xindice.core.Collection.putObject(Collection.java:795)
> >
> > at
> > org.apache.xindice.core.Collection.setObject(Collection.java:807)
> >
> > at
> > org.apache.xindice.core.SystemCollection.saveSymbols(SystemCollection
> >
> > .java:202)
> > at
> > org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection
> >
> > .java:185)
> > at
> > org.apache.xindice.core.Collection.setConfig(Collection.java:175)
> >
> > at
> > org.apache.xindice.core.CollectionManager.createCollection(Collection
> >
> > Manager.java:224)
> > at
> > org.apache.xindice.core.Collection.createCollection(Collection.java:2
> >
> > 50)
> > at
> > org.apache.xindice.client.corba.CollectionManagerServant.createCollec
> >
> > tion(CollectionManagerServant.java:107)
> > at
> > org.apache.xindice.client.corba.db.CollectionManagerPOA._invoke(Colle
> >
> > ctionManagerPOA.java:101)
> > at
> > org.openorb.adapter.poa.POA.dispatch(POA.java:975)
> > at
> > org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
> >
> > java:750)
> > at
> > org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
> >
> > a:1467)
> > at
> > org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
> >
> > java:1410)
> > at
> > org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
> >
> > 7)
> > at
> > org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
> >
> > va:1557)
>
Re: Install Windows
Posted by Juozas Baliuka <ba...@centras.lt>.
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
This is not the firs my problem on this kind of widows ( It is not my favorite "OS").
It is possible I have problems because I don't used to *biuld.bat* to compile server,
lcp.bat doe's not set LOCALCLASSPATH for me (it seems it adds some extra '\r' characters).
I use *ant.bat* from my ANT_HOME to compile project.
And I added all jars to CLASSPATH manualy to startup.bat from XINDICE_HOME\java\lib
----- Original Message -----
From: Mark J. Stang
To: xindice-users@xml.apache.org
Sent: Monday, March 25, 2002 10:51 PM
Subject: Re: Install Windows
Which version of java?
Juozas Baliuka wrote:
Hi,I have problems to setup Xindice on windows 98.I see it configuration problem, server starts but prints some stack trace. Client :................................................
C:\xml-xindice-1.0\bin>xindiceadmin ac -c /db -n addressbook ERROR : Server :.................................................viceManager.java:104)
at org.apache.xindice.util.Configuration.processChildren(Configuration.j
ava:684)
at org.apache.xindice.server.standard.StdServiceManager.setConfig(StdSer
viceManager.java:90)
at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
Script: 'GET' added to script storage
Service: 'db' started
Service: 'HTTPServer' started @ http://juozas:4080/
Service: 'APIService' started Server Running
DEBUG>
java.lang.IndexOutOfBoundsException
at java.io.ByteArrayInputStream.read(Unknown Source)
at org.apache.xindice.core.filer.Paged$Page.streamFrom(Paged.java:1001)
at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:215)
at org.apache.xindice.core.filer.BTreeFiler.writeRecord(BTreeFiler.java:
173)
at org.apache.xindice.core.Collection.putDocument(Collection.java:629)
at org.apache.xindice.core.Collection.putObject(Collection.java:795)
at org.apache.xindice.core.Collection.setObject(Collection.java:807)
at org.apache.xindice.core.SystemCollection.saveSymbols(SystemCollection
.java:202)
at org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection
.java:185)
at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
at org.apache.xindice.core.CollectionManager.createCollection(Collection
Manager.java:224)
at org.apache.xindice.core.Collection.createCollection(Collection.java:2
50)
at org.apache.xindice.client.corba.CollectionManagerServant.createCollec
tion(CollectionManagerServant.java:107)
at org.apache.xindice.client.corba.db.CollectionManagerPOA._invoke(Colle
ctionManagerPOA.java:101)
at org.openorb.adapter.poa.POA.dispatch(POA.java:975)
at org.openorb.net.AbstractServerRequest.dispatch(AbstractServerRequest.
java:750)
at org.openorb.net.ServerManagerImpl.serve_request(ServerManagerImpl.jav
a:1467)
at org.openorb.net.ServerManagerImpl.thread_pool_main(ServerManagerImpl.
java:1410)
at org.openorb.net.ServerManagerImpl.access$200(ServerManagerImpl.java:7
7)
at org.openorb.net.ServerManagerImpl$PoolThread.run(ServerManagerImpl.ja
va:1557)