Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] created the discussion
"Re: Deployments Missing Dependencies"
To view the discussion, visit:
http://community.jboss.org/message/606927#606927
--------------------------------------------------------------
Hi,
which JBoss version?
Is your database bound to the global name "DefaultDS", or does it have a
different name?
If the name is different, I think your "@Resource" annotation should be:
@Resource(mappedName="java:MyDS")
private DataSource ds;
As far as I know, the "name" attribut declares a JNDI name in the ENC, which
could be used if you have to perform a lookup later - but in most cases you don't need
it.
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606927#606927]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]