Re: Http Facility Problem

Tobias Wolf <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Hi,
Am Dienstag, 10. August 2004 15:35 schrieb Niclas Hedhman:
> On Tuesday 10 August 2004 21:12, Tobias Wolf wrote:
>

Thanks for your quick response.

> First of all, the Http Facility (as you may not know) is far from complete.
> In fact, not a single line of code in there is more than 10 days old.

I am aware of that :-)  
>
> That said; it does work to a large degree. You are just experiencing that
> Magic and Merlin still needs some integration.

Well, that is some point. I must say I am quite confused about the different 
way to build application. Ant, Maven, Magic. Everything seems to use each 
other or fulfill quite the same task.
>
> Create a merlin.properties in your merlin directory, containing the
> following line;
>
> merlin.repository = /home/tobias/.magic/main

Done so. I have cleaned the /home/tobias/.magic/mainavalon/http/jars directory 
to check if the artifacts will go there. 

Next try to start merlin.

Starting Merlin SNAPSHOT.
====================
             Platform: Linux
            Java Home: /home/tobias/usr/SUNWappserver/jdk/
          Merlin Home: /home/tobias/usr/merlin
      Security policy: /home/tobias/usr/merlin/bin/security.policy
          JVM Options:
     Merlin 
CLasspath: /home/tobias/usr/merlin/system/avalon/repository/jars/avalon-repository-main-SNAPSHOT.jar:/home/tobias/usr/merlin/system/avalon/repository/jars/avalon-repository-spi-2.0.0.jar:/home/tobias/usr/merlin/system/avalon/repository/jars/avalon-repository-api-SNAPSHOT.jar:/home/tobias/usr/merlin/system/avalon/repository/jars/avalon-repository-util-2.0.0.jar:/home/tobias/usr/merlin/system/avalon/util/jars/avalon-util-exception-1.0.0.jar:/home/tobias/usr/merlin/system/avalon/util/jars/avalon-util-env-1.1.1.jar:/home/tobias/usr/merlin/system/avalon/util/jars/avalon-util-i18n-1.0.0.jar:/home/tobias/usr/merlin/system/avalon/util/jars/avalon-util-criteria-1.1.0.jar:/home/tobias/usr/merlin/system/avalon/util/jars/avalon-util-defaults-SNAPSHOT.jar:/home/tobias/usr/merlin/system/commons-cli/jars/commons-cli-1.0.jar:/home/tobias/usr/merlin/system/avalon/merlin/jars/avalon-merlin-cli-SNAPSHOT.ja
 r
     Merlin Arguments:  target/deliverables/blocks/avalon-http-test.block

Download from: 
[http://www.dpml.net/avalon/http/jars/avalon-http-impl-SNAPSHOT.jar]
...................................
Download from: 
[http://www.dpml.net/avalon/http/jars/avalon-http-spi-SNAPSHOT.jar]
.
Download from: 
[http://www.dpml.net/avalon/http/jars/avalon-http-api-SNAPSHOT.jar]
.
Download from: 
[http://www.dpml.net/avalon/http/jars/avalon-http-util-SNAPSHOT.jar]
.
Download from: [http://www.dpml.net/avalon/http/jars/avalon-http-test.jar]
..
[WARN   ] (test.classloader.scanner): Ignoring component type 
[org.apache.avalon.http.impl.FormAuthenticator] as the implementation class 
contains a reference to the class [javax/servlet/http/HttpServletRequest] 
which does not exist in the classloader.
[WARN   ] (test.classloader.scanner): Ignoring component type 
[org.mortbay.jetty.servlet.FormAuthenticator] as the implementation class 
contains a reference to the class [javax/servlet/http/HttpServletRequest] 
which does not exist in the classloader.
---- exception report 
----------------------------------------------------------
Exception: org.apache.avalon.merlin.KernelException
Message: Install failure: 
file:/home/tobias/usr/src/trunk/planet/facilities/http/test/target/deliverables/blocks/avalon-http-test.block
---- cause 
---------------------------------------------------------------------
Exception: org.apache.avalon.composition.model.ModelException
Message: Unable to create a nested deployment model: listener in the 
containment model /.
---- cause 
---------------------------------------------------------------------
Exception: java.lang.ClassNotFoundException
Message: org.apache.avalon.http.impl.DefaultModelListener
--------------------------------------------------------------------------------

xargs: /home/tobias/usr/SUNWappserver/jdk//bin/java: exited with status 255; 
aborting

As you can see the artifacts are downloaded and i found them and the right 
place. If I am correct the class 
org.apache.avalon.http.impl.DefaultModelListener should be located in the 
file http://www.dpml.net/avalon/http/jars/avalon-http-impl-SNAPSHOT.jar. But 
it isn't. Am I mistaken that the missing class is in the suggested jar-file ?

Any other hints where I can look for errors ? 


> I hope this helps. And any further issues, don't hesitate to yell.
yell :)

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.