From owner-freebsd-java@FreeBSD.ORG Thu Jul 13 14:33:10 2006 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 E1FCA16A609 for ; Thu, 13 Jul 2006 14:33:10 +0000 (UTC) (envelope-from wtellis@radiology.ucsf.edu) Received: from emfmcb02.ucsfmedicalcenter.org (emfmcb02.ucsfmedicalcenter.org [64.54.46.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB64B43D6E for ; Thu, 13 Jul 2006 14:33:04 +0000 (GMT) (envelope-from wtellis@radiology.ucsf.edu) Received: from 128.218.59.110 by emfmcb01.ucsfmedicalcenter.org with SMTP (Tumbleweed Email Firewall SMTP Relay (Email Firewall v6.1.0)); Thu, 13 Jul 2006 07:36:02 -0700 X-Server-Uuid: E2E48A14-EE5B-4280-A138-188440602EDD Received: from radmail.ucsf.edu (radmail.ucsf.edu [128.218.59.16]) by radmailserv.ucsf.edu (8.13.6/8.13.6) with ESMTP id k6DEWwdr019936 for ; Thu, 13 Jul 2006 07:32:58 -0700 (PDT) Received: from [64.142.93.122] (account wtellis HELO [192.168.111.100]) by radmail.ucsf.edu (CommuniGate Pro SMTP 5.0.9) with ESMTPSA id 15597872 for java@FreeBSD.org; Thu, 13 Jul 2006 07:37:15 -0700 Message-ID: <44B659A1.5040700@radiology.ucsf.edu> Date: Thu, 13 Jul 2006 07:33:05 -0700 From: "Wyatt Tellis" Organization: UCSF User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: java@freebsd.org X-Scanned-By: MIMEDefang 2.56 on 128.218.59.110 X-WSS-ID: 68A885D81HO146805-01-01 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Problems with JAI native libraries 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: Thu, 13 Jul 2006 14:33:11 -0000 Hi, I have a web app that runs in JBoss 4.0.4. It uses JAI to create thumbnails on they fly. I've installed the jai-1.1.2_1 port and updated /etc/libmap.conf (as instructed by the port) to include: [/usr/local/jdk1.5.0/jre/lib/i386/libmlib_jai.so] libm.so.6 libm.so.2 libc.so.6 pluginwrapper/jai.so When I run the code to generate the thumbnail it runs really slow and I get the following message in std out: Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode. This suggests that JAI is unable to find the .so files. I'm running FreeBSD 6.0 with Java 1.5.0-p2. Do the native JAI libraries work with Java 5 on FreeBSD? Thanks, Wyatt