From owner-freebsd-java@FreeBSD.ORG Mon Dec 5 12:01:18 2005 Return-Path: X-Original-To: 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 7B0F416A41F for ; Mon, 5 Dec 2005 12:01:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FB1243D58 for ; Mon, 5 Dec 2005 12:01:16 +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 jB5C1FZm070361 for ; Mon, 5 Dec 2005 14:01:15 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jB5C1YsM073443 for ; Mon, 5 Dec 2005 14:01:35 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <43942C07.1030604@ebs.gr> Date: Mon, 05 Dec 2005 14:01:11 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051106) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: JBoss4 installation weirdness 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, 05 Dec 2005 12:01:18 -0000 As I found out the hard way today, jboss4 installs different things depending on whether it is being built using jdk14 or jdk15. In the latter case you get EJB3 stuff that (unfortunately for me) include old versions of commons-stuff which may create conflicts with a deployed app, thanks to the funky jboss classloader architecture. The binaries that jboss.com ships evidently contain stuff that you get when you build with jdk14. I'm not sure if it is possible or even reasonable to change the current behavior (I'm overriding JAVA_PREFERRED_PORTS), but perhaps we could add an informative message when building the port to inform the user. Cheers, Panagiotis