Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002365 [Resin] minor always 01-24-08 01:24 02-10-08 18:54
Reporter gjvc View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform i386
Status closed   OS Linux
Projection none   OS Version
ETA none Fixed in Version 3.1.5 Product Version 3.1.4
  Product Build 3.1.4
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
Attached Files

- Relationships

- Notes
(0002743)
ferg
02-10-08 18:54

server/1h29
 

- Issue History
Date Modified Username Field Change
01-24-08 01:24 gjvc New Issue
01-24-08 02:05 nam Project Quercus => Resin
02-10-08 18:54 ferg Note Added: 0002743
02-10-08 18:54 ferg Assigned To  => ferg
02-10-08 18:54 ferg Status new => closed
02-10-08 18:54 ferg Resolution open => fixed
02-10-08 18:54 ferg Fixed in Version  => 3.1.5
02-10-08 18:54 ferg Description Updated


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker