[daisy] Upgrade from 1.5 to 2.0: wrapper issues with logkit.xml
Andreas Deininger
adeininger at googlemail.com
Thu Apr 5 08:04:42 CDT 2007
2007/4/5, Vincent Mouton <vincent at postback.be>:
>
>
>
> Hello,
>
>
>
> upgrading from 1.5 to 2.0 went really really smooth. I didn't encounter any
> issues. Great job.
>
> I wanted to get my services running again, so I first ran through my
> registry to get the paths pointing to the new wrapper's bin directory and
> the renamed wrapper config files.
>
>
>
> Yet I still encounter an error when wanting to start the service that
> launches the repository server.
>
>
>
> This is what the wrapper log tells me:
>
>
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | ---- runtime exception report
> --------------------------------------------------
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | Exception:
> org.apache.avalon.merlin.KernelRuntimeException
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | Message: Unable to resolve the
> block path [%DAISY_DATADIR%/conf/logkit.xml].
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | ---- cause
> ---------------------------------------------------------------------
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | Exception:
> java.net.MalformedURLException
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | Message: no protocol:
> %DAISY_DATADIR%/conf/logkit.xml
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | ---- stack trace
> ---------------------------------------------------------------
>
> INFO | jvm 1 | 2007/04/05 09:58:10 | java.net.MalformedURLException: no
> protocol: %DAISY_DATADIR%/conf/logkit.xml
>
>
>
> […]
>
>
>
>
>
> I checked and double checked the DAISY_DATADIR variable, and it is OK.
>
>
>
> I got the repo server and the wiki running from command line right now.
> Everything works fine.
>
>
>
>
>
> Any pointers?
>
If you prepend the file location with file:, everything should be fine:
e.g.:
wrapper.app.parameter.8="file:%DAISY_DATADIR%/conf/myconfig.xml"
Regards
Andreas
More information about the daisy
mailing list