我试图在weblogic服务器中部署我的mule应用程序战争,它失败了,给出了以下异常。
我们有许可证。请通过安装许可证告诉我如何在weblogic服务器中部署。
调用init方法失败;嵌套异常是org.mule.api.lifecycle.InitialisationException:MuleSoft DataMapper的许可证无效,请联系MuleSoft info@mulesoft.com
`
Mar 19, 2014 3:32:32 PM IST> <Error> <ServletContext-/MyApplication-1.0.0-SNAPSHOT> <BEA-000000> <Error creating bean with name 'TestReqFlow': Cannot create inner bean '(inner bean)' of type [org.mule.config.spring.factories.FlowRefFactoryBean] while setting bean property 'messageProcessors' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InvocationFlowRef': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Invalid licensefor MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com (org.mule.api.lifecycle.InitialisationException)
org.mule.api.config.ConfigurationException: Error creating bean with name 'TestReqFlow'
: Cannot create inner bean '(inner bean)' of type org.mule.config.spring.factories.FlowRefFactoryBean] while setting bean property 'messageProcessors' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InvocationFlowRef': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Invalid license for MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com (org.mule.api.lifecycle.InitialisationException)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:52) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:78) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:103) at org.mule.config.builders.MuleXmlBuilderContextListener.createMuleContext(MuleXmlBuilderContextListener.java:169) at org.mule.config.builders.MuleXmlBuilderContextListener.initialize(MuleXmlBuilderContextListener.java:98) Truncated. see log file for complete stacktrace Caused By: org.mule.api.lifecycle.InitialisationException: Error creating bean with name 'TestReqFlow': Cannot create inner bean '(inner bean)' of type [org.mule.config.spring.factories.FlowRefFactoryBean] while setting bean property'messageProcessors' with key [1]; nested exception is org.springframework.beans.
factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'InvocationFlowRef': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Invalid license for MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:1
17) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegi
stry(SpringXmlConfigurationBuilder.java:119) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(Spri
ngXmlConfigurationBuilder.java:73) at org.mule.config.builders.WebappMuleXmlConfigurationBuilder.doConfigure(WebappMuleXmlConfigurationBuilder.java:82) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:46) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'TestReqFlow': Cannot create inner bean '(inner bean)' of type[org.mule.config.spring.factories.FlowRefFactoryBean] while setting bean property 'messageProcessors' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is org.springframework. beans.factory.BeanCreationException: Error creating bean with name 'InvocationFlowRef': Invocation of init method failed; nested exception is org.mule.api.lifecycle.InitialisationException: Invalid license for MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:282) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:154)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name '(inner bean)': Invocation of init method failed; nested excep
tion is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'InvocationFlowRef': Invocation of init method failed; nested
exception is org.mule.api.lifecycle.InitialisationException: Invalid license fo
r MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:271)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'InvocationFlowRef': Invocation of init method failed; nes
ted exception is org.mule.api.lifecycle.InitialisationException: Invalid license
for MuleSoft DataMapper, please contact MuleSoft info@mulesoft.com
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:223)
Truncated. see log file for complete stacktrace
Caused By: org.mule.api.lifecycle.InitialisationException: Invalid license for M
uleSoft DataMapper, please contact MuleSoft info@mulesoft.com
at com.mulesoft.mule.module.datamapper.processors.DataMapperMessageProce
ssor.initialise(DataMapperMessageProcessor.java:84)
at org.mule.processor.chain.AbstractMessageProcessorChain.initialise(Abs
tractMessageProcessorChain.java:83)
at org.mule.construct.AbstractFlowConstruct.initialiseIfInitialisable(Ab
stractFlowConstruct.java:318)
at org.mule.construct.AbstractPipeline.doInitialise(AbstractPipeline.jav
a:212)
at org.mule.construct.AbstractFlowConstruct$1.onTransition(AbstractFlowC
onstruct.java:113)
Truncated. see log file for complete stacktrace
Caused By: com.mulesource.licm.impl.InvalidLicenseKeyException: de.schlichtherle
.license.NoLicenseInstalledException: There is no license certificate installed
for MuleSource Enterprise Edition.
at com.mulesource.licm.impl.TrueLicenseHelper.validateLicenseKey(TrueLic
enseHelper.java:233)
at com.mulesource.licm.impl.MuleLicenseManager.validate(MuleLicenseManag
er.java:61)
at com.mulesoft.mule.module.datamapper.boot.DataMapperLicenseCheck.loadL
icenseKey(DataMapperLicenseCheck.java:23)
at com.mulesoft.mule.module.datamapper.boot.DataMapperLicenseCheck.check
DMEntitlement(DataMapperLicenseCheck.java:35)
at com.mulesoft.mule.module.datamapper.processors.DataMapperMessageProce
ssor.initialise(DataMapperMessageProcessor.java:78)
Truncated. see log file for complete stacktrace
Caused By: de.schlichtherle.license.NoLicenseInstalledException: There is no lic
ense certificate installed for MuleSource Enterprise Edition.
at de.schlichtherle.license.ftp.LicenseManager.verify(Unknown Source)
at de.schlichtherle.license.LicenseManager.verify(Unknown Source)
at com.mulesource.licm.impl.TrueLicenseHelper.validateLicenseKey(TrueLic
enseHelper.java:228)
at com.mulesource.licm.impl.MuleLicenseManager.validate(MuleLicenseManag
er.java:61)
at com.mulesoft.mule.module.datamapper.boot.DataMapperLicenseCheck.loadL
icenseKey(DataMapperLicenseCheck.java:23)
Truncated. see log file for complete stacktrace
`
答案 0 :(得分:2)
DataMapper是一个Mule Enterprise功能。如果您有订阅,请联系MuleSoft支持。
答案 1 :(得分:0)
完整的DataMapper功能是Mule ESB企业版(EE)独有的,如果您将项目部署到Mule ESB Community Edition(CE),它将无法运行。
请联系MuleSoft,将Data Mapper作为您订阅的权利。
如果您需要更多详细信息,请与我们联系。
Sanjeet Pandey
答案 2 :(得分:0)
Mulesoft提供了在WebLogic中部署Mule应用程序的文档: http://www.mulesoft.org/documentation/display/current/Deploying+Mule+to+WebLogic
并安装Enterprise许可证: http://www.mulesoft.org/documentation/display/current/Installing+an+Enterprise+License
但是,如果您拥有Enterprise许可证,您也可以直接联系Mulesoft作为支持包的一部分。