Hi Sacha,
hi folks!
"Sacha Labourey" <[EMAIL PROTECTED]> schrieb am 20.08.02 17:00:43:
> Hello,
>
> Can you please show us a stack trace of this remoteexception please (client
> side *and* server side exception if any)
>
> Thank you. Cheers,
>
>
> Sacha
Here they are. With commit option "A" we became the stacktrace quoted below. The logs
marked STDOUT are from our application. As you can see, a
TransactionRolledbackException was caught by our app in a } catch (RemoteException
...) {} statement. We have a block which catches a CreateException which is now
useless :-( Now we will test everytime if there is a specific PK allready but this
will cost many performance, because duplicate PK's happen seldom.
OK, now the stacktrace:
[17:20:27,210,STDOUT] INFO 2002.08.20 17:20:27 ImportScheduler::perform - Import
started at Tue Aug 20 17:20:27 MEST 2002, remaining repititions: -1
[17:20:27,352,StatusBean] TRANSACTION ROLLBACK EXCEPTION:
javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY EXISTING BEAN,
ID = code=LH, flag=1, fligh
tNumber3329, line1, imported 2002-08-20 17:20:27.273; nested exception is:
java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID =
code=LH, flag=1, fnum33
29, line1, imported 2002-08-20 17:20:27.273
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:166)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:478)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:102)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:103)
at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:429)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:458)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
at $Proxy58.create(Unknown Source)
at
com.customer.pak.fpl.imp.ImportStatusBean.loadData(ImportStatusBean.java:186)
at
com.customer.pak.fpl.imp.ImportStatusBean.importStatus(ImportStatusBean.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:299)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:506)
at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
at $Proxy20.importStatus(Unknown Source)
at
com.customer.pak.controller.fpl.ImportScheduler.perform(ImportScheduler.java:56)
at
com.customer.pak.utils.Scheduler6$Listener.handleNotification(Scheduler6.java:725)
at
com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MBeanServerNotificationListener.jav
a:48)
at
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:142)
at javax.management.timer.Timer.sendNotification(Timer.java:1119)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1165)
Caused by: java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID =
code=LH, flag=1, flightNumbe
r3329, line1, imported 2002-08-20 17:20:27.273
at
org.jboss.ejb.plugins.AbstractInstanceCache.insert(AbstractInstanceCache.java:218)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:161)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:97)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:142)
... 32 more
[17:20:27,367,STDOUT] FAIL 2002.08.20 17:20:27 ImportStatusBean.loadData: Error in
creating status bean
[17:20:27,368,STDOUT] FAIL 2002.08.20 17:20:27 Stacktrace:
[17:20:27,370,STDOUT] javax.transaction.TransactionRolledbackException: INSERTING AN
ALREADY EXISTING BEAN, ID = airline
Code=LH, flag=1, fnum3329, line1, imported 2002-08-20 17:20:27.273; nested exception
is:
java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID =
code=LH, flag=1, fnum33
29, line1, imported 2002-08-20 17:20:27.273
[17:20:27,371,STDOUT] at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:166)
[17:20:27,372,STDOUT] at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:478)
[17:20:27,373,STDOUT] at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
[17:20:27,374,STDOUT] at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:102)
[17:20:27,382,STDOUT] at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:103)
[17:20:27,383,STDOUT] at
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:429)
[17:20:27,384,STDOUT] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:4
58)
[17:20:27,385,STDOUT] at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
[17:20:27,386,STDOUT] at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
[17:20:27,418,STDOUT] at $Proxy58.create(Unknown Source)
[17:20:27,419,STDOUT] at
com.customer.pak.fpl.imp.ImportStatusBean.loadData(ImportStatusBean.java:186)
[17:20:27,420,STDOUT] at
com.customer.pak.fpl.imp.ImportStatusBean.importStatus(ImportStatusBean.java:371)
[17:20:27,421,STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[17:20:27,422,STDOUT] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[17:20:27,423,STDOUT] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[17:20:27,424,STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
[17:20:27,424,STDOUT] at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer
.java:542)
[17:20:27,425,STDOUT] at
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:299)
[17:20:27,426,STDOUT] at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInte
rceptor.java:82)
[17:20:27,427,STDOUT] at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
[17:20:27,469,STDOUT] at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
[17:20:27,470,STDOUT] at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)
[17:20:27,470,STDOUT] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:506)
[17:20:27,471,STDOUT] at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
[17:20:27,472,STDOUT] at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java
:123)
[17:20:27,473,STDOUT] at $Proxy20.importStatus(Unknown Source)
[17:20:27,474,STDOUT] at
com.customer.pak.controller.fpl.ImportScheduler.perform(ImportScheduler.java:56)
[17:20:27,475,STDOUT] at
com.customer.pak.utils.Scheduler6$Listener.handleNotification(Scheduler6.java:725)
[17:20:27,476,STDOUT] at
com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MBeanServerNotifica
tionListener.java:48)
[17:20:27,476,STDOUT] at
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSuppo
rt.java:142)
[17:20:27,478,STDOUT] at
javax.management.timer.Timer.sendNotification(Timer.java:1119)
[17:20:27,479,STDOUT] at
javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089)
[17:20:27,479,STDOUT] at javax.management.timer.TimerAlarmClock.run(Timer.java:1165)
[17:20:27,481,STDOUT] Caused by: java.lang.IllegalStateException: INSERTING AN ALREADY
EXISTING BEAN, ID = code=L
H, flag=1, fnum3329, line1, imported 2002-08-20 17:20:27.273
[17:20:27,482,STDOUT] at
org.jboss.ejb.plugins.AbstractInstanceCache.insert(AbstractInstanceCache.java:218)
[17:20:27,483,STDOUT] at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:161
)
[17:20:27,483,STDOUT] at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:97)
[17:20:27,484,STDOUT] at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:142)
[17:20:27,485,STDOUT] ... 32 more
______________________________________________________________________________
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo,
ist aber viel g�nstiger! Alle Infos: http://diba.web.de/?mc=021104
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user