You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by rc...@lexmark.com on 2003/11/08 16:24:37 UTC

MultiException when executing "forrest run"

Hi folks,

   When I attempt to run forrest in webapp mode, I get a warning with the
"org.mortbay.util.MultiException" Java exception.
Has anyone seen this?

run:
10:22:03.341 EVENT  Checking Resource aliases
10:22:04.333 EVENT  Starting Jetty/4.2.8
10:22:05.965 EVENT  Started SocketListener on 0.0.0.0:8888
10:22:05.965 WARN!!
org.mortbay.util.MultiException[java.io.FileNotFoundException: F:\carman\forrest
\fangorn\build\webapp\WEB-INF\classes is alias of F:\carman\forrest\fangorn\buil
d\webapp\web-inf\classes]
        at org.mortbay.http.HttpServer.start(HttpServer.java:624)
        at org.mortbay.jetty.Server.main(Server.java:411)
[0]=java.io.FileNotFoundException: F:\carman\forrest\fangorn\build\webapp\WEB-IN
F\classes is alias of F:\carman\forrest\fangorn\build\webapp\web-inf\classes
        at org.mortbay.util.BadResource.getInputStream(BadResource.java:71)
        at org.mortbay.http.ContextLoader.<init>(ContextLoader.java:102)
        at org.mortbay.http.HttpContext.initClassLoader(HttpContext.java:1290)
        at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
ontext.java:384)
        at org.mortbay.http.HttpServer.start(HttpServer.java:647)
        at org.mortbay.jetty.Server.main(Server.java:411)





Re: MultiException when executing "forrest run"

Posted by David Crossley <cr...@indexgeo.com.au>.
rccarman@lexmark.com wrote:
> Hi folks,
> 
>    When I attempt to run forrest in webapp mode, I get a warning with the
> "org.mortbay.util.MultiException" Java exception.
> Has anyone seen this?

No. It is a Jetty issue and sounds like nothing to do with Forrest.
Here are my startup messages which are quite different to yours.
------
run:
22:10:09.985 EVENT  Starting Jetty/4.2.8
22:10:10.480 EVENT  Started WebApplicationContext[/,Forrest]
22:10:14.548 EVENT  Started SocketListener on 0.0.0.0:8888
22:10:14.615 EVENT  Started org.mortbay.jetty.Server@e48e1b
------

Note that i do not get the line "Checking Resource aliases"
which seems to be where your problem is coming from.
Is this perhaps a Windows thing?

Sorry, cannot help more.
--David

> run:
> 10:22:03.341 EVENT  Checking Resource aliases
> 10:22:04.333 EVENT  Starting Jetty/4.2.8
> 10:22:05.965 EVENT  Started SocketListener on 0.0.0.0:8888
> 10:22:05.965 WARN!!
> org.mortbay.util.MultiException[java.io.FileNotFoundException: F:\carman\forrest
> \fangorn\build\webapp\WEB-INF\classes is alias of F:\carman\forrest\fangorn\buil
> d\webapp\web-inf\classes]
>         at org.mortbay.http.HttpServer.start(HttpServer.java:624)
>         at org.mortbay.jetty.Server.main(Server.java:411)
> [0]=java.io.FileNotFoundException: F:\carman\forrest\fangorn\build\webapp\WEB-IN
> F\classes is alias of F:\carman\forrest\fangorn\build\webapp\web-inf\classes
>         at org.mortbay.util.BadResource.getInputStream(BadResource.java:71)
>         at org.mortbay.http.ContextLoader.<init>(ContextLoader.java:102)
>         at org.mortbay.http.HttpContext.initClassLoader(HttpContext.java:1290)
>         at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationC
> ontext.java:384)
>         at org.mortbay.http.HttpServer.start(HttpServer.java:647)
>         at org.mortbay.jetty.Server.main(Server.java:411)