From owner-freebsd-java@FreeBSD.ORG Sun Jul 10 22:54:28 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 B755D16A41C for ; Sun, 10 Jul 2005 22:54:28 +0000 (GMT) (envelope-from donnex@donnex.net) Received: from donnex.net (donnex.net [82.96.44.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 47FF543D46 for ; Sun, 10 Jul 2005 22:54:28 +0000 (GMT) (envelope-from donnex@donnex.net) Received: (qmail 14352 invoked by uid 1001); 10 Jul 2005 22:54:26 -0000 Date: Mon, 11 Jul 2005 00:54:26 +0200 From: Daniel Johansson To: java@FreeBSD.org Message-ID: <20050710225426.GA14345@donnex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: Apache Ant 1.6.5? 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: Sun, 10 Jul 2005 22:54:28 -0000 Hi, any chance you guys could update the freebsd port apache ant to the latest version, 1.6.5? -- Daniel Johansson - From owner-freebsd-java@FreeBSD.ORG Sun Jul 10 23:07:31 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 F056A16A41C for ; Sun, 10 Jul 2005 23:07:31 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFFE343D45 for ; Sun, 10 Jul 2005 23:07:31 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by chuckr.org (Postfix) with ESMTP id 19CF011500 for ; Sun, 10 Jul 2005 19:00:40 -0400 (EDT) Message-ID: <42D1AA19.4090809@chuckr.org> Date: Sun, 10 Jul 2005 19:07:05 -0400 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050701) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: busted download links 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: Sun, 10 Jul 2005 23:07:32 -0000 The two sets of download links at www.freebsdfoundation.org/downloads/java.shtml don't work. I tried to compile it, ran into problems, and thought to shortcut it this way. Darn. From owner-freebsd-java@FreeBSD.ORG Mon Jul 11 01:42:05 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 1917C16A41C for ; Mon, 11 Jul 2005 01:42:05 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE4743D48 for ; Mon, 11 Jul 2005 01:42:03 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6B1g1Pn017268; Mon, 11 Jul 2005 03:42:01 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6B1fuNg016419; Mon, 11 Jul 2005 03:41:56 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 11 Jul 2005 03:41:56 +0200 From: Herve Quiroz To: Daniel Johansson Message-ID: <20050711014156.GA94658@arabica.esil.univ-mrs.fr> Mail-Followup-To: Daniel Johansson , java@FreeBSD.org References: <20050710225426.GA14345@donnex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050710225426.GA14345@donnex.net> User-Agent: Mutt/1.4.2.1i Cc: java@FreeBSD.org Subject: Re: Apache Ant 1.6.5? 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, 11 Jul 2005 01:42:05 -0000 Hi Daniel, On Mon, Jul 11, 2005 at 12:54:26AM +0200, Daniel Johansson wrote: > Hi, any chance you guys could update the freebsd port apache ant to the > latest version, 1.6.5? FYI, I just commited an update to 1.6.5. Thanks for reporting this. There are some changes in 1.6.3 that could possibly break some stuff, although I think this has not much chance to happen within the ports tree. Anyway, I already tested 1.6.5 by building a few ports but I would be glad if people could give me feedback as soon as something breaks. Being a dependency for many others in the tree, apache-ant is quite important and should be fixed ASAP in such case. Herve hq 2005-07-11 01:31:20 UTC FreeBSD ports repository Modified files: devel/apache-ant Makefile distinfo pkg-plist Log: Update to 1.6.5 Revision Changes Path 1.41 +1 -1 ports/devel/apache-ant/Makefile 1.17 +2 -2 ports/devel/apache-ant/distinfo 1.22 +120 -90 ports/devel/apache-ant/pkg-plist From owner-freebsd-java@FreeBSD.ORG Mon Jul 11 11:02:13 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 A00B316A41C for ; Mon, 11 Jul 2005 11:02:13 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AEDF43D69 for ; Mon, 11 Jul 2005 11:02:11 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6BB2Atb011486 for ; Mon, 11 Jul 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6BB2ALT011480 for freebsd-java@freebsd.org; Mon, 11 Jul 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 11 Jul 2005 11:02:10 GMT Message-Id: <200507111102.j6BB2ALT011480@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 11 Jul 2005 11:02:13 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/05/13] ports/38018 java www/jakarta-tomcat4: make passing of JVM f [2002/05/13] ports/38020 java www/jakarta-tomcat4: stop tomcat via java o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/07/13] java/68972 java unpack crashes during make install of lin o [2004/09/22] ports/72014 java Eclipse doesn't work (SigBus 10) if it ha o [2004/12/06] ports/74760 java java/javavmwrapper messes up amavisd-new f [2004/12/21] ports/75348 java Tomcat port overwrites server.xml config o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/03/04] ports/78396 java Java 1.4 fails to compile under FreeBSD 4 o [2005/05/17] java/81176 java Java Webstart does not work o [2005/06/13] java/82183 java Cannot install Java 1.5, lots of missing 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME f [2003/11/21] ports/59571 java improvements of www/jakarta-tomcat4[1] Ma o [2004/08/11] java/70292 java jdk14 compile problem f [2004/11/24] ports/74344 java [proposal] tomcat41ctl: support for passi o [2004/12/16] ports/75143 java There is no way to specify jvm parameters 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Jul 11 12:59:50 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 9A79D16A41C for ; Mon, 11 Jul 2005 12:59:50 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0565F43D48 for ; Mon, 11 Jul 2005 12:59:49 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6BCxmoG067042; Mon, 11 Jul 2005 14:59:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6BCxmmp066946; Mon, 11 Jul 2005 14:59:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 11 Jul 2005 14:59:46 +0200 From: Herve Quiroz To: Martin Jakob Message-ID: <20050711125944.GA48664@arabica.esil.univ-mrs.fr> Mail-Followup-To: Martin Jakob , freebsd-java@freebsd.org References: <20654.1120674784@www86.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20654.1120674784@www86.gmx.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: RFC: New port for using Tomcat with jakarta-commons-daemon (jscv) 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, 11 Jul 2005 12:59:50 -0000 Hi Martin, On Wed, Jul 06, 2005 at 08:33:04PM +0200, Martin Jakob wrote: > BTW, stopping the daemon takes really a long time, but i do not have an idea > why this is the case :( > I will look further into it, but ideas about the cause of this behaviour are > welcome. I've been trying to get this -stop argument working to see if it was faster but with no success to report so far... I believe commons-daemon should provide us with better tools than just kill(1) to stop services. And I find strange that you cannot just do this: $ jsvc -pidfile /var/run/tomcat55.pid -stop Indeed, jsvc wants you to provide a class name, even to stop a service as it seems... > I hope the attached shars make it unharmed to the list. The shars made it unharmed. OTOH, you left some junk files in the second shar file and this will prevent the archive to get extracted on my system. I got it working by removing the related lines in the shar file anyway. :) Herve From owner-freebsd-java@FreeBSD.ORG Wed Jul 13 17:05:50 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5B0216A41C; Wed, 13 Jul 2005 17:05:50 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7279743D46; Wed, 13 Jul 2005 17:05:50 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6DH5oYU091465; Wed, 13 Jul 2005 17:05:50 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6DH5ou4091461; Wed, 13 Jul 2005 17:05:50 GMT (envelope-from glewis) Date: Wed, 13 Jul 2005 17:05:50 GMT From: Greg Lewis Message-Id: <200507131705.j6DH5ou4091461@freefall.freebsd.org> To: cinlung@gmail.com, glewis@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: java/82183: Cannot install Java 1.5, lots of missing file and cannot find the file anywhere on 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: Wed, 13 Jul 2005 17:05:50 -0000 Synopsis: Cannot install Java 1.5, lots of missing file and cannot find the file anywhere on FreeBSD State-Changed-From-To: open->feedback State-Changed-By: glewis State-Changed-When: Wed Jul 13 17:04:44 GMT 2005 State-Changed-Why: This looks a little like you were trying this before Linux emulation was correctly supported on amd64. It should be trying to download i386 RPMs, not amd64 RPMs. This is definitely fixed now, so please make sure your ports collection is up to date and try again. http://www.freebsd.org/cgi/query-pr.cgi?pr=82183 From owner-freebsd-java@FreeBSD.ORG Wed Jul 13 18:30:38 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 3A75716A41C for ; Wed, 13 Jul 2005 18:30:38 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: from hosting.sourcit.net (mail3.eitsolutions.net [68.23.20.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FF343D46 for ; Wed, 13 Jul 2005 18:30:37 +0000 (GMT) (envelope-from bryan.maynard@reallm.com) Received: (qmail 31347 invoked from network); 13 Jul 2005 12:30:35 -0500 Received: from al1-24.207.169.154.charter-stl.com (HELO ?192.168.1.101?) (24.207.169.154) by sourcit.net with SMTP; 13 Jul 2005 12:30:35 -0500 From: Bryan Maynard Organization: Sofos Nikitis To: FreeBSD Java Date: Wed, 13 Jul 2005 12:29:31 +0000 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507131229.32287.bryan.maynard@reallm.com> Subject: Tomcat locked down 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, 13 Jul 2005 18:30:38 -0000 I know this is a simple thing. . . ;-) I installed Tomcat 5.0.30 from the ports and just entered: make install clean. Tomcat seems to run fine, but i can't do anything with it! My user account "Bryan", but Tomcat runs under user "www" so I have to either go to a terminal or log into KDE as root to do anything with Tomcat. Aside from being annoying, the problem with this is that I've also installed sysdeo tomcat plugin for eclipse. When I am logged in a root, I can start, stop, and restart Tomcat just fine. But when I'm logged in as Bryan no such luck. I've tried running Eclipse under "root", but I get an su error when I try that. I also cannot drop webapps nto the webapps forder. This is a problem because I am using Apache Axis and need to put Axis' stuff (jars and such) in the webapps folder. I can't keep switching back and forth between root and Bryan, and certainly can't do all my dev work as root! I know there's a simple solution to all this, I just don't know what it is! Thanks for all your help. . . Bryan -- Open Source: by the people, for the people. From owner-freebsd-java@FreeBSD.ORG Thu Jul 14 06:29: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 7FA1016A41C for ; Thu, 14 Jul 2005 06:29:03 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (matrix.gatewaynet.com [217.19.69.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC1843D48 for ; Thu, 14 Jul 2005 06:29:02 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id j6E6H5mj031482; Thu, 14 Jul 2005 09:17:05 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id j6E6H4lE031478; Thu, 14 Jul 2005 09:17:04 +0300 Date: Thu, 14 Jul 2005 09:17:04 +0300 (EEST) From: Achilleus Mantzios To: Bryan Maynard In-Reply-To: <200507131229.32287.bryan.maynard@reallm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: FreeBSD Java Subject: Re: Tomcat locked down 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, 14 Jul 2005 06:29:03 -0000 O Bryan Maynard έγραψε στις Jul 13, 2005 : > I know this is a simple thing. . . ;-) > > I installed Tomcat 5.0.30 from the ports and just entered: make install clean. > > Tomcat seems to run fine, but i can't do anything with it! My user account > "Bryan", but Tomcat runs under user "www" so I have to either go to a > terminal or log into KDE as root to do anything with Tomcat. Aside from being > annoying, the problem with this is that I've also installed sysdeo tomcat > plugin for eclipse. When I am logged in a root, I can start, stop, and > restart Tomcat just fine. But when I'm logged in as Bryan no such luck. I've > tried running Eclipse under "root", but I get an su error when I try that. /etc/rc.d, /usr/local/etc/rc.d/ tasks are not to be stopped and started by anyone. Only root can do this. > > I also cannot drop webapps nto the webapps forder. This is a problem because I > am using Apache Axis and need to put Axis' stuff (jars and such) in the > webapps folder. I can't keep switching back and forth between root and Bryan, > and certainly can't do all my dev work as root! > > I know there's a simple solution to all this, I just don't know what it is! > Thanks for all your help. . . > > Bryan > IMO, just try to get a little more familiar with the whole system, and i am sure you will find all the solutions you need. In KDE one good way of organizing your workstation is configuring 2,3,4,etc... virtual desktops. Then name each desktop after a name that describes the work done in it. So you could have an admin virtual desktop (with all xterms as root), a development desktop (with terms as bryan), an internet desktop (kmail, mozilla,etc...), and so forth. Once you get used to it you will find it very handy. switches between them. -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu Jul 14 06:34:49 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 2D00916A41C for ; Thu, 14 Jul 2005 06:34:49 +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 293C043D46 for ; Thu, 14 Jul 2005 06:34:47 +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 j6E6YgKU018602; Thu, 14 Jul 2005 09:34:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6E6YgJY000219; Thu, 14 Jul 2005 09:34:42 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.8.13]); Thu, 14 Jul 2005 09:34:40 +0300 Message-ID: <42D60780.8020808@ebs.gr> Date: Thu, 14 Jul 2005 09:34:40 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Achilleus Mantzios References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit Cc: Bryan Maynard , FreeBSD Java Subject: Re: Tomcat locked down 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, 14 Jul 2005 06:34:49 -0000 Achilleus Mantzios wrote: > O Bryan Maynard έγραψε στις Jul 13, 2005 : > > >>I know this is a simple thing. . . ;-) >> >>I installed Tomcat 5.0.30 from the ports and just entered: make install clean. >> >>Tomcat seems to run fine, but i can't do anything with it! My user account >>"Bryan", but Tomcat runs under user "www" so I have to either go to a >>terminal or log into KDE as root to do anything with Tomcat. Aside from being >>annoying, the problem with this is that I've also installed sysdeo tomcat >>plugin for eclipse. When I am logged in a root, I can start, stop, and >>restart Tomcat just fine. But when I'm logged in as Bryan no such luck. I've >>tried running Eclipse under "root", but I get an su error when I try that. > > > /etc/rc.d, /usr/local/etc/rc.d/ tasks are not to be stopped and started > by anyone. Only root can do this. > > >>I also cannot drop webapps nto the webapps forder. This is a problem because I >>am using Apache Axis and need to put Axis' stuff (jars and such) in the >>webapps folder. I can't keep switching back and forth between root and Bryan, >>and certainly can't do all my dev work as root! >> >>I know there's a simple solution to all this, I just don't know what it is! >>Thanks for all your help. . . >> >>Bryan >> > > > IMO, just try to get a little more familiar with the whole system, > and i am sure you will find all the solutions you need. > > In KDE one good way of organizing your workstation is > configuring 2,3,4,etc... virtual desktops. > Then name each desktop after a name that describes > the work done in it. > > So you could have an admin virtual desktop (with all xterms as root), > a development desktop (with terms as bryan), an internet desktop > (kmail, mozilla,etc...), and so forth. > > Once you get used to it you will find it very handy. > switches between them. > What I usually do on my development workstations is to chown -R the tomcat/jboss/eclipse/etc. directories to my own userid. I do appreciate the default userid/permissions on server installations, however. Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Thu Jul 14 06:52:15 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 BD31016A41C for ; Thu, 14 Jul 2005 06:52:15 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6053A43D45 for ; Thu, 14 Jul 2005 06:52:15 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.51) id 1DsxZs-00013y-L0; Thu, 14 Jul 2005 07:52:14 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1DsxZr-0007WO-El; Thu, 14 Jul 2005 07:52:11 +0100 Date: Thu, 14 Jul 2005 07:52:11 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: Bryan Maynard In-Reply-To: <200507131229.32287.bryan.maynard@reallm.com> Message-ID: References: <200507131229.32287.bryan.maynard@reallm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -2.8 X-Spam-Level: -- Cc: FreeBSD Java Subject: Re: Tomcat locked down 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, 14 Jul 2005 06:52:15 -0000 On Wed, 13 Jul 2005, Bryan Maynard wrote: > I know this is a simple thing. . . ;-) > > I installed Tomcat 5.0.30 from the ports and just entered: make install clean. > > Tomcat seems to run fine, but i can't do anything with it! My user account > "Bryan", but Tomcat runs under user "www" so I have to either go to a > terminal or log into KDE as root to do anything with Tomcat. Aside from being > annoying, the problem with this is that I've also installed sysdeo tomcat > plugin for eclipse. When I am logged in a root, I can start, stop, and > restart Tomcat just fine. But when I'm logged in as Bryan no such luck. I've > tried running Eclipse under "root", but I get an su error when I try that. > > I also cannot drop webapps nto the webapps forder. This is a problem because I > am using Apache Axis and need to put Axis' stuff (jars and such) in the > webapps folder. I can't keep switching back and forth between root and Bryan, > and certainly can't do all my dev work as root! > > I know there's a simple solution to all this, I just don't know what it is! > Thanks for all your help. . . For development, I run my "own" tomcat, based on the port installation. Make a ~/tomcat directory, with the following subdirectories: conf logs temp work webapps (These are sufficientl if you're only doing webapp development and don't need to add files to tomcat's shared or common classpaths) Copy the configuration directory contents from the port install into conf; edit as you will. You may also wish to copy the manager webapp into the webapps directory. Finally you'll need a startup/shutdown script. I use something like this (which is in ~/tomcat/tomcat) [[ #!/bin/sh CATALINA_HOME=/usr/local/jakarta-tomcat5.0 CATALINA_BASE=/home/jan/tomcat JAVA_OPTS="-Xss4m -Djava.awt.headless=true" JAVA_HOME=/usr/local/jdk1.4.2 export CATALINA_HOME CATALINA_BASE export JAVA_OPTS JAVA_HOME cd "$CATALINA_BASE" exec "$CATALINA_HOME"/bin/catalina.sh $1 ]] Run this and you'll own your own development tomcat instance, running under your own userid. Once you're at a point where you want to deploy, you can package stuff up and drop it into the "main" tomcat webapps folder, if you so desire. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 9287088 or 3317661 http://ioctl.org/jan/ It's a sad fact that the word "semantics" seems to have lost all meaning. From owner-freebsd-java@FreeBSD.ORG Thu Jul 14 09:27:37 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 8A0A316A41F for ; Thu, 14 Jul 2005 09:27:37 +0000 (GMT) (envelope-from iang@systemics.com) Received: from postix.sonance.net (mx2.sonance.net [62.116.45.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7AB043D48 for ; Thu, 14 Jul 2005 09:27:36 +0000 (GMT) (envelope-from iang@systemics.com) Received: from localhost (localhost [127.0.0.1]) by postix.sonance.net (Postfix) with ESMTP id 4340B1A34F7; Thu, 14 Jul 2005 11:26:49 +0200 (CEST) Received: from postix.sonance.net ([127.0.0.1]) by localhost (zentrix [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02189-10; Thu, 14 Jul 2005 11:26:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by postix.sonance.net (Postfix) with ESMTP id 92BFE1A34E5; Thu, 14 Jul 2005 11:26:48 +0200 (CEST) From: Ian Grigg To: freebsd-java@freebsd.org Date: Thu, 14 Jul 2005 10:25:48 +0100 User-Agent: KMail/1.8.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507141025.51464.iang@systemics.com> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at sonance.net Cc: Bryan Maynard Subject: Re: Tomcat locked down 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, 14 Jul 2005 09:27:37 -0000 On Thursday 14 July 2005 07:17, Achilleus Mantzios wrote: > O Bryan Maynard =DD=E3=F1=E1=F8=E5 =F3=F4=E9=F2 Jul 13, 2005 : >=20 > > I know this is a simple thing. . . ;-) > /etc/rc.d, /usr/local/etc/rc.d/ tasks are not to be stopped and started > by anyone. Only root can do this. I usually install the below script in /usr/local/etc/rc.d as name z_users.sh to give user apps a shot under their own Id. (Although this answers the problem of how to run non-root apps on startup, not how to run root apps as a user.) iang 8<----------------------------- #!/usr/local/bin/bash users=3Diang z_users_file=3D/usr/local/etc/z_users if [ -r "${z_users_file}" ] then users=3D$(cat ${z_users_file}) fi set -x echo User Startup: for user in $users _ do [ "$user" =3D _ ] && break eval dir=3D~${user} rcdir=3D${dir}/rc.d if [ -d "${rcdir}" ] then cd ${dir} echo -n ${name} for script in ${rcdir}/*.sh do # watch out - there are two different su(1). [ -x ${script} ] && /usr/bin/su ${user} -c "${script} start" \ 2>&1 0 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 84D6716A41C for ; Fri, 15 Jul 2005 11:40:58 +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 684E543D46 for ; Fri, 15 Jul 2005 11:40:56 +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 j6FBejKU023446; Fri, 15 Jul 2005 14:40:45 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6FBejIf089251; Fri, 15 Jul 2005 14:40:45 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.323 [267.8.15]); Fri, 15 Jul 2005 14:40:42 +0300 Message-ID: <42D7A0BA.8000606@ebs.gr> Date: Fri, 15 Jul 2005 14:40:42 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jonc@chen.org.nz Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java Subject: JBoss3 upgrade? 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: Fri, 15 Jul 2005 11:40:58 -0000 Would it be possible to upgrade the jboss3 port to 3.2.7? I would have tried it myself, but eclipse 3.1 has been consuming all my spare time these days :-( Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri Jul 15 15:52:31 2005 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A28316A41C; Fri, 15 Jul 2005 15:52:31 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E0343D75; Fri, 15 Jul 2005 15:52:26 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from freefall.freebsd.org (pav@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6FFqPP7046481; Fri, 15 Jul 2005 15:52:25 GMT (envelope-from pav@freefall.freebsd.org) Received: (from pav@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6FFqPce046477; Fri, 15 Jul 2005 15:52:25 GMT (envelope-from pav) Date: Fri, 15 Jul 2005 15:52:25 GMT From: Pav Lucistnik Message-Id: <200507151552.j6FFqPce046477@freefall.freebsd.org> To: bati@nostromo.cz, pav@FreeBSD.org, freebsd-java@FreeBSD.org Cc: Subject: Re: ports/75348: Tomcat port overwrites server.xml config file 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: Fri, 15 Jul 2005 15:52:31 -0000 Synopsis: Tomcat port overwrites server.xml config file State-Changed-From-To: feedback->closed State-Changed-By: pav State-Changed-When: Fri Jul 15 15:52:13 GMT 2005 State-Changed-Why: Feedback timeout, and it looks like resolved anyway. http://www.freebsd.org/cgi/query-pr.cgi?pr=75348 From owner-freebsd-java@FreeBSD.ORG Fri Jul 15 23:53:13 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 2AB9A16A41C for ; Fri, 15 Jul 2005 23:53:13 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8DBB43D46 for ; Fri, 15 Jul 2005 23:53:12 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id EF7AA5641F; Sat, 16 Jul 2005 11:53:10 +1200 (NZST) Date: Sat, 16 Jul 2005 11:53:10 +1200 From: Jonathan Chen To: Panagiotis Astithas Message-ID: <20050715235310.GE34999@osiris.chen.org.nz> References: <42D7A0BA.8000606@ebs.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D7A0BA.8000606@ebs.gr> User-Agent: Mutt/1.4.2.1i Cc: java Subject: Re: JBoss3 upgrade? 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: Fri, 15 Jul 2005 23:53:13 -0000 On Fri, Jul 15, 2005 at 02:40:42PM +0300, Panagiotis Astithas wrote: > Would it be possible to upgrade the jboss3 port to 3.2.7? I would have > tried it myself, but eclipse 3.1 has been consuming all my spare time > these days :-( No problems; I'll get it done over the weekend. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "If everything's under control, you're going too slow" - Mario Andretti From owner-freebsd-java@FreeBSD.ORG Sat Jul 16 23:11:53 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 A4F4316A41C for ; Sat, 16 Jul 2005 23:11:53 +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 C19ED43D45 for ; Sat, 16 Jul 2005 23:11:51 +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 j6GNBiKU029044; Sun, 17 Jul 2005 02:11:44 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6GNBfGv011332; Sun, 17 Jul 2005 02:11:43 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42D993D0.5070703@ebs.gr> Date: Sun, 17 Jul 2005 02:10:08 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jonathan Chen References: <42D7A0BA.8000606@ebs.gr> <20050715235310.GE34999@osiris.chen.org.nz> In-Reply-To: <20050715235310.GE34999@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: java Subject: Re: JBoss3 upgrade? 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: Sat, 16 Jul 2005 23:11:53 -0000 Jonathan Chen wrote: > On Fri, Jul 15, 2005 at 02:40:42PM +0300, Panagiotis Astithas wrote: > >>Would it be possible to upgrade the jboss3 port to 3.2.7? I would have >>tried it myself, but eclipse 3.1 has been consuming all my spare time >>these days :-( > > > No problems; I'll get it done over the weekend. > > Cheers. Excellent! Thanks, Panagiotis From owner-freebsd-java@FreeBSD.ORG Sat Jul 16 23:38:31 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 5517116A41C for ; Sat, 16 Jul 2005 23:38:31 +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 76E9643D45 for ; Sat, 16 Jul 2005 23:38:30 +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 j6GNcSKU029102; Sun, 17 Jul 2005 02:38:28 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6GNcQBU011543; Sun, 17 Jul 2005 02:38:27 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <42D99A15.7090408@ebs.gr> Date: Sun, 17 Jul 2005 02:36:53 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050507) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Georg-W. Koltermann" References: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> In-Reply-To: <1120942860.19352.7.camel@localhost.eu.mscsoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Eclipse 3.1 port? 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: Sat, 16 Jul 2005 23:38:31 -0000 Georg-W. Koltermann wrote: > Hi, > > I'd like to ask if someone is working on an Eclipse 3.1 port. > > If not, I tried to compile Eclipse 3.1 myself from sources and I do get > it to start, but it somehow malfunctions severely. E.g. whenever a file > selection box is expected to open, e.g. during workspace selection when > you click "browse", nothing happens. Same when you select File->open. > Also some status dialogs that should show just a progress bar are opened > really large (default size?) when they really should just be bar-shaped. > > A .log file is not even created, strangely enough. > > Maybe someone has seen this problem in the past? > > -- > Regards, > Georg. > I have a WIP here (a patch for the current port, or a shell archive with the full thing): http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.diff.gz http://www.netmode.ntua.gr/~past/freebsd/eclipse-devel.shar.gz It works fine so far, (only tested on gtk and x86) but I have some more stuff to check out before I'm done with it. Any reports are welcome. Cheers, Panagiotis