Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 74386 invoked from network); 7 Jun 2007 22:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 22:16:16 -0000 Received: (qmail 62999 invoked by uid 500); 7 Jun 2007 22:16:17 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 62975 invoked by uid 500); 7 Jun 2007 22:16:16 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 62964 invoked by uid 99); 7 Jun 2007 22:16:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 15:16:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [69.147.102.79] (HELO smtp116.plus.mail.re1.yahoo.com) (69.147.102.79) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Jun 2007 15:16:12 -0700 Received: (qmail 95925 invoked from network); 7 Jun 2007 22:15:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=aF2aivR59aJKXpX+LU7/O7rypNl7a8KYnjqtu6lqv7e051VbFEAt6PpMe8CLTH2Rei/tSNGWo1aRVuDdA32iMgXw8mkhQTEwQr9He5JBZBtn+UZLdlqF4hqkDwQ3GBSorJD0C0v3zuGbszLMixg9Up7BixOCxrZHhdo9CYLlWik= ; Received: from unknown (HELO ?192.168.0.16?) (david_jencks@64.62.18.244 with plain) by smtp116.plus.mail.re1.yahoo.com with SMTP; 7 Jun 2007 22:15:51 -0000 X-YMail-OSG: 0e02w0QVM1kX5iLKnpekSSwH0ERFu.qYQc3wMCjo5ahPVeZJNQWOZ5AYBvaxkY8ZPcCgzACYKn0.7_27ltdkNcFNZxcmJm_YFrqhnla.3.enknIMhA-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <51ef3a920706071211y7c076d72k1fcde2f98eb5e921@mail.gmail.com> References: <51ef3a920706070723i7f188432l1891bc4a31091fc9@mail.gmail.com> <51ef3a920706071211y7c076d72k1fcde2f98eb5e921@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <639A8920-6A20-4B28-9B52-1DB237C83D02@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Passing application server commands Date: Thu, 7 Jun 2007 15:16:28 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Jun 7, 2007, at 12:11 PM, Christopher Gibbs wrote: > Thanks for the help David. > > Is there somewhere I can find a list of the gbeans contained within > each module and their options? I ask because I don't have the gbean > "ServerSystemProperties" anywhere in my config.xml file and I can't > quite seem to make it work. I think there's a gbean/mbean viewer available somewhere near the bottom of the admin console. Alternatively you can look at the plans in configs. > > I have tried what you suggested (in both the rmi-naming and the > j2ee-server modules) but I don't know what other properties I need and > Geronimo errors on startup every time. I don't have a copy of the g. 1.1.1 source handy. It's quite possible that the gbean is named something else (SystemProperties?) or in yet another module I haven't thought of yet :-) Thinking about this more a better and more self contained solution would be to include a SystemProperties gbean to set this property in the geronimo plan for this app. Then you can package confluence as a geronimo plugin that won't require additional external configuration. With the current code it's possible that this approach would not set the system property before it's read by confluence. If you try this please let us know how it works, it should be pretty easy to fix the timing problem at least in 1.2 and 2.0. hope this helps david jencks > > - Chris > > On 6/7/07, David Jencks wrote: >> >> On Jun 7, 2007, at 7:23 AM, Christopher Gibbs wrote: >> >> > I want to pass a command to Tomcat when Geronimo starts up a >> specific >> > application but don't know how to go about doing it. >> > >> > I am running Atlassian Confluence 2.5.3 in Geronimo 1.1.1 w/ >> Tomcat and >> > need to pass "- >> Dconfluence.disable.peopledirectory.anonymous=true" to >> > Tomcat when Confluence starts up. >> > http://confluence.atlassian.com/display/DOC/Hiding+the+People >> > +Directory >> > >> > Can someone point me in the right direction? >> >> If you start geronimo with your own command line (rather than a >> script) you can just include the system property in the command >> line. There's probably a way to do this with our scripts, but I am >> not familiar with them. >> >> We also have a SystemProperties gbean class. If I remember correctly >> in g. 1.1.1 there's an instance in the rmi-naming or j2ee-server >> module. You can reconfigure it in var/config/config.xml something >> like this: >> >> >> >> >> >> confluence.disable.peopledirectory.anonymous=true >> >> >> >> Hope this helps >> >> thanks >> david jencks >> >> >> > >> > Thanks! >> > >> > - Chris >> > > > -- > Christopher Gibbs > Email / LDAP Administrator > Web Integration & Programming > Abilene Christian University