You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "John Sisson (JIRA)" <de...@geronimo.apache.org> on 2006/04/06 08:16:48 UTC

[jira] Created: (GERONIMO-1811) Improve the "Error: Unable to distribute foo.ear: Cannot deploy the requested application module" message

Improve the "Error: Unable to distribute foo.ear: Cannot deploy the requested application module" message
---------------------------------------------------------------------------------------------------------

         Key: GERONIMO-1811
         URL: http://issues.apache.org/jira/browse/GERONIMO-1811
     Project: Geronimo
        Type: Improvement
    Security: public (Regular issues) 
  Components: deployment  
    Versions: 1.0    
    Reporter: John Sisson
 Assigned to: John Sisson 
    Priority: Trivial
     Fix For: 1.1


Need to provide more information in the following error message, giving the user a bit more of a hint as to what the problem may be.

C:\test>geronimo-1.0.1-SNAPSHOT\bin\deploy --user system --password manager deploy jstest.ear jstest.xml
Using GERONIMO_BASE:   C:\test\geronimo-1.0.1-SNAPSHOT
Using GERONIMO_HOME:   C:\test\geronimo-1.0.1-SNAPSHOT
Using GERONIMO_TMPDIR: C:\test\geronimo-1.0.1-SNAPSHOT\var\temp
Using JRE_HOME:        C:\j2sdk1.4.2_10
    Error: Unable to distribute jstest.ear: Cannot deploy the requested
    application module (planFile=C:\test\jstest.xml,
    moduleFile=C:\test\geronimo-1.0.1-SNAPSHOT\var\temp\geronimo-deployer59948.tmpdir\jstest.ear)

In the case above it was due to my ear file accidentially having all the files under a directory.

I propose we add the following to the end of the message:

Check that the module file contains the expected deployment files and directory structure.  If problems persist, ensure the appropriate module builder is running.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1811) Improve the "Error: Unable to distribute foo.ear: Cannot deploy the requested application module" message

Posted by "John Sisson (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1811?page=all ]
     
John Sisson closed GERONIMO-1811:
---------------------------------

    Resolution: Duplicate

Somehow I managed to create this issue twice.  See Geronimo-1810 .

> Improve the "Error: Unable to distribute foo.ear: Cannot deploy the requested application module" message
> ---------------------------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1811
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1811
>      Project: Geronimo
>         Type: Improvement
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.0
>     Reporter: John Sisson
>     Assignee: John Sisson
>     Priority: Trivial
>      Fix For: 1.1

>
> Need to provide more information in the following error message, giving the user a bit more of a hint as to what the problem may be.
> C:\test>geronimo-1.0.1-SNAPSHOT\bin\deploy --user system --password manager deploy jstest.ear jstest.xml
> Using GERONIMO_BASE:   C:\test\geronimo-1.0.1-SNAPSHOT
> Using GERONIMO_HOME:   C:\test\geronimo-1.0.1-SNAPSHOT
> Using GERONIMO_TMPDIR: C:\test\geronimo-1.0.1-SNAPSHOT\var\temp
> Using JRE_HOME:        C:\j2sdk1.4.2_10
>     Error: Unable to distribute jstest.ear: Cannot deploy the requested
>     application module (planFile=C:\test\jstest.xml,
>     moduleFile=C:\test\geronimo-1.0.1-SNAPSHOT\var\temp\geronimo-deployer59948.tmpdir\jstest.ear)
> In the case above it was due to my ear file accidentially having all the files under a directory.
> I propose we add the following to the end of the message:
> Check that the module file contains the expected deployment files and directory structure.  If problems persist, ensure the appropriate module builder is running.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira