From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 17:54:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1D4C1065676 for ; Mon, 18 Aug 2008 17:54:32 +0000 (UTC) (envelope-from teo07882@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id A59638FC21 for ; Mon, 18 Aug 2008 17:54:32 +0000 (UTC) (envelope-from teo07882@gmail.com) Received: by gxk10 with SMTP id 10so4503672gxk.19 for ; Mon, 18 Aug 2008 10:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=l2bsgSCPHraBcKKgz58u+Evf2/sC4mQ5IVYy8uOtvvY=; b=GaATyrwxjRIcFexQHWbx9wikJzDevyWT+s9VtPmFhd38ymeSJ83x+RSBmcaHGXamVw 3UfgoVQ9CsJ/rhf8sZSaJtoUqL1UPO24Qg6qfXcskR/eq38IrAEoai2JQTHqsa5APR30 PbepJEFVsPmhl1s3797kacf9tz1LWSXP9cJek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=tVDdGWP1OkoWVuF5tD8x+BjpghWqyn+MlGYP4uLUWfCm3xZyczlzRUVkGmeDIHCTM9 2k15nrUYO9WkRWOvR818iZxdAeA3FexN/otmeZOF1F4wcu6Xy8my74XuzbUA/IVIPwog 5C8km9GhJbMSp6qa5thjnJSktKr01GJiPtnrQ= Received: by 10.151.48.15 with SMTP id a15mr10058842ybk.209.1219080326515; Mon, 18 Aug 2008 10:25:26 -0700 (PDT) Received: by 10.150.195.18 with HTTP; Mon, 18 Aug 2008 10:25:26 -0700 (PDT) Message-ID: Date: Mon, 18 Aug 2008 14:25:26 -0300 From: "Thiago Esteves" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: tomcat6 and diablo-jdk16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 17:54:33 -0000 Hello, I've got the last java jdk 1.6 (diablo version) from freebsd foundation and when I tried to install the tomcat 6 from the ports I had some problems. The tomcat 6 port* tries to find the java binaries in the /usr/local/jdk1.5.0. Please see the output below. duamutef# make install clean ===> Cleaning for apache-tomcat-6.0.16 ===> Vulnerability check disabled, database not found ===> Extracting for apache-tomcat-6.0.16 => MD5 Checksum OK for apache-tomcat-6.0.16.tar.gz. => SHA256 Checksum OK for apache-tomcat-6.0.16.tar.gz. ===> Patching for apache-tomcat-6.0.16 Installation settings: Destination directory: /usr/local/apache-tomcat6.0 Location of JDK: /usr/local/jdk1.5.0 Location of Java port: java/jdk15 Running as (user/group): www/www HTTP port: 8180 Shutdown listener port: 8005 AJP 1.3 connector port: 8009 Logfile stdout: /usr/local/apache-tomcat6.0/logs/stdout.log Logfile stderr: /usr/local/apache-tomcat6.0/logs/stderr.log ===> Applying FreeBSD patches for apache-tomcat-6.0.16 >> Removing unneeded files... [ DONE ] >> Customizing server.xml... [ DONE ] ===> Configuring for apache-tomcat-6.0.16 ===> Installing for apache-tomcat-6.0.16 ===> apache-tomcat-6.0.16 depends on file: /usr/local/jdk1.5.0/bin/java - not found ===> Verifying install for /usr/local/jdk1.5.0/bin/java in /usr/ports/java/jdk15 ===> jdk-1.5.0.14p8_3,1 : Due to licensing restrictions, certain files must be fetched manually. Please open http://download.java.net/tiger/archive/tiger_u14/ in a web browser. Download the Update 14 Source, jdk-1_5_0_14-fcs-src-b03-jrl-05_oct_2007.jar and the Source Binaries, jdk-1_5_0_14-fcs-bin-b03-jrl-05_oct_2007.jar . Please open http://java.sun.com/javase/downloads/index.jsp in a web browser and follow the "Download" link for "JDK US DST Timezone Update Tool - 1_3_6" to obtain the time zone update file, tzupdater-1_3_6-2008c.zip. Please download the patchset, bsd-jdk15-patches-8.tar.bz2, from http://www.eyesbeyond.com/freebsddom/java/jdk15.html. Please place the downloaded file(s) in /usr/ports/distfiles and restart the build. .*** Error code 1 Stop in /usr/cvsup/current/ports/java/jdk15. *** Error code 1 Stop in /usr/cvsup/current/ports/www/tomcat6. Since I'm using the diablo-jdk1.6 that is located in /usr/local/diablo-jdk1.6.0, it doesn't work. I tried to find some variable to set where is my jdk, but no lucky. I tried the following and it worked well. cd /usr/local/ ; ln -s diablo-jdk1.6.0 jdk1.5.0 But creating a symbolic link from jdk1.5 to jdk1.6 seems not to be the best way. Is there a better way to install tomcat 6 *from the ports* using diablo-jdk1.6? Thank you.