Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 2229 invoked from network); 20 Aug 2010 13:31:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 13:31:06 -0000 Received: (qmail 34763 invoked by uid 500); 20 Aug 2010 13:31:06 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 34371 invoked by uid 500); 20 Aug 2010 13:31:03 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 34364 invoked by uid 99); 20 Aug 2010 13:31:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 13:31:03 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-ww0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 13:30:58 +0000 Received: by wwb31 with SMTP id 31so2230138wwb.31 for ; Fri, 20 Aug 2010 06:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Mi6IlydKb9EeikKw+2GE0seCDXd/f03bzwkD+PVbo88=; b=OATdpSLj6sHX901cSSyB2OcO3M3oVK6GnMiaA/RyX3k/nNfIWMhz+lM5f3cu43UjKX ffVxNJjLt+x6Z0ZulnoEQCYQp/bmE8xppblC46hd6VVn7QkNN9K57iDjvAdO78M4pdJ2 FMIxWwlnQUwR5j2kXRDuGzpELNIAQAKPDJBi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=d5EJ3knOciEf2rrGXfLclLY9gDW+kwzxiFAGEovoYAjHH8JopBmiH4jl+/Qs4v/tNF wuexDAV9eQ5Kr9L4s2bWdk3HyuwZDh2Udaf7rrzQvefodvaRSvhCt72izExAIrUSDhIp Qdyg35d4HAEePIXyN6kShYdHslJGs09dQ3z2c= MIME-Version: 1.0 Received: by 10.227.27.193 with SMTP id j1mr1168378wbc.137.1282311036417; Fri, 20 Aug 2010 06:30:36 -0700 (PDT) Received: by 10.216.229.223 with HTTP; Fri, 20 Aug 2010 06:30:36 -0700 (PDT) In-Reply-To: <4C6E5904.3030509@gmail.com> References: <4C6E20BF.8020605@gmail.com> <4C6E24A1.2030704@gmail.com> <4C6E269B.1000102@gmail.com> <4C6E3F93.3050900@gmail.com> <4C6E5904.3030509@gmail.com> Date: Fri, 20 Aug 2010 21:30:36 +0800 Message-ID: Subject: Re: problem starting geronimo From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0022159748fed138d8048e414dc6 --0022159748fed138d8048e414dc6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Check this JIRA https://issues.apache.org/jira/browse/GERONIMO-5175 Aslo, after googled 1.6.0-b105, it is a very early version JDK 1.6, I coul= d see someone asked related question in 2007. I would still suggest you use latest JDK 1.6 or 1.5. Hope it helps. 2010/8/20 Shailen > I found that open jdk was also installed on that machine . > Removed that as well .. also installed the fresh sun jdk(same 1.6.0.. as > after oracle they ask for registration to install :( ) .. and got the sam= e > error. > Error trace from geronimo.log is as follows: > > 2010-08-20 15:51:45,181 INFO [Log4jService] Started Logging Service > 2010-08-20 15:51:45,182 INFO [Log4jService] Runtime Information: > 2010-08-20 15:51:45,183 INFO [Log4jService] Install Directory =3D > /opt/geronimo-tomcat6-javaee5-2.2 > 2010-08-20 15:51:45,185 INFO [JvmVendor] Sun JVM 1.6.0 > 2010-08-20 15:51:45,185 INFO [Log4jService] JVM in use =3D Sun = JVM > 1.6.0 > 2010-08-20 15:51:45,185 INFO [Log4jService] Java Information: > 2010-08-20 15:51:45,185 INFO [Log4jService] System property [ > java.runtime.name] =3D Java(TM) SE Runtime Environment > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [java.runtime.version] =3D 1.6.0-b105 > 2010-08-20 15:51:45,185 INFO [Log4jService] System property [os.name] > =3D Linux > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [os.version] =3D 2.6.32-21-generic > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [sun.os.patch.level] =3D unknown > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [os.arch] =3D i386 > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [java.class.version] =3D 50.0 > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [locale] =3D en_IN > 2010-08-20 15:51:45,185 INFO [Log4jService] System property > [unicode.encoding] =3D UnicodeLittle > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [file.encoding] =3D UTF-8 > 2010-08-20 15:51:45,186 INFO [Log4jService] System property [ > java.vm.name] =3D Java HotSpot(TM) Server VM > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.vm.vendor] =3D Sun Microsystems Inc. > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.vm.version] =3D 1.6.0-b105 > 2010-08-20 15:51:45,186 INFO [Log4jService] System property [ > java.vm.info] =3D mixed mode > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.home] =3D /opt/jdk1.6.0/jre > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.classpath] =3D null > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.library.path] =3D > /opt/jdk1.6.0/jre/lib/i386/server:/opt/jdk1.6.0/jre/lib/i386:/opt/jdk1.6.= 0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.endorsed.dirs] =3D > /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed:/opt/jdk1.6.0/jre//lib/end= orsed > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [java.ext.dirs] =3D > /opt/geronimo-tomcat6-javaee5-2.2/lib/ext:/opt/jdk1.6.0/jre//lib/ext > 2010-08-20 15:51:45,186 INFO [Log4jService] System property > [sun.boot.class.path] =3D > /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed/yoko-rmi-spec-1.0.jar:/opt= /geronimo-tomcat6-javaee5-2.2/lib/endorsed/yoko-spec-corba-1.0.jar:/opt/jdk= 1.6.0/jre/lib/resources.jar:/opt/jdk1.6.0/jre/lib/rt.jar:/opt/jdk1.6.0/jre/= lib/sunrsasign.jar:/opt/jdk1.6.0/jre/lib/jsse.jar:/opt/jdk1.6.0/jre/lib/jce= .jar:/opt/jdk1.6.0/jre/lib/charsets.jar:/opt/jdk1.6.0/jre/classes > 2010-08-20 15:51:45,186 INFO [Log4jService] > ---------------------------------------------- > 2010-08-20 15:51:45,193 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName=3D"org.apache.geronimo.framework/j2ee-system/2.2/car?Service= Module=3Dorg.apache.geronimo.framework/j2ee-system/2.2/car,j2eeType=3DAttri= buteStore,name=3DAttributeManager" > > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.geronimo.system.configuration.AttributesXmlUtil > at > org.apache.geronimo.system.configuration.LocalAttributeManager.read(Local= AttributeManager.java:373) > at > org.apache.geronimo.system.configuration.LocalAttributeManager.load(Local= AttributeManager.java:354) > at > org.apache.geronimo.system.configuration.LocalAttributeManager.doStart(Lo= calAttributeManager.java:547) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInsta= nce.java:953) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBe= anInstanceState.java:269) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceS= tate.java:103) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBean= InstanceState.java:125) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInsta= nce.java:539) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKer= nel.java:377) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBe= ans(ConfigurationUtil.java:456) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfigur= ation(ConfigurationUtil.java:208) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfigur= ation(ConfigurationUtil.java:167) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootCon= figuration(MainConfigurationBootstrapper.java:84) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(Mai= nConfigurationBootstrapper.java:57) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainCo= nfigurationBootstrapper.java:38) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:6= 5) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > 2010-08-20 15:51:45,195 INFO [Log4jService] Stopping Logging Service > 2010-08-20 15:51:45,195 INFO [Log4jService] > ---------------------------------------------- > > > Regards, > Shailen (khichi.shailendra@gmail.com) > +91-9216020360 > Mohali, Chandigarh - 160062 > > > On Friday 20 August 2010 02:27 PM, Ivan wrote: > > Could you check that what is the actual JRE version in the log file > var/log/geronimo.log ? > There should something like : > INFO [Log4jService] JVM in use =3D **** > > From the exception message, it seems that it is caused by JRE loads an ol= d > jaxb 2.0 api. > One solution is to upgrade the JRE on that machine, another solution is t= o > download the jaxb 2.1 api package and place it in the endorsed directory, > which is suggested by the exception message. > > 2010/8/20 Shailen > >> I am also successful with jdk 1..6.0_13 on my personal machine. >> Not able to figure out the problem with this machine. >> Between checking with my jdk on this machine. >> >> >> Regards, >> Shailen (khichi.shailendra@gmail.com) >> +91-9216020360 >> Mohali, Chandigarh - 160062 >> >> >> On Friday 20 August 2010 01:50 PM, Forrest Xia wrote: >> >> I can run g 2.2 on my ubuntu with sun jdk 1.6.0_20, can you have a try >> with that? >> >> Forrest >> >> > > > -- > Ivan > > --=20 Ivan --0022159748fed138d8048e414dc6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Check this JIRA https://issues.apache.org/jira/browse/GERONIMO-5175
Aslo, after= googled 1.6.0-b105,=A0 it is a very early version JDK 1.6, I could see som= eone asked related question in 2007. I would still suggest you use latest J= DK 1.6 or 1.5.
Hope it helps.

2010/8/20 Shailen <khichi.shailen= dra@gmail.com>
=20 =20 =20
I found that open jdk was also installed on that machine .
Removed that as well .. also installed the fresh sun jdk(same 1.6.0.. as after oracle they ask for registration to install :( ) .. and got the same error.
Error trace from geronimo.log is as follows:

2010-08-20 15:51:45,181 INFO=A0 [Log4jService] Started Logging Service
2010-08-20 15:51:45,182 INFO=A0 [Log4jService] Runtime Information: 2010-08-20 15:51:45,183 INFO=A0 [Log4jService]=A0=A0 Install Director= y =3D /opt/geronimo-tomcat6-javaee5-2.2
2010-08-20 15:51:45,185 INFO=A0 [JvmVendor] Sun JVM 1.6.0
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 JVM in use=A0=A0= =A0=A0=A0=A0=A0 =3D Sun JVM 1.6.0
2010-08-20 15:51:45,185 INFO=A0 [Log4jService] Java Information:
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property = [java.runtime.name]=A0=A0=A0=A0 =3D Java(TM) SE Runtime Environment
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [java.runtime.version]=A0 =3D 1.6.0-b105
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property = [
os.name]=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D Linux
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [os.version]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D 2.6.32-21-generic 2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [sun.os.patch.level]=A0=A0=A0 =3D unknown
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [os.arch]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D i386
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [java.class.version]=A0=A0=A0 =3D 50.0
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [locale]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D en_IN
2010-08-20 15:51:45,185 INFO=A0 [Log4jService]=A0=A0 System property [unicode.encoding]=A0=A0=A0=A0=A0 =3D UnicodeLittle
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [file.encoding]=A0=A0=A0=A0=A0=A0=A0=A0 =3D UTF-8
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property = [java.vm.name]=A0=A0= =A0=A0=A0=A0=A0=A0=A0 =3D Java HotSpot(TM) Server VM
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.vm.vendor]=A0=A0=A0=A0=A0=A0=A0 =3D Sun Microsystems Inc.
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.vm.version]=A0=A0=A0=A0=A0=A0 =3D 1.6.0-b105
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property = [java.vm.info]=A0=A0= =A0=A0=A0=A0=A0=A0=A0 =3D mixed mode
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.home]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D /opt/jdk1.6.0/jre=
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.classpath]=A0=A0=A0=A0=A0=A0=A0 =3D null
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.library.path]=A0=A0=A0=A0 =3D /opt/jdk1.6.0/jre/lib/i386/server:/opt/jdk1.6.0/jre/lib/i386:/opt/jdk1.6.0/= jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.endorsed.dirs]=A0=A0=A0 =3D /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed:/opt/jdk1.6.0/jre//lib/endor= sed
2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [java.ext.dirs]=A0=A0=A0=A0=A0=A0=A0=A0 =3D /opt/geronimo-tomcat6-javaee5-2.2/lib/ext:/opt/jdk1.6.0/jre//lib/ext<= br> 2010-08-20 15:51:45,186 INFO=A0 [Log4jService]=A0=A0 System property [sun.boot.class.path]=A0=A0 =3D /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed/yoko-rmi-spec-1.0.jar:/opt/g= eronimo-tomcat6-javaee5-2.2/lib/endorsed/yoko-spec-corba-1.0.jar:/opt/jdk1.= 6.0/jre/lib/resources.jar:/opt/jdk1.6.0/jre/lib/rt.jar:/opt/jdk1.6.0/jre/li= b/sunrsasign.jar:/opt/jdk1.6.0/jre/lib/jsse.jar:/opt/jdk1.6.0/jre/lib/jce.j= ar:/opt/jdk1.6.0/jre/lib/charsets.jar:/opt/jdk1.6.0/jre/classes
2010-08-20 15:51:45,186 INFO=A0 [Log4jService] ----------------------------------------------
2010-08-20 15:51:45,193 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName=3D"org.apache.geronimo.framework/j2ee-system/2.2/car?Serv= iceModule=3Dorg.apache.geronimo.framework/j2ee-system/2.2/car,j2eeType=3DAt= tributeStore,name=3DAttributeManager"

java.lang.NoClassDefFoundError: Could not initialize class org.apache.geronimo.system.configuration.AttributesXmlUtil
=A0=A0=A0 at org.apache.geronimo.system.configuration.LocalAttributeManager.read(LocalAt= tributeManager.java:373)
=A0=A0=A0 at org.apache.geronimo.system.configuration.LocalAttributeManager.load(LocalAt= tributeManager.java:354)
=A0=A0=A0 at org.apache.geronimo.system.configuration.LocalAttributeManager.doStart(Loca= lAttributeManager.java:547)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstanc= e.java:953)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBean= InstanceState.java:269)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceSta= te.java:103)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanIn= stanceState.java:125)
=A0=A0=A0 at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstanc= e.java:539)
=A0=A0=A0 at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKerne= l.java:377)
=A0=A0=A0 at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBean= s(ConfigurationUtil.java:456)
=A0=A0=A0 at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfigurat= ion(ConfigurationUtil.java:208)
=A0=A0=A0 at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfigurat= ion(ConfigurationUtil.java:167)
=A0=A0=A0 at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfi= guration(MainConfigurationBootstrapper.java:84)
=A0=A0=A0 at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainC= onfigurationBootstrapper.java:57)
=A0=A0=A0 at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConf= igurationBootstrapper.java:38)
=A0=A0=A0 at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)<= br> =A0=A0=A0 at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
<= /div> 2010-08-20 15:51:45,195 INFO=A0 [Log4jService] Stopping Logging Service
2010-08-20 15:51:45,195 INFO=A0 [Log4jService] ----------------------------------------------


Regards,
Shailen (k=
hichi.shailendra@gmail.com)
+91-9216020360
Mohali, Chandigarh - 160062

On Friday 20 August 2010 02:27 PM, Ivan wrote:
Could= you check that what is the actual JRE version in the log file var/log/geronimo.log ?
There should something like :
INFO=A0 [Log4jService]=A0=A0 JVM in use=A0=A0=A0=A0=A0=A0=A0 =3D ****=

From the exception message, it seems that it is caused by JRE loads an old jaxb 2.0 api.=A0
One solution is to upgrade the JRE on that machine, another solution is to download the jaxb 2.1 api package and place it in the endorsed directory, which is suggested by the exception message.

2010/8/20 Shailen <khichi.shailendra@gmail.com>
I am also successful with jdk 1..6.0_13 on my personal machine.
Not able to figure out the problem with this machine.
Between checking with my jdk on this machine.


Regards,
Shailen (k=
hichi.shailendra@gmail.com)
+91-9216020360
Mohali, Chandigarh - 160062

On Friday 20 August 2010 01:50 PM, Forrest Xia wrote:
I can run g 2.2 on my ubuntu with sun jdk 1.6.0_20, can you have a try with that?

Forrest



--
Ivan



--
Ivan
--0022159748fed138d8048e414dc6--