Hmmm
Ok, a fresh copy from CVS compiles and runs properly. In viewing the source and the stack trace it's possible:
that these lines are the problem:


~234:
           if ( hostname.length() > 0 ) {
              bindaddr = InetAddress.getByName(hostname);
              sock = new ServerSocket(port, 5, bindaddr);
           }

My guess ( without looking in a debugger or anything ), is that bindaddr comes back null, and then the
new ServerSocket call fails, do to the null. Just a wild ass guess.


-C-

Kurt Ward wrote:

I have the exact same problem on RH 7.2.  I can
compile from CVS okay, but I get the create socket
errors.  Same deal with the port; I have verified that
it is not in use by another process.

I won't say that I gave up on trying to resolve the
issue, but for the time being I set up another box
running Slackware 8.0 - I have had zero problems
compiling and running the server on that setup.

Kurt

--- chris schaefer <[EMAIL PROTECTED]> wrote:

Kimbro Staken wrote:


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.

As best as I can tell from my system tools, the port
is NOT in use.

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...

Tried that already, things then proceed to fail
while initializing the HTTP server...... same way.


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.

Ok,  I'll try to grab the source, and see where I
can go from there...




__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com






Reply via email to