Date: Sat, 25 Jan 2003 20:19:52 -0800 From: "William Holt" <wiholt@cabrillo.edu> To: freebsd-java@freebsd.org Subject: 5.0-RELEASE core dumps running Jetty Message-ID: <web-4073305@cabrillo.edu>
next in thread | raw e-mail | index | archive | help
Hi,
I have been trying to use Jetty on 5.0 and still not having
any
luck. I recently pinned it down to a problem with trying to
convert
a ServerSocket to a String! The following short program
crashes in exactly the same way as Jetty.
I have tracked it further to the native class
InetAddressImpl.c
Specifically getHostByAddr( int ) seems to be causing
the problem.
I haven't got any response to previous posts - is anyone
else seeing this problem? Please try and run the following
small program and let me know if it core dumps on your 5.0
release
system.
Thank you,
-Will
PS: this is using jdk1.31p7 - just go to
/usr/ports/www/jetty
and type make and it will build it for you.
===============snip=====================
import java.net.*;
public class CrashBSD
{
static public void main( String args[] )
{
try
{
ServerSocket ss = new ServerSocket( 0 );
System.out.println( ss );
}
catch ( Exception e )
{
System.out.println( e );
System.exit( 1 );
}
}
}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-4073305>
