From user-return-14529-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Sat Feb 27 10:45:22 2010 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 21802 invoked from network); 27 Feb 2010 10:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Feb 2010 10:45:21 -0000 Received: (qmail 3011 invoked by uid 500); 27 Feb 2010 10:45:21 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 2979 invoked by uid 500); 27 Feb 2010 10:45:20 -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 2972 invoked by uid 99); 27 Feb 2010 10:45:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:45:20 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.158 is neither permitted nor denied by domain of sddoubt2@gmail.com) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Feb 2010 10:45:11 +0000 Received: from ben.nabble.com ([192.168.236.152]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NlKAF-0000VF-1W for user@geronimo.apache.org; Sat, 27 Feb 2010 02:44:51 -0800 Date: Sat, 27 Feb 2010 02:44:51 -0800 (PST) From: sddoubt2 To: user@geronimo.apache.org Message-ID: <1267267491041-418981.post@n3.nabble.com> In-Reply-To: <5e7fd1eb1002260219y47cd0422yee6e3f26e3a1e12c@mail.gmail.com> References: <1267169191637-416760.post@n3.nabble.com> <5e7fd1eb1002260219y47cd0422yee6e3f26e3a1e12c@mail.gmail.com> Subject: Re: Start the server programmatically by using Java API MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jack, Thanks for your response. I tried running geronimo run by setting GERONIMO_BATCH_ECHO=on I got the options as javaagent (jpa.jar) -Djava.endorsed.dirs, -Djava.ext.dirs, -Dorg.apache.geronimo.home.dir, -Djava.io.tmpdir, -jar executing -jar server.jar So should these be the arguments of the executeMain method of the DaemonCLI class? Something like String args[] = {option value, "-jar","server.jar"} Is this the right way? Do we need to specify all the options and the location of the jars/directories in the path? Thanks for ur help !! -- View this message in context: http://n3.nabble.com/Start-the-server-programmatically-by-using-Java-API-tp416760p418981.html Sent from the Users mailing list archive at Nabble.com.