users@glassfish.java.net

Re: Database url in persistence.xml is ignored

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 Aug 2008 07:41:39 PDT

hello,

sun-appserv-samples looks like a demo application. First, how are you obtaining the EntityManager; could you be passing in properties that override the toplink.jdbc.url with the sun-appserv-samples? Second, could you have system properties overriding the toplink.jdbc.url property?

Hope this helps.
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

http://forums.java.net/jive/thread.jspa?messageID=293932