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