Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2365 | minor | always | 01-24-08 01:24 | 02-10-08 18:54 | |
|
|||||
Reporter: | gjvc | Platform: | i386 | ||
Assigned To: | ferg | OS: | Linux | ||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.4 | ||
Product Build: | 3.1.4 | Resolution: | fixed | ||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.5 | ||
|
|||||
Summary: | 0002365: WebAppVersioningController barfs on app dirs with dots in them | ||||
Description: |
Looks like WebAppVersioningController does not like the presence of web-apps with names of the form wombat-web.something (the dot something upsets it) 09:16:04.341 [09:16:04.339] java.lang.StringIndexOutOfBoundsException: String index out of range: 9 09:16:04.341 [09:16:04.339] at java.lang.String.charAt(String.java:687) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppVersioningController$VersionNameComparator.compare(WebAppVersioningController.java:291) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppVersioningController$VersionNameComparator.compare(WebAppVersioningController.java:238) 09:16:04.341 [09:16:04.339] at java.util.Arrays.mergeSort(Arrays.java:1270) 09:16:04.341 [09:16:04.339] at java.util.Arrays.mergeSort(Arrays.java:1282) 09:16:04.341 [09:16:04.339] at java.util.Arrays.mergeSort(Arrays.java:1282) 09:16:04.341 [09:16:04.339] at java.util.Arrays.sort(Arrays.java:1210) 09:16:04.341 [09:16:04.339] at java.util.Collections.sort(Collections.java:159) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppVersioningController.updateVersion(WebAppVersioningController.java:202) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:170) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:55) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163) 09:16:04.341 [09:16:04.339] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675) 09:16:04.341 [09:16:04.339] at com.caucho.server.host.Host.start(Host.java:437) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528) 09:16:04.341 [09:16:04.339] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163) 09:16:04.341 [09:16:04.339] at com.caucho.server.host.HostContainer.start(HostContainer.java:479) 09:16:04.341 [09:16:04.339] at com.caucho.server.cluster.Server.start(Server.java:1171) 09:16:04.341 [09:16:04.339] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:708) 09:16:04.341 [09:16:04.339] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:522) 09:16:04.341 [09:16:04.339] at com.caucho.server.resin.Resin.start(Resin.java:692) 09:16:04.341 [09:16:04.339] at com.caucho.server.resin.Resin.initMain(Resin.java:1113) 09:16:04.341 [09:16:04.339] at com.caucho.server.resin.Resin.main(Resin.java:1314) |
||||
Steps To Reproduce: |
1 set war-deploy attribute versioning to true 2 create a web app with a name like wombat-web.cf in the war-deploy directory. 3 start resin |
||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|