[jboss-user] [JNDI and Naming] - Binding a SessionFactory

jaikiran pai do-not-reply at jboss.com
Tue Apr 13 03:16:17 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"Binding a SessionFactory"

To view the discussion, visit: http://community.jboss.org/message/537068#537068

--------------------------------------------------------------
<session-factory name="java:comp/env/jdbc/resource-list">

You can't bind to java:comp/env from that config file. Change it to something like:

<session-factory name="jdbc/resource-list">

And if you want that session factory to be available in java:comp/env then follow the instructions here  http://community.jboss.org/message/251298#251298 http://community.jboss.org/message/251298#251298

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/537068#537068]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100413/85983a7e/attachment.html 


More information about the jboss-user mailing list