Kodo 4.1.4 JCA 1.5 Weblogic 9.2
Does anyone have a ra.xml and weblogic-ra.xml examples for Kodo 4.1.4 JCA 1.5 running in Weblogic 9.2?
Does anyone have a ra.xml and weblogic-ra.xml examples for Kodo 4.1.4 JCA 1.5 running in Weblogic 9.2?
Similar Messages
-
Dose JCA support only Weblogic server 6.0 without SP1 ?
I got a error message when starting weblogic server with SP1 in which
configured the connector architecture beta implentation.
Dose JCA support only Weblogic server 6.0 without SP1 ?
How do i configure JCA on WLS6.0 with SP1 if it supports that?
Taesun.
Error message(exception) is following as :
<2001-03-14 PM 02:11:41> <Emergency> <Server> <Unable to initialize the se
rver: 'Fatal initialization exception
Throwable: java.lang.VerifyError: Cannot inherit from final class
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
weblogic.rmi.internal.ServerRequest.makeCBVOutputStream(ServerRequest
.java:50)
at
weblogic.rmi.internal.ServerRequest.getMsgOutput(ServerRequest.java:9
5)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:245)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.createSubcontext(Serve
rNamingNode_WLStub.java:248)
at
weblogic.jndi.internal.WLContextImpl.createSubcontext(WLContextImpl.j
ava:81)
at
weblogic.transaction.internal.JNDIAdvertiser.initialize(JNDIAdvertise
r.java:76)
at
weblogic.transaction.internal.TransactionService.initialize(Transacti
onService.java:38)
at
weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:
46)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:405)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.VerifyError: Cannot inherit from final class
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
weblogic.rmi.internal.ServerRequest.makeCBVOutputStream(ServerRequest
.java:50)
at
weblogic.rmi.internal.ServerRequest.getMsgOutput(ServerRequest.java:9
5)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:245)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.createSubcontext(Serve
rNamingNode_WLStub.java:248)
at
weblogic.jndi.internal.WLContextImpl.createSubcontext(WLContextImpl.j
ava:81)
at
weblogic.transaction.internal.JNDIAdvertiser.initialize(JNDIAdvertise
r.java:76)
at
weblogic.transaction.internal.TransactionService.initialize(Transacti
onService.java:38)
at
weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:
46)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:405)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
I got a error message when starting weblogic server with SP1 in which
configured the connector architecture beta implentation.
Dose JCA support only Weblogic server 6.0 without SP1 ?
How do i configure JCA on WLS6.0 with SP1 if it supports that?
Taesun.
Error message(exception) is following as :
<2001-03-14 PM 02:11:41> <Emergency> <Server> <Unable to initialize the se
rver: 'Fatal initialization exception
Throwable: java.lang.VerifyError: Cannot inherit from final class
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
weblogic.rmi.internal.ServerRequest.makeCBVOutputStream(ServerRequest
.java:50)
at
weblogic.rmi.internal.ServerRequest.getMsgOutput(ServerRequest.java:9
5)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:245)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.createSubcontext(Serve
rNamingNode_WLStub.java:248)
at
weblogic.jndi.internal.WLContextImpl.createSubcontext(WLContextImpl.j
ava:81)
at
weblogic.transaction.internal.JNDIAdvertiser.initialize(JNDIAdvertise
r.java:76)
at
weblogic.transaction.internal.TransactionService.initialize(Transacti
onService.java:38)
at
weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:
46)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:405)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.VerifyError: Cannot inherit from final class
java.lang.VerifyError: Cannot inherit from final class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
weblogic.rmi.internal.ServerRequest.makeCBVOutputStream(ServerRequest
.java:50)
at
weblogic.rmi.internal.ServerRequest.getMsgOutput(ServerRequest.java:9
5)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:245)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.createSubcontext(Serve
rNamingNode_WLStub.java:248)
at
weblogic.jndi.internal.WLContextImpl.createSubcontext(WLContextImpl.j
ava:81)
at
weblogic.transaction.internal.JNDIAdvertiser.initialize(JNDIAdvertise
r.java:76)
at
weblogic.transaction.internal.TransactionService.initialize(Transacti
onService.java:38)
at
weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:
46)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:405)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
-
Hi,
I was not able to find any JCA related classes in the downloaded jar file. I was hoping to use Berkeley DB in weblogic with JCA support so that I'll have XA support.
Can anyone please let me know why JCA classes are excluded from the jar?
If I compile the source and include JCA classes in jar file, will I be able to use the jar successfully in weblogic?
Thanks,
SashiCharles,
I was able to make JCA/JA work on weblogic. I'll post the details once I am done with my testing. Rightnow, I am facing another issue. The setup works fine on Solaris. But when I deploy the app on Linux machine things are not working as expected.
My app opens creates 10 threads. Each thread tries to insert 100 different records into same database. On linux the app is blocking (I set je.lock.timeout=0). On Solaris it is fine.
I coded my app as per the sample JCA program with minor variation. Instead of looking up JEConnectionFactory everytime, I am caching it. Does that cause problem? Any help is highly appreciated.
Here is the threaddump. All calls block in this call
((JEConnection)txnCtxHolder).openDatabase(tradeDBN, tradesDbCfg);
Thanks,
Sashi.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.10.08 17:37:55 =~=~=~=~=~=~=~=~=~=~=~=
kill -3 >kill --3 7515 +
me/sl48179/SashiWL/weblogic/9.2/user_projects/SashiWLDomain/bin ~153>
===== FULL THREAD DUMP ===============
Mon Oct 8 17:38:00 2007
BEA JRockit(R) R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1126-linux-ia32
"Main Thread" id=1 idx=0x2 tid=7515 prio=5 alive, in native, waiting
-- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x83f0a50[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/t3/srvr/T3Srvr.waitForDeath()V(T3Srvr.java:730)
^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x83f0a50[fat lock]
at weblogic/t3/srvr/T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:380)
at weblogic/Server.main([Ljava/lang/String;)V(Server.java:67)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"(Signal Handler)" id=2 idx=0x4 tid=7516 prio=5 alive, in native, daemon
"(Code Generation Thread 1)" id=3 idx=0x6 tid=7517 prio=5 alive, in native, native_waiting, daemon
"(Code Optimization Thread 1)" id=4 idx=0x8 tid=7518 prio=5 alive, in native, native_waiting, daemon
"(GC Main Thread)" id=5 idx=0xa tid=7519 prio=5 alive, in native, daemon
"(GC Worker Thread 1)" id=? idx=0xc tid=7520 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 2)" id=? idx=0xe tid=7521 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 3)" id=? idx=0x10 tid=7522 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 4)" id=? idx=0x12 tid=7523 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 5)" id=? idx=0x14 tid=7524 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 6)" id=? idx=0x16 tid=7525 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 7)" id=? idx=0x18 tid=7526 prio=5 alive, native_waiting, daemon
"(GC Worker Thread 8)" id=? idx=0x1a tid=7527 prio=5 alive, native_waiting, daemon
"(VM Periodic Task)" id=6 idx=0x1c tid=7528 prio=10 alive, in native, daemon
"Finalizer" id=7 idx=0x1e tid=7529 prio=8 alive, in native, native_waiting, daemon
at jrockit/memory/Finalizer.getPendingFinalizee(Z)Ljava/lang/Object;(Native Method)
at jrockit/memory/Finalizer.access$100(Z)Ljava/lang/Object;(Unknown Source)
at jrockit/memory/Finalizer$4.run()V(Unknown Source)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Reference Handler" id=8 idx=0x20 tid=7530 prio=10 alive, in native, native_waiting, daemon
at java/lang/ref/Reference.getPending()Ljava/lang/ref/Reference;(Native Method)
at java/lang/ref/Reference.access$000()Ljava/lang/ref/Reference;(Unknown Source)
at java/lang/ref/Reference$ReferenceHandler.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Timer-0" id=11 idx=0x22 tid=7531 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: java/util/TaskQueue@0x99e94a8[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at java/util/TimerThread.mainLoop()V(Timer.java:483)
^-- Lock released while waiting: java/util/TaskQueue@0x99e94a8[fat lock]
at java/util/TimerThread.run()V(Timer.java:462)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Timer-1" id=12 idx=0x24 tid=7536 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: java/util/TaskQueue@0xc2f6e28[fat lock]
at jrockit/vm/Threads.waitForSignalWithTimeout(J)V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/util/TimerThread.mainLoop()V(Timer.java:509)
^-- Lock released while waiting: java/util/TaskQueue@0xc2f6e28[fat lock]
at java/util/TimerThread.run()V(Timer.java:462)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=13 idx=0x26 tid=7537 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xc309cf0[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xc309cf0[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"weblogic.time.TimeEventGenerator" id=14 idx=0x28 tid=7539 prio=9 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/time/common/internal/TimeTable@0xd710a48[fat lock]
at jrockit/vm/Threads.waitForSignalWithTimeout(J)V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at weblogic/time/common/internal/TimeTable.snooze()V(TimeTable.java:286)
^-- Lock released while waiting: weblogic/time/common/internal/TimeTable@0xd710a48[fat lock]
at weblogic/time/common/internal/TimeEventGenerator.run()V(TimeEventGenerator.java:117)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"weblogic.timers.TimerThread" id=15 idx=0x2a tid=7540 prio=9 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/timers/internal/TimerThread@0xd727510[fat lock]
at jrockit/vm/Threads.waitForSignalWithTimeout(J)V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at weblogic/timers/internal/TimerThread$Thread.run()V(TimerThread.java:260)
^-- Lock released while waiting: weblogic/timers/internal/TimerThread@0xd727510[fat lock]
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"weblogic.store.WLS_DIAGNOSTICS" id=16 idx=0x2c tid=7541 prio=10 alive, in native, parked, daemon
-- Waiting for notification on: java/lang/Object@0xd58c038[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at java/util/concurrent/locks/LockSupport.whPark(ZJ)V(Native Method)
^-- Lock released while waiting: java/lang/Object@0xd58c038[fat lock]
at java/util/concurrent/locks/LockSupport.park()V(Unknown Source)
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await()V(AbstractQueuedSynchronizer.java:1772)
at java/util/concurrent/LinkedBlockingQueue.take()Ljava/lang/Object;(LinkedBlockingQueue.java:359)
at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take()Ljava/lang/Object;(JDK15ConcurrentBlockingQueue.java:89)
at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork()[Lweblogic/store/internal/StoreRequest;(PersistentStoreImpl.java:570)
at weblogic/store/internal/PersistentStoreImpl.run()V(PersistentStoreImpl.java:618)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"GC event thread" id=17 idx=0x2e tid=7542 prio=5 alive, in native, native_waiting, daemon
at jrockit/mapi/GarbageCollectorImpl.waitForEvent()I(Native Method)
at jrockit/mapi/GarbageCollectorImpl.access$100()I(Unknown Source)
at jrockit/mapi/GarbageCollectorImpl$GCEventThread.getNextEvent()Ljava/lang/Object;(Unknown Source)
at jrockit/mapi/AsyncEventProvider$EventThread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" id=18 idx=0x30 tid=7543 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xbb88ab8[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xbb88ab8[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" id=19 idx=0x32 tid=7544 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xd017a00[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xd017a00[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=20 idx=0x34 tid=7545 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=21 idx=0x36 tid=7546 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=22 idx=0x38 tid=7547 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" id=23 idx=0x3a tid=7548 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '4' for queue: 'weblogic.socket.Muxer'" id=24 idx=0x3c tid=7549 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '5' for queue: 'weblogic.socket.Muxer'" id=25 idx=0x3e tid=7550 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '6' for queue: 'weblogic.socket.Muxer'" id=26 idx=0x40 tid=7551 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: [Lweblogic/socket/PosixSocketInfo$FdStruct;@0xcdddb18[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:97)
^-- Lock released while waiting: [Lweblogic/socket/PosixSocketInfo$FdStruct;@0xcdddb18[fat lock]
^-- Holding lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '7' for queue: 'weblogic.socket.Muxer'" id=27 idx=0x42 tid=7552 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"ExecuteThread: '8' for queue: 'weblogic.socket.Muxer'" id=28 idx=0x44 tid=7553 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: weblogic/socket/PosixSocketMuxer$1@0xd3ab720[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at weblogic/socket/PosixSocketMuxer.processSockets()V(PosixSocketMuxer.java:93)
at weblogic/socket/SocketReaderRequest.run()V(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(Lweblogic/kernel/ExecuteThread;)V(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run()V(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"VDE Transaction Processor Thread" id=31 idx=0x46 tid=7554 prio=2 alive, in native, waiting, daemon
-- Waiting for notification on: com/octetstring/vde/backend/standard/TransactionProcessor@0xe9ae5f0[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at com/octetstring/vde/backend/standard/TransactionProcessor.waitChange()V(TransactionProcessor.java:367)
^-- Lock released while waiting: com/octetstring/vde/backend/standard/TransactionProcessor@0xe9ae5f0[fat lock]
at com/octetstring/vde/backend/standard/TransactionProcessor.run()V(TransactionProcessor.java:212)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"weblogic.store._WLS_SashiWLServer" id=34 idx=0x48 tid=7557 prio=10 alive, in native, parked, daemon
-- Waiting for notification on: java/lang/Object@0xfde9048[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at java/util/concurrent/locks/LockSupport.whPark(ZJ)V(Native Method)
^-- Lock released while waiting: java/lang/Object@0xfde9048[fat lock]
at java/util/concurrent/locks/LockSupport.park()V(Unknown Source)
at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await()V(AbstractQueuedSynchronizer.java:1772)
at java/util/concurrent/LinkedBlockingQueue.take()Ljava/lang/Object;(LinkedBlockingQueue.java:359)
at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take()Ljava/lang/Object;(JDK15ConcurrentBlockingQueue.java:89)
at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork()[Lweblogic/store/internal/StoreRequest;(PersistentStoreImpl.java:570)
at weblogic/store/internal/PersistentStoreImpl.run()V(PersistentStoreImpl.java:618)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"DoSManager" id=33 idx=0x4a tid=7556 prio=6 alive, in native, sleeping, daemon
-- Waiting for notification on: java/lang/Object@0xe942308[fat lock]
at jrockit/vm/Threads.waitForSignalWithTimeout(J)V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/Thread.sleep(J)V(Unknown Source)
^-- Lock released while waiting: java/lang/Object@0xe942308[fat lock]
at com/octetstring/vde/DoSManager.run()V(DoSManager.java:433)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"FSCacheRefQueueThread" id=35 idx=0x4c tid=7573 prio=1 alive, in native, waiting, daemon
-- Waiting for notification on: java/lang/ref/ReferenceQueue$Lock@0xb4855b0[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at java/lang/ref/ReferenceQueue.remove(J)Ljava/lang/ref/Reference;(ReferenceQueue.java:116)
^-- Lock released while waiting: java/lang/ref/ReferenceQueue$Lock@0xb4855b0[fat lock]
at java/lang/ref/ReferenceQueue.remove()Ljava/lang/ref/Reference;(ReferenceQueue.java:132)
at workshop/util/filesystem/FSCache$FSCacheRefQueueThread.run()V(FSCache.java:65)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" id=36 idx=0x4e tid=7574 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0x16127660[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0x16127660[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'" id=37 idx=0x50 tid=7575 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xc422190[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xc422190[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" id=38 idx=0x52 tid=7576 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xc58e9e0[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xc58e9e0[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"[STANDBY] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" id=39 idx=0x54 tid=7577 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: weblogic/work/ExecuteThread@0xc35e490[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at weblogic/work/ExecuteThread.waitForRequest()V(ExecuteThread.java:165)
^-- Lock released while waiting: weblogic/work/ExecuteThread@0xc35e490[fat lock]
at weblogic/work/ExecuteThread.run()V(ExecuteThread.java:186)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"DynamicListenThread[Default]" id=41 idx=0x56 tid=7578 prio=9 alive, in native, daemon
at java/net/PlainSocketImpl.socketAccept(Ljava/net/SocketImpl;)V(Native Method)
at java/net/PlainSocketImpl.accept(Ljava/net/SocketImpl;)V(PlainSocketImpl.java:384)
^-- Holding lock: java/net/SocksSocketImpl@0xd15db08[thin lock]
at java/net/ServerSocket.implAccept(Ljava/net/Socket;)V(ServerSocket.java:450)
at java/net/ServerSocket.accept()Ljava/net/Socket;(ServerSocket.java:421)
at weblogic/socket/WeblogicServerSocket.accept()Ljava/net/Socket;(WeblogicServerSocket.java:34)
at weblogic/server/channels/DynamicListenThread$SocketAccepter.accept()Ljava/net/Socket;(DynamicListenThread.java:517)
at weblogic/server/channels/DynamicListenThread$SocketAccepter.access$200(Lweblogic/server/channels/DynamicListenThread$SocketAccepter;)Ljava/net/Socket;(DynamicListenThread.java:418)
at weblogic/server/channels/DynamicListenThread.run()V(DynamicListenThread.java:164)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-10" id=43 idx=0x5a tid=7651 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x16898900[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x9fe0040[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-11" id=44 idx=0x5c tid=7652 prio=5 alive, in native, waiting, daemon
-- Waiting for notification on: com/sleepycat/je/txn/Txn@0xa1b7ab8[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at java/lang/Object.wait()V(Native Method)
at java/lang/Object.wait(J)V(Native Method)
at com/sleepycat/je/txn/LockManager.lock(JLcom/sleepycat/je/txn/Locker;Lcom/sleepycat/je/txn/LockType;JZLcom/sleepycat/je/dbi/DatabaseImpl;)Lcom/sleepycat/je/txn/LockGrantType;(LockManager.java:225)
^-- Lock released while waiting: com/sleepycat/je/txn/Txn@0xa1b7ab8[fat lock]
at com/sleepycat/je/txn/Txn.lockInternal(JLcom/sleepycat/je/txn/LockType;ZLcom/sleepycat/je/dbi/DatabaseImpl;)Lcom/sleepycat/je/txn/LockResult;(Txn.java:295)
at com/sleepycat/je/txn/Locker.lock(JLcom/sleepycat/je/txn/LockType;ZLcom/sleepycat/je/dbi/DatabaseImpl;)Lcom/sleepycat/je/txn/LockResult;(Locker.java:257)
at com/sleepycat/je/dbi/CursorImpl.lockLNDeletedAllowed(Lcom/sleepycat/je/tree/LN;Lcom/sleepycat/je/txn/LockType;)Lcom/sleepycat/je/txn/LockResult;(CursorImpl.java:2371)
at com/sleepycat/je/tree/Tree.insert(Lcom/sleepycat/je/tree/LN;[BZLcom/sleepycat/je/dbi/CursorImpl;Lcom/sleepycat/je/txn/LockResult;)Z(Tree.java:2578)
at com/sleepycat/je/dbi/CursorImpl.putLN([BLcom/sleepycat/je/tree/LN;Z)Lcom/sleepycat/je/OperationStatus;(CursorImpl.java:1004)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:248)
^-- Holding lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x94e5cc0[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x96ddaf8[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-12" id=45 idx=0x5e tid=7653 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x8e3c960[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x8e3d6d0[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-13" id=46 idx=0x60 tid=7654 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x169af040[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0xa028af0[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-14" id=47 idx=0x62 tid=7655 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x89126a8[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x8913170[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-15" id=48 idx=0x64 tid=7656 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x168f7ef8[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x9e055f8[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-16" id=49 idx=0x66 tid=7657 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x168f7df0[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0x9c5e588[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-17" id=50 idx=0x68 tid=7658 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at com/sleepycat/je/dbi/DbTree.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(DbTree.java:235)
at com/sleepycat/je/dbi/EnvironmentImpl.createDb(Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Lcom/sleepycat/je/Database;)Lcom/sleepycat/je/dbi/DatabaseImpl;(EnvironmentImpl.java:1380)
at com/sleepycat/je/Database.initNew(Lcom/sleepycat/je/Environment;Lcom/sleepycat/je/txn/Locker;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)V(Database.java:105)
at com/sleepycat/je/Environment.openDb(Lcom/sleepycat/je/Transaction;Lcom/sleepycat/je/Database;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;Z)V(Environment.java:475)
at com/sleepycat/je/Environment.openDatabase(Lcom/sleepycat/je/Transaction;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(Environment.java:350)
^-- Holding lock: com/sleepycat/je/XAEnvironment@0x16ae7a68[thin lock]
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabaseInternal(Ljava/util/Map;Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:269)
at com/sleepycat/je/jca/ra/JEManagedConnection.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEManagedConnection.java:231)
^-- Holding lock: java/util/HashMap@0xa008e60[thin lock]
at com/sleepycat/je/jca/ra/JEConnectionImpl.openDatabase(Ljava/lang/String;Lcom/sleepycat/je/DatabaseConfig;)Lcom/sleepycat/je/Database;(JEConnectionImpl.java:65)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/TradeDaoJcaImpl.getTradesDatabase(Ljava/lang/Object;)Lcom/sleepycat/je/Database;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dao/berkeleydb/trade/AbstractTradeDao.updateTrades(Ljava/lang/Object;[Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)V(Unknown Source)
at com/citi/cmbtech/gicap/ddi/services/trade/TradeServiceImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/dal/trade/v1_0_0/ejb/TradeServiceSLSB_sdfg5q_ELOImpl.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(TradeServiceSLSB_sdfg5q_ELOImpl.java:304)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
at java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown Source)
at org/springframework/ejb/access/LocalSlsbInvokerInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;(LocalSlsbInvokerInterceptor.java:71)
at org/springframework/aop/framework/ReflectiveMethodInvocation.proceed()Ljava/lang/Object;(ReflectiveMethodInvocation.java:144)
at org/springframework/aop/framework/JdkDynamicAopProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;(JdkDynamicAopProxy.java:174)
at $Proxy33.updateTrades([Lcom/citi/cmbtech/gicap/ddi/model/trade/v0_4_1/Execution;)Ljava/util/List;(Unknown Source)
at com/citi/cmbtech/gicap/ddi/web/util/WritePerfTestRunner.run()V(WritePerfTestRunner.java:49)
at jrockit/vm/RNI.c2java(IIII)V(Native Method)
-- end of trace
"Thread-18" id=51 idx=0x6a tid=7659 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: com/sleepycat/je/dbi/DbTree@0x9811598[fat lock]
at jrockit/vm/Threads.waitForSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(ILjrockit/vm/ObjectMonitor;II)V(Unknown Source)
at jrockit/vm/Locks.lockFat(Ljava/lang/Object;ILjrockit/vm/ObjectMonitor;Z)Ljava/lang/Object;(Unknown Source)
at jrockit/vm/Locks.monitorEnterSecondStage(Ljava/lang/Object;I)Ljava/lang/Object -
Multiple Kodo Datasources in WebLogic 8.1 using JCA - How?
Greetings
I am trying to set up WebLogic (8.1) such that I can deploy a single Kodo
JCA connector but use it to access multiple data sources. Assuming that the
JCA adaptor has been deployed to the Server with a name and jndi key of
"kodo", I believe that the way to do it is to deploy a second copy of the
weblogic-ra.xml and ra.xml files and use an <ra-link-ref> tag to refer to
the primary deployed JCA adaptor. The second ra.xml has different kodo
config-property-values for connection URL, Username/password, etc from the
primary ra.xml.
This seems to work - to a point. Accessing the second "adaptor" ("kodo2")
does work and seems to link to the primary one, but the ra.xml
config-properties which are used appear to be from the primary deployment :(
not the second one as I hoped.
Can anyone point me in the right direction? Below is a copy of the
secondary weblogic-ra.xml file:
<!DOCTYPE weblogic-connection-factory-dd PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>kodo2</connection-factory-name>
<jndi-name>kodo2</jndi-name>
<ra-link-ref>kodo</ra-link-ref>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>8</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<security-principal-map>
</security-principal-map>
</weblogic-connection-factory-dd>
Thanks
..droo.Drew-
It should be possible to use two separate Kodo JCA configurations in the
same application server. Could you post your two configurations (without
the license keys, please) so we can take a look of the different places
where you are configuring the sequence table names? I suspect that there
might be a simple misconfiguration or type somewhere.
In article <BD4AB2EE.8DA%[email protected]>, Drew Lethbridge wrote:
I think I have partially figured this out. Actually I shouldn't have ra.xml
in the second JCA adaptor, instead I can specify different config properties
in weblogic-ra.xml such as:
<map-config-property>
<map-config-property-name>Schemas</map-config-property-name>
<map-config-property-value>FRED</map-config-property-value>
</map-config-property>
I am still getting some weird behaviour though. For example, I currently
get an exception when trying to to an update because kodo2 tries to get the
sequence from the wrong schema, i.e.:
com.solarmetric.jdbc.ReportingSQLException: ORA-00942: table or view does
not exist
{prepstmnt 7569347 SELECT SEQUENCEX FROM MARY.JDO_SEQUENCEX WHERE PKX = ?
FOR UPDATE [reused=0]} [code=942, state=42000]
at
kodo.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:227)
Etc...
It should be getting the sequence from FRED (kodo2), not MARY (kodo).
Any tips about how to configure multiple kodo JCA properties in Weblogic 8.1
would still be very much appreciated.
Cheers!
.droo.
On 19/8/04 2:39 PM, in article BD4A6C2D.7A0%[email protected], "Drew
Lethbridge" <[email protected]> wrote:
Greetings
I am trying to set up WebLogic (8.1) such that I can deploy a single Kodo
JCA connector but use it to access multiple data sources. Assuming that the
JCA adaptor has been deployed to the Server with a name and jndi key of
"kodo", I believe that the way to do it is to deploy a second copy of the
weblogic-ra.xml and ra.xml files and use an <ra-link-ref> tag to refer to
the primary deployed JCA adaptor. The second ra.xml has different kodo
config-property-values for connection URL, Username/password, etc from the
primary ra.xml.
This seems to work - to a point. Accessing the second "adaptor" ("kodo2")
does work and seems to link to the primary one, but the ra.xml
config-properties which are used appear to be from the primary deployment :(
not the second one as I hoped.
Can anyone point me in the right direction? Below is a copy of the
secondary weblogic-ra.xml file:
<!DOCTYPE weblogic-connection-factory-dd PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic600-ra.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>kodo2</connection-factory-name>
<jndi-name>kodo2</jndi-name>
<ra-link-ref>kodo</ra-link-ref>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>8</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<security-principal-map>
</security-principal-map>
</weblogic-connection-factory-dd>
Thanks
.droo.
Marc Prud'hommeaux
SolarMetric Inc. -
Kodo JDO with JCA provided by Jencks in Tomcat
I'm trying to use both JDO and JCR (Apache's Jackrabbit) in my project. Both support XA
Transactions, and my understanding is that to best ensure data integrity, I should start using them.
Currently, I'm running under Tomcat using the SpringFramework support for transactions. I'd like to
continue running in Tomcat because I already understand that environment and the other app-servers
all feel heavyweight by comparison - all I need is JNDI and XA Transactions. Tomcat itself doesn't
support XA Transactions and JCA, but the open source project jencks is able to provide JCA support
within Tomcat.
I've been looking at the Deployment section of the JDO reference guide (Chapter 8). If I'm reading
this right, all I need to do is set two properties in the jdo.properties file: kodo.TransactionMode
and kodo.ManagedRuntime.
I've done that in my project:
kodo.TransactionMode: managed
kodo.ManagedRuntime: invocation(
TransactionManagerMethod=edu.ucsc.whisper.transaction.KodoTransactionAccess.getTransactionManager )
The getTransactionManager() is a static function that returns the
javax.transaction.TransactionManager provided by Spring's JtaTransactionManager.
I have a unit test that checks the application's initialization process, and I've been using that to
work my way into JCA transactions. Based on that test, this seems to be working. My question is this:
Is it really that simple?
Don't get me wrong, I'll be thrilled if it is, but from everything I'm seeing about configuring the
"Big Iron" app servers (WebLogic, JBoss, etc.), it just seems like adding two properties is too easy
and that I'm probably missing something significant in the process. Can anyone confirm whether or
not I'm on the right track here?
I'm working on setting this up for my heavier-duty integration tests, but I'm concerned that if I am
missing something, I've done just enough to fake Kodo out and that it isn't actually working under
the hood.
Thanks,
MarkAbe White wrote:
I would be surprised if your transaction manager and JDBC driver
configured themselves for XA automatically, since it imposes some
overhead and is rarely actually needed. In particular, you typically
need an XADataSource for XA transactions, rather than just using the
standard JDBC driver through the DriverManager (as Kodo does internally
when you specify ConnectionDriverName). So I suggest you consult their
documentation. As far as Kodo is concerned, though, as long as you've
set the TransactionMode, ManagedRuntime,
DataSourceMode/ConnectionFactoryMode (depending on Kodo version), and
are using an XA DataSource, you are all set.Hi Abe,
I've been able to get Spring configured so that it uses its JtaTransactionManager, and I have Kodo
setup with the TransactionMode as Managed and the ManagedRuntime is configured to use a static
method I created that returns the TransactionManager. In my logs, I can see Kodo accessing a
non-null instance of the TransactionManager class through this method. The problem that I'm getting
is that the behavior in my unit and integration tests is different than the behavior I'm seeing when
running in Tomcat, even though the Spring and Kodo configuration are nearly identical (Kodo accesses
a different database in Tomcat than it does in testing, other than that, the configuration is the
same). All the unit and integration tests pass; this requires transactions to be created, data
written to the database through Kodo, and then read back through Kodo in a new transaction. When I
deploy the web-app to Tomcat though, Kodo suddenly thinks its running without transactions. Reading
from the database works fine because I've got non-transactional reads turned on, but as soon as I
try to alter any field of a persisted object, Kodo throws an InvalidStateException saying it doesn't
have a transaction. I've included my log output below to demonstrate.
The only thing I haven't done yet, based on your previous message, is configure my database driver
for access through JNDI within Tomcat. Would that cause errors like this, or should I be looking
elsewhere?
My jdo.properties file contains these settings:
# For use of JDOHelper
javax.jdo.PersistenceManagerFactoryClass: kodo.jdo.PersistenceManagerFactoryImpl
# For Kodo JDO 4.0 EA2 and higher
javax.jdo.option.Connection2DriverName: org.postgresql.Driver
javax.jdo.option.Connection2UserName: ------------
javax.jdo.option.Connection2Password: ------------
javax.jdo.option.Connection2URL: jdbc:postgresql://127.0.0.1:5432/my_db
javax.jdo.option.Optimistic: true
javax.jdo.option.RetainState: true
javax.jdo.option.NontransactionalRead: true
kodo.FlushBeforeQueries=true
# For JCA Transaction support
kodo.TransactionMode: managed
kodo.ManagedRuntime: invocation(
TransactionManagerMethod=edu.ucsc.whisper.transaction.KodoTransactionAccess.getTransactionManager )
Thanks,
Mark
2006-04-04 02:03:13,891 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<mdslog - TransactionInterceptor starting create if necessary>
2006-04-04 02:03:13,891 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<mdslog - TransactionAspectSupport begin createTransactionIfNecessary()>
2006-04-04 02:03:13,891 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<Getting transaction for edu.ucsc.whisper.service.UserService.setUserInformation>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager begin getTransaction>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <Using
transaction object [org.springframework.transaction.jta.JtaTransactionObject@42b645]>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] -
<Creating new transaction with name [edu.ucsc.whisper.service.UserService.setUserInformation]>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- JtaTransactionManager begin doBegin>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- JtaTransactionManager end doBegin>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager end getTransaction>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager begin newTransactionStatus>
2006-04-04 02:03:13,892 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing
transaction synchronization>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager end newTransactionStatus>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<mdslog - TransactionAspectSupport end createTransactionIfNecessary()>
2006-04-04 02:03:13,892 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<mdslog - TransactionInterceptor finished create if necessary>
2006-04-04 02:03:13,892 INFO [edu.ucsc.whisper.service.DefaultUserService] - <setUserInformation begin>
2006-04-04 02:03:13,892 DEBUG [org.springframework.web.context.support.XmlWebApplicationContext] -
<Publishing event in context [WebApplicationContext for namespace 'xfire-servlet']:
org.acegisecurity.event.authorization.PublicInvocationEvent[source=invocation: method 'getUser',
arguments [mark]; target is of class [edu.ucsc.whisper.core.manager.DefaultUserManager]]>
2006-04-04 02:03:13,892 DEBUG [org.springframework.web.context.support.XmlWebApplicationContext] -
<Publishing event in context [Root WebApplicationContext]:
org.acegisecurity.event.authorization.PublicInvocationEvent[source=invocation: method 'getUser',
arguments [mark]; target is of class [edu.ucsc.whisper.core.manager.DefaultUserManager]]>
2006-04-04 02:03:13,892 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] -
<Opening JDO PersistenceManager, factory = kodo.jdo.PersistenceManagerFactoryImpl@c2c9af>
2006-04-04 02:03:13,893 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] - <New
JDO PersistenceManager = kodo.jdo.PersistenceManagerImpl@cc70c2, factory =
kodo.jdo.PersistenceManagerFactoryImpl@c2c9af>
2006-04-04 02:03:13,893 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] -
<Registering transaction synchronization for JDO PersistenceManager>
2006-04-04 02:03:13,893 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <mdslog -
TransactionSynchronizationManager registerSynchronization -
org.springframework.orm.jdo.PersistenceManagerFactoryUtils$PersistenceManagerSynchronization@ff0f8a>
2006-04-04 02:03:13,893 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value
[org.springframework.orm.jdo.PersistenceManagerHolder@552f12] for key
[kodo.jdo.PersistenceManagerFactoryImpl@c2c9af] to thread [http-8443-Processor24]>
2006-04-04 02:03:13,893 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Retrieved value
[org.springframework.orm.jdo.PersistenceManagerHolder@552f12] for key
[kodo.jdo.PersistenceManagerFactoryImpl@c2c9af] bound to thread [http-8443-Processor24]>
2006-04-04 02:03:13,893 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] -
<Persistence manager kodo.jdo.PersistenceManagerImpl@cc70c2, factory
kodo.jdo.PersistenceManagerFactoryImpl@c2c9af is transactional: true>
2006-04-04 02:03:13,893 DEBUG [kodo.Query] - <Executing query: [SELECT UNIQUE FROM
edu.ucsc.whisper.core.DefaultUser WHERE username==searchName
PARAMETERS java.lang.String searchName] with parameters: {searchName=mark}>
2006-04-04 02:03:13,894 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> connection pool: active=0, idle=1>
2006-04-04 02:03:13,894 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> checkout>
2006-04-04 02:03:13,895 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> prepared statement cache: size=9,
max=50, requests=17, hits=8, created=9, redundant=0, overflow=0, leaked=0>
2006-04-04 02:03:13,902 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [5 ms] executing
prepstmnt 6033738 SELECT t0.userId, t0.TYP, t0.VERSN, t0.enabled, t0.password, t1.userInfoId,
t1.TYPE, t1.VERSN, t1.aboutText, t1.familyName, t1.firstName, t1.gender, t1.namePrefix,
t1.nameSuffix, t1.otherNames, t2.userId, t2.TYP, t2.VERSN, t2.enabled, t2.password, t2.USERINFO,
t2.username, t0.username FROM whisper_user t0 LEFT OUTER JOIN userinfo t1 ON t0.USERINFO =
t1.userInfoId LEFT OUTER JOIN whisper_user t2 ON t1.userInfoId = t2.USERINFO WHERE (t0.username = ?)
[params=(String) mark] [reused=3]>
2006-04-04 02:03:13,906 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [2 ms] executing
prepstmnt 12702178 SELECT t0.nameOrder, t0.previousName FROM userInfo_PreviousNames t0 WHERE
t0.userInfoId = ? ORDER BY t0.nameOrder ASC [params=(long) 2] [reused=3]>
2006-04-04 02:03:13,908 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [1 ms] executing
prepstmnt 7374726 SELECT t1.authorityId, t1.TYP, t1.VERSN, t1.authority FROM user_authorities t0
INNER JOIN authorities t1 ON t0.authorityId = t1.authorityId WHERE t0.userId = ? [params=(long) 2]
[reused=3]>
2006-04-04 02:03:13,912 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [2 ms] executing
prepstmnt 1745355 SELECT t0.organizationId, t0.TYPE, t0.VERSN, t0.city, t0.country, t0.isPrimary,
t0.orgName, t0.positionTitle, t0.postalCode, t0.state, t0.streetAddress1, t0.streetAddress2,
t0.streetAddress3, t0.userId FROM organization t0 WHERE t0.userId = ? [params=(long) 2] [reused=3]>
2006-04-04 02:03:13,912 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> return>
2006-04-04 02:03:13,912 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> [0 ms] close>
2006-04-04 02:03:13,913 INFO [edu.ucsc.whisper.security.WhisperAccessDecisionManager] - <voting on
access to: invocation: method 'getUserInfoForUser', arguments [{DefaultUser: username=mark;
password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}]; target is of class
[edu.ucsc.whisper.core.manager.DefaultUserManager], with auth:
edu.ucsc.whisper.security.WhisperClientAuthenticationToken@798d8: Username: {DefaultUser:
username=mark; password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}; Password:
[PROTECTED]; Authenticated: true; Details: null; Granted Authorities: {DefaultAuthority:
authority=ROLE_USER}>
2006-04-04 02:03:13,913 INFO [edu.ucsc.whisper.security.UserIsOwnerOrAdminVoter] - <voting with auth
= edu.ucsc.whisper.security.WhisperClientAuthenticationToken@798d8: Username: {DefaultUser:
username=mark; password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}; Password:
[PROTECTED]; Authenticated: true; Details: null; Granted Authorities: {DefaultAuthority:
authority=ROLE_USER}, o = invocation: method 'getUserInfoForUser', arguments [{DefaultUser:
username=mark; password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}]; target is of
class [edu.ucsc.whisper.core.manager.DefaultUserManager], config = [ROLE_USER, ROLE_ANONYMOUS,
AFTER_ACL_READ]>
2006-04-04 02:03:13,913 DEBUG [org.springframework.web.context.support.XmlWebApplicationContext] -
<Publishing event in context [WebApplicationContext for namespace 'xfire-servlet']:
org.acegisecurity.event.authorization.AuthorizedEvent[source=invocation: method
'getUserInfoForUser', arguments [{DefaultUser: username=mark;
password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}]; target is of class
[edu.ucsc.whisper.core.manager.DefaultUserManager]]>
2006-04-04 02:03:13,914 DEBUG [org.springframework.web.context.support.XmlWebApplicationContext] -
<Publishing event in context [Root WebApplicationContext]:
org.acegisecurity.event.authorization.AuthorizedEvent[source=invocation: method
'getUserInfoForUser', arguments [{DefaultUser: username=mark;
password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}]; target is of class
[edu.ucsc.whisper.core.manager.DefaultUserManager]]>
2006-04-04 02:03:13,914 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Retrieved value
[org.springframework.orm.jdo.PersistenceManagerHolder@552f12] for key
[kodo.jdo.PersistenceManagerFactoryImpl@c2c9af] bound to thread [http-8443-Processor24]>
2006-04-04 02:03:13,915 DEBUG [kodo.Query] - <Executing query: [SELECT FROM
edu.ucsc.whisper.core.UserAccessControl
WHERE aclObjectId.domainObjectId==searchObjectId.domainObjectId
PARAMETERS edu.ucsc.whisper.core.DomainObjectIdentity searchObjectId] with
parameters: {searchObjectId=edu.ucsc.whisper.core.DefaultUserInfo:mark}>
2006-04-04 02:03:13,917 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> connection pool: active=0, idle=1>
2006-04-04 02:03:13,917 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> checkout>
2006-04-04 02:03:13,917 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> prepared statement cache: size=9,
max=50, requests=21, hits=12, created=9, redundant=0, overflow=0, leaked=0>
2006-04-04 02:03:13,919 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [2 ms] executing
prepstmnt 11249989 SELECT t0.accessControlId, t0.VERSN, t0.aclObjectId, t0.aclObjectParentId,
t0.permit, t1.userId, t1.TYP, t1.VERSN, t1.enabled, t1.password, t2.userInfoId, t2.TYPE, t2.VERSN,
t2.aboutText, t2.familyName, t2.firstName, t2.gender, t2.namePrefix, t2.nameSuffix, t2.otherNames,
t3.userId, t3.TYP, t3.VERSN, t3.enabled, t3.password, t3.USERINFO, t3.username, t1.username FROM
user_access_control t0 LEFT OUTER JOIN whisper_user t1 ON t0.userId = t1.userId LEFT OUTER JOIN
userinfo t2 ON t1.USERINFO = t2.userInfoId LEFT OUTER JOIN whisper_user t3 ON t2.userInfoId =
t3.USERINFO WHERE (t0.aclObjectId = ?) [params=(String) edu.ucsc.whisper.core.DefaultUserInfo:mark]
[reused=1]>
2006-04-04 02:03:13,920 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> return>
2006-04-04 02:03:13,921 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> [1 ms] close>
2006-04-04 02:03:13,921 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Retrieved value
[org.springframework.orm.jdo.PersistenceManagerHolder@552f12] for key
[kodo.jdo.PersistenceManagerFactoryImpl@c2c9af] bound to thread [http-8443-Processor24]>
2006-04-04 02:03:13,921 DEBUG [kodo.Query] - <Executing query: [SELECT FROM
edu.ucsc.whisper.core.AuthorityAccessControl
WHERE aclObjectId.domainObjectId==searchObjectId.domainObjectId
PARAMETERS edu.ucsc.whisper.core.DomainObjectIdentity searchObjectId] with
parameters: {searchObjectId=edu.ucsc.whisper.core.DefaultUserInfo:mark}>
2006-04-04 02:03:13,923 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> connection pool: active=0, idle=1>
2006-04-04 02:03:13,924 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> checkout>
2006-04-04 02:03:13,924 DEBUG [kodo.jdbc.JDBC] - <<t 11706420> prepared statement cache: size=9,
max=50, requests=22, hits=13, created=9, redundant=0, overflow=0, leaked=0>
2006-04-04 02:03:13,927 DEBUG [kodo.jdbc.SQL] - <<t 11706420, conn 15885558> [2 ms] executing
prepstmnt 4389286 SELECT t0.accessControlId, t0.VERSN, t0.aclObjectId, t0.aclObjectParentId,
t0.permit, t1.authorityId, t1.TYP, t1.VERSN, t1.authority FROM authority_access_control t0 LEFT
OUTER JOIN authorities t1 ON t0.authorityId = t1.authorityId WHERE (t0.aclObjectId = ?)
[params=(String) edu.ucsc.whisper.core.DefaultUserInfo:mark] [reused=1]>
2006-04-04 02:03:13,928 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> return>
2006-04-04 02:03:13,928 DEBUG [kodo.jdbc.JDBC] - <<t 11706420, conn 15885558> [0 ms] close>
2006-04-04 02:03:13,928 INFO [edu.ucsc.whisper.core.dao.JdoAclDao] - <found the controls:
[{AuthorityAccessControl: aclObjectId=edu.ucsc.whisper.core.DefaultUserInfo:mark;
aclObjectParentId=null; permit=READ_WRITE; recipient={DefaultAuthority: authority=ROLE_ADMIN}},
{UserAccessControl: aclObjectId=edu.ucsc.whisper.core.DefaultUserInfo:mark; aclObjectParentId=null;
permit=READ_WRITE; recipient={DefaultUser: username=mark;
password=871deb9e1c3dd967da1d4f6d01999eb71a4eab71; isEnabled=true}}]>
2006-04-04 02:03:13,928 INFO [edu.ucsc.whisper.service.DefaultUserService] - <Updating user info for
mark>
2006-04-04 02:03:13,929 INFO [edu.ucsc.whisper.service.DefaultUserService] - <existing user info =
{DefaultUserInfo: prefix=null; firstName=null; otherNames=null; familyName=null; suffix=null;
previousNames=(); gender=0; aboutText=null}>
2006-04-04 02:03:13,929 INFO [edu.ucsc.whisper.service.DefaultUserService] - <new user info =
{UserInfoData: prefix=Mr.; firstName=Mark; otherNames=David; familyName=Slater; suffix=null;
previousNames=(); gender=0; aboutText=blah blah blah}>
2006-04-04 02:03:13,930 DEBUG
[org.springframework.transaction.interceptor.RuleBasedTransactionAttribute] - <Applying rules to
determine whether transaction should rollback on <4|false|4.0.0EA4> kodo.util.InvalidStateException:
To perform writes on persistent data outside of a transaction, the "NontransactionalWrite" property
must be set on the Transaction.
FailedObject: edu.ucsc.whisper.core.DefaultUserInfo-2>
2006-04-04 02:03:13,930 DEBUG
[org.springframework.transaction.interceptor.RuleBasedTransactionAttribute] - <Winning rollback rule
is: null>
2006-04-04 02:03:13,930 DEBUG
[org.springframework.transaction.interceptor.RuleBasedTransactionAttribute] - <No relevant rollback
rule found: applying superclass default>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.interceptor.TransactionInterceptor] -
<Invoking rollback for transaction on edu.ucsc.whisper.service.UserService.setUserInformation due to
throwable [<4|false|4.0.0EA4> kodo.util.InvalidStateException: To perform writes on persistent data
outside of a transaction, the "NontransactionalWrite" property must be set on the Transaction.
FailedObject: edu.ucsc.whisper.core.DefaultUserInfo-2]>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager begin rollback>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager begin processRollback>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager begin triggerBeforeCompletion>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] -
<Triggering beforeCompletion synchronization>
2006-04-04 02:03:13,934 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager - synchronization =
org.springframework.orm.jdo.PersistenceManagerFactoryUtils$PersistenceManagerSynchronization@ff0f8a>
2006-04-04 02:03:13,934 DEBUG
[org.springframework.transaction.support.TransactionSynchronizationManager] - <Removed value
[org.springframework.orm.jdo.PersistenceManagerHolder@552f12] for key
[kodo.jdo.PersistenceManagerFactoryImpl@c2c9af] from thread [http-8443-Processor24]>
2006-04-04 02:03:13,934 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] -
<Persistence manager kodo.jdo.PersistenceManagerImpl@cc70c2, factory
kodo.jdo.PersistenceManagerFactoryImpl@c2c9af is transactional: false>
2006-04-04 02:03:13,935 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] -
<Closing JDO PersistenceManager>
2006-04-04 02:03:13,935 DEBUG [org.springframework.orm.jdo.PersistenceManagerFactoryUtils] - <
persistence manager = kodo.jdo.PersistenceManagerImpl@cc70c2, factory =
kodo.jdo.PersistenceManagerFactoryImpl@c2c9af>
2006-04-04 02:03:13,935 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] - <mdslog
- AbstractPlatformTransactionManager end triggerBeforeCompletion>
2006-04-04 02:03:13,935 DEBUG [org.springframework.transaction.jta.JtaTransactionManager] -
<Initiating transaction rollback> -
Kodo JCA in WebSphere 5.1
Hello!
I am packaging the Kodo 3.2.2 JCA RAR inside my EAR and deploy it to
WebSphere 5.1.0. During the first use of JDO in my application, Kodo
wants to find the application servers Transaction Manager to integrate
with the J2EE transaction. While this obviously works in WebSphere
Application Server 5.0, Kodo fails to "guess" the TransactionManager in
5.1.0. The output I get is:
==========
java.rmi.RemoteException: ; nested exception is:
kodo.util.FatalInternalException: Could not perform automatic
lookup of EJB container's javax.transaction.TransactionManager
implementation. Please ensure that you are running the application from
within an EJB 1.1 compliant EJB container, and then set the
kodo.ManagedRuntime property to the appropriate value to obtain the
TransactionManager.
NestedThrowables:
javax.naming.NameNotFoundException: Context:
bes724/nodes/bes724/servers/server1, name:
javax.transaction.TransactionManager: First component in name
javax.transaction.TransactionManager not found. [Root exception is
org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
javax.naming.NameNotFoundException: Name not found in context "java:".
javax.naming.NameNotFoundException: Name not found in context "java:".
javax.naming.NameNotFoundException: Name comp/pm not found in context
"java:".
javax.naming.NameNotFoundException: Name "comp/TransactionManager" not
found in context "java:".
javax.naming.NameNotFoundException: Name pm not found in context "java:".
java.lang.ClassNotFoundException: com.arjuna.jta.JTA_TransactionManager
java.lang.ClassNotFoundException:
com.bluestone.jta.SaTransactionManagerFactory
java.lang.ClassNotFoundException: com.ibm.ejs.jts.jta.JTSXA
java.lang.ClassNotFoundException:
com.ibm.ejs.jts.jta.TransactionManagerFactory
java.lang.ClassNotFoundException: org.openejb.OpenEJB
java.lang.ClassNotFoundException: com.sun.jts.jta.TransactionManagerImpl
java.lang.ClassNotFoundException:
com.inprise.visitransact.jta.TransactionManagerImpl
java.lang.ClassNotFoundException: com.sun.enterprise.Switch
at
com.ibm.ejs.container.RemoteExceptionMappingStrategy.setUncheckedExceptio
n(RemoteExceptionMappingStrategy.java:196)
at com.ibm.ejs.container.EJSDeployedSupport.setUncheckedException
(EJSDeployedSupport.java:296)
==========
My ManagedRuntime property still defaults to "auto".
What is going on here? Has IBM changed the class/package that implements
the TransactionManager?
I have seen that a class com.ibm.ws.Transaction.TransactionManagerFactory
exists. Should I implement kodo.ee.ManagedRuntime as a wrapper of the
com.ibm.ws.Transaction.TransactionManagerFactory and name my
implementation in the ManagedRuntime property?
If anyone has done such a thing before, I'd be happy to have an
example...
Thanks in advance for any help!
CarstenThis is odd as we have tested against 5.1.
Can you try sett the ManagedRuntime property explicitly to:
invocation("TransactionManagerMethod=com.ibm.ws.Transaction.TransactionManagerFactory.getTransactionManager")
Are you running in any non-standard environment (i.e. inside WSAD or
something)?
Carsten Jahn wrote:
Hello!
I am packaging the Kodo 3.2.2 JCA RAR inside my EAR and deploy it to
WebSphere 5.1.0. During the first use of JDO in my application, Kodo
wants to find the application servers Transaction Manager to integrate
with the J2EE transaction. While this obviously works in WebSphere
Application Server 5.0, Kodo fails to "guess" the TransactionManager in
5.1.0. The output I get is:
==========
java.rmi.RemoteException: ; nested exception is:
kodo.util.FatalInternalException: Could not perform automatic
lookup of EJB container's javax.transaction.TransactionManager
implementation. Please ensure that you are running the application from
within an EJB 1.1 compliant EJB container, and then set the
kodo.ManagedRuntime property to the appropriate value to obtain the
TransactionManager.
NestedThrowables:
javax.naming.NameNotFoundException: Context:
bes724/nodes/bes724/servers/server1, name:
javax.transaction.TransactionManager: First component in name
javax.transaction.TransactionManager not found. [Root exception is
org.omg.CosNaming.NamingContextPackage.NotFound:
IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
javax.naming.NameNotFoundException: Name not found in context "java:".
javax.naming.NameNotFoundException: Name not found in context "java:".
javax.naming.NameNotFoundException: Name comp/pm not found in context
"java:".
javax.naming.NameNotFoundException: Name "comp/TransactionManager" not
found in context "java:".
javax.naming.NameNotFoundException: Name pm not found in context "java:".
java.lang.ClassNotFoundException: com.arjuna.jta.JTA_TransactionManager
java.lang.ClassNotFoundException:
com.bluestone.jta.SaTransactionManagerFactory
java.lang.ClassNotFoundException: com.ibm.ejs.jts.jta.JTSXA
java.lang.ClassNotFoundException:
com.ibm.ejs.jts.jta.TransactionManagerFactory
java.lang.ClassNotFoundException: org.openejb.OpenEJB
java.lang.ClassNotFoundException: com.sun.jts.jta.TransactionManagerImpl
java.lang.ClassNotFoundException:
com.inprise.visitransact.jta.TransactionManagerImpl
java.lang.ClassNotFoundException: com.sun.enterprise.Switch
at
com.ibm.ejs.container.RemoteExceptionMappingStrategy.setUncheckedExceptio
n(RemoteExceptionMappingStrategy.java:196)
at com.ibm.ejs.container.EJSDeployedSupport.setUncheckedException
(EJSDeployedSupport.java:296)
==========
My ManagedRuntime property still defaults to "auto".
What is going on here? Has IBM changed the class/package that implements
the TransactionManager?
I have seen that a class com.ibm.ws.Transaction.TransactionManagerFactory
exists. Should I implement kodo.ee.ManagedRuntime as a wrapper of the
com.ibm.ws.Transaction.TransactionManagerFactory and name my
implementation in the ManagedRuntime property?
If anyone has done such a thing before, I'd be happy to have an
example...
Thanks in advance for any help!
Carsten--
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Kodo with Weblogic Server?
Hi,
I am intending to port my current operations from a direct kodo -> mssql
connection to a kodo->weblogic->mssql methology.
From what i found out, web logic support a type 4 jdbc driver.
I wish to find out if its possible for kodo to directly utilise this
methodology, without any changes to existing structure. And possibly the
security improvements over this new arrangement.
I wish to do some homework on this before i get the web logic software.
Pls advice.Hi,
I made further read up and i wish to clarify some information.
I noted that to use Weblogic as the middle tier, a startup class is
required on Weblogic server so that Weblogic knows when it should start
taking note of a new connection....
I took the sample startup class from
http://docs.solarmetric.com/j2ee_tutorial_jca_installation.html#j2ee_tutorial_generic
1) The code seems to suggest that a kodo.properties will be found on the
weblogic server. Is this right? I am assuming that the compiled class file
will not have any memory of what is loaded from the kodo.properties file
during runtime.
2) Will my client java application be automatically getting connections
pooled from the weblogic server? That is, all connection pooling
activities will be handled by weblogic and on kodo side, no additional
code is required to perform connection pooling management.
For example, my current code below will not require any changes to make
use of weblogic's connection pool.
PPersistenceManager pm = JDOFactory.getPersistencemanager(props);
Transaction trans = pm.currentTransaction();
trans.begin();
Query query = pm.newQuery(.....);
trans.commit();
Pls advice
tan
Stephen Kim wrote:
Yes. Kodo can work with both WebLogic and SQLServer. Kodo can use
datasources defined in WebLogic or directly address SQLServer.
Tan wrote:
Hi,
I am intending to port my current operations from a direct kodo -> mssql
connection to a kodo->weblogic->mssql methology.
From what i found out, web logic support a type 4 jdbc driver.
I wish to find out if its possible for kodo to directly utilise this
methodology, without any changes to existing structure. And possibly the
security improvements over this new arrangement.
I wish to do some homework on this before i get the web logic software.
Pls advice.
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Error while deploying JCA connector :-
Hi,
Im trying to deploy a JCA connector to WebLogic 9.1.
The same connector deployed fine to WebLogic 8.1, but throws the following exception now at 9.1 :-
<i>weblogic.connector.exception.RAConfigurationException: There are 1 nested errors: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND C:\connector.rar\META-INF\ra.xml:31:7:31:7: problem: cvc-complex-type.2.4a: Expected element 'security-permission@http://java.sun.com/xml/ns/j2ee' instead of 'outbound-resourceadapter@http://java.sun.com/xml/ns/j2ee' here in element resourceadapter@http://java.sun.com/xml/ns/j2ee:</i>
I have no element for outbound-resourceadapter.
This is my ra.xml :-
<connector>
     <resourceadapter>
     <managedconnectionfactory-class>...</managedconnectionfactory-class>
     <connectionfactory-interface>...</connectionfactory-interface>
     <connectionfactory-impl-class>...</connectionfactory-impl-class>
     <connection-interface>...</connection-interface>
     <connection-impl-class>...</connection-impl-class>
     <transaction-support>NoTransaction</transaction-support>
     <authentication-mechanism>
          <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
          <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
     </authentication-mechanism>
     <reauthentication-support>false</reauthentication-support>
     <security-permission>
          <description>testing with all</description>
          <security-permission-spec>grant { permission java.security.AllPermission; };</security-permission-spec>
     </security-permission>
     </resourceadapter>
</connector>Hello Swarna:
I believe than rather than deploying the MDM4J.jar, you should deploy this components:
com.sap.mdm.tech.mdm4j.sda
com.sap.mdm.tech.connector.sda
BPMDMTECHN00_0.sca
BPMDMAPPLI00_0.sca
Once you deploy those, you should have no problems. Another solution would be to take your MDM4J.jar and wrap it into an SDA, then deploy, but that would be pretty much the same.
Those components are included on your MDM CD. Please ensure you use the same Version/support package/hotfix all over your landscape.
I hope that helps
Alejandro -
[JCA] ManagedConnectionFactory not found for jndiName SNMPConnectionFactory
I tried to deploy and use my JCA Adapter in weblogic (6.1 and 8 versions).
final Context context = getNamingContext();
Object object = context.lookup(SNMPConnectionFactory.class.getName());
if (object instanceof Reference)
object = NamingManager.getObjectInstance(object, null, context,
null);
But always have error:
There was 1 error:
1) testJNDIConnection(com.mediation.snmpcisco.SNMPTest)javax.resource.spi.ApplicationServerInternalException: Managed Connection Factory not found for jndiName com.mediation.jca.snmp.SNMPConnectionFactory
at weblogic.connector.common.internal.ConnectionPoolManager.createConnectionFactory(ConnectionPoolManager.java:123)
at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:28)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
at com.mediation.snmpcisco.SNMPTest.testJNDIConnection(SNMPTest.java:88)
at com.mediation.snmpcisco.SNMPTest.main(SNMPTest.java:50)ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
<connector>
<display-name>SNMP JCA Adapter</display-name>
<description>...</description>
<vendor-name>...</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>SNMP</eis-type>
<version>1.0</version>
<resourceadapter>
<managedconnectionfactory-class>com.mediation.jca.snmp.SNMPManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>com.mediation.jca.snmp.SNMPConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.mediation.jca.snmp.SNMPConnectionFactoryImpl</connectionfactory-impl-class>
<connection-interface>com.mediation.jca.snmp.SNMPConnection</connection-interface>
<connection-impl-class>com.mediation.jca.snmp.SNMPConnectionImpl</connection-impl-class>
</resourceadapter>
</connector>weblogic-ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>com.mediation.jca.snmp.SNMPManagedConnectionFactory</connection-factory-name>
<jndi-name>com.mediation.jca.snmp.SNMPConnectionFactory</jndi-name>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>1</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<logging-enabled>true</logging-enabled>
<log-filename>nc-jca-snmp</log-filename>
<security-principal-map/>
</weblogic-connection-factory-dd>Where is error? ConnectionFactory Reference normally stored in JNDI. But lookup provides exception :(I tried to deploy and use my JCA Adapter in weblogic (6.1 and 8 versions).
final Context context = getNamingContext();
Object object = context.lookup(SNMPConnectionFactory.class.getName());
if (object instanceof Reference)
object = NamingManager.getObjectInstance(object, null, context,
null);
But always have error:
There was 1 error:
1) testJNDIConnection(com.mediation.snmpcisco.SNMPTest)javax.resource.spi.ApplicationServerInternalException: Managed Connection Factory not found for jndiName com.mediation.jca.snmp.SNMPConnectionFactory
at weblogic.connector.common.internal.ConnectionPoolManager.createConnectionFactory(ConnectionPoolManager.java:123)
at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:28)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
at com.mediation.snmpcisco.SNMPTest.testJNDIConnection(SNMPTest.java:88)
at com.mediation.snmpcisco.SNMPTest.main(SNMPTest.java:50)ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector 1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
<connector>
<display-name>SNMP JCA Adapter</display-name>
<description>...</description>
<vendor-name>...</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>SNMP</eis-type>
<version>1.0</version>
<resourceadapter>
<managedconnectionfactory-class>com.mediation.jca.snmp.SNMPManagedConnectionFactory</managedconnectionfactory-class>
<connectionfactory-interface>com.mediation.jca.snmp.SNMPConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.mediation.jca.snmp.SNMPConnectionFactoryImpl</connectionfactory-impl-class>
<connection-interface>com.mediation.jca.snmp.SNMPConnection</connection-interface>
<connection-impl-class>com.mediation.jca.snmp.SNMPConnectionImpl</connection-impl-class>
</resourceadapter>
</connector>weblogic-ra.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-connection-factory-dd PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 Connector//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-connection-factory-dd>
<connection-factory-name>com.mediation.jca.snmp.SNMPManagedConnectionFactory</connection-factory-name>
<jndi-name>com.mediation.jca.snmp.SNMPConnectionFactory</jndi-name>
<pool-params>
<initial-capacity>0</initial-capacity>
<max-capacity>1</max-capacity>
<capacity-increment>1</capacity-increment>
<shrinking-enabled>false</shrinking-enabled>
<shrink-period-minutes>200</shrink-period-minutes>
</pool-params>
<logging-enabled>true</logging-enabled>
<log-filename>nc-jca-snmp</log-filename>
<security-principal-map/>
</weblogic-connection-factory-dd>Where is error? ConnectionFactory Reference normally stored in JNDI. But lookup provides exception :( -
MANIFEST.MF included with kodo-persistence.rar
The MANIFEST.MF included with the kodo-persistence.rar in kodo 4.1.1 has only info about "JDO" and not "JPA". Was it incorrectly packaged? Is there another kodo-persistence.rar that can be downloaded for JCA? Here are the contents of the MANIFEST.MF in kodo-4.1.1/jca/persistence/META-INF/kodo-persistence.rar
Premain-Class: kodo.enhance.PCEnhancerAgent
Main-Class: kodo.enhance.PCEnhancer
Built-By: BEA Systems, Inc.
Implementation-Vendor: BEA Systems, Inc.
Implementation-Version: 4.1.1
OpenTools-UI: kodo.jdbc.integration.jbuilder.KodoTools
OpenTools-Build: kodo.jdbc.integration.jbuilder.KodoBuilder
OpenIDE-Module: kodo.jdbc.integration.netbeans/1
OpenIDE-Module-Name: Kodo
OpenIDE-Module-Short-Description: Kodo for SunOne-NetBeans
OpenIDE-Module-Install: kodo/jdbc/integration/netbeans/KodoModule.class
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java/1 > 1.7
OpenIDE-Module-Layer: kodo/jdbc/integration/netbeans/kodo-layer.xml
Name: kodo/
Specification-Title: Java Data Objects
Specification-Vendor: Sun
Implementation-Vendor: BEA Systems, Inc.
Specification-Version: 2.0.0
Implementation-Version: 4.1.1
Implementation-Title: kodo
Name: kodo/jdbc/integration/netbeans/KodoMenuAction.class
OpenIDE-Module-Class: Action
Name: kodo/jdbc/integration/netbeans/MappingDataLoader.class
OpenIDE-Module-Class: Loader
Install-Before: org.openide.loaders.XMLDataObject, org.netbeans.module
s.xml.core.XMLDataObject
Name: kodo/jdbc/integration/netbeans/JDODataLoader.class
OpenIDE-Module-Class: Loader
Install-Before: org.openide.loaders.XMLDataObject, org.netbeans.module
s.xml.core.XMLDataObjectThe manifest should be seen only as a file that can contain information about the files packaged in a JAR file. There is no requirement to contain information about all the files packaged in the jar.
You are using the correct rar file.
Laurent -
Unable to bind EEPersistenceManagerFactory to JNDI
I get the following exception trying to bind EEPersistenceManagerFactory to
JNDI with Kodo 2.2.3 (running with Weblogic 6.1 SP1):
javax.naming.ConfigurationException. Root exception is
java.rmi.MarshalException: failed to marshal
bind(Ljava.lang.String;Ljava.lang.Object;Ljava.util.Hashtable;); nested
exception is:
java.io.NotSerializableException:
com.solarmetric.kodo.impl.jdbc.JDBCPrefsConfiguration
java.io.NotSerializableException:
com.solarmetric.kodo.impl.jdbc.JDBCPrefsConfiguration
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
Anyone else run into this?Sasha-
That exception indicates that your PersistenceManagerFactory has not
yet been configured with the proper driver information. Note that the
JDOConnectionFactory does not use the system.prefs information by
default: it is designed to be configured internally as per
the JCA specification.
I'm sorry to say, but it actually looks like there is no way to bind
either the EEPersistenceManagerFactory or the JDOConnectionFactory into
JNDI (unless you extends the EEPersistenceFactory with your own
Referenceable implementation).
I have made a bug report about this:
https://bugzilla.solarmetric.com/show_bug.cgi?id=117
We will certainly try to have this fixed as soon as possible. Can you
please add a comment to the bug report with how urgently this is
affecting you?
Sasha Haghani <[email protected]> wrote:
Patrick,
I get a different problem with JDOConnectionFactory (in 2.2.3)...calling
getPersistenceManager() on it throws this exception:
Exception in thread "main" javax.jdo.JDODataStoreException: The JDBC driver
name "null" is not a valid class.
NestedThrowables:
java.lang.NullPointerException
at com.solarmetric.kodo.impl.jdbc.schema.DB.<init>(DB.java:62)
at com.solarmetric.kodo.impl.jdbc.schema.DB.getInstance(DB.java:37)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.initConfigurati
on(JDBCPersistenceManagerFactory.java:155)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDBCPersi
stenceManagerFactory.java:265)
at
com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.privateSetup(Pers
istenceManagerFactoryImpl.java:810)
at
com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.getPersistenceMan
ager(PersistenceManagerFactoryImpl.java:53)
"Patrick Linskey" <[email protected]> wrote:
Sasha,
This is a known problem with Kodo JDO 2.2.3 EE, caused by a bug in our
JCA implementation.
You should be able to work around this problem by binding a
JDOConnectionFactory instead of an EEPersistenceManagerFactory.
com.solarmetric.kodo.impl.jdbc.ee.JDOConnectionFactory extends
EEPersistenceManagerFactory.
Unfortunately, JDOConnectionFactory implements Serializable although it
is not actually serializable. However, as JDOConnectionFactory also
implements javax.resource.Referenceable, the JNDI bind should succeed.
Finally, one other alternative is to use Kodo's JCA support to locate
the PersistenceManagerFactory. Unfortunately, you are using WebLogic 6.1
SP1, which has a flaky JCA implementation. Weblogic 6.1 SP2 resolves
these problems. So, your best option is probably to upgrade your
Weblogic install to SP2 and use JCA (as outlined in our docs).
JDBCPrefsConfiguration will properly serialize in the next patch release
of Kodo JDO.
-Patrick
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Configuring BRM Adapter Help!!
Hi,
I am installed successfully soa 11g, aia 11g and aia prebuild integrations 11g PIP.
after installation of pip i am trying to configure the aia pip, in the process of configuration, i need to deploy the BRM JCA Adapter in weblogic
after deploying what are the configurations i need to do on it.
Any one please help on this.
Thanks ,
Ajay.Hi, After deploying the BRM adapter on WebLogic server, you basically need to create/configure connection pool/factory to connect to the BRM system. You can refer this link (if you haven't already!) - http://docs.oracle.com/cd/E16754_01/doc.75/e16708/jca_resource_adapter_config.htm#i467868
-
Class Cast Exception running Kodo JCA in Weblogic 8.1
Hi,
I have a stateless session EJB that accesses Kodo through the JCA adapter.
The database I'm connecting to is mysql.
The problem I'm having is that the persistence manager throws a class cast
exception when trying to commit the transaction. See below for the stack
trace. I suspect it has something to do with the mapping, but the error
doesn't give me enough information to tell.
Any idea where to start looking to solve this problem?
Merrill
<Sep 14, 2004 9:09:40 AM PDT> <Error> <EJB> <BEA-010026> <Exception
occurred during commit of transaction Name=[EJB ossj
inventory.bean.impl.JVTInventorySessionBean.createEntitySpecificationByValue(javax.oss.cbe.EntitySpecificationValue)],X
id=BEA1-0003E542E34E0D33F21F(21266875),Status=Rolled back.
[Reason=kodo.util.FatalException: java.lang.ClassCastExceptio
n
NestedThrowables:
java.lang.ClassCastException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
since begin=13,seconds left=30,SCInfo[os
sj+myserver]=(state=rolledback),properties=({weblogic.transaction.name=[EJB
ossj.inventory.bean.impl.JVTInventorySession
Bean.createEntitySpecificationByValue(javax.oss.cbe.EntitySpecificationValue)]}),OwnerTransactionManager=ServerTM[Server
CoordinatorDescriptor=(CoordinatorURL=myserver+10.4.110.92:7001+ossj+t3+,
XAResources={},NonXAResources={})],Coordinator
URL=myserver+10.4.110.92:7001+ossj+t3+): kodo.util.FatalException:
java.lang.ClassCastException
NestedThrowables:
java.lang.ClassCastException
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:825)
at
weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1010)
at
weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:115)
at
weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1184)
at
weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:1910)
at
weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
at
weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
at
weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
at
weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
at
ossj.inventory.bean.impl.JVTInventorySession_h5aqa8_EOImpl.createEntitySpecificationByValue(JVTInventorySessi
on_h5aqa8_EOImpl.java:4968)
at
ossj.inventory.bean.impl.JVTInventorySession_h5aqa8_EOImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ClassCastException
at kodo.jdbc.sql.AbstractRow.toSQL(AbstractRow.java:657)
at kodo.jdbc.runtime.RowImpl.flush(RowImpl.java:250)
at
kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:125)
at
kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:361)
at
kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:168)
at
kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
at
kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:590)
at
kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:152)
at
kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:964)
at
kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:813)Can you use 3.1.5. Can you also be sure that you don't have multiple
versions of Kodo around, i.e. in the system classpath, JCA kodo.rar
directory, etc?
Merrill Higginson wrote:
Abe White wrote:
What version of Kodo?I'm using Kodo V 3.1.2
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com -
Configuring kodo-jdo-2.5.3 with weblogic 8.1 using JCA
Hi there.
I am trying to configure kodo-jdo-2.5.3 in WebLogic 8.1 using JCA method.
The issue I got was that I got DB authentication failed. I have tested my
JDBC connect -- working fine, I have turned on JDBC log in WL, it looks
fine.
It looks like that KODO was still trying to create its own JDBC connection
even I have specified
<config-property>
<description>The JNDI name of the connection factory to use for
obtaining connections.</description>
<config-property-name>ConnectionFactoryName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>datasource.oracle9</config-property-value>
</config-property>
"datasource.oracle9" is the JNDI name of my data source.
The error message is the following. I will really appreciate your help.
Melvin
Oct 19, 2003 4:20:53 AM com.solarmetric.kodo.impl.jdbc.RegisterListener
registerClass
SEVERE: com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: User: melvin, f
ailed to be authenticated. [code=0;state=null]
NestedThrowables:
java.sql.SQLException: User: melvin, failed to be authenticated.
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: User: melvin, failed to
be authenticated. [code=0;state=null]
NestedThrowables:
java.sql.SQLException: User: melvin, failed to be authenticated.
at
com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
at
com.solarmetric.kodo.impl.jdbc.schema.DBDictionaryFactory.getDictionary(DBDictionaryFacto
ry.java:212)
at
com.solarmetric.kodo.impl.jdbc.JDBCSimpleConfiguration.getDictionary(JDBCSimpleConfigurat
ion.java:370)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.registerClassInternal(JDBCPe
rsistenceManagerFactory.java:455)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.registerClass(JDBCPersistenc
eManagerFactory.java:338)
at
com.solarmetric.kodo.impl.jdbc.RegisterListener.registerClass(RegisterListener.java:53)
at
javax.jdo.spi.JDOImplHelper.registerClass(JDOImplHelper.java:269)
at samples.j2ee.Car.<clinit>(Car.java)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at samples.j2ee.ejb.CarBean.class$(CarBean.java:11)
at samples.j2ee.ejb.CarBean.list(CarBean.java:136)
at
samples.j2ee.ejb.CarEJB_pgfrtx_EOImpl.list(CarEJB_pgfrtx_EOImpl.java:201)
at jsp_servlet.__index._jspService(__index.java:170)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav
a:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:36
22)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
NestedThrowablesStackTrace:
java.sql.SQLException: User: melvin, failed to be authenticated.
at
weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:257)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:188)
at
com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnec
tor.java:63)
at
com.solarmetric.kodo.impl.jdbc.schema.DBDictionaryFactory.getDictionary(DBDictionaryFacto
ry.java:179)
at
com.solarmetric.kodo.impl.jdbc.JDBCSimpleConfiguration.getDictionary(JDBCSimpleConfigurat
ion.java:370)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.registerClassInternal(JDBCPe
rsistenceManagerFactory.java:455)
at
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.registerClass(JDBCPersistenc
eManagerFactory.java:338)
at
com.solarmetric.kodo.impl.jdbc.RegisterListener.registerClass(RegisterListener.java:53)
at
javax.jdo.spi.JDOImplHelper.registerClass(JDOImplHelper.java:269)
at samples.j2ee.Car.<clinit>(Car.java)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at samples.j2ee.ejb.CarBean.class$(CarBean.java:11)
at samples.j2ee.ejb.CarBean.list(CarBean.java:136)
at
samples.j2ee.ejb.CarEJB_pgfrtx_EOImpl.list(CarEJB_pgfrtx_EOImpl.java:201)
at jsp_servlet.__index._jspService(__index.java:170)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav
a:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:36
22)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Oct 19, 2003 4:20:53 AM CDT> <Info> <EJB> <BEA-010051> <EJB Exception
occurred during invocation fr
om home: samples.j2ee.ejb.CarEJB_pgfrtx_HomeImpl@1c059f6 threw exception:
com.solarmetric.kodo.runti
me.FatalDataStoreException: java.sql.SQLException: User: melvin, failed to
be authenticated. [code=0
;state=null]
NestedThrowables:
java.sql.SQLException: User: melvin, failed to be authenticated.
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: User: melvin, failed to
be authenticated. [code=0;state=null]
NestedThrowables:
java.sql.SQLException: User: melvin, failed to be authenticated.
at
com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
at
com.solarmetric.kodo.impl.jdbc.schema.DBDictionaryFactory.getDictionary(DBDictionaryFacto
ry.java:212)
at
com.solarmetric.kodo.impl.jdbc.JDBCSimpleConfiguration.getDictionary(JDBCSimpleConfigurat
ion.java:370)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getDictionary(JDBCStoreManager.ja
va:753)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getClassMapping(JDBCStoreManager.
java:1023)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getClassMapping(JDBCStoreManager.
java:1037)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCExtent.getResultList(JDBCExtent.java:71)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCExtent.getIterator(JDBCExtent.java:47)
at
com.solarmetric.kodo.runtime.ExtentImpl$MultipleSubclassIterator.newIterator(ExtentImpl.j
ava:344)
at serp.util.MultiIterator.setIterator(MultiIterator.java:74)
at serp.util.MultiIterator.hasNext(MultiIterator.java:29)
at serp.util.LookaheadIterator.setNext(LookaheadIterator.java:133)
at
serp.util.LookaheadIterator.initialize(LookaheadIterator.java:118)
at serp.util.LookaheadIterator.hasNext(LookaheadIterator.java:48)
at serp.util.MultiIterator.setIterator(MultiIterator.java:73)
at serp.util.MultiIterator.hasNext(MultiIterator.java:29)
at
com.solarmetric.kodo.runtime.ExtentImpl$TransactionAwareIterator.hasNext(ExtentImpl.java:
403)
at samples.j2ee.ejb.CarBean.list(CarBean.java:138)
at
samples.j2ee.ejb.CarEJB_pgfrtx_EOImpl.list(CarEJB_pgfrtx_EOImpl.java:201)
at jsp_servlet.__index._jspService(__index.java:170)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav
a:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:36
22)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
NestedThrowablesStackTrace:
java.sql.SQLException: User: melvin, failed to be authenticated.
at
weblogic.jdbc.common.internal.RmiDataSource.getSubject(RmiDataSource.java:257)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:188)
at
com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnec
tor.java:63)
at
com.solarmetric.kodo.impl.jdbc.schema.DBDictionaryFactory.getDictionary(DBDictionaryFacto
ry.java:179)
at
com.solarmetric.kodo.impl.jdbc.JDBCSimpleConfiguration.getDictionary(JDBCSimpleConfigurat
ion.java:370)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getDictionary(JDBCStoreManager.ja
va:753)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getClassMapping(JDBCStoreManager.
java:1023)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getClassMapping(JDBCStoreManager.
java:1037)Alex Robbins wrote:
Try removing <authentication-mechanism> from the ra.xml file of the Kodo
JCA connector. Then it won't try to authenticate against the WL security
realm. (If you want connector-level authentication as well as DB-conn
authentication i think you'll have to configure WL security. I don't know
how). This worked for me.
Alex.Hi, The following is the ra.xml, please see any problem.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE connector PUBLIC '-//Sun Microsystems, Inc.//DTD Connector
1.0//EN' 'http://java.sun.com/dtd/connector_1_0.dtd'>
<connector>
<display-name>KodoJDO</display-name>
<description>Resource Adapter for integration of the Kodo Java Data
Objects (JDO) implementation with J2EE 1.3 compliant managed
environments</description>
<icon>
<small-icon>kodo16.gif</small-icon>
<large-icon>kodo32.gif</large-icon>
</icon>
<vendor-name>Solarmetric, Inc.</vendor-name>
<spec-version>1.0</spec-version>
<eis-type>jdo</eis-type>
<version>1.0</version>
<license>
<description>See http://www.solarmetric.com for terms and license
conditions.</description>
<license-required>true</license-required>
</license>
<resourceadapter>
<managedconnectionfactory-class>com.solarmetric.kodo.impl.jdbc.ee.ManagedConnectionFactoryImpl</managedconnectionfactory-class>
<connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
<connectionfactory-impl-class>com.solarmetric.kodo.impl.jdbc.ee.JDOConnectionFactory</connectionfactory-impl-class>
<connection-interface>javax.resource.cci.Connection</connection-interface>
<connection-impl-class>com.solarmetric.kodo.ee.EEPersistenceManager</connection-impl-class>
<transaction-support>XATransaction</transaction-support>
<config-property>
<description>The number of hard references to cached objects that the
PersistenceManager's cache will retain (in addition to the soft reference
cache that it maintains). Setting this to a higher value will result in
more objects being retained in the cache, at the cost of utilizing more
memory resources. Setting it to -1 will cause the PersistenceManager to
maintain hard references only. This will result in better performance, but
can have adverse effects on memory usage.</description>
<config-property-name>CacheReferenceSize</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>1000</config-property-value>
</config-property>
<config-property>
<description>The class name of ether the JDBC java.sql.Driver, or an
instance of a javax.sql.DataSource to use to connect to the data
source.</description>
<config-property-name>ConnectionDriverName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The JNDI name of the connection factory to use for
finding non-transactional connections. If specified, this is the
connection that will be used for access for obtaining sequence
numbers.</description>
<config-property-name>ConnectionFactory2Name</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>jdbc/petshop</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to be passed to
the JDBC Driver when obtaining a Connection for the ConnectionFactory2
(which will be used to obtain sequence numbers). Properties are of the
form "key=value". If a javax.sql.DataSource class is defined in the
javax.jdo.option.ConnectionDriverName property, then this property will be
used to set bean-like properties in the DataSource instance upon creation.
These properties vary depending on the DataSource in use: see the
documentation for your DataSource for details on the properties to
use.</description>
<config-property-name>ConnectionFactory2Properties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The JNDI name of the connection factory to use for
obtaining connections.</description>
<config-property-name>ConnectionFactoryName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>PetShopXADataSource</config-property-value>
</config-property>
<config-property>
<description>The password for the user specified in
ConnectionUserName</description>
<config-property-name>ConnectionPassword</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to be passed to
the JDBC Driver when obtaining a Connection. Properties are of the form
"key=value". If a javax.sql.DataSource class is defined in the
javax.jdo.option.ConnectionDriverName property, then this property will be
used to set bean-like properties in the DataSource instance upon creation.
These properties vary depending on the DataSource in use: see the
documentation for your DataSource for details on the properties to
use.</description>
<config-property-name>ConnectionProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The connection retain mode. Possible options are
"persistence-manager", "transaction", and "on-demand". Default value is
"on-demand".</description>
<config-property-name>ConnectionRetainMode</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>on-demand</config-property-value>
</config-property>
<config-property>
<description>The number of seconds to wait between testing
connections retrieved from the connection pool. Only valid when using the
built-in Kodo connection pooling.</description>
<config-property-name>ConnectionTestTimeout</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>10</config-property-value>
</config-property>
<config-property>
<description>The URL for the data source.</description>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The username for the connection listed in
ConnectionURL.</description>
<config-property-name>ConnectionUserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the class to use for caching of data loaded
from the data store. Must implement
com.solarmetric.kodo.runtime.datacache.DataCache.</description>
<config-property-name>DataCacheClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.DataCacheClass upon
initialization.</description>
<config-property-name>DataCacheProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the default class to use for mapping
persistent classes to the database. Must extend
com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.</description>
<config-property-name>DefaultClassMappingClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping</config-property-value>
</config-property>
<config-property>
<description>The number of seconds that data in the data cache is
valid for. A value of 0 or less means that by default, cached data does
not time out.</description>
<config-property-name>DefaultDataCacheTimeout</config-property-name>
<config-property-type>java.lang.Double</config-property-type>
<config-property-value>0.0</config-property-value>
</config-property>
<config-property>
<description>The number of rows that will be pre-fetched when an
element in a Query result is accessed.</description>
<config-property-name>DefaultFetchBatchSize</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>10</config-property-value>
</config-property>
<config-property>
<description>The threshold below which result lists will be
completely instantiated upon their creation. A value of -1 will always
force all results to be completely instantiated, thus disabling lazy
result loading.</description>
<config-property-name>DefaultFetchThreshold</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>30</config-property-value>
</config-property>
<config-property>
<description>The name of the default class to use for managing
subclass indicator columns. Must implement the
com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProvider interface. See
custom class indicator documentation for more information about subclass
providers.</description>
<config-property-name>DefaultSubclassProviderClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.impl.jdbc.ormapping.SubclassProviderImpl</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in
com.solarmetric.kodo.impl.jdbc.DefaultSubclassProviderClass upon
initialization.</description>
<config-property-name>DefaultSubclassProviderProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The DBDictionary to use for this configuration. This is
auto-detected based on the setting of javax.jdo.option.ConnectionURL, so
you need only set this to override the default with your own custom
DBDictionary or if you are using an unrecognized driver.</description>
<config-property-name>DictionaryClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A space-separated list of name-value properties
settings to pass to the dictionary defined by
com.solarmetric.kodo.impl.jdbc.DictionaryClass. Many of the DBDictionary
options are automatically configured by concrete subclasses of
GenericDictionary. The defaults can, however, be overridden by using this
property.</description>
<config-property-name>DictionaryProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>If true, then Kodo JDO will allow the use of query
filter extensions. See the query extensions documentation for more
information.</description>
<config-property-name>EnableQueryExtensions</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>A comma-separated list of fetch group names that
PersistenceManagers will load by default when loading data from the
database.</description>
<config-property-name>FetchGroups</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>If true, then all fields of all classes in a given
inheritance hierarchy will by default map into the least-derived type's
default primary table. If false then a new default primary table will be
created for each class in the inheritance hierarchy, and each type's
declared fields will map to that table by default.</description>
<config-property-name>FlatInheritanceMapping</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<description>A String value indicating whether or not Kodo should
automatically flush modifications to the data store before executing
queries.</description>
<config-property-name>FlushBeforeQueries</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>with-connection</config-property-value>
</config-property>
<config-property>
<description>If false, then the JDO implementation must consider
modifications, deletions, and additions in the PersistenceManager
transaction cache when executing a query inside a transaction. Else, the
implementation is free to ignore the cache and execute the query directly
against the data store.</description>
<config-property-name>IgnoreCache</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>The license key provided to you by SolarMetric. Keys
are available at www.solarmetric.com</description>
<config-property-name>LicenseKey</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>xxxx</config-property-value>
</config-property>
<config-property>
<description>The name of the class to use for obtaining a reference
to the transaction manager in an enterprise environment. Must implement
the com.solarmetric.kodo.ee.ManagedRuntime interface.</description>
<config-property-name>ManagedRuntimeClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.ee.AutomaticManagedRuntime</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.ManagedRuntimeClass upon
initialization.</description>
<config-property-name>ManagedRuntimeProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The maximum number of connections to pool. If all of
these are in use, then PersistenceManager instances must wait for a
connection to become available. This option has been removed from the
specification, but we still use the javax.jdo.option for backwards
compatibility.</description>
<config-property-name>MaxPool</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>200</config-property-value>
</config-property>
<config-property>
<description>The minimum number of connections to keep in the pool.
This option has been removed from the specification, but we still use the
javax.jdo.option for backwards compatibility.</description>
<config-property-name>MinPool</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>2</config-property-value>
</config-property>
<config-property>
<description>The number of milliseconds to wait for a pooled
connection before throwing an exception if the pool is empty. This option
has been removed from the specification, but we still use the
javax.jdo.option for backwards compatibility.</description>
<config-property-name>MsWait</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>30000</config-property-value>
</config-property>
<config-property>
<description>If true, then the application plans to have multiple
threads simultaneously accessing a single PersistenceManager, so measures
must be taken to ensure that the implementation is thread-safe. Otherwise,
the implementation need not address thread safety.</description>
<config-property-name>Multithreaded</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>If true, then it is possible to read persistent data
outside the context of a transaction. Otherwise, a transaction must be in
progress in order read data.</description>
<config-property-name>NontransactionalRead</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<description>If true, then it is possible to write to fields of a
persistent-nontransactional object when a transaction is not in progress.
If false, such a write will result in a JDOUserException.</description>
<config-property-name>NontransactionalWrite</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>Selects between optimistic and pessimistic (data store)
transactional modes.</description>
<config-property-name>Optimistic</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>The name of the class that the
PersistenceManagerFactory should create when creating a new
PersistenceManagerImpl. Must extend
com.solarmetric.kodo.runtime.PersistenceManagerImpl.</description>
<config-property-name>PersistenceManagerClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the concrete implementation of
javax.jdo.PersistenceManagerFactory that
javax.jdo.JDOHelper.getPersistenceManagerFactory () should create. For
Kodo JDO, this should be
com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory or
com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory, or a custom
extension of one of these types.</description>
<config-property-name>PersistenceManagerFactoryClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.PersistenceManagerClass upon
initialization.</description>
<config-property-name>PersistenceManagerProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A comma-separated list of classes that will be
initialized whenever a new PersistenceManager is instantiated. This can be
used to get around issues with application identity classes not being
associated with their respective persistent classes.</description>
<config-property-name>PersistentTypes</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the class to use to proxy second class
objects in managed instances. Must implement
com.solarmetric.kodo.util.ProxyManager.</description>
<config-property-name>ProxyManagerClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.util.SimpleProxyManager</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.ProxyManagerClass upon
initialization.</description>
<config-property-name>ProxyManagerProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the class to use for caching of queries
loaded from the data store. Must implement
com.solarmetric.kodo.runtime.datacache.QueryCache.</description>
<config-property-name>QueryCacheClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.QueryCacheClass upon
initialization.</description>
<config-property-name>QueryCacheProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A list of query filter listeners to add to the default
list of extensions. Ignored if com.solarmetric.kodo.EnableQueryExtensions
is false.</description>
<config-property-name>QueryFilterListeners</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of the class to use for communicating commit
information among JVMs. Must implement
com.solarmetric.kodo.runtime.event.RemoteCommitProvider.</description>
<config-property-name>RemoteCommitProviderClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.RemoteCommitProviderClass upon
initialization.</description>
<config-property-name>RemoteCommitProviderProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>If true, then fields in a persistence-capable object
that have been changed during a transaction will be rolled back to their
original values upon a rollback. Otherwise, the values will not be changed
upon rollback.</description>
<config-property-name>RestoreValues</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<description>The name of the class that will be used as the
Collection implementation for returning ResultList instances. It must be
an instance of
com.solarmetric.kodo.runtime.objectprovider.ResultList.</description>
<config-property-name>ResultListClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The property string used to configure the instance of
the ResultListClass.</description>
<config-property-name>ResultListProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>If true, then fields in a persistence-capable object
that have been read during a transaction must be preserved in memory after
the transaction commits. Otherwise, persistence-capable objects must
transition to the hollow state upon commit, meaning that subsequent reads
will result in a database round-trip.</description>
<config-property-name>RetainValues</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>The name of the class to use for generating sequence
numbers when using data store identity. Must implement the
com.solarmetric.kodo.impl.jdbc.SequenceFactory interface.</description>
<config-property-name>SequenceFactoryClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass upon
initialization.</description>
<config-property-name>SequenceFactoryProperties</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The class names of a SQLExecutionListener
implementation to install on the SQLExecutionManager.</description>
<config-property-name>SQLExecutionListenerClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<description>The name of a custom SQLExecutionManager to be used for
all issuance of SQL to the data store. Must implement
com.solarmetric.kodo.impl.jdbc.SQLExecutionManager.</description>
<config-property-name>SQLExecutionManagerClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl</config-property-value>
</config-property>
<config-property>
<description>The size of the PreparedStatement cache that is
maintained in the DataSource implementation.</description>
<config-property-name>StatementCacheMaxSize</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>70</config-property-value>
</config-property>
<config-property>
<description>The time, in seconds, after which a JDBC query will be
aborted if it has not yet returned any values. This value is simply passed
to the JDBC driver's Statement.setTimeout method; Kodo does not perform
any addition timeout actions. Note that many JDBC drivers either ignore
this request, or improperly handle it, which may result in application
deadlocks.</description>
<config-property-name>StatementExecutionTimeout</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>-1</config-property-value>
</config-property>
<config-property>
<description>If true, the Kodo runtime will automatically attempt to
refresh the database schema when persistent classes are referenced,
allowing the developer to bypass the schematool step. This property is
only intended to be used for development. As automatic schema migration
can result in data loss, this feature should never be enabled on a
production system. Furthermore, this feature has serious adverse affects
on Kodo's runtime performace. Ensure that it is disabled before doing any
performance analysis.</description>
<config-property-name>SynchronizeSchema</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<description>The name of the class to use to store
persistence-capable objects involved in a PM's transaction cache. Must
implement com.solarmetric.kodo.runtime.StateManagerSet.</description>
<config-property-name>TransactionCacheClass</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.solarmetric.kodo.runtime.FifoStateManagerSet</config-property-value>
</config-property>
<config-property>
<description>A space-separated list of properties to pass to the
class defined in com.solarmetric.kodo.TransactionCacheClass upon
initialization.</description>
<config-property-name>TransactionCacheProperties</config-property-name>
<config-property-type>java.lang.String</config-property
Maybe you are looking for
-
I am with a compny that will not upgrade to the new explorer and i cannot install firefox. I cannot access my icloud account. I also cannot access my account with my company supplied Android. I NEED ACCESS TO MY ICloud EMAIL ACCOUNT AT WORK. I think
-
Error messages while executing File - RFC - File.
Hi, I am doing a File - RFC - File scenario from Raj's blog. https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529& I am getting series of error messages. Someone please drive me in the right way. I am following eac
-
File Adapter only process first row.
Trying to read a csv file into a database table. I have successfully read the file but the BPEL process seems to only read the first row. I can't see any obvious errors. Any help would be appreciated. cheers James
-
Problem in starting Application Server control
Hi, I have installed Oracle BI. But when Iam trying to configure the discoverer catalog, I could not able to connect to the Application server control. Please advice with which login credentails I need to login to the Application server control. Than
-
In the past week or 2 whenever I use iPhoto it's really really slow when I zoom in and pan through the photo, also I just got a mini display port adapter to connect to my hdtv at 1080p and it's kind of slow when i move windows around, but one month a