java.lang.IllegalArgumentException from hot deployer needs improved error 
message
---------------------------------------------------------------------------------

                 Key: GERONIMO-3009
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3009
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Hot Deploy Dir
    Affects Versions: 1.1.1
            Reporter: Rajiv M
            Priority: Minor


When an invalid directory structure for a web app is placed in the deploy 
folder for hot deployment, server logs the following error:

20:27:28,478 ERROR [DirectoryMonitor] Unable to scan file 
C:\WASCE1101\deploy\awasceSamp2 during initialization 
java.lang.IllegalArgumentException: C:\WASCE1101\deploy\awasceSamp2 is not a 
readable XML file! 
        at 
org.apache.geronimo.deployment.plugin.ConfigIDExtractor.extractModuleIdFromPlan(ConfigIDExtractor.java:147)
 
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.calculateModuleId(DirectoryMonitor.java:361)
 
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.initialize(DirectoryMonitor.java:230)
 
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:206)
 
        at java.lang.Thread.run(Thread.java:797) 
20:27:28,478 DEBUG [Hot Deployer] Initialization complete; directory scanner 
entering normal scan mode 

The error message could be improved so that end users can understand the 
problem and rectify.



-- 
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