Re: Http Facility Problem

Tobias Wolf <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Am Donnerstag, 12. August 2004 16:03 schrieb Stephen McConnell:
>   <include name="server"
> artifact="block:avalon/http/avalon-http-server#SNAPSHOT"/>
>
> Although the include directive is referencing a standalone block, the
> implementation is attempting to load a jar file.  I introduced some
> changes in this area a couple of months back - looks like I've broken
> something in the process. Will provide more details shortly.
>

Here is what the avalon-http-server-SNAPSHOT.block looks like:

<?xml version="1.0" encoding="ISO-8859-1"?>

<container name="default-server">

  <services>
    <service type="org.apache.avalon.http.HttpService">
      <source>httpserver</source>
    </service>
  </services>

  <classloader>
    <classpath>
      <artifact>jar:avalon/http/avalon-http-api#SNAPSHOT</artifact>
      <artifact>jar:jetty/org.mortbay.jetty#SNAPSHOT</artifact>
      <artifact>jar:avalon/http/avalon-http-impl#SNAPSHOT</artifact>
      <artifact>jar:avalon/http/avalon-http-spi#SNAPSHOT</artifact>
      <artifact>jar:avalon/http/avalon-http-util#SNAPSHOT</artifact>
      <artifact>jar:avalon/util/avalon-util-configuration#1.0.0</artifact>
      <artifact>jar:avalon/framework/avalon-framework-api#SNAPSHOT</artifact>
      <artifact>jar:avalon/framework/avalon-framework-impl#SNAPSHOT</artifact>
      <artifact>jar:avalon/framework/avalon-framework-legacy#SNAPSHOT</artifact>
      <artifact>jar:avalon/logkit/avalon-logkit#SNAPSHOT</artifact>
      <artifact>jar:jetty/org.mortbay.jaas#5.0.RC0</artifact>
      <artifact>jar:servletapi/servletapi#2.3</artifact>
      <artifact>jar:commons-logging/commons-logging#1.0</artifact>
      <artifact>jar:tomcat/jsp-api#5.0.18</artifact>
      <artifact>jar:tomcat/jasper-runtime#5.0.25</artifact>
      <artifact>jar:tomcat/jasper-compiler#5.0.25</artifact>
      <artifact>jar:avalon/http/avalon-http-server#SNAPSHOT</artifact>
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      I think here is the line where the jar wanted to be loaded, right ??
 
    </classpath>
  </classloader>

  <component name="socketlistener" 
class="org.apache.avalon.http.impl.SocketListener"/>

  <component name="httpserver" 
class="org.apache.avalon.http.impl.HttpServerImpl"/>

</container>

Tobias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.