|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[Mule 2.0.1] netboot problem when loading configuration from galaxyHi,
I'm trying to start mule with a configuration file from the galaxy repository. I was able to run the netboot setup with the same configuration file in a local folder. But when trying to fetch the configuration file from galaxy it goes wrong. Has someone an idea why ? PS The configuration file is in another workspace ("Default workspace") Here's the console output: C:\java\mule2-netboot-1.0\bin>mule.bat -builder org.mule.galaxy.mule2.config.Gal axyConfigurationBuilder -config "http://admin:admin@localhost:8080/api/registry/ Default%20Workspace/file-config.xml?version=1" -M-Dgalaxy.app.workspaces="Mule" Running in console/foreground mode by default, use Ctrl-C to exit... --> Wrapper Started as Console Launching a JVM... Mule Netboot started ============================================================================== MULE_HOME: C:\java\mule2-netboot-1.0 Local Jar Cache: C:\java\mule2-netboot-1.0\lib\cache Galaxy URL: http://localhost:8080/api/registry Username: admin NetBoot Workspace: Mule Application Workspaces: {"Mule"} Proc Units: 4 Clean: false Debug: false ============================================================================== ============================================================================== Fetching artifacts from Galaxy... ============================================================================== Updating a local copy of xercesImpl-2.9.1.jar Updating a local copy of xalan-2.7.1.jar Updating a local copy of xml-apis-1.3.04.jar Updating a local copy of xml-serializer-2.7.1.jar Launching Mule, get set for a hyper-jump... Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO 2008-07-03 11:07:10,295 [WrapperListener_start_runner] org.mule.MuleServer : Mule Server initializing... ERROR 2008-07-03 11:07:11,311 [WrapperListener_start_runner] org.mule.config.bui lders.AbstractConfigurationBuilder: Configuration with "org.mule.galaxy.mule2.co nfig.GalaxyConfigurationBuilder" failed. java.lang.ClassCastException: org.apache.abdera.parser.stax.FOMExtensibleElement at org.mule.galaxy.config.ConfigurationSupport.getArtifacts(Configuratio nSupport.java:85) at org.mule.galaxy.mule2.config.GalaxyConfigurationBuilder.doConfigure(G alaxyConfigurationBuilder.java:84) at org.mule.config.builders.AbstractConfigurationBuilder.configure(Abstr actConfigurationBuilder.java:38) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultM uleContextFactory.java:178) at org.mule.MuleServer.initialize(MuleServer.java:346) at org.mule.MuleServer.run(MuleServer.java:252) at org.mule.MuleServer.start(MuleServer.java:239) at org.mule.MuleServer.main(MuleServer.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.galaxy.netboot.launch.MuleServerWrapper.start(MuleServerWrap per.java:60) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java: 2788) ERROR 2008-07-03 11:07:11,342 [WrapperListener_start_runner] org.mule.MuleServer : ******************************************************************************** Message : org.apache.abdera.parser.stax.FOMExtensibleElement (java .lang.ClassCastException) Type : org.mule.api.config.ConfigurationException Code : MULE_ERROR-12999 JavaDoc : http://mule.mulesource.org/docs/apidocs/org/mule/api/con fig/ConfigurationException.html ******************************************************************************** Exception stack is: 1. org.apache.abdera.parser.stax.FOMExtensibleElement (java.lang.ClassCastExcept ion) org.mule.galaxy.config.ConfigurationSupport:85 (http://java.sun.com/j2se/1.5.0 /docs/api/java/lang/ClassCastException.html) 2. org.apache.abdera.parser.stax.FOMExtensibleElement (java.lang.ClassCastExcept ion) (org.mule.api.config.ConfigurationException) org.mule.config.builders.AbstractConfigurationBuilder:44 (http://mule.mulesour ce.org/docs/apidocs/org/mule/api/config/ConfigurationException.html) ******************************************************************************** Root Exception stack trace: java.lang.ClassCastException: org.apache.abdera.parser.stax.FOMExtensibleElement at org.mule.galaxy.config.ConfigurationSupport.getArtifacts(Configuratio nSupport.java:85) at org.mule.galaxy.mule2.config.GalaxyConfigurationBuilder.doConfigure(G alaxyConfigurationBuilder.java:84) at org.mule.config.builders.AbstractConfigurationBuilder.configure(Abstr actConfigurationBuilder.java:38) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultM uleContextFactory.java:178) at org.mule.MuleServer.initialize(MuleServer.java:346) at org.mule.MuleServer.run(MuleServer.java:252) at org.mule.MuleServer.start(MuleServer.java:239) at org.mule.MuleServer.main(MuleServer.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.mule.galaxy.netboot.launch.MuleServerWrapper.start(MuleServerWrap per.java:60) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java: 2788) ******************************************************************************** ERROR 2008-07-03 11:07:11,358 [WrapperListener_start_runner] org.mule.MuleServer : ******************************************************************************** * A Fatal error has occurred while the server was running: * * org.apache.abdera.parser.stax.FOMExtensibleElement * * (java.lang.ClassCastException) * * * * The error is fatal, the system must shutdown * * Server started: 01/01/70 01:00 * * Server shutdown: 03/07/08 11:07 * ******************************************************************************** Mule Netboot Shutting down... INFO 2008-07-03 11:07:11,373 [Thread-2] org.mule.MuleServer: Mule server shutti ng down due to normal shutdown request INFO 2008-07-03 11:07:11,373 [Thread-2] org.mule.MuleServer: ******************************************************************************** ****** * The server is shutting down due to normal shutdown request * * Server started: 01/01/70 01:00 * * Server shutdown: 03/07/08 11:07 * ******************************************************************************** ****** <-- Wrapper Stopped |
|
|
Re: [Mule 2.0.1] netboot problem when loading configuration from galaxyHello,
It seems that we have bad error reporting. The issue is with the URL you're using. Currently we don't support referring to a configuration directly, you have to use a query: http://localhost:8080/api/registry?q=select artifact where name = 'config.xml' and version = '1.0' Granted, it seems rather silly that we should require this. I've filed a JIRA so we get this fixed: http://mule.mulesource.org/jira/browse/GALAXY-326 Cheers, Dan On Thu, Jul 3, 2008 at 5:22 AM, L.Depauw <luc.depauw@...> wrote:
-- Dan Diephouse http://mulesource.com | http://netzooid.com/blog |
|
|
Re: [Mule 2.0.1] netboot problem when loading configuration from galaxyThanks Dan,
I got it working with this command: mule.bat -builder org.mule.galaxy.mule2.config.GalaxyConfigurationBuilder -config "http://admin:admin@localhost:8080/api/registry?q=select artifact where name = 'file-config.xml' and version ='1'" -M-Dgalaxy.app.workspaces="Mule" |
|
|
Re: [Mule 2.0.1] netboot problem when loading configuration from galaxyJust a tip, there's no need to specify an app workspace, Mule is the default one.
Andrew On Fri, Jul 4, 2008 at 3:05 AM, L.Depauw <luc.depauw@...> wrote:
|
| Free embeddable forum powered by Nabble | Forum Help |