[ 
https://issues.apache.org/jira/browse/WW-3626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038410#comment-13038410
 ] 

jagub zhang commented on WW-3626:
---------------------------------

I'm sorry. it will not fail, just warning.

As follows:
1. start tomcat
2. rename struts2-blank.war to prjjar.war, and copy prjjar.war to tomcat 
webapps folder
3. then you can found error in catalina.yyyy-mm-dd.log

the error in my log file:
2011/05/24 14:31:19 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn
WARNING: Could not create JarEntryRevision for 
[jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/prjjar/WEB-INF/lib/struts2-core-2.2.3.jar]!
java.io.FileNotFoundException: C:\Program Files\Apache Software 
Foundation\Tomcat 6.0\webapps\pr (The system cannot find the file specified)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:99)
        at 
com.opensymphony.xwork2.util.FileManager$JarEntryRevision.build(FileManager.java:307)
        at 
com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:145)
        at 
com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:105)
        at 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:898)
        at 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154)
        at 
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)
        at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)
        at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
        at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)
        at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
        at 
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
        at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)


> URLUtil#normalizeToFileProtocol
> -------------------------------
>
>                 Key: WW-3626
>                 URL: https://issues.apache.org/jira/browse/WW-3626
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.8.1
>            Reporter: jagub zhang
>            Priority: Minor
>
> if path include word 'jar', the return value is wrong.
> ex.
> inport   
> jar:file:/C:/workspace/projar/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml
> output  file:/C:/workspace/pr

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to