Schaible, J�rg wrote:
J�rg:Hello, independent of the new bootstrap code, I'm asking myself, how to initialize Merlin properly running in a J2EE server (currently Tomcat). I will have to parametrize the Merlin home directory to the webapp's home. Looking into the Fortress servlet example, they initialize anything within the init of the servlet, but this will be called at the first request. If Merlin could not properly be initialized, I would like to have the webapp failing much earlier.
Home directory parameterization has been addressed just recently - Richard Wallace has been doing something very similar - result being that we have refactored the way the kernel is initialized to make it possible for Merlin to be supplied with a configuration directly by a enclosing servlet - and the servlet then establishes the urn:merlin:home value when creating a new DefaultKernel (this came up in an issue relating to deployment when the web-app isn't unpacked).
On the subject of early failure - I don't see how your going to get a fail condition earlier than init() - unless Merlin is hosting the web-server --> webserver is hosting a web-app --> web-app is suppled with services based on dependencies that are pre-assembled by Merlin (which is possible using the embedded Tomcat approach).
Cheers, Steve.
Regards,
J�rg
-----Original Message-----
From: Stephen McConnell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 1:05 PM
To: Avalon framework users
Subject: Re: [Newbie] Running Merlin
J�rg:
I'm right in the middle of cleaning this up. Unfortunately the documentation concerning Merlin bootstrap is out of date. I've just committed some new content addressing this (seperation of bootstrap from Merlin core - see avalon-sandbox/merlin-bootstrap). I've also updated Merlin core (but not committed yet) to remove content dealing with URL management that was causing conflicts with embedded deployment in Tomcat.
I should have the updates committed in a few hours. This will include elimination of dependence on framework, logkit and excalibur CVS builds.
Cheers, Steve.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
