David:


You just need to change the activation option:

<component name="batman" type=Superhero" activation="false"/>

Stephen.


David Worms wrote:

My Servlet component are loaded twice. The first time is at startup and the second time is when I first request the component. Is it normal?


Security policy: /usr/local/merlin/bin/security.policy
Bootstrap JAR: /usr/local/merlin/bin/lib/merlin-cli-3.3-SNAPSHOT.jar
System: /usr/local/maven/repository
Repository: /usr/local/maven/repository


[INFO   ] (kernel): building application model
[INFO   ] (kernel): facilities deployment
[INFO   ] (http): Starting Jetty/4.2.15
[INFO   ] (http): Started SocketListener on 0.0.0.0:8080
[INFO   ] (http): Started [EMAIL PROTECTED]
[INFO   ] (kernel): block installation
[INFO   ] (kernel): installing: file:${user.dir}/block.xml
[INFO   ] (http-listener): component: [/test/hello] is a Handler
[INFO   ] (http): registering servlet: [/test/hello]
[INFO   ] (http): Started HttpContext[/test]
[INFO   ] (test.hello): servicing Tue Feb 10 22:39:44 PST 2004
[INFO   ] (test.hello): servicing Tue Feb 10 22:39:57 PST 2004

Note, the last line only happen the first time I reload the http link

David


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




--

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

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



Reply via email to