This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Found in nb6.7 build #200905101401 1. create maven enterprise project (web and ejb included) 2. create message driven bean with local project destination 3. create servlet and try to send JMS message ==>> you are unable to do this, see attached screenshot, the dialog what appeared have both the project location and bean value disabled. Only the server destination is available. In case there are no server destinations available i am unable to send message as well as i am unable to send message via my own destination. Actually in ant project it's functional (not local destination but mdb part)
Created attachment 81872 [details] screenshot
reassigning to ejb support. I'm not sure what information from projects the dialog is driven by. for an opinion on app server setting requirement in the project, see my comment in issue 164835.
Michale, can you please verify whether the wizard doesn't work even if you explicitly bind an appserver to the maven project? Thanks.
Actually the problem has been solved but there is a new problem called NPE ;o) when i finish the send jms dialog the NPE occurs. See attached stack trace.
Created attachment 82326 [details] stack trace
this sort of exceptions occur when the codegenerator expects something on classpath while it's not actually there.
hopefully fixed in web-main#4a9c035529ef
fixed
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4a9c035529ef User: Marek Fukala <mfukala@netbeans.org> Log: #164834 - Unable to send JMS from servlet
Reopening. Another exception occurs. See attached stack.
Created attachment 82529 [details] stack trace
workarounded in web-main#148cc54f6a76 Now user can edit the source meanwhile the injection is in progress but it seems to work well anyway. Now I managed to inject the JMS call.
Integrated into 'main-golden', will be available in build *200905220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/148cc54f6a76 User: Marek Fukala <mfukala@netbeans.org> Log: #164834/2 - Unable to send JMS from servlet
Verified