Issue Details (XML | Word | Printable)

Key: GLASSFISH-16608
Type: Bug Bug
Status: Resolved Resolved
Resolution: Invalid
Priority: Minor Minor
Assignee: David Zhao
Reporter: crytal123
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
glassfish

com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Unresolved Message-Destination-Ref jms/myQueue@java

Created: 11/May/11 06:40 AM   Updated: 03/Jul/13 06:09 AM   Resolved: 03/Jul/13 06:09 AM
Component/s: jms
Affects Version/s: 3.1_b43
Fix Version/s: 4.0_b89_RC5

Time Tracking:
Not Specified

File Attachments: 1. Text File JMSEnterpriseProject AC Error.log (5 kB) 11/May/11 06:40 AM - crytal123
2. Microsoft Word JMSEnterpriseProject Server log Error.doc (32 kB) 11/May/11 06:41 AM - crytal123
3. File JMSEnterpriseProject.rar (41 kB) 11/May/11 06:41 AM - crytal123
4. Text File server.log (35 kB) 12/May/11 05:37 AM - crytal123

Environment:

JDK1.6.0_25, GF3.1 (build 43), Netbeans 7.0 on Windows XP & 7 (Intel platform)


Tags:
Participants: crytal123 and David Zhao


 Description  « Hide

java.lang.NullPointerException resulted when declaring JMS resource name by looking up logical name (@Resource(name = "jms/myQueue" and @Resource(name = "jms/myQueueConnectionFactory") instead of directly referencing its Physical JNDI name (@Resource(mappedName = "jms/myQueue" and @Resource(mappedName = "jms/myQueueConnectionFactory")