geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Petersson <pe...@pmb.mine.nu>
Subject Re: Start failed, Cannot load property editor [org.apache.xbean.propertyeditor.ArrayListEditor]
Date Mon, 14 Jan 2008 22:53:46 GMT
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.<init>(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(<generated>)

>>>
>>>        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
>>>
>>>
>>>
>>
>


Mime
View raw message