You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Amit puri (JIRA)" <ji...@apache.org> on 2009/10/01 12:32:23 UTC

[jira] Created: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

MissingDependencyException while deploying EAR in Clustering Environment
------------------------------------------------------------------------

                 Key: GERONIMO-4900
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Clustering
    Affects Versions: 2.1.4
            Reporter: Amit puri


1. Installed two geronimo instances A and B at different paths

2. Made the following changes to Geronimo A
   For var\config\config-substitutions.properties
       clusterNodeName=NODE --> clusterNodeName=NODE-A

   For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
-----------------------------------------------------------------
        <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
-----------------------------------------------------------------

3. Made the following changes to Geronimo B
   For var\config\config-substitutions.properties
       clusterNodeName=NODE --> clusterNodeName=NODE-B
       PortOffset=0 --> PortOffset=10

   For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
-----------------------------------------------------------------
        <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
            <attribute name="name">NODE-A</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">localhost</ns:property>
                    <ns:property name="port">1099</ns:property>
                    <ns:property name="urlPath">JMXConnector</ns:property>
                    <ns:property name="local">false</ns:property>
          </ns:javabean></attribute>
        </gbean>
-----------------------------------------------------------------

4. Started both Geronimo A and B

5. Ran the following commands in Geronimo_A_Path\bin
   deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
   deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car

6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin

deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear

Output:

A) Errors in Geronimo A geronimo.log

 INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
 INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed

Caused by: 
org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
	... 42 more
Caused by: 
org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
reason: Missing dependency: default/ClusterTestEAR/1.0/ear
	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
	... 43 more


B) Errors in Geronimo B geronimo.log

ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Gianny Damour (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766976#action_12766976 ] 

Gianny Damour commented on GERONIMO-4900:
-----------------------------------------

Hi Ashish, this looks fine. What is the branch you want this patch to be applied to?

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain updated GERONIMO-4900:
----------------------------------

    Attachment:     (was: 4900_one_line_of_code.patch)

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: 4900_line_of_code.patch, ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain reopened GERONIMO-4900:
-----------------------------------


It seems there are some problems after applying the patch as the GBean definition for MasterConfigurationStore declares a special attribute as persistent. Uploading a patch which corrects this mistake.

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: 4900_one_line_of_code.patch, ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Amit Puri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Puri closed GERONIMO-4900.
-------------------------------


I am closing this JIRA. Thanks a lot Ashish.

Thanks
Amit

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain updated GERONIMO-4900:
----------------------------------

    Attachment: 4900_one_line_of_code.patch

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: 4900_one_line_of_code.patch, ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Amit puri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit puri updated GERONIMO-4900:
--------------------------------

    Attachment: ClusterTestEAR.ear

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Gianny Damour (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764643#action_12764643 ] 

Gianny Damour commented on GERONIMO-4900:
-----------------------------------------

This problem is due to the modification of configuration names (suffix '_G_SLAVE'  is added to base name) happening during farm deployment.

GERONIMO-4556, which should have been included in 2.1.4, addresses this problem. In a few words, configuration names are no longer updated.

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764662#action_12764662 ] 

Ashish Jain commented on GERONIMO-4900:
---------------------------------------

import org.apache.geronimo.gbean.annotation.GBean;
import org.apache.geronimo.gbean.annotation.ParamAttribute;
import org.apache.geronimo.gbean.annotation.ParamReference;
import org.apache.geronimo.gbean.annotation.ParamSpecial;
import org.apache.geronimo.gbean.annotation.SpecialAttributeType;

Please advice.

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764582#action_12764582 ] 

Ashish Jain commented on GERONIMO-4900:
---------------------------------------

I was able to simulate this issue. While debugging I found that "default/ClusterTestEAR/1.0/ear" is being looked onto the master repository, cluster repository and repository of instance B. As it does not find it it throws a MissingDependencyException. The method being called to resolve this dependency is org.apache.geronimo.kernel.config.ConfigurationResolver.resolve.

Added similar breakpoints for WAR module but do not see "org.apache.geronimo.kernel.config.ConfigurationResolver.resolve" this method being called.

Is this a supported scenario to deploy an EAR?? Or this only works with a WAR module??

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain updated GERONIMO-4900:
----------------------------------

    Attachment: Geronimo4900.patch

Hello Gianny, 
Please find a patch for g214 branch. This addresses the issue reported in GERONIMO-4556 and GERONIMO-4900.
Please review it.
Thanks

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang closed GERONIMO-4900.
---------------------------------

    Resolution: Fixed

Applied the addtional patch to 21 branch, closing it again.  

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: 4900_line_of_code.patch, ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller reassigned GERONIMO-4900:
--------------------------------------

    Assignee: Kevan Miller  (was: Ashish Jain)

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767014#action_12767014 ] 

Ashish Jain commented on GERONIMO-4900:
---------------------------------------

Hello Gianny,

Thanks for your review!! Please apply this to g 2.1.5 branch.

Thanks
Ashish

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain updated GERONIMO-4900:
----------------------------------

    Fix Version/s: 2.1.5

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain reassigned GERONIMO-4900:
-------------------------------------

    Assignee: Ashish Jain

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller resolved GERONIMO-4900.
------------------------------------

    Resolution: Fixed

Should be resolved. Amit, if you could verify and close the jira, that would be great.

Thanks Ashish!

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764661#action_12764661 ] 

Ashish Jain commented on GERONIMO-4900:
---------------------------------------

Helllo Gianny, thanks for pointing this out. I feel that the fix for GERONIMO-4556 did not make to g214. I have the code for g214 tags and I am not able to see this revision applied to it.. I tried applying the revision http://svn.apache.org/viewvc?view=rev&revision=748991 to my g214 code  base but I see several un resolved imports in MasterConfigurationStore.java related to gbean annotations. A few of them I am listing here.


> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit puri
>            Assignee: Ashish Jain
>         Attachments: ClusterTestEAR.ear
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4900) MissingDependencyException while deploying EAR in Clustering Environment

Posted by "Ashish Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Jain updated GERONIMO-4900:
----------------------------------

    Attachment: 4900_line_of_code.patch

> MissingDependencyException while deploying EAR in Clustering Environment
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4900
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4900
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Clustering
>    Affects Versions: 2.1.4
>            Reporter: Amit Puri
>            Assignee: Kevan Miller
>             Fix For: 2.1.5
>
>         Attachments: 4900_line_of_code.patch, ClusterTestEAR.ear, Geronimo4900.patch
>
>
> 1. Installed two geronimo instances A and B at different paths
> 2. Made the following changes to Geronimo A
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-A
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-B" 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">localhost</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>
> -----------------------------------------------------------------
> 3. Made the following changes to Geronimo B
>    For var\config\config-substitutions.properties
>        clusterNodeName=NODE --> clusterNodeName=NODE-B
>        PortOffset=0 --> PortOffset=10
>    For var\config\config.xml, add the following contents to module: org.apache.geronimo.configs/farming/2.1.4/car
> -----------------------------------------------------------------
>         <gbean name="org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=NodeInfo,name=NODE-A" gbeanInfo="org.apache.geronimo.farm.config.BasicNodeInfo">
>             <attribute name="name">NODE-A</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">localhost</ns:property>
>                     <ns:property name="port">1099</ns:property>
>                     <ns:property name="urlPath">JMXConnector</ns:property>
>                     <ns:property name="local">false</ns:property>
>           </ns:javabean></attribute>
>         </gbean>
> -----------------------------------------------------------------
> 4. Started both Geronimo A and B
> 5. Ran the following commands in Geronimo_A_Path\bin
>    deploy --user system --password manager start org.apache.geronimo.configs/farming/2.1.4/car
>    deploy --user system --password manager --port 1109 start org.apache.geronimo.configs/farming/2.1.4/car
> 6. Deployed one sample ClusterTestEAR.ear in Geronimo_A_Path\bin
> deploy --user system --password manager deploy --targets  org.apache.geronimo.configs/farming/2.1.4/car?ServiceModule=org.apache.geronimo.configs/farming/2.1.4/car,j2eeType=ConfigurationStore,name=MasterConfigurationStore PATH_SAMPLE\ClusterTestEAR.ear
> Output:
> A) Errors in Geronimo A geronimo.log
>  INFO  [BasicClusterConfigurationStoreClient] Upload of configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] - [File(s) transferred to server.  Resuming deployment operation.]
>  INFO  [BasicClusterConfigurationController] Exception while starting configuration [default/ClusterTestEAR_G_SLAVE/1.0/ear] on [NODE-B]. Ignoring.
> org.apache.geronimo.kernel.config.LifecycleException: load of default/ClusterTestEAR_G_SLAVE/1.0/ear failed
> Caused by: 
> org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean default/ClusterTestEAR_G_SLAVE/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:181)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
> 	... 42 more
> Caused by: 
> org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start default/ClusterTestEAR_G_SLAVE/1.0/ear
> reason: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:164)
> 	... 43 more
> B) Errors in Geronimo B geronimo.log
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/ClusterTestEAR_G_SLAVE/1.0/ear?configurationName=default/ClusterTestEAR_G_SLAVE/1.0/ear"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: default/ClusterTestEAR/1.0/ear
> 	at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> 	at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
> 	at org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.