Hi,
       I am unable to start the openejb server after building from
the latest revision. The error I am getting is shown below. Anyone
know why this occurs? Is it occurring for anyone of you?

Dec 4, 2006 3:10:11 PM org.springframework.core.CollectionFactory <clinit>
INFO: JDK 1.4+ collections available
Dec 4, 2006 3:10:11 PM org.springframework.beans.factory.xml.XmlBeanDefinitionRe
ader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [META-INF/openejb-se
rver.xml]
Dec 4, 2006 3:10:11 PM org.springframework.context.support.AbstractRefreshableAp
plicationContext refreshBeanFactory
INFO: Bean factory for application context [org.apache.xbean.spring.context.Clas
sPathXmlApplicationContext;hashCode=2917593]: org.springframework.beans.factory.
support.DefaultListableBeanFactory defining beans [server,propertiesService,serv
iceManager]; root of BeanFactory hierarchy
Dec 4, 2006 3:10:11 PM org.springframework.context.support.AbstractApplicationCo
ntext refresh
INFO: 3 beans defined in application context [org.apache.xbean.spring.context.Cl
assPathXmlApplicationContext;hashCode=2917593]
Dec 4, 2006 3:10:11 PM org.springframework.context.support.AbstractApplicationCo
ntext initMessageSource
INFO: Unable to locate MessageSource with name 'messageSource': using default [o
[EMAIL PROTECTED]
Dec 4, 2006 3:10:11 PM org.springframework.context.support.AbstractApplicationCo
ntext initApplicationEventMulticaster
INFO: Unable to locate ApplicationEventMulticaster with name 'applicationEventMu
lticaster': using default [org.springframework.context.event.SimpleApplicationEv
[EMAIL PROTECTED]
Dec 4, 2006 3:10:11 PM org.springframework.beans.factory.support.DefaultListable
BeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in factory [org.springframework.beans.factory
.support.DefaultListableBeanFactory defining beans [server,propertiesService,ser
viceManager]; root of BeanFactory hierarchy]
Dec 4, 2006 3:10:11 PM org.springframework.beans.factory.support.DefaultSingleto
nBeanRegistry destroySingletons
INFO: Destroying singletons in {org.springframework.beans.factory.support.Defaul
tListableBeanFactory defining beans [server,propertiesService,serviceManager]; r
oot of BeanFactory hierarchy}
Exception in thread "main" java.lang.ExceptionInInitializerError
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.openejb.cli.MainImpl.main(MainImpl.java:159)
       at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:71)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'server' defined in class path resource [META-INF/openejb-serv
er.xml]: Instantiation of bean failed; nested exception is org.springframework.b
eans.BeanInstantiationException: Could not instantiate bean class [org.apache.op
enejb.server.Server]: Constructor threw exception; nested exception is java.lang
.NoClassDefFoundError: org/apache/log4j/Priority
       at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:442)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:245)
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:242)
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:156)
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:290)
       at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:348)
       at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:161)
       at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:51)
       at org.apache.openejb.server.Main.<clinit>(Main.java:40)
       ... 6 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not insta
ntiate bean class [org.apache.openejb.server.Server]: Constructor threw exceptio
n; nested exception is java.lang.NoClassDefFoundError: org/apache/log4j/Priority

       at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:9
7)
       at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:5
9)
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:52)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:639)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:625)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
       ... 15 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
       at org.apache.openejb.server.Server.<init>(Server.java:39)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:8
2)
       ... 20 more

Thanks
Manu

Reply via email to