I don't know why, but something is different in your environment. 
Check that you don't have any spring jar files in jboss class path (lib
directory).
Check that no other errors have occur before this one.

This is how corresponding log looks like for me

21:57:41,720 INFO  [[/sculptor-helloworld-web]] Initializing Spring root
WebApplicationContext
21:57:41,720 INFO  [ContextLoader] Root WebApplicationContext:
initialization started
21:57:41,753 INFO  [ClassPathXmlApplicationContext] Refreshing
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Wed May 14 21:57:41 CEST 2008]; root of context hierarchy
21:57:41,817 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from URL
[jar:file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp11744sculptor-helloworld-ear.ear-contents/sculptor-helloworld.jar!/beanRefContext.xml]
21:57:41,888 INFO  [ClassPathXmlApplicationContext] Bean factory for
application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
21:57:41,901 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons
in
[EMAIL PROTECTED]:
defining beans [org.fornax.cartridges.sculptor.examples.helloworld]; root of
factory hierarchy
21:57:41,945 INFO  [ClassPathXmlApplicationContext] Refreshing
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED];
startup date [Wed May 14 21:57:41 CEST 2008]; root of context hierarchy
21:57:41,945 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [applicationContext.xml]
21:57:41,964 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [SessionFactory.xml]
21:57:41,976 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Interceptor.xml]
21:57:42,023 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [DataAccess-all.xml]
21:57:42,034 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [DataAccess-milkyway.xml]
21:57:42,042 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Repository-all.xml]
21:57:42,059 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Repository-milkyway.xml]
21:57:42,074 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Service-all.xml]
21:57:42,083 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Service-milkyway.xml]
21:57:42,091 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [more.xml]
21:57:42,095 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Consumer-all.xml]
21:57:42,105 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Consumer-milkyway.xml]
21:57:42,114 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions
from class path resource [Jms.xml]
21:57:42,132 INFO  [ClassPathXmlApplicationContext] Bean factory for
application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
21:57:42,179 INFO  [PropertyPlaceholderConfigurer] Loading properties file
from class path resource [spring.properties]
21:57:42,211 INFO  [ClassPathXmlApplicationContext] Bean
'org.springframework.aop.config.internalAutoProxyCreator' is not eligible
for getting processed by all BeanPostProcessors (for example: not eligible
for auto-proxying)
21:57:42,220 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons
in
[EMAIL PROTECTED]:
defining beans
[sessionFactory,auditInterceptor,hibernateInterceptorFlushEager,hibernateInterceptorFlushNever,errorHandlingAdvice,serviceContextStoreAdvice,org.springframework.aop.config.internalAutoProxyCreator,businessService,readOnlyBusinessService,updatingBusinessService,messageConsumer,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#2,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#3,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#4,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#5,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#6,planetAccessFactory,planetRepository,planetService,planetConsumer,moonConsumer,jndiTemplate,jndiTemplateLocal,jmsQueueConnectionFactory,invalidMessageQueueJmsTemplate,invalidMessageDestination,springPropertyConfig];
root of factory hierarchy


wuendsch wrote:
> 
> hi,
> 
> after successfull Hello World and Advanced Tutorial I start the Archetype
> Tutorial. 
> I modify the install script for working with MacOS (my OS) everything
> works fine. But while deploying (copying in JBoss dir
> server/default/deploy/ ) the JBOSS gets an BootstrapException: 
> 
> 10:06:12,520 INFO  [[/helloworld-web]] Initializing Spring root
> WebApplicationContext
> 10:06:12,522 INFO  [ContextLoader] Root WebApplicationContext:
> initialization started
> 10:06:12,658 INFO  [ClassPathXmlApplicationContext] Refreshing
> [EMAIL PROTECTED]:
> display name
> [EMAIL PROTECTED];
> startup date [Wed May 14 10:06:12 CEST 2008]; root of context hierarchy
> 10:06:12,957 INFO  [ClassPathXmlApplicationContext] Bean factory for
> application context
> [EMAIL PROTECTED]:
> [EMAIL PROTECTED]
> 10:06:12,990 INFO  [DefaultListableBeanFactory] Pre-instantiating
> singletons in
> [EMAIL PROTECTED]:
> defining beans []; root of factory hierarchy
> 10:06:12,992 ERROR [ContextLoader] Context initialization failed
> org.springframework.beans.factory.access.BootstrapException: Unable to
> return specified BeanFactory instance: factory key [org.helloworld], from
> group with resource name [classpath*:beanRefContext.xml]; nested exception
> is org.springframework.beans.factory.NoSuchBeanDefinitionException: No
> bean named 'org.helloworld' is defined
> Caused by: 
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
> named 'org.helloworld' is defined
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:914)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at
> org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:733)
> ..........
> 
> any ideas?
> 

-- 
View this message in context: 
http://www.nabble.com/BootstrapException-after-deploying-helloworld-ear.ear-tp17226336s17564p17239855.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