geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Nanner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-2927) Cannot rebuild Geronimo with external ActiveMQ XBean configuration because Spring Framework is missing
Date Fri, 09 Mar 2007 23:06:13 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Nanner updated GERONIMO-2927:
----------------------------------

    Attachment: activemq-config.patch

Here is a patch that addresses this issue (and also addresses Geronimo 2918).  There some
comments in the activemq-broker pom.xml that can be removed.

> Cannot rebuild Geronimo with external ActiveMQ XBean configuration because Spring Framework
is missing
> ------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2927
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2927
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 1.2
>            Reporter: Aman Nanner
>             Fix For: 1.2
>
>         Attachments: activemq-config.patch
>
>
> I rebuilt Geronimo with a change to the ActiveMQ module.  I enabled the configuration
of ActiveMQ to be loaded from an external configuration using XBeans.  However, the server
now will not startup because of the following NoClassDefFoundError:
> Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/BeansException
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> 	at java.lang.Class.getConstructor0(Class.java:2671)
> 	at java.lang.Class.newInstance0(Class.java:321)
> 	at java.lang.Class.newInstance(Class.java:303)
> 	at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:61)
> 	at org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:47)
> 	at org.apache.activemq.broker.BrokerFactory.createBrokerFactoryHandler(BrokerFactory.java:41)
> It seems like this is triggered when the classloader tries to load the following class:
org.apache.activemq.xbean.XBeanBrokerFactory.  It seems that the Spring Framework does not
exist in the repository.  This should be added so that the ActiveMQ XBean configuration can
be enabled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message