Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 92891 invoked from network); 18 May 2007 20:45:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 May 2007 20:45:41 -0000 Received: (qmail 12790 invoked by uid 500); 18 May 2007 20:45:44 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 12740 invoked by uid 500); 18 May 2007 20:45:44 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 12728 invoked by uid 99); 18 May 2007 20:45:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 13:45:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 13:45:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E84D6714022 for ; Fri, 18 May 2007 13:45:17 -0700 (PDT) Message-ID: <20437891.1179521117948.JavaMail.jira@brutus> Date: Fri, 18 May 2007 13:45:17 -0700 (PDT) From: "Ted Kirby (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3174) Can't start server with eclipse plugin In-Reply-To: <2908613.1179518356183.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Kirby updated GERONIMO-3174: -------------------------------- Attachment: G3174.patch I just needed to add a dependency of geronimo-kernel on geronimo-cli. I took code from Daemon and bent it to my will... Passing an object as a parameter is a bit dangerous/promiscuous! With the attached patch, I was able to start the server from the eclipse plugin. > Can't start server with eclipse plugin > -------------------------------------- > > Key: GERONIMO-3174 > URL: https://issues.apache.org/jira/browse/GERONIMO-3174 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: eclipse-plugin > Affects Versions: 2.0-M6 > Reporter: Ted Kirby > Priority: Critical > Fix For: 2.0-M6 > > Attachments: G3174.patch > > > I am using rev 539255. When I start the server, I get: > Exception in thread "main" java.lang.IllegalArgumentException: Argument type is [class [Ljava.lang.String;]; expected [class org.apache.geronimo.cli.daemon.DaemonCLParser] > at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:56) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:33) > It looks like this code-path was missed in recent CLI refactoring, which occurred after last eclipse plugin update. > I tried having the eclise plugin start org.apache.geronimo.system.main.Daemon instead of org.apache.geronimo.kernel.util.MainConfigurationBootstrapper, but the server never seemed to come up. > My next attempt will be to fix MainConfigurationBootstrapper.main(String[] args) like Daemon.main(String[] args), tho I am not sure that have geronimo-kernel depend on geronimo-system will work or is proper. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.