users@grizzly.java.net

Re: Grizzly Deployer - Classpath loader Issue - windows

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Mon, 21 Mar 2011 14:31:47 -0400

I will help you. I did Grizzly deployer :)

Can you send me a sample with the version are of Grizzly you are using
please.

I'm on windows so it Shouldn't be a problem to test.
On Mar 21, 2011 2:17 PM, <alanoleary_at_gmail.com> wrote:
> Hello, I am using grizzly-http-servlet-deployer.jar but have a major
> problem on windows (running within eclipse is not a problem)
>
> Basically what I am seeing is that initial classloading/bootstraping
> for the deployer itself is correct (i.e. log4j being read from:
> file:/c:/dev/.....)
>
> However when the deployer boots my specified war file (-a my.war..)
>
> I can see in the logs that all paths are incorrect and no files can be
> read from classpath:
>
> java.io.FileNotFoundException: class path resource
> [META-INF/ws-appctx.xml] ...
> Could not read configuration file from URL [file://c:/dev/....
>
> You can see in the second error here that the location is being picked
> up incorrectly as file://c:/ instead of the correct (on windows)
> file:/c:/dev
>
> Any help/info appreciated here...