[jboss-user] [Beginner's Corner] - Re: Deployments Missing Dependencies
Wolfgang Knauf
do-not-reply at jboss.com
Wed May 25 11:43:46 EDT 2011
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/607005#607005
--------------------------------------------------------------
Hi,
I would suggest to remove the "jdbc/" from the DS JNDI name:
<jndi-name>fisdb_dev</jndi-name>
Then the @Resource annotation would look like this:
@Resource(mappedName="java:fisdb_dev")
private DataSource ds;
Hope this helps, I never changed a datasource myself ;-).
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607005#607005]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110525/6c00cdec/attachment-0001.html
More information about the jboss-user
mailing list