Kristinn Danielsson wrote:

Thank you for your help, now it works.

Now I just have one more question. Is this documented anywhere? If so, can you please point me to it?


There is info on the cli but following your question I noticed that (a) it
has not been updated on the site, and (b) its not totally complete. So, I've
just committed the updates to CVS and I'll update the site shortly. If your
running form CVS you can do a update then build the docs using avalon:site.
The CLI info is under


About Merlin > Merlin System > Kernel > CLI Handler

Another useful set of infomation is the set of properties you can define in
one or more merlin.properties files.

About Merlin > Merlin System > Kernel > Properties




Just so you can understand where I'm coming from. I think Merlin could be of great use, and I'm looking into using Merlin in my next project, but I'm having problem finding documentation on how to use Merlin. Are there more tutorials than on the Merlin site? Are there any plans to improving the documentation for Merlin.


There are plans to add more content on the following areas:

  1. embedding
  2. general usage - best practice
  3. tutorials concerning unit testing
  4. improvements to tutorials concerning the inclusion of remote blocks

However - keep in mind that the best content comes from people who are learning - problem with people like me is that its already in my head and its real easy to just gloss over something. Getting feedback about what you think is missing or additional content requirements is really useful. Getting new content is even better!

Cheers, Steve.



Thanks again for your prompt answer.


On Sat, 20 Dec 2003 22:40:26 +0100, Stephen McConnell <[EMAIL PROTECTED]> wrote:




Kristinn Danielsson wrote:

merlin -execute target\avalon-jetty-impl-1.3.jar



Using the -execute switch instructs merlin to startup and immediately shudown.
Just remove the -execute option and merlin will default to server mode.




and I also executed:

merlin -execute target\avalon-jetty-impl-1.3.jar -info

here I saw that ${merlin.server} variable is set to false, what does this mean?



Its set to false because your using the -execute switch. The -execute switch is used when your testing deployment or if the component deployment has a side effect (e.g. doing dome action). Stephen.




I include here, the shell output in the hope it helps.

<snip>

D:\eclipse\workspace\avalon\merlin\web\http\impl\target>merlin -execute avalon-http-impl-1.3.jar -info
[INFO ] (kernel): Merlin Kernel Environment Listing


${user.dir} == D:\eclipse\workspace\avalon\merlin\web\http\impl\target
${user.home} == C:\Documents and Settings\Kristinn Danielsson


${avalon.repository.cache} == D:\Java\Apache\merlin\merlin\system
${avalon.repository.hosts} == http://dpml.net/,http://ibiblio.org/maven


${merlin.repository} == C:\Documents and Settings\Kristinn Danielsson\.avalon\repository
${merlin.lang} == null
${merlin.home} == D:\Java\Apache\merlin\merlin
${merlin.system} == D:\Java\Apache\merlin\merlin\system
${merlin.config} == D:\Java\Apache\merlin\merlin\config
${merlin.kernel} == file:/D:/Java/Apache/merlin/merlin/config/kernel.xml
${merlin.override} == null
${merlin.dir} == D:\eclipse\workspace\avalon\merlin\web\http\impl\target
${merlin.temp} == C:\DOCUME~1\KRISTI~1\LOCALS~1\Temp
${merlin.context} == D:\eclipse\workspace\avalon\merlin\web\http\impl\target\home
${merlin.anchor} == D:\eclipse\workspace\avalon\merlin\web\http\impl\target
${merlin.info} == true
${merlin.debug} == false
${merlin.server} == false
${merlin.autostart} == true
${merlin.deployment} == file:/${user.dir}/avalon-http-impl-1.3.jar


[INFO ] (kernel): installing: file:/${user.dir}/avalon-http-impl-1.3.jar
[INFO ] (avalon-jetty-web-server.avalon-jetty): Contextualizing...
[INFO ] (avalon-jetty-web-server.avalon-jetty): Servicing...
[INFO ] (avalon-jetty-web-server.avalon-jetty): Configuring...
[INFO ] (avalon-jetty-web-server.avalon-jetty): Initializing...
[INFO ] (avalon-jetty-web-server.avalon-jetty): Loaded listener: org.mortbay.http.SocketListener on null:8080
20:39:59.781 EVENT Checking Resource aliases
[INFO ] (avalon-jetty-web-server.avalon-jetty): Starting...
20:39:59.843 EVENT Starting Jetty/4.2.14
20:39:59.859 EVENT Started HttpContext[/example]
20:39:59.859 EVENT Started SocketListener on 0.0.0.0:8080
20:39:59.859 EVENT Started [EMAIL PROTECTED]
20:40:00.140 EVENT Example: init
[INFO ] (avalon-jetty-web-server.avalon-jetty): Shutting down...
20:40:00.187 EVENT Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
20:40:00.187 EVENT Stopped SocketListener on 0.0.0.0:8080
20:40:00.187 EVENT Example: destroy
20:40:00.187 EVENT Stopped HttpContext[/example]
20:40:00.187 EVENT Stopped [EMAIL PROTECTED]
[INFO ] (kernel): dissassembly phase


</snip>

What am I doing wrong? Thanx



On Sat, 20 Dec 2003 21:46:38 +0100, Stephen McConnell <[EMAIL PROTECTED]> wrote:



Kristinn Danielsson wrote:

Hi,

I'm trying to run the jetty example from the command line, but Merlin shuts down before I have the chance of making http request to it. I got the code from the CVS, can someone tell me how I should run the example?




What does your command line look like?

Stephen.



Thanx


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to