You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Java Energizer <jo...@daggerpoint.net> on 2006/12/18 21:21:21 UTC

Constructor called twice

Noticed that when I put logging into my service assembly
constructor that when it deployes that the Constructor
is called twice?  SHould this be?  My constuctor looks like

public class myserviceassembly  implements ComponentLifeCycle

    public myserviceassembly() {
        log.info("THIS IS CALLED TWICE UPONE DEPLOYMNET");
   }
...snip

Re: Constructor called twice

Posted by Guillaume Nodet <gn...@gmail.com>.
Which servicemix version do you use ?
Or which xbean version is included in your servicemix version ?
This bug has been fixed in xbean 2.7 (see [1])

[1] http://issues.apache.org/jira/browse/XBEAN-52

On 12/18/06, Java Energizer <jo...@daggerpoint.net> wrote:
> Noticed that when I put logging into my service assembly
> constructor that when it deployes that the Constructor
> is called twice?  SHould this be?  My constuctor looks like
>
> public class myserviceassembly  implements ComponentLifeCycle
>
>     public myserviceassembly() {
>         log.info("THIS IS CALLED TWICE UPONE DEPLOYMNET");
>    }
> ...snip
>
>


-- 
Cheers,
Guillaume Nodet