Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1196 invoked from network); 17 Jan 2008 05:57:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2008 05:57:38 -0000 Received: (qmail 93702 invoked by uid 500); 17 Jan 2008 05:57:27 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93653 invoked by uid 500); 17 Jan 2008 05:57:27 -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 93640 invoked by uid 99); 17 Jan 2008 05:57:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 21:57:27 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.56.22] (HELO n3.bullet.mail.re4.yahoo.com) (206.190.56.22) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 17 Jan 2008 05:57:13 +0000 Received: from [68.142.237.88] by n3.bullet.re4.yahoo.com with NNFMP; 17 Jan 2008 05:57:05 -0000 Received: from [69.147.75.181] by t4.bullet.re3.yahoo.com with NNFMP; 17 Jan 2008 05:57:05 -0000 Received: from [127.0.0.1] by omp102.mail.re1.yahoo.com with NNFMP; 17 Jan 2008 05:57:05 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 365429.62661.bm@omp102.mail.re1.yahoo.com Received: (qmail 36847 invoked by uid 60001); 17 Jan 2008 05:57:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Ign/Hh8RjfazIbXwOsF2WWnBm/FqBlDwncTGva+mlHlzleT4yQQBVUv9IilHZpNU5oacrZMJ7ZInN+Zpa1hkdEie1Rup9NaKc93qJinr/rrWdq6iMThBxA8K6QRHIEkW0OaThHXK3wcNv0yK08DLaQ1Jd9fGndZ16YGptI3joyc=; X-YMail-OSG: grhzEy4VM1lQyoPVcaJgMae2IFlLJOzCIW8CinEaN7mAg.YoEf3qhUoxL4oGL3mp48kcVTsN1uurYBajbj_suA.bz31wSFR8PEHPjhaiaahEOE5BCMc2 Received: from [202.108.130.138] by web57514.mail.re1.yahoo.com via HTTP; Wed, 16 Jan 2008 21:57:05 PST Date: Wed, 16 Jan 2008 21:57:05 -0800 (PST) From: YunFeng Ma Subject: Re: Start failed, Cannot load property editor [org.apache.xbean.propertyeditor.ArrayListEditor] To: dev@geronimo.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <189531.33530.qm@web57514.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I got the similar error using the latest trunk build on Windows XP. I searched the org.apache.geronimo.configs/j2ee-system/2.1-SNAPSHOT/car ,org.apache.geronimo.configs/jee-specs/2.1-SNAPSHOT/car and org.apache.geronimo.configs/rmi-naming/2.1-SNAPSHOT/car configurations ( they are the parents of org.apache.geronimo.configs/plugin/2.1-SNAPSHOT/car), but didn't find they loaded org.apache.xbean/xbean-reflect/3.3-SNAPSHOT/jar which includes the class org.apache.xbean.propertyeditor.LinkedListEditor. Now I added org.apache.xbean/xbean-reflect/3.3-SNAPSHOT/jar to org.apache.geronimo.configs/j2ee-system/2.1-SNAPSHOT/car, the server can start up correctly. But I don't know if I'm missing anything, if not, I'll open a jira for this. Thanks a lot. -- Yun Feng Peter Petersson wrote: > Yes thank you Jarek! > > As mentioned by Jarek the second attribute below is the offending one. > It is added to the config by adding a repository. > The question is where is my > org.apache.xbean.propertyeditor.LinkedListEditor :) maybe it is fixed > in newer builds I haven't got around checking it yet. > thanks > Peter P > > config.xml > : > > > name="repositoryList">http://geronimo.apache.org/plugins/plugin-repository-list-2.1.txt > > propertyEditor="org.apache.xbean.propertyeditor.LinkedListEditor" > name="userRepositories">[~/.m2/repository,file:/home/ppe/.m2/repository/] > > > > > > Jarek Gawor wrote: >> Peter, >> >> I also see the same problem on XP on second start up. But I was able >> to work around it by removing >> 'propertyEditor="org.apache.xbean.propertyeditor.LinkedListEditor"' >> attribute from element of DownloadedPluginRepos gbean. >> >> Hope this helps, >> Jarek >> >> On Jan 14, 2008 7:21 PM, Peter Petersson wrote: >> >>> In the men time I resorted to the assembly I pulled together yesterday >>> and just doing a ./startup.sh; ./shutdown.sh; ../startup.sh fails on the >>> second startup with the error indicated bellow. Its getting late >>> here so >>> I will look in to this again tomorrow hopefully with a fresh build. >>> regards >>> Peter Petersson >>> >>> >>> >>> Peter Petersson wrote: >>> >>>> Things seems to be in a flux right now as I get a parse exception on >>>> 'geronimo-plugin-list' so I guess I have to wait with testing out >>>> plugins on a fresh build. >>>> I get back to you when this is out of the way. >>>> >>>> regards >>>> Peter P >>>> >>>> 23:44:02,710 INFO [PluginInstallerGBean] Attempting to download >>>> file:/home/ppe/.m2/repository/geronimo-plugins.xml >>>> 23:44:02,860 ERROR [PluginInstallerGBean] Unable to load repository >>>> configuration data >>>> org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration >>>> of element 'geronimo-plugin-list'. >>>> at >>>> org.apache.geronimo.system.plugin.PluginInstallerGBean$3.error(PluginInstallerGBean.java:1440) >>>> >>>> >>>> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown >>>> Source) >>>> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >>>> Source) >>>> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >>>> Source) >>>> >>>> >>>> Peter Petersson wrote: >>>> >>>>> David Jencks wrote: >>>>> >>>>>> I finally got around to applying your roller plugin patch but I >>>>>> can't reproduce this either on jetty or tomcat. I'm on osx.... I >>>>>> wonder if its due to the different os???? >>>>>> >>>>> Nice :) >>>>> hmmm well I am on Linux and Hernan got this on a Windows XP box and >>>>> maybe osx is spared but there is clearly something wrong with my >>>>> environment or else the server is getting into a faulty state due to >>>>> the plugin modules I install (roller-tomcat, roller-themes) although >>>>> I doubt the later is the case ;), I will try investigate this a bit >>>>> more, will post my findings (if any) here but If you or anyone else >>>>> have some suggestions or hints on what may cause this let me know. >>>>> >>>>> I will do a svn update; mvn clean install; and go make some coffee >>>>> and try out the new build with different setups. >>>>> >>>>> regards >>>>> Peter P >>>>> >>>>>> thanks >>>>>> david jencks >>>>>> >>>>>> On Jan 14, 2008, at 2:28 AM, Peter Petersson wrote: >>>>>> >>>>>> >>>>>>> Anyone still getting this? >>>>>>> >>>>>>> On the first startup the server starts fine but every following >>>>>>> startup after a shutdown (or even reboot of comp) fails. >>>>>>> I have had this problem for some time now (2 weeks I think) and to >>>>>>> get around it I keep reinstalling the server but that's getting a >>>>>>> bit boring :). This is happening for me on new builds of 2.1. >>>>>>> The only thing I have done in between is installing the roller >>>>>>> plugin. >>>>>>> I have also tried startup with load="false" in config.xml on the >>>>>>> roller modules before startup (just in case the plugin would be >>>>>>> causing the startup problem) but it dose not help. >>>>>>> >>>>>>> Any clues on what may causing this ? >>>>>>> >>>>>>> thanks >>>>>>> Peter P >>>>>>> >>>>>>> 09:05:33,865 INFO [Log4jService] >>>>>>> ---------------------------------------------- >>>>>>> 09:05:33,865 INFO [Log4jService] Started Logging Service >>>>>>> 09:05:33,865 INFO [Log4jService] Runtime Information: >>>>>>> 09:05:33,865 INFO [Log4jService] Install Directory = >>>>>>> /usr/local/geronimo-tomcat6-javaee5-2.1-SNAPSHOT >>>>>>> 09:05:33,865 INFO [Log4jService] JVM in use = Sun >>>>>>> Microsystems Inc. >>>>>>> Java 1.5.0_13 >>>>>>> 09:05:33,865 INFO [Log4jService] Java Information: >>>>>>> 09:05:33,865 INFO [Log4jService] System property >>>>>>> [java.runtime.name] >>>>>>> = Java(TM) 2 Runtime Environment, Standard Edition >>>>>>> 09:05:33,865 INFO [Log4jService] System property >>>>>>> [java.runtime.version] = 1.5.0_13-b05 >>>>>>> 09:05:33,865 INFO [Log4jService] System property >>>>>>> [os.name] = Linux >>>>>>> 09:05:33,865 INFO [Log4jService] System property >>>>>>> [os.version] = 2.6.22-14-generic >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [sun.os.patch.level] = unknown >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [os.arch] = i386 >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.class.version] = 49.0 >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [locale] = sv_SE >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [unicode.encoding] = UnicodeLittle >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [file.encoding] = UTF-8 >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.vm.name] = Java HotSpot(TM) Server VM >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.vm.vendor] = Sun Microsystems Inc. >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.vm.version] = 1.5.0_13-b05 >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.vm.info] = mixed mode >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.home] = /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.classpath] = null >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.library.path] = >>>>>>> /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/../lib/i386 >>>>>>> >>>>>>> >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.endorsed.dirs] = >>>>>>> /usr/local/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/lib/endorsed:/usr/lib/jvm/java-1.5.0-sun/jre/lib/endorsed >>>>>>> >>>>>>> >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [java.ext.dirs] = >>>>>>> /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/ext >>>>>>> 09:05:33,871 INFO [Log4jService] System property >>>>>>> [sun.boot.class.path] = >>>>>>> /usr/local/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/lib/endorsed/yoko-rmi-spec-1.0-incubating-r602900.jar:/usr/local/geronimo-tomcat6-javaee5-2.1-SNAPSHOT/lib/endorsed/yoko-spec-corba-1.0-incubating-r602900.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/classes >>>>>>> >>>>>>> >>>>>>> 09:05:33,871 INFO [Log4jService] >>>>>>> ---------------------------------------------- >>>>>>> 09:05:37,561 ERROR [GBeanInstanceState] Error while starting; >>>>>>> GBean is >>>>>>> now in the FAILED state: >>>>>>> abstractName="org.apache.geronimo.configs/plugin/2.1-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/plugin/2.1-SNAPSHOT/car" >>>>>>> >>>>>>> >>>>>>> java.lang.IllegalStateException: Cannot load property editor >>>>>>> [org.apache.xbean.propertyeditor.LinkedListEditor] >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:412) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:387) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:347) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:210) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:179) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.Configuration.(Configuration.java:280) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >>>>>>> Method) >>>>>>> at >>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:494) >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:160) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280) >>>>>>> >>>>>>> >>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>>>>>> Method) >>>>>>> at >>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>>>> >>>>>>> >>>>>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2b316b2d.loadConfiguration() >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:153) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) >>>>>>> Caused by: java.lang.ClassNotFoundException: >>>>>>> org.apache.xbean.propertyeditor.LinkedListEditor in classloader >>>>>>> org.apache.geronimo.configs/plugin/2.1-SNAPSHOT/car >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428) >>>>>>> >>>>>>> >>>>>>> at >>>>>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278) >>>>>>> >>>>>>> >>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >>>>>>> at >>>>>>> org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:409) >>>>>>> >>>>>>> >>>>>>> ... 33 more >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hernan Cunico wrote: >>>>>>> >>>>>>>> Hi all, >>>>>>>> any painless way to recover from this error? >>>>>>>> I just restarted G, have not installed new applications, it just >>>>>>>> won't start. >>>>>>>> >>>>>>>> D:\geronimo-tomcat6-javaee5-2.1-SNAPSHOT\bin>geronimo run >>>>>>>> Using GERONIMO_BASE: D:\geronimo-tomcat6-javaee5-2.1-SNAPSHOT >>>>>>>> Using GERONIMO_HOME: D:\geronimo-tomcat6-javaee5-2.1-SNAPSHOT >>>>>>>> Using GERONIMO_TMPDIR: var\temp >>>>>>>> Using JRE_HOME: C:\Java\jdk1.5.0_06\jre >>>>>>>> 11:15:53,531 WARN [AbstractGBeanReference] GBean references are >>>>>>>> not using proxies >>>>>>>> Booting Geronimo Kernel (in Java 1.5.0_06)... >>>>>>>> Starting Geronimo Application Server v2.1-SNAPSHOT >>>>>>>> [***- ] >>>>>>>> 8% 0s Lo...11:02:31,031 ERROR [GBeanInstanceState] Error while >>>>>>>> starting; GBean is now in the FAILED state: >>>>>>>> abstractName="org.apache.geronimo.configs/rmi-naming/2.1-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/rmi-naming/2.1-SNAPSHOT/car" >>>>>>>> >>>>>>>> >>>>>>>> ... >>>>>>>> >>>>>>>> Cheers! >>>>>>>> Hernan >>>>>>>> >>>>>>> >>>>>>> >>> > > > > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs