geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianny Damour <gianny.dam...@optusnet.com.au>
Subject Re: NPE in HOWLLog in boot
Date Thu, 09 Feb 2006 13:48:42 GMT
Hi Jason,

This has now been fixed. XidFactory is now being properly injected and G 
should start fine.

Thanks,
Gianny
 
Jason Dillon wrote:

>I'm not sure how I got G into this state, but its barfing on boot with:
>
><snip>
>Booting Geronimo Kernel (in Java 1.4.2_09)...
>Started configuration  1/16   0s geronimo/rmi-naming/1.0/car
>18:57:25,971 ERROR [GBeanInstanceState] Error while starting; GBean is
>now in the FAILED state:
>objectName="geronimo.server:J2EEApplication=null,J2EEModule=geronimo/j2ee-server/1.0/car,J2EEServer=geronimo,j2eeType=TransactionLog,name=HOWLTransactionLog"
>java.lang.NullPointerException
>        at org.apache.geronimo.transaction.log.HOWLLog$GeronimoReplayListener.onRecord(HOWLLog.java:362)
>        at org.objectweb.howl.log.xa.XALogger.replayActiveTx(XALogger.java:1059)
>        at org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:220)
>        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
>        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
>        at org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
>        at org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
>        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
>        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
>        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
>        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
>        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>        at org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$ac1e62eb.start(<generated>)
>        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:323)
>        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:82)
>        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:404)
>...
></snip>
>
>Most GBeans do not start successfully after that... G is hosed at this
>point, had to nuke the txlogs to get a usage G again.
>
>That line is:
>
><snip>
>Xid masterXid = xidFactory.recover(formatId, globalId, branchId);
></snip>
>
>xidFactory not getting dependency injected?
>
>--jason
>
>
>
>  
>



Mime
View raw message