[ https://issues.apache.org/jira/browse/GERONIMO-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang updated GERONIMO-4498: ---------------------------------- Patch Info: [Patch Available] > ClassNotFoundException: BasicExtendedJMXConnectorInfoEditor throwned when > farming geronimo using Deployment > ----------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-4498 > URL: https://issues.apache.org/jira/browse/GERONIMO-4498 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Clustering > Affects Versions: 2.2 > Environment: Windows XP SP 2 + IBM SDK 1.5.0 > Reporter: Shawn Jiang > Assignee: Donald Woods > Priority: Blocker > Fix For: 2.2 > > Attachments: G4498_shawn.patch > > > I'm trying to farm geronimo using deployment according to > http://cwiki.apache.org/GMOxDOC22/farming-using-deployment.html. > 1, install the latest trunk 2.2-snapshot build as nodeA > 2, update the var\config\config.xml with following farming config info: > {code:xml} > <module name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car" > load="false"> > <gbean name="NodeInfo"> > <attribute name="name">${clusterNodeName}</attribute> > </gbean> > <gbean name="ClusterInfo"> > <attribute name="name">${clusterName}</attribute> > </gbean> > <gbean > name="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car,j2eeType=NodeInfo,name=NodeInfoB" > gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo"> > <attribute name="name">NODE-B</attribute> > <attribute > propertyEditor="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor" > name="extendedJMXConnectorInfo"> > <ns:javabean > class="org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfo" > xmlns:ns4="http://geronimo.apache.org/xml/ns/attributes-1.2" > xmlns:ns="http://geronimo.apache.org/xml/ns/deployment/javabean-1.0" xmlns=""> > <ns:property name="username">system</ns:property> > <ns:property name="password">manager</ns:property> > <ns:property name="protocol">rmi</ns:property> > <ns:property name="host">9.123.237.58</ns:property> > <ns:property name="port">1109</ns:property> > <ns:property name="urlPath">JMXConnector</ns:property> > <ns:property name="local">false</ns:property> > </ns:javabean></attribute> > </gbean> > </module> > {code} > 3, start the server. > 4, use {noformat}deploy.bat --user system --password manager start > org.apache.geronimo.configs/farming//car {noformat} to start the farming > config. > *expected result*: the farming config could be started without problem. > *actual result*: the farming config could not be started up with > exceptions in log. the log is: > __________________________________________________________________________ > 2009-01-07 16:37:56,453 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car" > java.lang.IllegalStateException: Cannot load property editor > [org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor] > at > org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:423) > at > org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:399) > at > org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:359) > at > org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:228) > at > org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:197) > at > org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:292) > at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown > Source) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at > org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:882) > at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:272) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) > at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910) > 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.GBeanInstance.start(GBeanInstance.java:524) > at > org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163) > 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:130) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815) > 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$$367f8f37.loadConfiguration(<generated>) > at > org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:158) > 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:65) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > Caused by: java.lang.ClassNotFoundException: > org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor in > classloader org.apache.geronimo.configs/farming/2.2-SNAPSHOT/car > at > org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:413) > at > org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:255) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at > org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:420) > ... 36 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.