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?
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)
User: Petr Hejl <firstname.lastname@example.org>
Log: #242183 - [80cat]Deploying EAR project does not create JNDI resources
Closing as fixed. There is a separate bug #252502 for the tutorial.