"Illegal character in path" error in JBoss EAP 5.1.2

Solution Verified - Updated -

Issue

  • The following error is logged:

    java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/jboss-eap-5.1/jboss-as/server/production/tmp/4naks-ed1hk0-gzfuvex8-1-gzfuw630-bu/test.war/WEB-INF/lib/some.jar
        at java.net.URI$Parser.fail(Unknown Source)
        at java.net.URI$Parser.checkChars(Unknown Source)
        at java.net.URI$Parser.parseHierarchical(Unknown Source)
        at java.net.URI$Parser.parse(Unknown Source)
        at java.net.URI.<init>(Unknown Source)
        at java.net.URL.toURI(Unknown Source)
        at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:62)
        at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:40)
        at java.net.URL.openConnection(Unknown Source)
        at org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:266)
        at org.jboss.web.tomcat.service.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:261)
        at org.jboss.web.tomcat.service.jasper.TagLibCache.init(TagLibCache.java:101)
        at org.jboss.web.tomcat.service.jasper.TagLibCache.getLocation(TagLibCache.java:83)
        at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:549)
        at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:381)
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.2
    • 5.2.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.