[jboss-jira] [JBoss JIRA] Closed: (JBAS-3492) Test Failure with JRockit: org.jboss.test.exception.EntityExceptionUnitTestCase

Dimitris Andreadis (JIRA) jira-events at jboss.com
Mon Sep 11 06:05:31 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3492?page=all ]

Dimitris Andreadis closed JBAS-3492.
------------------------------------

    Fix Version/s: JBossAS-5.0.0.Beta
       Resolution: Done
         Assignee: Dimitris Andreadis  (was: Alexey Loubyansky)

Fixed

> Test Failure with JRockit: org.jboss.test.exception.EntityExceptionUnitTestCase
> -------------------------------------------------------------------------------
>
>                 Key: JBAS-3492
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3492
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite, CMP service
>         Environment: linux - dev03 in qa lab, JRockit - java version "1.4.2_11"
>            Reporter: Prabhat Jha
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta
>
>
> Six tests under org.jboss.test.exception.EntityExceptionUnitTestCase. All fail with the following error
> Error, bean instance was discarded!
> javax.ejb.FinderException: Error, bean instance was discarded!
> 	at org.jboss.test.exception.EntityExceptionTesterBean.ejbFindByPrimaryKey(EntityExceptionTesterBean.java:59)
> 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
> 	at org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:632)
> 	at org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager.java:316)
> 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:236)
> 	at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer
> On the server log, I see following for the first error in test suite.
> 2006-08-08 10:09:46,581 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/home/pjha/qa/405CR1/jboss405CR1/testsuite/output/lib/exception.jar
> 2006-08-08 10:09:47,003 DEBUG [org.jboss.ejb.StatelessSessionContainer] Useless invocation of remove() for stateless session bean
> 2006-08-08 10:09:47,150 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract void org.jboss.test.exception.EntityExcepti\
> onTesterLocal.runtimeExceptionNoTx():
> java.lang.RuntimeException: Runtime exception without a transaction
>         at org.jboss.test.exception.EntityExceptionTesterBean.runtimeExceptionNoTx(EntityExceptionTesterBean.java:168)
>         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.jboss.invocation.Invocation.performCall(Invocation.java:359)
>         at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1187)
>         at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:338)
>         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
>         at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:126)
>         at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:276)
>         at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:104)
>         at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:68)
>         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
>         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
>         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
>         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
>         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
>         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
>         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
>         at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:527)
>         at org.jboss.ejb.Container.invoke(Container.java:954)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list