• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ConnectionFac I J2CA0122I: Resource referenc

seshu Palamanti
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Every body,
I have a helper class in my EJB module which gets me the connections for BMPs. I know I have to create and use a reference name instead of directly calling the resource using JNDI name which gets me this message.
[10/11/04 11:08:38:079 CDT] 232e10fe ConnectionFac I J2CA0122I: Resource reference jdbc/datacon could not be located, so default values of the following are used: [Resource-ref settings]

res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]

I am using WSAD 5.1.1. How do I set resource reference for this data source for the whole EJB module?. I know I can create a resource reference to each individual bean in the EJB deployment descriptor by opening up the deployment descriptor then going to the reference tab, selecting each bean then adding the ref. But I guess as this bean is not directly looking up the refer I am getting this message. Is there any way to get rid of this annoying message in server log. I know that in the web module you can open the web.xml then add the ref to whole web module is there any way that I can do the same for the EJB module.?? Or I am doing some thing very wrong.??

Please help....thanks in advance.


S Palmanti

S Palmanti
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic