Hi,
I'm new OpenEJB, and EJB in general.
On Sus Linux, I started the openejb server with "openejb start" and
ran some test projects. I killed and restarted the server a number of
time using "ctrl+c". However, since using "openejb stop" the server
will no longer start.
Here is the exception: How do I fix this?
jkendon:~/junk/OpenEJB > openejb stop
:: server not running ::
jkendon:~/junk/OpenEJB > openejb start
Apache OpenEJB 3.0-beta-1 build: 20070926-12:34
http://openejb.apache.org/
org.apache.openejb.OpenEJBException:
javax.resource.spi.ResourceAdapterInternalException: Failed to startup
an embedded broker: broker:(tcp://localhost:61616)?useJmx=false, due to:
java.lang.NoClassDefFoundError:
org/apache/activeio/journal/active/JournalLockedException: Failed to
startup an embedded broker: broker:(tcp://localhost:61616)?useJmx=false,
due to: java.lang.NoClassDefFoundError:
org/apache/activeio/journal/active/JournalLockedException
at
org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:833)
at
org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:288)
at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:207)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:149)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:293)
at org.apache.openejb.server.Server.init(Server.java:63)
at org.apache.openejb.server.Main.initServer(Main.java:155)
at org.apache.openejb.server.Main.main(Main.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.openejb.cli.MainImpl.main(MainImpl.java:151)
at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:102)
Caused by: javax.resource.spi.ResourceAdapterInternalException: Failed
to startup an embedded broker:
broker:(tcp://localhost:61616)?useJmx=false, due to:
java.lang.NoClassDefFoundError:
org/apache/activeio/journal/active/JournalLockedException
at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:83)
at
org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:831)
... 13 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/activeio/journal/active/JournalLockedException
at
org.apache.activemq.broker.BrokerService.createPersistenceFactory(BrokerService.java:1328)
at
org.apache.activemq.broker.BrokerService.getPersistenceFactory(BrokerService.java:544)
at
org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:1320)
at
org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:631)
at
org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:1250)
at
org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:1209)
at
org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:508)
at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:163)
at
org.apache.activemq.broker.DefaultBrokerFactory.createBroker(DefaultBrokerFactory.java:55)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:57)
at
org.apache.activemq.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:80)
... 14 more
--
Jevon Kendon
Senior Software Engineer
Canada Building
Thales Australia
Confidentiality Notice: This e-mail may contain confidential and/or privileged
information and
is intended solely for the addressee(s) named. If you have received this information in error,
or are advised that you have been posted this e-mail by accident, please notify the sender by
return e-mail, do not redistribute it, delete the e-mail and keep no copies.