View | Details | Raw Unified | Return to bug 53531
Collapse All | Expand All

(-)container/catalina/src/share/org/apache/catalina/startup/ExpandWar.java (-1 / +4 lines)
Lines 162-168 Link Here
162
                if (last >= 0) {
162
                if (last >= 0) {
163
                    File parent = new File(docBase,
163
                    File parent = new File(docBase,
164
                                           name.substring(0, last));
164
                                           name.substring(0, last));
165
                    parent.mkdirs();
165
                    if(!parent.mkdirs() && !parent.isDirectory()) {
166
                      throw new IOException(
167
                                sm.getString("expandWar.createFailed", parent));
168
                    }
166
                }
169
                }
167
                if (name.endsWith("/")) {
170
                if (name.endsWith("/")) {
168
                    continue;
171
                    continue;
(-)container/catalina/src/share/org/apache/catalina/startup/LocalStrings.properties (+1 lines)
Lines 59-64 Link Here
59
expandWar.copy=Error copying {0} to {1}
59
expandWar.copy=Error copying {0} to {1}
60
expandWar.deleteFailed=[{0}] could not be completely deleted. The presence of the remaining files may cause problems
60
expandWar.deleteFailed=[{0}] could not be completely deleted. The presence of the remaining files may cause problems
61
expandWar.illegalPath=The archive [{0}] is malformed and will be ignored: an entry contains an illegal path [{1}]
61
expandWar.illegalPath=The archive [{0}] is malformed and will be ignored: an entry contains an illegal path [{1}]
62
expandWar.createFailed=Unable to create the directory [{0}]
62
hostConfig.appBase=Application base directory {0} does not exist
63
hostConfig.appBase=Application base directory {0} does not exist
63
hostConfig.canonicalizing=Error delete redeploy resources from context [{0}]
64
hostConfig.canonicalizing=Error delete redeploy resources from context [{0}]
64
hostConfig.cce=Lifecycle event data object {0} is not a Host
65
hostConfig.cce=Lifecycle event data object {0} is not a Host

Return to bug 53531