when a user use deploy.sh deploy command to deploy a car file we should give a 
informative message
--------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4348
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4348
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
    Affects Versions: 2.2
            Reporter: Lin Sun
            Priority: Minor
             Fix For: 2.2


We should check if .car file (or other type of invalid file extension) is used, 
we suggest a informative message.

lin-suns-macbook-pro:bin linsun$ ./deploy.sh deploy 
~/gtrunk/plugins/console/plugin-console-tomcat/target/plugin-console-tomcat-2.2-SNAPSHOT.car
 
Using GERONIMO_BASE:   
/Users/linsun/gtrunk/assemblies/geronimo-tomcat6-javaee5/target/assembly
Using GERONIMO_HOME:   
/Users/linsun/gtrunk/assemblies/geronimo-tomcat6-javaee5/target/assembly
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    Error: Unable to distribute plugin-console-tomcat-2.2-SNAPSHOT.car:
    web.xml for web app
    default/plugin-console-tomcat-2.2-SNAPSHOT/1223649642933/car
    includes security elements but Geronimo deployment plan is not
    provided or does not contain <security-realm-name> element necessary
    to configure security accordingly.





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

Reply via email to