Re: How to configure openjpa logs from "inside" tomcat (6.0)?

2009-01-07 Thread Jeremy Bauer
Andrei, If you haven't solved this issue, the simplest way I've found to enable OpenJPA logging within Tomcat is to: 1) add this property to your persistence.xml 2) create a logging.properties file with the following content and add it to the WEB-INF/classes directory of your war. handlers = o

Entitymanager lookup using JNDI on webshpere

2009-01-07 Thread devu213
Hi, I need to lookup an entitymanager using JNDI on websphere 6.1. My persistence.xml is configured to use JPA. Although I use injection (which works) in almost all cases, I have a case where I would like the use of entitymanager in a POJO and therefore would like to get it from JNDI directly. T