users@glassfish.java.net

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

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Mon, 24 Oct 2011 10:15:34 -0400

I have just fixed the issue last week in trunk and 3.1.2 branch. You can
try with a nightly build to see if things are better there.

On 10/24/2011 6:07 AM, Bhavanishankar wrote:
> Hi,
>
> Like I mentioned earlier, you might be facing
> http://java.net/jira/browse/GLASSFISH-16333
>
> Please watch the issue and vote for it.
>
> Thanks,
>
> Bhavani
>
> On 10/23/2011 03:07 AM, forums_at_java.net wrote:
>> 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
>>
>>