目前,Mule IDE 2.0发布了。试用了一下,总体上来说非常的好使,配置完MULE_HOME,可以创建mule project和mule config file,然后可以在IDE中直接运行起来。不过,也发现了IDE上的几个问题。
这几天,在了解Mule与Smooks集成方面的东西,在MuleForge上有一个项目:Smooks for Mule,现在已经可以支持Mule 2.1.X了。测试了一下,还不支持最新发布的Mule 2.2版本。
在Mule 2.1.2 上跑 Smooks for Mule 2.1.x的例子非常的顺畅,但是当使用Mule IDE 2.0来运行同样的例子,就报如下异常:
ERROR 2009-03-26 11:21:03,312 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed.
org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Error creating bean with name 'BasicService': Cannot create inner bean '(inner bean)' of type [org.mule.routing.outbound.DefaultOutboundRouterCollection] while setting bean property 'outboundRouter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.milyn.smooks.mule.Router] while setting bean property 'routers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: IOException while trying to get smooks instance:
没有仔细的查,初步怀疑这是Mule IDE的bug。
还有一个问题是,Mule IDE指定MULE_HOME以后,它只找到lib目录下的mule和opt目录中jar,而不去寻找user目录下的jar文件。这样,要运行一些其他的应用,必须要把相应的jar文件copy到opt目录中。

这几天,在了解Mule与Smooks集成方面的东西,在MuleForge上有一个项目:Smooks for Mule,现在已经可以支持Mule 2.1.X了。测试了一下,还不支持最新发布的Mule 2.2版本。
在Mule 2.1.2 上跑 Smooks for Mule 2.1.x的例子非常的顺畅,但是当使用Mule IDE 2.0来运行同样的例子,就报如下异常:
ERROR 2009-03-26 11:21:03,312 [main] org.mule.config.spring.SpringXmlConfigurationBuilder: Configuration with "org.mule.config.spring.SpringXmlConfigurationBuilder" failed.
org.mule.api.lifecycle.InitialisationException: Initialisation Failure: Error creating bean with name 'BasicService': Cannot create inner bean '(inner bean)' of type [org.mule.routing.outbound.DefaultOutboundRouterCollection] while setting bean property 'outboundRouter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.milyn.smooks.mule.Router] while setting bean property 'routers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: IOException while trying to get smooks instance:
没有仔细的查,初步怀疑这是Mule IDE的bug。
还有一个问题是,Mule IDE指定MULE_HOME以后,它只找到lib目录下的mule和opt目录中jar,而不去寻找user目录下的jar文件。这样,要运行一些其他的应用,必须要把相应的jar文件copy到opt目录中。


没有评论:
发表评论