Ernest - I just ran into this error.  I think you need to uncomment the line in 
jboss.properties that sets the xid to the oracle xid.

> Ernest Chen wrote:
>
> Hi,
>
> I just got my CMP Bean working on jBoss 2.0 Final standalone, however my client is 
>having problem creating new object, I'm getting the following exception, can anyone 
>help?
>
> Thanks
>
> p.s.  I'm using Oracle 8.1.7 client on NT oci8 JDBC driver.
>
> -------------------------
>
> Got context
> Got reference
> Got home
> javax.ejb.CreateException: Could not create entity:java.lang.RuntimeException: 
>Unable to register with TransactionManager: java.lang.IllegalArgumentException: null 
>xaRes
>
>         at 
>sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
>         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
>         at 
>org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown Source)
>         at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
>         at $Proxy0.create(Unknown Source)
>         at com.starmedia.test.KeywordTester.<init>(KeywordTester.java:34)
>         at com.starmedia.test.KeywordTester.main(KeywordTester.java:66)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to