geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Faw <fawzib.ro...@gmail.com>
Subject Re: Starting geronimo after a crash
Date Mon, 20 Dec 2010 20:59:11 GMT


David Jencks wrote:
> 
> 
> No, and that's a good thing.  That's where activemq stores information
> about messages that are received but not delivered or in various states of
> transaction completion.  I imagine you have run into an activemq bug of
> some kind.  What geronimo version are you using?  The 2.1.x series is
> stuck on an exceedingly old and pretty much unmaintained activemq version.
> 
> If you aren't using jms, you could turn off the activemq related plugins.
> 
> thanks
> david jencks
> 
> 

I'm using Geronimo 2.2.2-SNAPSHOT (Build 2010.09.15-14:09:21.931-0400), I'm
just using Geronimo for testing (and eventually deploying) a Cocoon webapp.
The error I get is an EOF one. If I do a few redeploys of my war I get a
'java.lang.OutOfMemoryError: PermGen space' error and have to kill the
process, after that Geronimo wont start, same with any other 'non graceful
shutdown' methods. 

I imagine I'm not using JMS ( since I have no idea what that is :) ) so I'll
see if I can turn off the activemq stuff.

PS: I redeployed my war a few times to crash it on purpose to get the actual
error, this is the startup error:

C:\geronimo>bin\geronimo run
Using GERONIMO_HOME:   C:\geronimo
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        c:\Program Files\Java\jdk1.6.0_18\jre
Booting Geronimo Kernel (in Java 1.6.0_18)...
Starting Geronimo Application Server v2.2.2-SNAPSHOT
[*************                           ]  33%   5s Starting
org.apache.ger...2
010-12-20 16:50:36,502 WARN  [service] Property "AccessTimeout" not
supported by
 "DefaultStatefulContainer"
[********************************        ]  81%  15s Starting
org.apache.ger...2
010-12-20 16:50:46,106 WARN  [AMQPersistenceAdapter] The ReferenceStore is
not v
alid - recovering ...
2010-12-20 16:50:46,232 ERROR [BrokerService] Failed to start ActiveMQ JMS
Messa
ge Broker. Reason: java.io.EOFException: Chunk stream does not exist at
page: 0
java.io.EOFException: Chunk stream does not exist at page: 0
        at
org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
        at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
        at
org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:4
28)
        at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
        at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
        at
org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobS
chedulerStore.java:250)
        at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
        at
org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSch
edulerStore.java:239)
        at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)

        at
org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(Schedul
erBroker.java:198)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalSched
uler(SchedulerBroker.java:185)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerB
roker.java:85)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
        at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.
java:112)
        at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1
786)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:496
)
        at
org.apache.geronimo.activemq.BrokerServiceGBeanImpl.doStart(BrokerSer
viceGBeanImpl.java:126)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:953)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:269)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:103)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:125)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:539)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:377)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:130)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:816)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$1743b0a4.s
tartConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaem
on.java:204)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon
.java:87)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
2010-12-20 16:50:46,341 ERROR [GBeanInstanceState] Error while starting;
GBean i
s now in the FAILED state:
abstractName="org.apache.geronimo.configs/activemq-br
oker/2.2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/activemq-broke
r/2.2.2-SNAPSHOT/car,j2eeType=JMSServer,name=DefaultActiveMQBroker"
java.io.EOFException: Chunk stream does not exist at page: 0
        at
org.apache.kahadb.page.Transaction$2.readPage(Transaction.java:454)
        at org.apache.kahadb.page.Transaction$2.<init>(Transaction.java:431)
        at
org.apache.kahadb.page.Transaction.openInputStream(Transaction.java:4
28)
        at org.apache.kahadb.page.Transaction.load(Transaction.java:404)
        at org.apache.kahadb.page.Transaction.load(Transaction.java:361)
        at
org.apache.activemq.broker.scheduler.JobSchedulerStore$3.execute(JobS
chedulerStore.java:250)
        at org.apache.kahadb.page.Transaction.execute(Transaction.java:728)
        at
org.apache.activemq.broker.scheduler.JobSchedulerStore.doStart(JobSch
edulerStore.java:239)
        at
org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:53)

        at
org.apache.activemq.broker.scheduler.SchedulerBroker.getStore(Schedul
erBroker.java:198)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.getInternalSched
uler(SchedulerBroker.java:185)
        at
org.apache.activemq.broker.scheduler.SchedulerBroker.start(SchedulerB
roker.java:85)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
        at
org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:157)
        at
org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.
java:112)
        at
org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1
786)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:496
)
        at
org.apache.geronimo.activemq.BrokerServiceGBeanImpl.doStart(BrokerSer
viceGBeanImpl.java:126)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:953)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:269)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:103)
        at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
BeanInstanceState.java:125)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
nstance.java:539)
        at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
cKernel.java:377)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:456)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:130)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:816)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$1743b0a4.s
tartConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaem
on.java:204)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon
.java:87)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
[********************************        ]  81%  15s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geroni
mo.configs/activemq-broker/2.2.2-SNAPSHOT/car failed
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
        at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:130)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:816)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$1743b0a4.s
tartConfiguration(<generated>)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaem
on.java:204)
        at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon
.java:87)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
sta
rt exception
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:190)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:546)
        ... 15 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuratio
n org.apache.geronimo.configs/activemq-broker/2.2.2-SNAPSHOT/car failed to
start
 due to the following reasons:
  The service
ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2.2-SN
APSHOT/car,j2eeType=JMSServer,name=DefaultActiveMQBroker did not start
because C
hunk stream does not exist at page: 0

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:485)
        ... 17 more
[********************************        ]  81%  16s Startup failed           
l
og4j:WARN No appenders could be found for logger
(org.eclipse.jetty.util.log).
log4j:WARN Please initialize the log4j system properly.

C:\geronimo>



-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Starting-geronimo-after-a-crash-tp2121036p2122487.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message