Michael Oberleitner wrote:I hope someone here can help me, with what goes wrong with JNDI!
Michael Oberleitner wrote:Then i saved this and I'm able to ping the connection pool successful.
Michael Oberleitner wrote:so I have to switch back and forth with this line in persistence.xml, when i want to rebuild the tables in the database or run the application in Glassfish.
It seems that Eclipse wants to connect with the JNDI-resource, when it reads transaction-type="JTA" in persistence.xml.
When there are better solutions I'd be happy to know!