Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 33640 invoked from network); 20 Aug 2010 10:30:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 10:30:02 -0000 Received: (qmail 23285 invoked by uid 500); 20 Aug 2010 10:30:02 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 23026 invoked by uid 500); 20 Aug 2010 10:29:59 -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 23018 invoked by uid 99); 20 Aug 2010 10:29:58 -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 10:29:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,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 khichi.shailendra@gmail.com designates 74.125.83.182 as permitted sender) Received: from [74.125.83.182] (HELO mail-pv0-f182.google.com) (74.125.83.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 10:29:52 +0000 Received: by pvg4 with SMTP id 4so1310298pvg.13 for ; Fri, 20 Aug 2010 03:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=ylqKM+R6/MVjTa0fBeQyMuSzazGPInkrckkMMTD3piM=; b=CTqC0+oEKPeZa7kHs1Jhj3SbuM/ddvDVFhxN4LimlG8BMPYB9bT4J/sDO5jVUMU9YJ ztnFyhtBa6q/SnOCrMNX8Pd56l8G8KpdRmA3IHnxle8lq6QqDOl8uwu6b9Ucq+TfbTgL enxLSG/L1BW5sVuVWlTfvtJGVhAKtYSij+eyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=DZa7Qj9w//vJ50HC7d0pU7Q9Nkg1aw6fJ3LoycRB/Ym+Z2RySvg2/PMR0M7llW38ei Ey6CT2tq9cLWmhC1Qy77eBGBFfb2NS7cYZ+amaTtCMIHYGDTjl4qwKgNDpKC1lJRlyPB DJgVlYew87pxlVwxGyMpxSIvRL2XY4OPJs068= Received: by 10.114.210.6 with SMTP id i6mr1302441wag.139.1282300171802; Fri, 20 Aug 2010 03:29:31 -0700 (PDT) Received: from [192.168.1.205] ([115.119.107.2]) by mx.google.com with ESMTPS id x9sm4581559waj.3.2010.08.20.03.29.27 (version=SSLv3 cipher=RC4-MD5); Fri, 20 Aug 2010 03:29:30 -0700 (PDT) Message-ID: <4C6E5904.3030509@gmail.com> Date: Fri, 20 Aug 2010 15:59:24 +0530 From: Shailen User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: problem starting geronimo References: <4C6E20BF.8020605@gmail.com> <4C6E24A1.2030704@gmail.com> <4C6E269B.1000102@gmail.com> <4C6E3F93.3050900@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------000205070004080400090601" This is a multi-part message in MIME format. --------------000205070004080400090601 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 [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 = /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 = 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 ] = Java(TM) SE Runtime Environment 2010-08-20 15:51:45,185 INFO [Log4jService] System property [java.runtime.version] = 1.6.0-b105 2010-08-20 15:51:45,185 INFO [Log4jService] System property [os.name ] = Linux 2010-08-20 15:51:45,185 INFO [Log4jService] System property [os.version] = 2.6.32-21-generic 2010-08-20 15:51:45,185 INFO [Log4jService] System property [sun.os.patch.level] = unknown 2010-08-20 15:51:45,185 INFO [Log4jService] System property [os.arch] = i386 2010-08-20 15:51:45,185 INFO [Log4jService] System property [java.class.version] = 50.0 2010-08-20 15:51:45,185 INFO [Log4jService] System property [locale] = en_IN 2010-08-20 15:51:45,185 INFO [Log4jService] System property [unicode.encoding] = UnicodeLittle 2010-08-20 15:51:45,186 INFO [Log4jService] System property [file.encoding] = UTF-8 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.vm.name ] = Java HotSpot(TM) Server VM 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.vm.vendor] = Sun Microsystems Inc. 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.vm.version] = 1.6.0-b105 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.vm.info ] = mixed mode 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.home] = /opt/jdk1.6.0/jre 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.classpath] = null 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.library.path] = /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] = /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed:/opt/jdk1.6.0/jre//lib/endorsed 2010-08-20 15:51:45,186 INFO [Log4jService] System property [java.ext.dirs] = /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] = /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/jdk1.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="org.apache.geronimo.framework/j2ee-system/2.2/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/2.2/car,j2eeType=AttributeStore,name=AttributeManager" java.lang.NoClassDefFoundError: Could not initialize class org.apache.geronimo.system.configuration.AttributesXmlUtil at org.apache.geronimo.system.configuration.LocalAttributeManager.read(LocalAttributeManager.java:373) at org.apache.geronimo.system.configuration.LocalAttributeManager.load(LocalAttributeManager.java:354) at org.apache.geronimo.system.configuration.LocalAttributeManager.doStart(LocalAttributeManager.java:547) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:208) at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) 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 = **** > > From the exception message, it seems that it is caused by JRE loads an > old jaxb 2.0 api. > 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 > > > 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 --------------000205070004080400090601 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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  [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 = /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        = 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]     = Java(TM) SE Runtime Environment
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [java.runtime.version]  = 1.6.0-b105
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [os.name]               = Linux
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [os.version]            = 2.6.32-21-generic
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [sun.os.patch.level]    = unknown
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [os.arch]               = i386
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [java.class.version]    = 50.0
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [locale]                = en_IN
2010-08-20 15:51:45,185 INFO  [Log4jService]   System property [unicode.encoding]      = UnicodeLittle
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [file.encoding]         = UTF-8
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.vm.name]          = Java HotSpot(TM) Server VM
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.vm.vendor]        = Sun Microsystems Inc.
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.vm.version]       = 1.6.0-b105
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.vm.info]          = mixed mode
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.home]             = /opt/jdk1.6.0/jre
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.classpath]        = null
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.library.path]     = /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]    = /opt/geronimo-tomcat6-javaee5-2.2/lib/endorsed:/opt/jdk1.6.0/jre//lib/endorsed
2010-08-20 15:51:45,186 INFO  [Log4jService]   System property [java.ext.dirs]         = /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]   = /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/jdk1.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="org.apache.geronimo.framework/j2ee-system/2.2/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/2.2/car,j2eeType=AttributeStore,name=AttributeManager"
java.lang.NoClassDefFoundError: Could not initialize class org.apache.geronimo.system.configuration.AttributesXmlUtil
    at org.apache.geronimo.system.configuration.LocalAttributeManager.read(LocalAttributeManager.java:373)
    at org.apache.geronimo.system.configuration.LocalAttributeManager.load(LocalAttributeManager.java:354)
    at org.apache.geronimo.system.configuration.LocalAttributeManager.doStart(LocalAttributeManager.java:547)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539)
    at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377)
    at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:208)
    at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:167)
    at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBootConfiguration(MainConfigurationBootstrapper.java:84)
    at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:57)
    at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38)
    at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
    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        = ****

From the exception message, it seems that it is caused by JRE loads an old jaxb 2.0 api. 
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 (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
--------------000205070004080400090601--