users@glassfish.java.net

Re: Null pointer exception when attempting to deploy simple JMS application(s)

From: <glassfish_at_javadesktop.org>
Date: Fri, 01 Oct 2010 03:37:45 PDT

I worked with the JavaEE 6 Tutorial and there are some differences:
http://download.oracle.com/javaee/6/tutorial/doc/bnbpo.html

@MessageDriven(mappedName = "jms/Queue", activationConfig = {
    @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")
    , @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
}
)
public class SimpleMessageBean implements MessageListener {

But before that I tried the 5-Totorial and this didnt run either... :(

I also already checked the resource from the admin console, I cant see any problem there.
[Message sent by forum member 'hansbjoern']

http://forums.java.net/jive/thread.jspa?messageID=484100