Danny Waldmann schrieb:

[...]

I never get to Position 4 which means I guess the lookup fails because the
manager is still null.

How do you create your Home object? If you get it from the container, the service() method should be called:

Home home;
try {
    home = (Home) manager.lookup(Home.class.getName());
    ...
}
finally {
    if (home != null) {
        manager.release(home);
    }
}

Otherwise the container doesn't know that it should run your service through the service lifecycle.

Does this resemble your code?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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

Reply via email to