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.
https://netbeans.org/kb/docs/javaee/maven-entapp.html As per the tutorial, on running the application, the neccessary JNDI resources are created if not present (When you click Run the IDE will deploy the EAR archive and create the JMS resources on the server) But that did not happen. I had to manually create the resources on Glassfish to be to able to successfully run the project.
Created attachment 145459 [details] Glassfish Stack trace on deploying the ear
Happens with both Maven or Ant based project types.
What GF and IDE version do you use?
Reproducible.
The specification says that "By default, environment entries declared by application components are created in the java:comp/env namespace." So the destination lookup generated for JMS defined by annotation is wrong. For JMS the reasonable default used by the IDE would be java:global or java:app imo.
The JMS queue is generated with java:app prefix now - web-main 53b5c62db629. I need to verify the tutorial and possibly file an issue for doc team.
Integrated into 'main-silver', will be available in build *201505200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/53b5c62db629 User: Petr Hejl <phejl@netbeans.org> Log: #242183 - [80cat]Deploying EAR project does not create JNDI resources
Closing as fixed. There is a separate bug #252502 for the tutorial.