[ http://issues.apache.org/jira/browse/GERONIMO-1810?page=all ]
John Sisson closed GERONIMO-1810. --------------------------------- > Improve the "Error: Unable to distribute foo.ear: Cannot deploy the requested > application module" message > --------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-1810 > URL: http://issues.apache.org/jira/browse/GERONIMO-1810 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: deployment > Affects 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