From owner-freebsd-java@FreeBSD.ORG Mon Jul 13 12:01:02 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D84BC1065679 for ; Mon, 13 Jul 2009 12:01:02 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: from mail-pz0-f193.google.com (mail-pz0-f193.google.com [209.85.222.193]) by mx1.freebsd.org (Postfix) with ESMTP id AEF2D8FC16 for ; Mon, 13 Jul 2009 12:01:02 +0000 (UTC) (envelope-from swun2010@gmail.com) Received: by pzk31 with SMTP id 31so1704319pzk.3 for ; Mon, 13 Jul 2009 05:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=a8fenKD8yjmKubIxNAewCah+8emGP5P2Kq3T8PBtG0c=; b=iOnEWnaZkBZ3UStOrW6+cOEUx+AHEo3R8B7gVSXHo2n6CZt+f4sTuaUgHhbA6InTtr E3dVg4u2LqBVRebO+RmT10Un1v9SSMoS5jxmW+iE4VpM35b4rKMIDIiHp65Fh/ayOiQX tr5jxYFETn3SIJUUG+MdkrlT1GoHlsH7+LqiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=c8lIn8h7VlNFYptpy32/Jb1QXCsvmuC5okTkzq2VPmQx6L+a4W0ayQCCQX/ZTJ3Ao6 DfM/B3tPl8PVad18dldNg4BtOrOM7+tDK4MWH+q8QFSAAIWJSNjDYTa+4Kg5d1L+PIlj TSD6exeple2rBX9n5TWgphQWB8qLVSRdrftLE= MIME-Version: 1.0 Received: by 10.142.107.5 with SMTP id f5mr1331709wfc.225.1247485177288; Mon, 13 Jul 2009 04:39:37 -0700 (PDT) Date: Mon, 13 Jul 2009 21:39:37 +1000 Message-ID: <736c47cb0907130439k53fe233ft550f9acf523c0a8a@mail.gmail.com> From: Sam Wun To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: J2EE for freebsd? 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, 13 Jul 2009 12:01:04 -0000 HI, I have installed diablo-jdk1.6.0 and runnign fine wtih general jvm, but when I compile a ejb java class, it generated compile-time error "javax.ejb does not exist". the following result shown that the diablo-jdk1.6.0 does not include j2ee.jar file: # pwd /usr/local/diablo-jdk1.6.0/lib lib # pwd /usr/local/diablo-jdk1.6.0/lib lib # ls -l total 27928 drwxr-xr-x 2 root wheel 512 May 9 18:50 ./ drwxr-xr-x 11 root wheel 512 Jun 9 23:23 ../ -rw-r--r-- 1 root wheel 15262666 May 13 2008 ct.sym -rw-r--r-- 1 root wheel 145492 May 13 2008 dt.jar -rw-r--r-- 1 root wheel 205921 May 13 2008 htmlconverter.jar -rw-r--r-- 1 root wheel 18381 May 13 2008 ir.idl -rw-r--r-- 1 root wheel 391909 May 13 2008 jconsole.jar -rw-r--r-- 1 root wheel 429 May 13 2008 orb.idl -rw-r--r-- 1 root wheel 12476752 May 13 2008 tools.jar I think diablo-jdk1.6.0 is not J2ee. How to setup a j2ee enviornment in freebsd (7.2 stable)? Since this java program is running ok in JBOSS 5. should I just copy the jar file from JBOSS server to the remote machine? The JBOSS server is also a freebsd 7.2 server. the remote machine is running Tomcat and I am writing client application in the Tomcat server (freebsd) to communicate JNDI service provided by the JBOSS server. I can run thsi ejb program under JBOSS environment without any problem. Thanks Sam