You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Hernan Cunico (JIRA)" <ji...@apache.org> on 2007/05/18 22:15:16 UTC

[jira] Commented: (GERONIMO-3174) Can't start server with eclipse plugin

    [ https://issues.apache.org/jira/browse/GERONIMO-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497017 ] 

Hernan Cunico commented on GERONIMO-3174:
-----------------------------------------

Although not with eclipse, I was jut getting pretty much the same error on M5. 
Doesn't make any sense to me but it got fixed by placing the server.jar at the very beginning of the classpath while still using org.apache.geronimo.cli.daemon.DaemonCLI to start the server.

> 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
>
>
> 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.