"java.net.URISyntaxException" During war File Deployment in Oracle GlassFish Server 3.x

(Doc ID 1388032.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle GlassFish Server - Version 3.1 and later
Information in this document applies to any platform.
***Checked for relevance on 30-Sep-2013***

Symptoms

Deployment of GF2.1.1 ear file fails in Oracle GlassFish Server 3.1. The server.log shows the following exception:

[#|2011-10-21T09:38:30.971-0400|WARNING|oracle-glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=98;_ThreadName=Thread-1;|Illegal character in path at index 87: file:/glassf/ogs/glassfish/domains/domain1/applications/Proyectos/WEB-INF/lib/Auditoria y Seguridad del Sistema.jar
java.net.URISyntaxException: Illegal character in path at index 87: file:/glassf/ogs/glassfish/domains/domain1/applications/Proyectos/WEB-INF/lib/Auditoria y Seguridad del Sistema.jar
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at java.net.URL.toURI(URL.java:918)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:604)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.exec

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms