[JBoss-dev] [ jboss-Bugs-663228 ] IllegalState on CMP load

2003-11-07 Thread SourceForge.net
Bugs item #663228, was opened at 2003-01-06 18:39
Message generated for change (Comment added) made by slaboure
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=663228group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Pending
Resolution: None
Priority: 5
Submitted By: Peter Luttrell (objec)
Assigned to: Nobody/Anonymous (nobody)
Summary: IllegalState on CMP load

Initial Comment:
JBoss3.0.4

I have a cmp entity bean that has 5 fields tied to blobs 
and each contains 100-200k.
There are 5 rows in my table.

I have a jsp page that lists all 5 and 2 field about each. 
Before i put the data in the fields my jsp page worked 
fine. Then in put the data in and the first time (after a 
deployement) the page is displayed perfectly, albeight a 
tad slow (probably due to the db data transfer), but the 
2nd and all subsequent times when i attempt to view 
this page i get the following error. It appears that i am 
trying to get the primaryKey method on the bean.

11:30:22,833 ERROR [LogInterceptor] 
RuntimeException:
java.lang.IllegalStateException: removing bean lock and 
it has tx set!Funds myPrimaryKey
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.r
emoveRef(QueuedPessimisticEJBLock.java:427)
at org.jboss.ejb.BeanLockManager.removeLockRef
(BeanLockManager.java:107)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke
(EntityLockInterceptor.java:124)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke
(EntityCreationInterceptor.java:69)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInterceptor.java:107)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransacti
ons(TxInterceptorCMT.java:178)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:60)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.java:130)
at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:204)
at org.jboss.ejb.EntityContainer.invoke
(EntityContainer.java:493)
at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.inv
oke(BaseLocalContainerInvoker.java:301)
at org.jboss.ejb.plugins.local.EntityProxy.invoke
(EntityProxy.java:38)
at $Proxy92.getFundKey(Unknown Source)
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.apache.commons.beanutils.PropertyUtils.getSimple
Property(PropertyUtils.java:1095)
at 
org.apache.commons.beanutils.PropertyUtils.getNested
Property(PropertyUtils.java:694)
at 
org.apache.commons.beanutils.PropertyUtils.getPropert
y(PropertyUtils.java:724)
at org.apache.struts.util.RequestUtils.lookup
(RequestUtils.java:702)
at 
org.apache.struts.taglib.html.BaseFieldTag.doStartTag
(BaseFieldTag.java:192)
at 
org.apache.struts.taglib.html.HiddenTag.doStartTag
(HiddenTag.java:123)
at org.apache.jsp.availablefunds$jsp._jspService
(availablefunds$jsp.java:352)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.
service(JspServlet.java:201)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:366)
at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatc
h(WebApplicationHandler.java:293)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:581)
at org.mortbay.http.HttpContext.handle
(HttpContext.java:1687)
at 
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
at org.mortbay.http.HttpContext.handle
(HttpContext.java:1637)
at org.mortbay.http.HttpServer.service
(HttpServer.java:875)
at org.jboss.jetty.Jetty.service(Jetty.java:543)
at org.mortbay.http.HttpConnection.service
(HttpConnection.java:806)
at org.mortbay.http.HttpConnection.handleNext
(HttpConnection.java:956)
at org.mortbay.http.HttpConnection.handle
(HttpConnection.java:823)
at 
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
at org.mortbay.util.ThreadedServer.handle
(ThreadedServer.java:290)
at org.mortbay.util.ThreadPool$JobRunner.run
(ThreadPool.java:743)
at java.lang.Thread.run(Thread.java:536)
11:30:22,849 WARN  [jbossweb] WARNING: Exception 
for 

[JBoss-dev] [ jboss-Bugs-663228 ] IllegalState on CMP load

2003-01-08 Thread SourceForge.net
Bugs item #663228, was opened at 2003-01-06 19:39
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=663228group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Luttrell (objec)
Assigned to: Nobody/Anonymous (nobody)
Summary: IllegalState on CMP load

Initial Comment:
JBoss3.0.4

I have a cmp entity bean that has 5 fields tied to blobs 
and each contains 100-200k.
There are 5 rows in my table.

I have a jsp page that lists all 5 and 2 field about each. 
Before i put the data in the fields my jsp page worked 
fine. Then in put the data in and the first time (after a 
deployement) the page is displayed perfectly, albeight a 
tad slow (probably due to the db data transfer), but the 
2nd and all subsequent times when i attempt to view 
this page i get the following error. It appears that i am 
trying to get the primaryKey method on the bean.

11:30:22,833 ERROR [LogInterceptor] 
RuntimeException:
java.lang.IllegalStateException: removing bean lock and 
it has tx set!Funds myPrimaryKey
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.r
emoveRef(QueuedPessimisticEJBLock.java:427)
at org.jboss.ejb.BeanLockManager.removeLockRef
(BeanLockManager.java:107)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke
(EntityLockInterceptor.java:124)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke
(EntityCreationInterceptor.java:69)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext
(AbstractTxInterceptor.java:107)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransacti
ons(TxInterceptorCMT.java:178)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:60)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke
(SecurityInterceptor.java:130)
at org.jboss.ejb.plugins.LogInterceptor.invoke
(LogInterceptor.java:204)
at org.jboss.ejb.EntityContainer.invoke
(EntityContainer.java:493)
at 
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.inv
oke(BaseLocalContainerInvoker.java:301)
at org.jboss.ejb.plugins.local.EntityProxy.invoke
(EntityProxy.java:38)
at $Proxy92.getFundKey(Unknown Source)
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.apache.commons.beanutils.PropertyUtils.getSimple
Property(PropertyUtils.java:1095)
at 
org.apache.commons.beanutils.PropertyUtils.getNested
Property(PropertyUtils.java:694)
at 
org.apache.commons.beanutils.PropertyUtils.getPropert
y(PropertyUtils.java:724)
at org.apache.struts.util.RequestUtils.lookup
(RequestUtils.java:702)
at 
org.apache.struts.taglib.html.BaseFieldTag.doStartTag
(BaseFieldTag.java:192)
at 
org.apache.struts.taglib.html.HiddenTag.doStartTag
(HiddenTag.java:123)
at org.apache.jsp.availablefunds$jsp._jspService
(availablefunds$jsp.java:352)
at org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.
service(JspServlet.java:201)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:366)
at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatc
h(WebApplicationHandler.java:293)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:581)
at org.mortbay.http.HttpContext.handle
(HttpContext.java:1687)
at 
org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:544)
at org.mortbay.http.HttpContext.handle
(HttpContext.java:1637)
at org.mortbay.http.HttpServer.service
(HttpServer.java:875)
at org.jboss.jetty.Jetty.service(Jetty.java:543)
at org.mortbay.http.HttpConnection.service
(HttpConnection.java:806)
at org.mortbay.http.HttpConnection.handleNext
(HttpConnection.java:956)
at org.mortbay.http.HttpConnection.handle
(HttpConnection.java:823)
at 
org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:203)
at org.mortbay.util.ThreadedServer.handle
(ThreadedServer.java:290)
at org.mortbay.util.ThreadPool$JobRunner.run
(ThreadPool.java:743)
at java.lang.Thread.run(Thread.java:536)
11:30:22,849 WARN  [jbossweb] WARNING: Exception 
for /admin/funds/availablefunds.jsp
javax.servlet.jsp.JspException: Exception thrown by 
getter