From owner-freebsd-java Mon Dec 9 16: 0:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EDC337B404 for ; Mon, 9 Dec 2002 16:00:09 -0800 (PST) Received: from cabrillo.edu (boris.cabrillo.cc.ca.us [207.62.187.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D0F43E4A for ; Mon, 9 Dec 2002 16:00:08 -0800 (PST) (envelope-from wiholt@cabrillo.edu) Received: from [63.249.88.38] (account ) by cabrillo.edu (CommuniGate Pro WebUser 3.5.9) with HTTP id 3849144 for ; Mon, 09 Dec 2002 16:00:08 -0800 From: "William Holt" Subject: DP2 Java 1.3 makes core dump To: freebsd-java@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Mon, 09 Dec 2002 16:00:08 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a problem with the new DP2 disk, and I'm not sure how to troubleshoot it further. I started with a fresh disk (to be sure it was repeatable) and installed from CDROM DP2 (just issued a couple weeks ago). I picked the X Developer package. Next I installed the Jetty port ( cd to /usr/ports/java/jetty ) and type make - this caused (by dependency) the JDK1.3 to install and it did at patch level 7. Everything seemed to go fine (wow amazing - downloading stuff from Sun's web site and all!) and I tested the JDK with a couple of simple programs - everything looks fine. BUT, when I run the Jetty demo, I get a BUSS ERROR and a core dump (a file called java.core appears in the directory). I tried to write a couple of simple programs to see if they would cause the buss error, like a two threaded "Hello World" but nothing did. I'm not sure if I can get source for Jetty to try and find exactly where it dies - (It's not at the contructor for the server, it's when I actually try and start it with a server.start(); call. Here is the code that crashes, although running the Jetty demo will produce the same buss error: HttpServer server = new HttpServer(); try { server.addListener(new InetAddrPort(8080)); } catch( IOException ioe ) { System.out.println( ioe ); System.exit(1); }; HandlerContext context = server.addContext("/"); ServletHandlerContext servHand= new ServletHandlerContext( server, "/" ); servHand.setDynamicServletPathSpec( "/servlet/*"); server.addContext( null, servHand ); context.setResourceBase("./docroot/"); context.setServingResources(true); try { server.start(); //blammo! this line crashes } catch ( MultiException me ){ System.out.println( me ); System.exit(1); }; I'd very much like to help if I could, but I'm not sure where to go or if this might already be fixed in -Current Best Regards, -Will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message