[
https://issues.apache.org/jira/browse/GERONIMO-6521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258094#comment-14258094
]
xiezhi commented on GERONIMO-6521:
----------------------------------
I didn't see any farm related component in geronimo 3.0.1's repository. I guess
geronimo abandent farm from 3.0.0. There is the others clustering usecase in
geronimo 3.0.x, such as Tomcat native clustering, JMX clustering and WADI
clustering. P.S.Geronimo 3.x Doc need to do some update in Clustering. It seems
to use 2.2 Doc.
> java.lang.IllegalStateException: Cannot load property editor
> [org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor]
> exception throwned when farming geronimo using Deployment version 3.0.1
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-6521
> URL: https://issues.apache.org/jira/browse/GERONIMO-6521
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Clustering
> Affects Versions: 3.0.1
> Environment: 2 Linux Machines with geronimo 3.0.1 server
> Reporter: Pranav
> Priority: Blocker
>
> I'm trying to farm geronimo using deployment according to
> https://cwiki.apache.org/confluence/display/GMOxDOC22/Farming+using+Deployment
> 1, install the required modules on both servers and started the modules.
> 2, updated the var\config\config.xml with following farming config info:
> <gbean
> name="org.apache.geronimo.configs/farming/3.0.1/car?ServiceModule=org.apache.geronimo.configs/farming/3.0.1/car,j2eeType=NodeInfo,name=prodApp2"
> gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
> <attribute name="name">prodApp2</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">10.9.90.102</ns:property>
> <ns:property name="port">1100</ns:property>
> <ns:property
> name="urlPath">JMXConnector</ns:property>
> <ns:property name="local">false</ns:property>
> </ns:javabean>
> </attribute>
> </gbean>
> 3) Started server and got the exception.
> 2014-05-28 06:15:00,828 ERROR [GBeanInstanceState] Error while starting;
> GBean is now in the FAILED state:
> abstractName="org.apache.geronimo.configs/farming/3.0.1/car?configurationName=org.apache.geronimo.configs/farming/3.0.1/car"
> java.lang.IllegalStateException: Cannot load property editor
> [org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor]
> at
> org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:443)
> at
> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:419)
> at
> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:368)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:234)
> at
> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:203)
> at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:218)
> at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown
> Source)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
> at
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
> at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> 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:958)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:555)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:368)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:191)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:358)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:331)
> at
> org.apache.geronimo.kernel.osgi.ConfigurationActivator.start(ConfigurationActivator.java:72)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:234)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:94)
> at
> org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> at org.apache.geronimo.main.Bootstrapper.start(Bootstrapper.java:88)
> at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:61)
> at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:33)
> Caused by: java.lang.InstantiationException:
> org.apache.geronimo.farm.config.BasicExtendedJMXConnectorInfoEditor
> at java.lang.Class.newInstance(Class.java:359)
> at
> org.apache.geronimo.system.configuration.GBeanOverride.loadPropertyEditor(GBeanOverride.java:441)
> ... 35 more
> Is there any solution or any other approach available for farming
> configuration in geronimo?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)