[daisy] why does daisy want to download from http://www.dpml.net, http://www.ibiblio.org/maven when I start it

David Goodenough david.goodenough at linkchoose.co.uk
Thu Nov 30 06:17:08 CST 2006


On Wednesday 29 November 2006 08:11, Marc Portier wrote:
> David Goodenough wrote:
> > When I try to start daisy (using the wrapper) repository it fails with
> > the following exception:-
>
> <snip />
>
> > trace ---------------------------------------------------------------
> > INFO   | jvm 1    | 2006/11/28 18:44:13 | java.io.FileNotFoundException:
> > http://www.ibiblio.org/maven/avalon-repository/jars/avalon-repository-imp
> >l-2.0.0.jar.meta
>
> <snip />
>
> > org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240
> >) INFO   | jvm 1    | 2006/11/28 18:44:13 |
> > java.lang.Thread.run(Thread.java:595)
> > INFO   | jvm 1    | 2006/11/28
> > 18:44:13 |
> > -------------------------------------------------------------------------
> >-------
> >
> > Why is this file downloaded on startup, can it not be part of the
> > distribution?
>
> it is, but apparently it is not found in your setup
>
> > The first location does not seem to have the right directories on it, and
> > the second has the directory, but fails with a file not found.
> >
> > Any help gratefully received.
> >
> > David
>
> David,
>
> the stacktrace you provide smells like merlin couldn't find the
> directory known as the 'merlin system'
>
> over there a maven-like local repo of jars is maintained (similar to the
> public ones that are mentioned by URL in your stacktrace).
>
> upon startup merlin will load all needed jars from that local repo,
> falling back to runtime downloads from the public repos on net only
> after not finding it there...
>
> in a regular distribution that merlin-system directory is at
> $DAISY_HOME/repository-server/merlin/system
>
> and 'not finding the jars there' could be caused by any or all of:
> - broken distro with actually missing dirs
> - (on linux) missing read or execution rights on the jars resp the
> containing folders
> - misconfiguration that tells merlin to go and look in the wrong directory
>
>
> you might need to check all of that, but looking at the tanuki
> references in your stack I persume the last option is the first to check...
>
> as described in the docs for setting up the wrapper:
> - (win) http://cocoondev.org/daisydocs-1_5/admin/service/329.html
> - (nix) http://cocoondev.org/daisydocs-1_5/admin/service/330.html
>
> the MERLIN_HOME environment variable should be set correctly.
That was indeed the problem, a spelling mistake in the directory name.

However if merlin has this capability (to download those bits of itself
dynamically) it might be useful to have the places it is going to look
ones that actually work.  Alternatively if you want to make sure that
it only ever uses the files in the distribution, perhaps the list of
servers needs reducing to none.

David
>
> HTH.
>
> regards,
> -marc=


More information about the daisy mailing list