You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2009/08/12 10:24:14 UTC

[jira] Created: (GERONIMO-4792) deploy --inPlace fails for folders ending in .war

deploy --inPlace fails for folders ending in .war
-------------------------------------------------

                 Key: GERONIMO-4792
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 2.2
            Reporter: Jürgen Weber


JBoss wants the names of exploded web application folders to end in .war.

I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.

2.2-SNAPSHOT
Build 	2009.08.11-03:08:02.228-0400

./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
        at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)


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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Shawn Jiang updated GERONIMO-4792:
----------------------------------

    Fix Version/s: 2.2.2
                       (was: 2.2.1)

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>             Fix For: 2.2.2
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Chi Runhua updated GERONIMO-4792:
---------------------------------

    Attachment: G4790.patch

Attach the patch to improve the error message.


> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Chi Runhua
>             Fix For: 2.2.1
>
>         Attachments: G4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Commented: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867406#action_12867406 ] 

Shawn Jiang commented on GERONIMO-4792:
---------------------------------------

The patch was applied to 22 and trunk successfully.   Thanks Jeff for the patch !

Seems it is not compatible with 21 branch.

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Shawn Jiang
>             Fix For: 2.2.1
>
>         Attachments: 4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Assigned: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

viola.lu reassigned GERONIMO-4792:
----------------------------------

    Assignee: Shawn Jiang  (was: Chi Runhua)

Shawn, can you apply this patch?

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Shawn Jiang
>             Fix For: 2.2.1
>
>         Attachments: G4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Commented: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867388#action_12867388 ] 

Shawn Jiang commented on GERONIMO-4792:
---------------------------------------

Hi Jeff,

The patch can't be applied successfully.   Please check. 


BTW, please don't mark a JIRA resolved until the patch is committed.  Thanks.

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Shawn Jiang
>             Fix For: 2.2.1
>
>         Attachments: G4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Shawn Jiang updated GERONIMO-4792:
----------------------------------

    Fix Version/s: 2.2.1

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>             Fix For: 2.2.1
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Resolved: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Chi Runhua resolved GERONIMO-4792.
----------------------------------

    Fix Version/s: 2.2.1
                       (was: 2.2.2)
       Resolution: Fixed

The patch can be applied to trunk as well.


> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Chi Runhua
>             Fix For: 2.2.1
>
>         Attachments: G4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Jürgen Weber updated GERONIMO-4792:
-----------------------------------

    Summary: deploy --inPlace - wrong error message for non-existing folders  (was: deploy --inPlace fails for folders ending in .war)

Sorry, the path to the web app was invalid.

But the deployer should throw "File not found" instead of "Invalid JAR file"

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Chi Runhua updated GERONIMO-4792:
---------------------------------

    Attachment: 4790.patch

Upload a revised patch. 

The original one has some duplicate sections which causes the failure.

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Shawn Jiang
>             Fix For: 2.2.1
>
>         Attachments: 4790.patch
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Assigned: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Chi Runhua reassigned GERONIMO-4792:
------------------------------------

    Assignee: Chi Runhua

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Chi Runhua
>             Fix For: 2.2.2
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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


[jira] Updated: (GERONIMO-4792) deploy --inPlace - wrong error message for non-existing folders

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

Chi Runhua updated GERONIMO-4792:
---------------------------------

    Attachment:     (was: G4790.patch)

> deploy --inPlace - wrong error message for non-existing folders
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4792
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4792
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>            Reporter: Jürgen Weber
>            Assignee: Shawn Jiang
>             Fix For: 2.2.1
>
>
> JBoss wants the names of exploded web application folders to end in .war.
> I tried to deploy one of these exploded wars in Geronimo, too, but the deployer thinks it's a .war and fails.
> 2.2-SNAPSHOT
> Build 	2009.08.11-03:08:02.228-0400
> ./deploy.sh -u system -p manager deploy --inPlace ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
> Using GERONIMO_HOME:   /projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /projekte/jdk1.6.0_15/jre
> 2009-08-12 10:15:18,568 ERROR [DeployTool] Error:
> org.apache.geronimo.common.DeploymentException: Invalid JAR file ./projekte/jboss-eap-4.3/server/default/deploy/myapp.war
>         at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:97)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168)
>         at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
>         at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
>         at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

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