At first glance, there is some misunderstanding of
mappedName attribute in Resource annotations.
mappedName is the global jndi-name of your resource, the
same as the resource <jndi-name> in your
sun-ejb-jar.xml. mappedName is not the resource reference
name.
So you don't really need to have these resource elements in
sun-ejb-jar.xml. Try removing sun-ejb-jar.xml, if it
doesn't contain anything else.
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=244217
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe glassfish.dev.java.net
For additional commands, e-mail: users-help glassfish.dev.java.net
|