On Wednesday, January 30, 2002, at 06:42 PM, chris schaefer wrote:
Hello:
After following all the setup instructions to install dbXML, I get the following as I start dbXM:
Starting dbXML --------------
dbXML 1.0b4 (Mustard)
Database: 'db' initializing
Script: 'GET' added to script storage
Service: 'db' started
java.lang.NullPointerException
at org.dbxml.server.services.SocketServer.createServerSocket(SocketServer.java:
234)
at org.dbxml.core.server.services.GopherServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
I'm going to guess it can't bind to the port because it's already in use. You should have gotten a more descriptive error in that case though. I'm not sure why the NullPointerException propagated.
Buried in the FAQ is a reference to 1.3.1 as having problems, but the details of that are not explicit.
Meanwhile, I've attempted to dig into the source code to figure out the problem and found that the
org.dbxml.server.* section of the tree doesn't seem to have source anywhere.... I assume that
the GopherServer is then extending a class file buried in one of the jars as it compiles...
You don't actually need the gopher server for anything, it was just a debugging tool from the early days. You can comment it out in system.xml to debug the problem. Also the source you're looking for is only available from CVS. In the Xindice tree it was rolled back into the main tree, but in dbXML it was a separate project.
Anyway, I can't seem to solve this problem without further info.... anybody got any ideas?
-C-
Kimbro Staken XML Database Software, Consulting and Writing http://www.xmldatabases.org/
