Skip to main content

EJB invocation troubleshooting

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
alexanderst
Offline
Joined: 2014-03-30

Hello,
I'm asking for help of experts in Glassfish and EJB.
public class MyWebService {
@EJB
private BusinessLogicImplementer impl;
....
@WebMethod...
public void doJob() {
......
impl.doJob();
}
}

BusinessLogicImplementer is @Local EJB. All source code of project is packed in the same .ear file.
I'm using SoapUI to test this web service on localhost and I get NPE when trying to invoke impl.doJob(), $Proxy123.doJob() is shown in stacktrace.

I have a feeling that the issue with my local GlassFish configuration, please advice.

Thanks,
Alex.