Sorry, to reply to myself, but...

Forget about the missing backport-concurrent-util: I downloaded it from the
net, put it into JBOSS_HOME\server\default\lib and that single line was
gone.

But the problem still persists.

This is archetypes\src\generated\resources\beanRefContext.xml:

<?xml version="1.0" encoding="iso-8859-1"?>
<beans xmlns="http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

    <bean
class="org.springframework.context.support.ClassPathXmlApplicationContext"
id="de.uwe_ritzmann.archetypes" lazy-init="true">
        <constructor-arg>
            <value>applicationContext.xml</value>
        </constructor-arg>
    </bean>
</beans>

This is archetypes\src\generated\resources\applicationContext.xml:

<?xml version="1.0" encoding="iso-8859-1"?>
<beans xmlns="http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

    <import resource="SessionFactory.xml"/>
    <import resource="Interceptor.xml"/>
    <import resource="DataAccess-all.xml"/>
    <import resource="Repository-all.xml"/>
    <import resource="Service-all.xml"/>
    <import resource="more.xml"/>
    
    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
id="springPropertyConfig">
        <property name="location">
            <value>classpath:spring.properties</value>
        </property>
    </bean> 


</beans>

All xml file exist except more.mxl.

This is from JBOSS_HOME\server\efault\log\server.log:

2008-06-01 12:34:00,890 INFO 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/archetypes-web]]
Initializing Spring root WebApplicationContext
2008-06-01 12:34:00,890 INFO 
[org.springframework.web.context.ContextLoader] Root WebApplicationContext:
initialization started
2008-06-01 12:34:00,906 DEBUG
[org.springframework.web.context.ContextLoader] Getting parent context
definition: using parent context key of 'de.uwe_ritzmann.archetypes' with
BeanFactoryLocator
2008-06-01 12:34:00,937 INFO 
[org.springframework.context.support.ClassPathXmlApplicationContext]
Refreshing
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Sun Jun 01 12:34:00 CEST 2008]; root of context hierarchy
2008-06-01 12:34:01,062 DEBUG
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loaded 0
bean definitions from location pattern [classpath*:beanRefContext.xml]
2008-06-01 12:34:01,062 INFO 
[org.springframework.context.support.ClassPathXmlApplicationContext] Bean
factory for application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
2008-06-01 12:34:01,062 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] 0 beans
defined in
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Sun Jun 01 12:34:00 CEST 2008]; root of context hierarchy
2008-06-01 12:34:01,062 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] Unable
to locate MessageSource with name 'messageSource': using default
[EMAIL PROTECTED]
2008-06-01 12:34:01,062 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] Unable
to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[EMAIL PROTECTED]
2008-06-01 12:34:01,062 INFO 
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Pre-instantiating singletons in
[EMAIL PROTECTED]:
defining beans []; root of factory hierarchy
2008-06-01 12:34:01,062 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext]
Publishing event in context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Sun Jun 01 12:34:00 CEST 2008]; root of context hierarchy]
2008-06-01 12:34:01,062 ERROR
[org.springframework.web.context.ContextLoader] Context initialization
failed
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key
[de.uwe_ritzmann.archetypes], from group with resource name
[classpath*:beanRefContext.xml]; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'de.uwe_ritzmann.archetypes' is defined
Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'de.uwe_ritzmann.archetypes' is defined


A Bean with id 'messageSource' is defined in
archetypes-web\src\main\webapp\WEB-INF\applicationContext.xml (or its copy
archetypes-web\target\archetypes-web\WEB-INF\applicationContext.xml).

<?xml version="1.0" encoding="iso-8859-1"?>
<beans xmlns="http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>  

    <bean
class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"
id="exceptionResolver">
        <property name="defaultErrorView" value="error"/>
    </bean>
    <bean
class="org.fornax.cartridges.sculptor.framework.web.hibernate.ConversationDomainObjectRepositoryImpl"
id="repository">
        <property name="sessionFactory" ref="sessionFactory"/>
    </bean>
    <bean
class="org.fornax.cartridges.sculptor.framework.web.errorhandling.ExceptionAdvice"
id="webExceptionAdvice"/>
        
    <bean
class="org.springframework.context.support.ResourceBundleMessageSource"
id="messageSource">
      <property name="basenames">
        <list>
          <value>i18n/messages</value>
          <value>i18n/defaultMessages</value>
        </list>
      </property>
    </bean>

</beans>



No file in my workspace contains 'applicationEventMulticaster'


Still clueless,

Uwe





Uwe Ritzmann wrote:
> 
> 
> 
> The first thing of unhappiness seems to be a missing class
> edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.
> 
> Any hints?
> 
> Cheers,
> 
> Uwe
> 
> 

-- 
View this message in context: 
http://www.nabble.com/BootstrapException-after-deploying-helloworld-ear.ear-tp17226336s17564p17584577.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to