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 Christoph Göldner <ch...@web.de> on 2002/05/16 01:17:56 UTC

IOExceptions at startup

Hello,

I get several exeptions when starting my xindice server.
I think I've made all the path-settings correctly.
How can I solve these problems,
here is my stack-trace:






java -classpath
"c:\extras\j2sdk\server.jar;c:\extras\j2sdk\servlet.jar;c:\extras\j2sdk\classes;c:\extras\j2sdk\lib\xmlrpc-1.1.jar;c:\Extras\Xindice\java\lib\xindice.jar;.;\config;C:\Extras\Xindice\java\lib\ANT-14~1.JAR

;C:\Extras\Xindice\java\lib\EXAMPLES.JAR

;C:\Extras\Xindice\java\lib\INFOZO~1.JAR

;C:\Extras\Xindice\java\lib\OPENOR~1.JAR

;C:\Extras\Xindice\java\lib\OPENOR~2.JAR

;C:\Extras\Xindice\java\lib\XALAN-~1.JAR

;C:\Extras\Xindice\java\lib\XERCES~1.JAR

;C:\Extras\Xindice\java\lib\XINDICE.JAR

;C:\Extras\Xindice\java\lib\XML-AP~1.JAR

;C:\Extras\Xindice\java\lib\XMLDB-~1.JAR

;C:\Extras\Xindice\java\lib\XMLDB-~2.JAR

;C:\Extras\Xindice\java\lib\XMLDB.JAR

;C:\Extras\Xindice\java\lib\APACHE~1.JAR

;C:\Extras\Xindice\java\lib\XINDIC~1.JAR

;C:\Extras\J2SDK\lib\tools.jar

" -noverify org.apache.xindice.core.server.Xindice
C:\Extras\Xindice\config\system.xml

Xindice 1.0 (Birthday)

Database: 'db' initializing
DEBUG>
java.io.IOException: Der Parameter stimmt nicht
 at java.io.RandomAccessFile.seek(Native Method)
 at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
 at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
 at
org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)

 at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
 at org.apache.xindice.core.Collection.getObject(Collection.java:760)
 at
org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection.java:182)

 at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
 at
org.apache.xindice.core.CollectionManager$1.process(CollectionManager.java:96)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at
org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)

 at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
 at
org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)

 at org.apache.xindice.core.Database.setConfig(Database.java:155)
 at
org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)

 at
org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)

 at
org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
 at java.io.RandomAccessFile.seek(Native Method)
 at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
 at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
 at
org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)

 at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
 at org.apache.xindice.core.Collection.putDocument(Collection.java:624)
 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$1.process(CollectionManager.java:96)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at
org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)

 at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
 at
org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)

 at org.apache.xindice.core.Database.setConfig(Database.java:155)
 at
org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)

 at
org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)

 at
org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
 at java.io.RandomAccessFile.seek(Native Method)
 at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
 at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
 at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:207)
 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$1.process(CollectionManager.java:96)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at org.apache.xindice.core.CollectionManager.setConfig(ColleScript:
'GET' added to script storagectionManager.java:92)
 at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
 at
org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)

 at org.apache.xindice.core.Database.setConfig(Database.java:155)
 at
org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)

 at
org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)

 at
org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)

 at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)

 at
org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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)
ERROR: Component class 'org.xmldatabases.xmlrpc.XMLRPCHandler' not
found

Service: 'db' started
Service: 'APIService' started

ERROR: Could not start service 'HTTPServer'

DEBUG> APIService: org.omg.CORBA.INITIALIZE: can't instantiate default
ORB implementation org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0
completed: No
DEBUG>
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0  completed: No
 at org.omg.CORBA.ORB.create_impl(ORB.java:308)
 at org.omg.CORBA.ORB.init(ORB.java:345)
 at
org.apache.xindice.server.services.APIService.start(APIService.java:187)

 at
org.apache.xindice.server.standard.StdServiceManager.startServices(StdServiceManager.java:131)

 at org.apache.xindice.server.Kernel.startServices(Kernel.java:464)
 at org.apache.xindice.server.Kernel.<init>(Kernel.java:158)
 at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
 at org.apache.xindice.server.Xindice.main(Xindice.java:96)
DEBUG> Most likely your CORBA naming service couldn't be reached.
FATAL ERROR: Service manager could not be started





XPath logical AND question

Posted by Kanarinka <ka...@ikatun.com>.
Hi all,

I'm wondering if someone knows the answer off the top of their head - I
want to create an XPath query against Xindice that will select a result
only if two  conditions are true.

Here's the bginning of the XPAth query:
"/jWideUser[username/text()=kanarinka]"; 

I need to select based on username AND password, however, and I can't
seem to find the syntax in XPAth for doing something like this:
"/jWideUser[username/text()=kanarinka] &&
/jWideUser[password/text()=kpwd]" 

Anyone know how to do this?

THanks for your help!
catie




Re: IOExceptions at startup

Posted by "Mark J. Stang" <ma...@earthlink.net>.
Christoph,
I don't have any experience with 1.4, but other have seen this:

Subject:
            Re: Startup error
       Date:
            Tue, 12 Feb 2002 09:05:25 -0800
      From:
            Jeff Suttor <Je...@Sun.COM>
   Reply-To:
            xindice-users@xml.apache.org
        To:
            xindice-users@xml.apache.org
 References:
            1




I believe that v1.4 includes the "crimson" parser.  you can specify the location of *.jar to use before the system libs with:

        -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%"

where JAVA_ENDORSED_DIRS is the location of Xerces, Xalan, etc.

--
Jeff.Suttor@Sun.com


Kimbro Staken wrote:
>
> My guess is this is a conflict with the built in XML parser in JDK 1.4,
> can you test it with 1.3 VM?
>
> Also, can anyone verify that they do have this working on JDK  1.4?
>
> On Monday, February 11, 2002, at 11:16 PM, Nathan Jones wrote:
>
> > I am getting exactly the same NoSuchMethodError
> > (org.apache.xindice.xml.dom.DOMParser.getSAXParser()) as Wolfgang using
> > both
> > the supplied xindice.jar and also using a home-built version
> > (Xindice-1.0rc1
> > on Win98/j2sdk-1.40beta3).
> >
> > I am at a loss.
> >
> > Nathan
> >
> >
> >
> Kimbro Staken
> XML Database Software, Consulting and Writing
> http://www.xmldatabases.org/

Try, that.   Another solution was:

Hi Kimbro,

OK, I worked out that you are talking about the 'Endorsed Standards Override Mechanism', so I put the xalan and xerces jars from the Xindice distribution into lib/endorsed of the JRE, and everything seems to
work fine. It looks like you were right.

John

> > Yeah, I think JDK 1.4 includes a different version of Xalan that is
> > causing the problem. I was looking into this a little last
> > week, but I'm
> > not sure of the details. Unfortunately, there is no 1.4 JDK
> > for Mac OS X
> > yet which makes it a little difficult for me to track down.
> > You might try
> > using the 1.4 VM API override mechanism and replace Xalan to
> > help isolate
> > the problem.
>
> I'm not sure what you mean by the 1.4 VM API override
> mechanism, and I can't find any references to it. If you
> point me to some documentation, I'll be happy to give it a go.
>
> John
>

Christoph Göldner wrote:

> Hi,
>
> here is my version:
>
> C:\>java -version
> java version "1.4.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
> Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
>
> Christoph.
>
> "Mark J. Stang" wrote:
>
> > Just a quick check to make sure your version of java is the correct.
> > What does
> >
> >    java -version
> >
> > return?
> >
> > Mark
> >
> > Christoph Göldner wrote:
> >
> > > Hello,
> > >
> > > I get several exeptions when starting my xindice server.
> > > I think I've made all the path-settings correctly.
> > > How can I solve these problems,
> > > here is my stack-trace:
> > >
> > > java -classpath
> > > "c:\extras\j2sdk\server.jar;c:\extras\j2sdk\servlet.jar;c:\extras\j2sdk\classes;c:\extras\j2sdk\lib\xmlrpc-1.1.jar;c:\Extras\Xindice\java\lib\xindice.jar;.;\config;C:\Extras\Xindice\java\lib\ANT-14~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\EXAMPLES.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\INFOZO~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\OPENOR~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\OPENOR~2.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XALAN-~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XERCES~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XINDICE.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XML-AP~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XMLDB-~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XMLDB-~2.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XMLDB.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\APACHE~1.JAR
> > >
> > > ;C:\Extras\Xindice\java\lib\XINDIC~1.JAR
> > >
> > > ;C:\Extras\J2SDK\lib\tools.jar
> > >
> > > " -noverify org.apache.xindice.core.server.Xindice
> > > C:\Extras\Xindice\config\system.xml
> > >
> > > Xindice 1.0 (Birthday)
> > >
> > > Database: 'db' initializing
> > > DEBUG>
> > > java.io.IOException: Der Parameter stimmt nicht
> > >  at java.io.RandomAccessFile.seek(Native Method)
> > >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> > >  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
> > >  at
> > > org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
> > >
> > >  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
> > >  at org.apache.xindice.core.Collection.getObject(Collection.java:760)
> > >  at
> > > org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection.java:182)
> > >
> > >  at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
> > >  at
> > > org.apache.xindice.core.CollectionManager$1.process(CollectionManager.java:96)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at
> > > org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
> > >
> > >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> > >  at
> > > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> > >
> > >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> > >  at
> > > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
> > >  at java.io.RandomAccessFile.seek(Native Method)
> > >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> > >  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
> > >  at
> > > org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
> > >
> > >  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
> > >  at org.apache.xindice.core.Collection.putDocument(Collection.java:624)
> > >  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$1.process(CollectionManager.java:96)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at
> > > org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
> > >
> > >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> > >  at
> > > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> > >
> > >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> > >  at
> > > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
> > >  at java.io.RandomAccessFile.seek(Native Method)
> > >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> > >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> > >  at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:207)
> > >  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$1.process(CollectionManager.java:96)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at org.apache.xindice.core.CollectionManager.setConfig(ColleScript:
> > > 'GET' added to script storagectionManager.java:92)
> > >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> > >  at
> > > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> > >
> > >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> > >  at
> > > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> > >
> > >  at
> > > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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)
> > > ERROR: Component class 'org.xmldatabases.xmlrpc.XMLRPCHandler' not
> > > found
> > >
> > > Service: 'db' started
> > > Service: 'APIService' started
> > >
> > > ERROR: Could not start service 'HTTPServer'
> > >
> > > DEBUG> APIService: org.omg.CORBA.INITIALIZE: can't instantiate default
> > > ORB implementation org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0
> > > completed: No
> > > DEBUG>
> > > org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
> > > org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0  completed: No
> > >  at org.omg.CORBA.ORB.create_impl(ORB.java:308)
> > >  at org.omg.CORBA.ORB.init(ORB.java:345)
> > >  at
> > > org.apache.xindice.server.services.APIService.start(APIService.java:187)
> > >
> > >  at
> > > org.apache.xindice.server.standard.StdServiceManager.startServices(StdServiceManager.java:131)
> > >
> > >  at org.apache.xindice.server.Kernel.startServices(Kernel.java:464)
> > >  at org.apache.xindice.server.Kernel.<init>(Kernel.java:158)
> > >  at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
> > >  at org.apache.xindice.server.Xindice.main(Xindice.java:96)
> > > DEBUG> Most likely your CORBA naming service couldn't be reached.
> > > FATAL ERROR: Service manager could not be started


Re: IOExceptions at startup

Posted by Christoph Göldner <ch...@web.de>.
Hi,

here is my version:

C:\>java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

Christoph.





"Mark J. Stang" wrote:

> Just a quick check to make sure your version of java is the correct.
> What does
>
>    java -version
>
> return?
>
> Mark
>
> Christoph Göldner wrote:
>
> > Hello,
> >
> > I get several exeptions when starting my xindice server.
> > I think I've made all the path-settings correctly.
> > How can I solve these problems,
> > here is my stack-trace:
> >
> > java -classpath
> > "c:\extras\j2sdk\server.jar;c:\extras\j2sdk\servlet.jar;c:\extras\j2sdk\classes;c:\extras\j2sdk\lib\xmlrpc-1.1.jar;c:\Extras\Xindice\java\lib\xindice.jar;.;\config;C:\Extras\Xindice\java\lib\ANT-14~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\EXAMPLES.JAR
> >
> > ;C:\Extras\Xindice\java\lib\INFOZO~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\OPENOR~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\OPENOR~2.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XALAN-~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XERCES~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XINDICE.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XML-AP~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XMLDB-~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XMLDB-~2.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XMLDB.JAR
> >
> > ;C:\Extras\Xindice\java\lib\APACHE~1.JAR
> >
> > ;C:\Extras\Xindice\java\lib\XINDIC~1.JAR
> >
> > ;C:\Extras\J2SDK\lib\tools.jar
> >
> > " -noverify org.apache.xindice.core.server.Xindice
> > C:\Extras\Xindice\config\system.xml
> >
> > Xindice 1.0 (Birthday)
> >
> > Database: 'db' initializing
> > DEBUG>
> > java.io.IOException: Der Parameter stimmt nicht
> >  at java.io.RandomAccessFile.seek(Native Method)
> >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> >  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
> >  at
> > org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
> >
> >  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
> >  at org.apache.xindice.core.Collection.getObject(Collection.java:760)
> >  at
> > org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection.java:182)
> >
> >  at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
> >  at
> > org.apache.xindice.core.CollectionManager$1.process(CollectionManager.java:96)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at
> > org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
> >
> >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> >  at
> > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> >
> >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> >  at
> > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
> >  at java.io.RandomAccessFile.seek(Native Method)
> >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> >  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
> >  at
> > org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
> >
> >  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
> >  at org.apache.xindice.core.Collection.putDocument(Collection.java:624)
> >  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$1.process(CollectionManager.java:96)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at
> > org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
> >
> >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> >  at
> > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> >
> >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> >  at
> > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
> >  at java.io.RandomAccessFile.seek(Native Method)
> >  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
> >  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
> >  at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:207)
> >  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$1.process(CollectionManager.java:96)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at org.apache.xindice.core.CollectionManager.setConfig(ColleScript:
> > 'GET' added to script storagectionManager.java:92)
> >  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
> >  at
> > org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
> >
> >  at org.apache.xindice.core.Database.setConfig(Database.java:155)
> >  at
> > org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
> >
> >  at
> > org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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)
> > ERROR: Component class 'org.xmldatabases.xmlrpc.XMLRPCHandler' not
> > found
> >
> > Service: 'db' started
> > Service: 'APIService' started
> >
> > ERROR: Could not start service 'HTTPServer'
> >
> > DEBUG> APIService: org.omg.CORBA.INITIALIZE: can't instantiate default
> > ORB implementation org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0
> > completed: No
> > DEBUG>
> > org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
> > org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0  completed: No
> >  at org.omg.CORBA.ORB.create_impl(ORB.java:308)
> >  at org.omg.CORBA.ORB.init(ORB.java:345)
> >  at
> > org.apache.xindice.server.services.APIService.start(APIService.java:187)
> >
> >  at
> > org.apache.xindice.server.standard.StdServiceManager.startServices(StdServiceManager.java:131)
> >
> >  at org.apache.xindice.server.Kernel.startServices(Kernel.java:464)
> >  at org.apache.xindice.server.Kernel.<init>(Kernel.java:158)
> >  at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
> >  at org.apache.xindice.server.Xindice.main(Xindice.java:96)
> > DEBUG> Most likely your CORBA naming service couldn't be reached.
> > FATAL ERROR: Service manager could not be started


Re: IOExceptions at startup

Posted by "Mark J. Stang" <ma...@earthlink.net>.
Just a quick check to make sure your version of java is the correct.
What does

   java -version

return?

Mark

Christoph Göldner wrote:

> Hello,
>
> I get several exeptions when starting my xindice server.
> I think I've made all the path-settings correctly.
> How can I solve these problems,
> here is my stack-trace:
>
> java -classpath
> "c:\extras\j2sdk\server.jar;c:\extras\j2sdk\servlet.jar;c:\extras\j2sdk\classes;c:\extras\j2sdk\lib\xmlrpc-1.1.jar;c:\Extras\Xindice\java\lib\xindice.jar;.;\config;C:\Extras\Xindice\java\lib\ANT-14~1.JAR
>
> ;C:\Extras\Xindice\java\lib\EXAMPLES.JAR
>
> ;C:\Extras\Xindice\java\lib\INFOZO~1.JAR
>
> ;C:\Extras\Xindice\java\lib\OPENOR~1.JAR
>
> ;C:\Extras\Xindice\java\lib\OPENOR~2.JAR
>
> ;C:\Extras\Xindice\java\lib\XALAN-~1.JAR
>
> ;C:\Extras\Xindice\java\lib\XERCES~1.JAR
>
> ;C:\Extras\Xindice\java\lib\XINDICE.JAR
>
> ;C:\Extras\Xindice\java\lib\XML-AP~1.JAR
>
> ;C:\Extras\Xindice\java\lib\XMLDB-~1.JAR
>
> ;C:\Extras\Xindice\java\lib\XMLDB-~2.JAR
>
> ;C:\Extras\Xindice\java\lib\XMLDB.JAR
>
> ;C:\Extras\Xindice\java\lib\APACHE~1.JAR
>
> ;C:\Extras\Xindice\java\lib\XINDIC~1.JAR
>
> ;C:\Extras\J2SDK\lib\tools.jar
>
> " -noverify org.apache.xindice.core.server.Xindice
> C:\Extras\Xindice\config\system.xml
>
> Xindice 1.0 (Birthday)
>
> Database: 'db' initializing
> DEBUG>
> java.io.IOException: Der Parameter stimmt nicht
>  at java.io.RandomAccessFile.seek(Native Method)
>  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
>  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
>  at
> org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
>
>  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
>  at org.apache.xindice.core.Collection.getObject(Collection.java:760)
>  at
> org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection.java:182)
>
>  at org.apache.xindice.core.Collection.setConfig(Collection.java:175)
>  at
> org.apache.xindice.core.CollectionManager$1.process(CollectionManager.java:96)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at
> org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
>
>  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
>  at
> org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
>
>  at org.apache.xindice.core.Database.setConfig(Database.java:155)
>  at
> org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
>  at java.io.RandomAccessFile.seek(Native Method)
>  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
>  at org.apache.xindice.core.filer.Paged.readValue(Paged.java:166)
>  at
> org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.java:131)
>
>  at org.apache.xindice.core.Collection.getDocument(Collection.java:714)
>  at org.apache.xindice.core.Collection.putDocument(Collection.java:624)
>  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$1.process(CollectionManager.java:96)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at
> org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:92)
>
>  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
>  at
> org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
>
>  at org.apache.xindice.core.Database.setConfig(Database.java:155)
>  at
> org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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.io.IOException: Der Parameter stimmt nicht
>  at java.io.RandomAccessFile.seek(Native Method)
>  at org.apache.xindice.core.filer.Paged$Page.read(Paged.java:921)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:130)
>  at org.apache.xindice.core.filer.Paged.getPage(Paged.java:144)
>  at org.apache.xindice.core.filer.Paged.writeValue(Paged.java:207)
>  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$1.process(CollectionManager.java:96)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at org.apache.xindice.core.CollectionManager.setConfig(ColleScript:
> 'GET' added to script storagectionManager.java:92)
>  at org.apache.xindice.core.Collection.setConfig(Collection.java:216)
>  at
> org.apache.xindice.core.SystemCollection.init(SystemCollection.java:155)
>
>  at org.apache.xindice.core.Database.setConfig(Database.java:155)
>  at
> org.apache.xindice.server.services.XindiceService.initialize(XindiceService.java:106)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.addService(StdServiceManager.java:166)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager$1.process(StdServiceManager.java:104)
>
>  at
> org.apache.xindice.util.Configuration.processChildren(Configuration.java:684)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.setConfig(StdServiceManager.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)
> ERROR: Component class 'org.xmldatabases.xmlrpc.XMLRPCHandler' not
> found
>
> Service: 'db' started
> Service: 'APIService' started
>
> ERROR: Could not start service 'HTTPServer'
>
> DEBUG> APIService: org.omg.CORBA.INITIALIZE: can't instantiate default
> ORB implementation org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0
> completed: No
> DEBUG>
> org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
> org.openorb.CORBA.ORB  vmcid: 0x0  minor code: 0  completed: No
>  at org.omg.CORBA.ORB.create_impl(ORB.java:308)
>  at org.omg.CORBA.ORB.init(ORB.java:345)
>  at
> org.apache.xindice.server.services.APIService.start(APIService.java:187)
>
>  at
> org.apache.xindice.server.standard.StdServiceManager.startServices(StdServiceManager.java:131)
>
>  at org.apache.xindice.server.Kernel.startServices(Kernel.java:464)
>  at org.apache.xindice.server.Kernel.<init>(Kernel.java:158)
>  at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
>  at org.apache.xindice.server.Xindice.main(Xindice.java:96)
> DEBUG> Most likely your CORBA naming service couldn't be reached.
> FATAL ERROR: Service manager could not be started