users@glassfish.java.net

Re: Embedded Glassfish 3.1 won't run from C:\Program Files on Wi

From: <forums_at_java.net>
Date: Sat, 22 Oct 2011 16:37:11 -0500 (CDT)

After resolving some other non-related errors, it seems that it does deploy
and everything works.

However, it is still producing the warning about the space being an illegal
character.

Since this is in a commercial application, I'm not too happy about this
warning being there in the logs and scaring the customer, thinking there is
something not working.

Any suggestions?

WARNING: Illegal character in path at index 16: file:/C:/Program
Files/App/Http/domains/domain1/applications/demo.jar
java.net.URISyntaxException: Illegal character in path at index 16:
file:/C:/Program Files/App/Http/domains/domain1/applications/demo.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
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:606)
    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.execute(DeployCommand.java:382)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
    at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
    at
com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:129)
    at com.pop3gateway.HttpServer.run(HttpServer.java:112)
    at java.lang.Thread.run(Unknown Source)
 


--
[Message sent by forum member 'jakorsme']
View Post: http://forums.java.net/node/853024