From owner-freebsd-java@FreeBSD.ORG Tue Nov 15 17:25:42 2005 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 4DA1116A41F for ; Tue, 15 Nov 2005 17:25:42 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8679543D45 for ; Tue, 15 Nov 2005 17:25:41 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id jAFHPYo4087707; Tue, 15 Nov 2005 10:25:34 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id jAFHPXEp087706; Tue, 15 Nov 2005 10:25:33 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 15 Nov 2005 10:25:33 -0700 From: Greg Lewis To: Andreas Krebs Message-ID: <20051115172533.GA87674@misty.eyesbeyond.com> References: <437A06EB.5010002@chronolabs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437A06EB.5010002@chronolabs.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: JDK1.5 and JBOSS 4.0.3 problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 17:25:42 -0000 On Tue, Nov 15, 2005 at 05:03:55PM +0100, Andreas Krebs wrote: > when trying to build a webapp that uses JBOSS 4.0.3 with the > selfcompiled JDK1.5 on FreeBSD I get the following error: > > [javac] > /data/trunk/ng.sources/ng.kernel/com/ng/common/security/integration/jboss/NGLoginModule.java:118: > abstract method > initialize(javax.security.auth.Subject,javax.security.auth.callback.CallbackHandler,java.util.Map,java.util.Map) > in javax.security.auth.spi.LoginModule cannot be accessed directly > [javac] super.initialize(subject, callbackHandler, sharedState, > options); > > > this seems to relate to a bug in the JDK > (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6178365) which was > solved a while ago. The same build works fine on Linux with Java(TM) 2 > Runtime Environment, Standard Edition (build 1.5.0_05-b05) and on > Windows, so the problem obviously is with the JDK. > > My guess is that the JDK1.5 SCSL sources are missing this (and maybe > other) fixes, since there hasn't been any changes in the SCSL sources in > months. Unfortunately I can't find any information on what version the > SCSL sources are based. Sun releases the SCSL source around the time it does the initial FCS release. So essentially the SCSL code is 1.5.0 and is missing all of the fixes in _01 -> _05 unless we've hit them ourselves independently. > Any feedback is highly appreciated, if I can't find a solution I have to > use Linux which I'd like to avoid. If you can find the fix for the bug then we can incorporate it into the native port. Another alternative (maybe) is to use the linux-sun-jdk15 port with JBoss (I'm not sure how well this works). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org