jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"How to Change DefaultDS in jndi-name" To view the discussion, visit: http://community.jboss.org/message/555293#555293 -------------------------------------------------------------- > Dinesh Nadeera wrote: > > > +<datasources> > <local-tx-datasource> > <jndi-name>mySource</jndi-name> > <use-java-context>false</use-java-context> > You are using use-java-context = false, which means that the datasource will not be bound to the java: namespace. So in your persistence.xml, change this: > Dinesh Nadeera wrote: > > > <jta-data-source>java:/mySource</jta-data-source> to: <jta-data-source>mySource</jta-data-source> -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/555293#555293] Start a new discussion in JNDI and Naming at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
