Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67117 invoked from network); 9 Jun 2006 21:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 21:21:53 -0000 Received: (qmail 31118 invoked by uid 500); 9 Jun 2006 21:21:49 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 31078 invoked by uid 500); 9 Jun 2006 21:21:49 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 31063 invoked by uid 99); 9 Jun 2006 21:21:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 14:21:49 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.236] (HELO smtp103.plus.mail.mud.yahoo.com) (68.142.206.236) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Jun 2006 14:21:47 -0700 Received: (qmail 75561 invoked from network); 9 Jun 2006 21:21:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=GeUdwCjJLyOCOqH5cJ+HyexwVuy8PXbkd/zNZ/WEplPbfa6PYSKhWBmNJrd2pW+VVTb8eiHkGbfPjf3rd1xPjzlpUELRHGcBSWaY6j5/eBluFQ9mVNMfD9TB0YowvBS/jzs+M0i88U8swOnH8qm02n8gL4uwVwXvTH9OvblHqvk= ; Received: from unknown (HELO ?192.168.1.5?) (david?jencks@66.93.38.137 with plain) by smtp103.plus.mail.mud.yahoo.com with SMTP; 9 Jun 2006 21:21:25 -0000 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: References: Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <6445E9E4-F904-49AF-AF3C-9412450DBDC4@yahoo.com> Content-Transfer-Encoding: quoted-printable From: David Jencks Subject: Re: Geronimo doesn't startup if restart it using another JDK Date: Fri, 9 Jun 2006 14:21:44 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N BTW migrating to howl 1.0.1 is waiting on a maven upload request... =20 http://jira.codehaus.org/browse/MAVENUPLOAD-930 As of a couple days =20= ago these were stalled indefinitely. thanks david jencks On Jun 9, 2006, at 1:48 PM, Dain Sundstrom wrote: > As jason pointed out using a hash code isn't portable. This is a =20 > known problem in Howl and IIRC they added an optional flag in howl =20 > to use a specified hash algorithm. Anyway, please create a JIRA =20 > (http://issues.apache.org/jira/browse/GERONIMO) for this issue. > > -dain > > On Jun 9, 2006, at 3:32 AM, Udovichenko, Nellya wrote: > >> Hello, >> >> >> >> I have launched Geronimo on Sun JDK. Then I=92ve tried to run it =20 >> with Harmony class library >> >> and IBM VM j9. I=92ve got the error log below. Also I=92ve got the =20= >> same result when launched >> >> Geronimo on Harmony and then - on Sun JDK. >> >> >> >> There is a bug in HOWL repaired in howl-1.0.1 by the new parameter =20= >> (adler32Checksum) >> >> adding. At Geronimo startup it checks the log files' validity if =20 >> they exist. One of verified >> >> parameters is the file content control sum. One value of this sum =20 >> is read from file header >> >> and another is calculated by function java.nio.ByteBuffer.hashCode=20 >> (). So if the algorithms of >> >> hash code functions of the JDKs are different Geronimo doesn=92t =20 >> startup. >> >> >> >> If the parameter adler32Checksum value is false the control sum is =20= >> calculated by function >> >> java.nio.ByteBuffer.hashCode() otherwise it is calculated using =20 >> ADLER-32 algorithm. >> >> Therefore, I think, it would be correct to add this parameter to =20 >> configs/j2ee-server/src/plan/plan.xml >> >> and to gbean org.apache.geronimo.transaction.log.HOWLLog with =20 >> value 'true'. >> >> >> >> Any thoughts? >> >> >> >> >> >> Thanks, >> >> Nellya Udovichenko, >> >> Intel Middleware Products Division >> >> >> >> Error log: >> >> >> >> $ java -jar bin/server.jar >> >> Booting Geronimo Kernel (in Java 1.4.2_01)... >> >> Starting Geronimo Application Server v1.1-20060607 >> >> [**> ] 11% 6s Starting geronimo/j2ee-server/=20 >> 1...14:23:30,3 >> >> 19 ERROR [GBeanInstanceState] Error while starting; GBean is now =20 >> in the FAILED s >> >> tate: abstractName=3D"geronimo/j2ee-server/1.1-20060607/car?=20 >> ServiceModule=3Dgeronimo >> >> /j2ee-server/1.1-20060607/=20 >> car,j2eeType=3DTransactionLog,name=3DHOWLTransactionLog" >> >> org.objectweb.howl.log.InvalidLogBufferException: CHECKSUM >> >> Class: org.objectweb.howl.log.BlockLogBuffer >> >> workerID: ffffffff >> >> LogFile: C:\Nellya\geronimo-1.1\var\txlog\howl_1.log >> >> HEADER >> >> HEADER_ID: 0x484f574c >> >> bsn: 0x1 >> >> size: 0x8000 should be: 0x8000 >> >> data used: 0x4f >> >> checkSum: 0x2227d >> >> tod: 0x10bb850e3b1 >> >> crlf: 0xd0a >> >> FOOTER >> >> FOOTER_ID: 0x4c574f48 >> >> bsn: 0x1 >> >> tod: 0x10bb850e3b1 >> >> crlf: 0xd0a >> >> at org.objectweb.howl.log.BlockLogBuffer.read=20 >> (BlockLogBuffer.java:460) >> >> at org.objectweb.howl.log.LogFileManager.init=20 >> (LogFileManager.java:821) >> >> at org.objectweb.howl.log.Logger.open(Logger.java:314) >> >> at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893) >> >> at org.apache.geronimo.transaction.log.HOWLLog.doStart=20 >> (HOWLLog.java:217) >> >> >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI >> >> nstance.java:981) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart >> >> (GBeanInstanceState.java:267) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta >> >> nceState.java:102) >> >> at org.apache.geronimo.gbean.runtime.GBeanInstance.start=20 >> (GBeanInstance.j >> >> ava:526) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB >> >> eanDependency.java:111) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe >> >> ndency.java:146) >> >> at org.apache.geronimo.gbean.runtime.GBeanDependency=20 >> $1.running(GBeanDepe >> >> ndency.java:120) >> >> at =20 >> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve >> >> nt(BasicLifecycleMonitor.java:173) >> >> at =20 >> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas >> >> icLifecycleMonitor.java:41) >> >> at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor=20 >> $RawLifecycleBr >> >> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart >> >> (GBeanInstanceState.java:292) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta >> >> nceState.java:102) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G >> >> BeanInstanceState.java:124) >> >> at =20 >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI >> >> nstance.java:540) >> >> at =20 >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi >> >> cKernel.java:379) >> >> at =20 >> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio >> >> nGBeans(ConfigurationUtil.java:374) >> >> at =20 >> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke >> >> rnelConfigurationManager.java:187) >> >> at =20 >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon >> >> figuration(SimpleConfigurationManager.java:512) >> >> at =20 >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon >> >> figuration(SimpleConfigurationManager.java:493) >> >> at =20 >> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla >> >> ssByCGLIB$$ce77a924.invoke() >> >> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) >> >> at =20 >> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod >> >> Invoker.java:38) >> >> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke=20 >> (GBeanOperatio >> >> n.java:122) >> >> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke=20 >> (GBeanInstance. >> >> java:817) >> >> at org.apache.geronimo.gbean.runtime.RawInvoker.invoke=20 >> (RawInvoker.java:5 >> >> 7) >> >> at =20 >> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat >> >> ionInvoker.java:35) >> >> at =20 >> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro >> >> xyMethodInterceptor.java:96) >> >> at =20 >> org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan >> >> cerByCGLIB$$ff5cf4ac.startConfiguration() >> >> at org.apache.geronimo.system.main.Daemon.doStartup=20 >> (Daemon.java:297) >> >> at org.apache.geronimo.system.main.Daemon.=20 >> (Daemon.java:74) >> >> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:=20= >> 377) >> >> [**> ] 11% 6s Startup failed >> >> >> >> ... >> >> >> >> Server shutdown begun Startup failed >> >> Server shutdown completed >> >> [**> ] 11% 7s Startup failed >> >> >> >> >> >> >> >> >