geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject JPA and JNDI
Date Mon, 18 Aug 2008 23:16:01 GMT

I must be missing something easy.

I have a JNDI data source configured in Geronimo.

I am using JPA in my application.

Here's my persistence.xml :

<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
	<persistence-unit name="ctimssql" transaction-type="JTA">
		<jta-data-source>jdbc/CTIMSSQL2</jta-data-source>  
		<class>com.twcable.ivr.resources.CustomerCallHistory</class>
	</persistence-unit>
</persistence>

I cranked up logging to ALL, and this is all I see:
19:13:24,914 INFO  [Transaction] TX Required: Started transaction
org.apache.geronimo.transaction.manager.TransactionImpl@1b108ae
19:13:24,914 INFO  [Transaction] TX Required: Committing transaction
org.apache.geronimo.transaction.manager.TransactionImpl@1b108ae
19:13:24,914 ERROR [Axis2WebServiceContainer] Exception occurred while
trying to invoke service method doService()
org.apache.axis2.AxisFault: An error was detected during JAXWS processing
	at
org.apache.geronimo.axis2.ejb.EJBInterceptor.intercept(EJBInterceptor.java:88)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
etc.

Any suggestions?
-- 
View this message in context: http://www.nabble.com/JPA-and-JNDI-tp19041772s134p19041772.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message