users@glassfish.java.net

Stateful web service injection not working

From: David Pérez Villanueva <dperezvi.listas_at_gmail.com>
Date: Thu, 10 Jul 2008 14:47:53 +0200

Hi,

We are creating a Stateful Web Service using this doc
https://jax-ws.dev.java.net/jax-ws-21-ea3/docs/statefulWebservice.html
using Glassfish v2ur2. When we try to call the login operation the
system shows a NullPointerException when the

BankAccount.manager.export(acc)

is called.

We thinking there is some problem with dependency injection. If we call
some operation on stateful web service it shows an error but we can call
login method with no problems after.

I saw this issue
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2082 but it's
fixed on milestone 9.1pe.

Does anybody know where is the problem?

Best regards,

David Pérez