Bugs item #530039, was opened at 2002-03-14 14:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=530039&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: bill (billprogra)
>Assigned to: Dain Sundstrom (dsundstrom)
Summary: Transaction exception when deploy EJBjar

Initial Comment:
I use Jboss beta at the monment. I use a session bean 
to call a entity bean "A" which is local entity bean. 
The entity bean has a relation with another local 
entity bean "B", one to many relationship. When I 
create the new entity bean B and add it into the 
collection of A using remote method in session bean, 
it generate the exception as below, but the data did 
insert into the table, is it a bug???? If it is not, 
just ignor the message. One more thing forget to 
mention is that the bean B's Primary key is Automatic 
generated by UIDDispensor class(ejbutils-1.2beta).

javax.resource.ResourceException: Unable to rollback 
DB connection: java.sql.SQL
Exception: General error: Warning:  Some non-
transactional changed tables couldn
't be rolled back
        at 
org.jboss.resource.adapter.jdbc.local.JDBCManagedConne
ction.cleanup(J
DBCManagedConnection.java:216)
        at 
org.jboss.resource.connectionmanager.ManagedConnection
PoolFactory.ret
urnObject(ManagedConnectionPoolFactory.java:145)
        at org.jboss.pool.ObjectPool.releaseObject
(ObjectPool.java:820)
        at 
org.jboss.resource.connectionmanager.BaseConnectionMan
ager$NoTransact
ionListener.closeConnection
(BaseConnectionManager.java:449)
        at 
org.jboss.resource.connectionmanager.BaseConnectionMan
ager$NoTransact
ionListener.connectionClosed
(BaseConnectionManager.java:409)
        at 
org.jboss.resource.adapter.jdbc.BaseManagedConnection.
fireConnectionE
vent(BaseManagedConnection.java:152)
        at 
org.jboss.resource.adapter.jdbc.local.JDBCManagedConne
ction.fireConne
ctionEvent(JDBCManagedConnection.java:227)
        at 
org.jboss.resource.adapter.jdbc.local.JDBCManagedConne
ction$1.objectC
losed(JDBCManagedConnection.java:80)
        at 
org.jboss.resource.adapter.jdbc.local.ConnectionInPool
.firePoolEvent(
ConnectionInPool.java:899)
        at 
org.jboss.resource.adapter.jdbc.local.ConnectionInPool
.close(Connecti
onInPool.java:788)
        at 
org.ejbutils.uid.UIDHighKeyGeneratorBean.getNextHighKe
y(UIDHighKeyGen
eratorBean.java)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.StatelessSessionContainer$ContainerInter
ceptor.invoke(S
tatelessSessionContainer.java:642)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInte
rceptor.java:96)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeN
ext(AbstractTxI
nterceptorBMT.java:144)
        at 
org.jboss.ejb.plugins.TxInterceptorBMT.invoke
(TxInterceptorBMT.java:6
2)
        at 
org.jboss.ejb.plugins.StatelessSessionInstanceIntercep
tor.invoke(Stat
elessSessionInstanceInterceptor.java:77)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.
java:127)
        at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:166)
        at 
org.jboss.ejb.StatelessSessionContainer.invoke
(StatelessSessionContai
ner.java:308)
        at org.jboss.ejb.Container.invoke
(Container.java:630)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:15
55)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:15
23)
        at 
org.jboss.invocation.local.LocalInvoker.invoke
(LocalInvoker.java:92)
        at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.
invoke(JRMPInvo
kerProxy.java:150)
        at org.jboss.proxy.ejb.GenericProxy.invoke
(GenericProxy.java:182)
        at 
org.jboss.proxy.ejb.StatelessSessionProxy.invoke
(StatelessSessionProx
y.java:111)
        at $Proxy75.getNextHighKey(Unknown Source)
        at 
org.ejbutils.uid.UIDDispenser.findNewHighKey
(UIDDispenser.java:141)
        at org.ejbutils.uid.UIDDispenser.getNextId
(UIDDispenser.java:87)
        at syit.TelephoneBean.ejbCreate
(TelephoneBean.java:14)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.plugins.CMPPersistenceManager.createEnti
ty(CMPPersisten
ceManager.java:201)
        at 
org.jboss.ejb.EntityContainer.createLocalHome
(EntityContainer.java:56
1)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.inv
okeHome(EntityC
ontainer.java:1051)
        at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome
(AbstractIntercep
tor.java:73)
        at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor
.invokeHome(Ent
itySynchronizationInterceptor.java:222)
        at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke
Home(EntityInst
anceInterceptor.java:136)
        at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome
(EntityLockInte
rceptor.java:80)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInte
rceptor.java:98)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransact
ions(TxIntercep
torCMT.java:167)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome
(TxInterceptorCMT.ja
va:52)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome
(SecurityIntercep
tor.java:102)
        at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome
(LogInterceptor.java:1
09)
        at org.jboss.ejb.EntityContainer.invokeHome
(EntityContainer.java:469)
        at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.
invokeHome(Base
LocalContainerInvoker.java:244)
        at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$
HomeProxy.invok
e(BaseLocalContainerInvoker.java:369)
        at $Proxy60.create(Unknown Source)
        at syit.UserBean.addTelephone
(UserBean.java:111)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.inv
oke(EntityConta
iner.java:1127)
        at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
.invoke(JDBCRel
ationInterceptor.java:184)
        at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor
.invoke(EntityS
ynchronizationInterceptor.java:296)
        at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke
(EntityInstance
Interceptor.java:189)
        at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke
(EntityLockIntercep
tor.java:108)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInte
rceptor.java:96)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransact
ions(TxIntercep
torCMT.java:167)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:6
1)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.
java:127)
        at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:166)
        at org.jboss.ejb.EntityContainer.invoke
(EntityContainer.java:475)
        at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.
invoke(BaseLoca
lContainerInvoker.java:308)
        at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$
EntityProxy.inv
oke(BaseLocalContainerInvoker.java:412)
        at $Proxy71.addTelephone(Unknown Source)
        at syit.UserProxyBean.addPhoneNumber
(UserProxyBean.java:130)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterc
eptor.invoke(St
atefulSessionContainer.java:797)
        at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.
java:127)
        at 
org.jboss.ejb.plugins.StatefulSessionInstanceIntercept
or.invoke(State
fulSessionInstanceInterceptor.java:266)
        at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInte
rceptor.java:96)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransact
ions(TxIntercep
torCMT.java:167)
        at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:6
1)
        at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:166)
        at 
org.jboss.ejb.StatefulSessionContainer.invoke
(StatefulSessionContaine
r.java:373)
        at org.jboss.ejb.Container.invoke
(Container.java:630)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:15
55)
        at 
com.sun.management.jmx.MBeanServerImpl.invoke
(MBeanServerImpl.java:15
23)
        at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke
(JRMPInvoker.java:
364)
        at java.lang.reflect.Method.invoke(Native 
Method)
        at sun.rmi.server.UnicastServerRef.dispatch
(UnicastServerRef.java:241)
        at sun.rmi.transport.Transport$1.run
(Transport.java:152)
        at java.security.AccessController.doPrivileged
(Native Method)
        at sun.rmi.transport.Transport.serviceCall
(Transport.java:148)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages
(TCPTransport.java:4
65)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.r
un(TCPTransport
.java:706)
        at java.lang.Thread.run(Thread.java:484)


----------------------------------------------------------------------

>Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-09-12 13:03

Message:
Logged In: YES 
user_id=251431

I think this has been fixed.  If not reopen the bug.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=530039&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to