From owner-freebsd-java@FreeBSD.ORG Mon Jan 30 09:53:09 2006 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 0229916A420 for ; Mon, 30 Jan 2006 09:53:09 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (dslcustomer-239-113.vivodi.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id C248643D49 for ; Mon, 30 Jan 2006 09:53:06 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k0U9r4Sg011909; Mon, 30 Jan 2006 11:53:04 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (ajax.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id k0U9rvdF022596; Mon, 30 Jan 2006 11:53:58 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43DDE1FF.1030900@ebs.gr> Date: Mon, 30 Jan 2006 11:53:03 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060116) MIME-Version: 1.0 To: Alex Kiesel References: <1137336063.713.4.camel@boost.home.ahk> <1137338926.713.8.camel@boost.home.ahk> <43D0C183.5050900@ebs.gr> <1138463658.689.3.camel@boost.home.ahk> In-Reply-To: <1138463658.689.3.camel@boost.home.ahk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JBoss 4.0.* does not build (sometimes?) 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: Mon, 30 Jan 2006 09:53:09 -0000 Alex Kiesel wrote: > On Fri, 2006-01-20 at 12:54 +0200, Panagiotis Astithas wrote: >> Alex Kiesel wrote: >>> On Sun, 2006-01-15 at 15:41 +0100, Alex Kiesel wrote: >>>> I do suspect, it's got nothing todo with the FreeBSD versions, but more >>>> with something else, I do not see. Both machines only have this single >>>> jdk installed - nothing else. >>> It seems that suspiction was correct. I noticed that one the failing >>> machine, the port axis-1.2.2 was installed while on the other it wasn't. >>> >>> After removal of the port, the compile went through. JBoss seems to ship >>> an own version of Axis which was behind the port's version in the >>> classpath probably. >>> >>> So, I wonder if java/jboss4 should list axis-* as CONFLICTS? >> A better solution would be to patch the build process to not reference >> outside jars. > > I agree. I have tried to develop a patch for this, but yet have not come > to a solution. The source of the problem is that Axis installs its jars > in $JAVA_HOME/jre/lib/ext - thus they're in the default class path, if I > get this right. How can I remove classes from that path? > > Should I file a pr for this, so that at least people hitting the same > issue are able to find a reference about this? This behavior is unusual in the ports tree, AFAIK. Libraries should be installed in $JAVAJARDIR (see bsd.java.mk). I think you should file a PR about this behavior of the axis port. Cheers, Panagiotis