From owner-freebsd-java@FreeBSD.ORG Wed Dec 7 14:05:03 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 6217016A41F for ; Wed, 7 Dec 2005 14:05:03 +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 57C8F43D81 for ; Wed, 7 Dec 2005 14:04:35 +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 jB7E4OZm080464; Wed, 7 Dec 2005 16:04:24 +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 jB7E4hk3019402; Wed, 7 Dec 2005 16:04:44 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <4396EBE3.3060806@ebs.gr> Date: Wed, 07 Dec 2005 16:04:19 +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: Jonathan Chen References: <43942C07.1030604@ebs.gr> <20051205185203.GC54769@osiris.chen.org.nz> In-Reply-To: <20051205185203.GC54769@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java Subject: Re: 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: Wed, 07 Dec 2005 14:05:03 -0000 Jonathan Chen wrote: > On Mon, Dec 05, 2005 at 02:01:11PM +0200, Panagiotis Astithas wrote: > >>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. > > > Have you tried tweaking the config for conf/jboss-service.xml and > deploy/ear-deployer.xml as described in: > > http://docs.jboss.com/jbossas/whatsnew40/html/ > > See if this fixes your class-loading problems. > > Cheers. Thanks, this seems to fix my class-loading issues (although such a workaround didn't use to work on jboss3). So if the problem with the startup script (hardcoded jdk path in the executable) gets resolved, we can keep building the ejb3, aop, annotations, etc. stuff if the proper jdk is used when building. It's almost like having your cake and eating it too :-) Thanks, Panagiotis