HTTP_facility not resolving component
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <8538F0205935D411A7D100508BAC128901983D92@DIANA> |
Hi,
trying out the HTTP-facility, I registered a component
* @avalon.component name="AdminHttpHandler" lifestyle="thread"
* @avalon.service type="org.apache.avalon.http.util.HttpHandler"
with the Handler and get the debug message:
[INFO ] (Orchard.server): Starting Jetty/4.2.15
[INFO ] (Orchard.server): Started SocketListener on 0.0.0.0:8080
[INFO ] (Orchard.server): Started org.mortbay.http.HttpServer@19d96b1
[DEBUG ] (Orchard.server.lifecycle): component startup completed
[DEBUG ] (Orchard.server.lifecycle): incarnation complete
[INFO ] (Orchard.server): registering servlet: [/Orchard/AdminHttp]
[INFO ] (Orchard.server): Started HttpContext[/Orchard]
[DEBUG ] (Orchard.http-listener.lifecycle): incarnation complete
[DEBUG ] (Orchard): commissioning of [http-listener] completed in 234
milliseco
nds
But when I go to
http://localhost:8080/Orchard/AdminHttp/
I get
[WARN ] (Orchard.server): GET /Orchard/AdminHttp/ HTTP/1.1
java.lang.IllegalArgumentException: Unable to resolve component for path:
/Admin
Http/
at
org.apache.avalon.http.impl.ContainmentModelHandler.getHolderEntry(Un
known Source)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
43)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
197)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:496)
time: 1090582530486
frame:
[PoolThread-1]org.mortbay.http.HttpConnection.exception(HttpConne
ction.java:754)
Anyone knows how to deal with that?
Thanks
/peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]