andyj2ee

java tec sky

统计

留言簿(4)

activemq

aop

design pattern

other blog

spring

workflow

多线程

软件架构师

阅读排行榜

评论排行榜

activemq-4.2 SNAPSHOT 嵌入到jboss-4.0.3sp1的异常

下载包为:
activemq-rar-4.2-incubator-SNAPSHOT-20070121.082022-22.rar

异常1:

    [java] 00:58:46,434 WARN  [ServiceController] Problem starting service jboss.jca:service=RARDepl
oyment,name='activemq-rar-4.2-incubator-SNAPSHOT-20070121.082022-22.rar'
    [java] javax.resource.spi.ResourceAdapterInternalException: Failed to startup an embedded broker
: xbean:broker-config.xml, due to: java.lang.IllegalStateException: Could not find valid implementat
ion for: 2.0

    [java]      at org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java
:83)
    [java]      at org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:107)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
274)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.j
ava:230)
    [java]      at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.jav
a:110)
    [java]      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943
)
    [java]      at $Proxy0.start(Unknown Source)
    [java]      at org.jboss.system.ServiceController.start(ServiceController.java:428)
    [java]      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy33.start(Unknown Source)
    [java]      at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSuppo
rt.java:330)
    [java]      at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java
:112)
    [java]      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
    [java]      at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
nInterceptor.java:127)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy9.deploy(Unknown Source)
    [java]      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.jav
a:319)
    [java]      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:
507)
    [java]      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abstr
actDeploymentScanner.java:192)
    [java]      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeplo
ymentScanner.java:265)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
274)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.j
ava:230)
    [java]      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943
)
    [java]      at $Proxy0.start(Unknown Source)
    [java]      at org.jboss.system.ServiceController.start(ServiceController.java:428)
    [java]      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy4.start(Unknown Source)
    [java]      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
    [java]      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
nInterceptor.java:127)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy5.deploy(Unknown Source)
    [java]      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
    [java]      at org.jboss.system.server.ServerImpl.org$jboss$system$server$ServerImpl$start$aop(S
erverImpl.java:330)
    [java]      at org.jboss.system.server.ServerImpl$start_N8025343665958530775.invokeNext(ServerIm
pl$start_N8025343665958530775.java)
    [java]      at com.wxxr.common.aop.bootrap.JBossServerStartupInterceptor.invoke(JBossServerStart
upInterceptor.java:36)
    [java]      at org.jboss.system.server.ServerImpl$start_N8025343665958530775.invokeNext(ServerIm
pl$start_N8025343665958530775.java)
    [java]      at org.jboss.system.server.ServerImpl.start(ServerImpl.java)
    [java]      at org.jboss.Main.boot(Main.java:187)
    [java]      at org.jboss.Main$1.run(Main.java:438)
    [java]      at java.lang.Thread.run(Thread.java:595)
    [java] Caused by: java.lang.IllegalStateException: Could not find valid implementation for: 2.0
    [java]      at org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBean
Helper.java:48)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinition
s(ClassPathXmlApplicationContext.java:170)
    [java]      at org.springframework.context.support.AbstractRefreshableApplicationContext.refresh
BeanFactory(AbstractRefreshableApplicationContext.java:89)
    [java]      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAp
plicationContext.java:268)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXm
lApplicationContext.java:161)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXm
lApplicationContext.java:51)
    [java]      at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java
:41)
    [java]      at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
    [java]      at org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java
:80)
    [java]      ... 92 more
    [java] Caused by: java.lang.reflect.InvocationTargetException
    [java]      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java]      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorIm
pl.java:39)
    [java]      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAc
cessorImpl.java:27)
    [java]      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    [java]      at org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBean
Helper.java:46)
    [java]      ... 100 more
    [java] Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlBeanDefi
nitionReader.setValidationMode(I)V
    [java]      at org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init>(XBeanXmlBe
anDefinitionReader.java:58)
    [java]      ... 105 more

解决办法:
spring 的jar包有重复,删除spring-1.4.jar,保留spring-2.0.jar


异常2:

    [java] 01:02:27,663 INFO  [XBeanXmlBeanDefinitionReader] Loading XML bean definitions from class
 path resource [broker-config.xml]
    [java] 01:02:27,927 WARN  [ServiceController] Problem starting service jboss.jca:service=RARDepl
oyment,name='activemq-rar-4.2-incubator-SNAPSHOT-20070121.082022-22.rar'
    [java] javax.resource.spi.ResourceAdapterInternalException: Failed to startup an embedded broker
: xbean:broker-config.xml, due to: org.springframework.beans.factory.BeanDefinitionStoreException: U
nrecognized xbean element mapping: beans in namespace
http://activemq.org/config/1.0
    [java]      at org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java
:83)
    [java]      at org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:107)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
274)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.j
ava:230)
    [java]      at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.jav
a:110)
    [java]      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943
)
    [java]      at $Proxy0.start(Unknown Source)
    [java]      at org.jboss.system.ServiceController.start(ServiceController.java:428)
    [java]      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy33.start(Unknown Source)
    [java]      at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSuppo
rt.java:330)
    [java]      at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java
:112)
    [java]      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
    [java]      at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
nInterceptor.java:127)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy9.deploy(Unknown Source)
    [java]      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.jav
a:319)
    [java]      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:
507)
    [java]      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(Abstr
actDeploymentScanner.java:192)
    [java]      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeplo
ymentScanner.java:265)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
274)
    [java]      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.j
ava:230)
    [java]      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943
)
    [java]      at $Proxy0.start(Unknown Source)
    [java]      at org.jboss.system.ServiceController.start(ServiceController.java:428)
    [java]      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy4.start(Unknown Source)
    [java]      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
    [java]      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
    [java]      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:585)
    [java]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

    [java]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    [java]      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)

    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperatio
nInterceptor.java:127)
    [java]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
    [java]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    [java]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    [java]      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    [java]      at $Proxy5.deploy(Unknown Source)
    [java]      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
    [java]      at org.jboss.system.server.ServerImpl.org$jboss$system$server$ServerImpl$start$aop(S
erverImpl.java:330)
    [java]      at org.jboss.system.server.ServerImpl$start_N8025343665958530775.invokeNext(ServerIm
pl$start_N8025343665958530775.java)
    [java]      at com.wxxr.common.aop.bootrap.JBossServerStartupInterceptor.invoke(JBossServerStart
upInterceptor.java:36)
    [java]      at org.jboss.system.server.ServerImpl$start_N8025343665958530775.invokeNext(ServerIm
pl$start_N8025343665958530775.java)
    [java]      at org.jboss.system.server.ServerImpl.start(ServerImpl.java)
    [java]      at org.jboss.Main.boot(Main.java:187)
    [java]      at org.jboss.Main$1.run(Main.java:438)
    [java]      at java.lang.Thread.run(Thread.java:595)
    [java] Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized x
bean element mapping: beans in namespace http://activemq.org/config/1.0
    [java]      at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionE
lement(XBeanNamespaceHandler.java:258)
    [java]      at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHan
dler.java:152)
    [java]      at org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHand
ler.java:49)
    [java]      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomEle
ment(BeanDefinitionParserDelegate.java:1147)
    [java]      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomEle
ment(BeanDefinitionParserDelegate.java:1137)
    [java]      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBe
anDefinitions(DefaultBeanDefinitionDocumentReader.java:150)
    [java]      at org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDef
initions(XBeanBeanDefinitionDocumentReader.java:63)
    [java]      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registe
rBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:89)
    [java]      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinit
ions(XmlBeanDefinitionReader.java:499)
    [java]      at org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefin
itions(XBeanXmlBeanDefinitionReader.java:79)
    [java]      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitio
ns(XmlBeanDefinitionReader.java:407)
    [java]      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
(XmlBeanDefinitionReader.java:357)
    [java]      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
(XmlBeanDefinitionReader.java:334)
    [java]      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDe
finitions(AbstractBeanDefinitionReader.java:126)
    [java]      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDe
finitions(AbstractBeanDefinitionReader.java:142)
    [java]      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDe
finitions(AbstractBeanDefinitionReader.java:168)
    [java]      at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinit
ions(AbstractXmlApplicationContext.java:113)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinition
s(ClassPathXmlApplicationContext.java:180)
    [java]      at org.springframework.context.support.AbstractRefreshableApplicationContext.refresh
BeanFactory(AbstractRefreshableApplicationContext.java:94)
    [java]      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAp
plicationContext.java:294)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXm
lApplicationContext.java:161)
    [java]      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXm
lApplicationContext.java:51)
    [java]      at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java
:41)
    [java]      at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
    [java]      at org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java
:80)
    [java]      ... 92 more
    [java] 01:02:28,345 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in
.../deploy/jboss-local-jdbc.rar

解决办法 :
<beans  xmlns="http://activemq.org/config/1.0">

  <broker brokerName="sender-ws2" useJmx="true">
==》改成:
<beans>
 <broker brokerName="sender-ws2" useJmx="true"  xmlns="http://activemq.org/config/1.0">
参考
http://www.mail-archive.com/activemq-users@geronimo.apache.org/msg06853.html



方向:分布式系统设计

posted on 2007-02-06 01:10 java光环 阅读(1234) 评论(0)  编辑  收藏 所属分类: jboss


只有注册用户登录后才能发表评论。


网站导航: