[JBoss-dev] [ jboss-Bugs-594596 ] [3.0.1]ejbPostCreate CMR field failure

2002-08-14 Thread noreply

Bugs item #594596, was opened at 2002-08-13 15:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=594596group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Deleted
Resolution: Rejected
Priority: 1
Submitted By: Nir Oren (jhudsy)
Assigned to: Nobody/Anonymous (nobody)
Summary: [3.0.1]ejbPostCreate CMR field failure

Initial Comment:
Attempted to update a CMR field in ejbPostCreate(...).
The database field remains null.

OS: Linux  2.4.18 on a Pentium IV
JDK: 1.4
Backend DB: postgres 7.2.1
Jboss version: 3.0.1

To reproduce the bug, run the attached jar file (RunTest).
The server trace (from deployment of the app) follows:

---CUT HERE--
2002-08-13 17:27:07,166 DEBUG
[org.jboss.ejb.EJBDeployer] start application,
deploymentInfo:
org.jboss.deployment.DeploymentInfo@708a0100 {
url=file:/opt/jboss-3.0.1/server/default/deploy/test.jar }
  deployer: org.jboss.ejb.EJBDeployer@54864a
  status: Starting
  state: START_DEPLOYER
  watch:
file:/opt/jboss-3.0.1/server/default/deploy/test.jar
  lastDeployed: 1029252426450
  lastModified: 1029252426000
  mbeans:
jboss.j2ee:service=EJB,jndiName=ejb/test/Test1
state: null
jboss.j2ee:service=EJB,jndiName=ejb/test/Test2
state: null
, short name: test.jar, parent short name: null
2002-08-13 17:27:07,166 INFO  [org.jboss.ejb.EjbModule]
Starting
2002-08-13 17:27:07,167 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@4b081b
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test1
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@c9b196
2002-08-13 17:27:07,170 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test1
2002-08-13 17:27:07,177 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test1 to Test1Local
2002-08-13 17:27:07,243 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test1 to
ejb/test/Test1
2002-08-13 17:27:07,243 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Initializing CMP plugin for Test1
2002-08-13 17:27:07,254 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Loading standardjbosscmp-jdbc.xml :
file:/opt/jboss-3.0.1/server/default/conf/standardjbosscmp-jdbc.xml
2002-08-13 17:27:07,637 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
jar:file:/opt/jboss-3.0.1/server/default/tmp/deploy/server/default/deploy/test.jar/62.test.jar!/META-INF/jbosscmp-j
dbc.xml found. Overriding defaults
2002-08-13 17:27:07,703 DEBUG
[org.jboss.resource.connectionmanager.CachedConnectionInterceptor]
start called in CachedConnectionInterceptor
2002-08-13 17:27:07,703 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@7748d3
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test2
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@98bbf6
2002-08-13 17:27:07,705 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test2
2002-08-13 17:27:07,711 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test2 to Test2Local
2002-08-13 17:27:07,756 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test2 to
ejb/test/Test2
2002-08-13 17:27:07,756 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test2]
Initializing CMP plugin for Test2
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Entity Exists SQL: SELECT COUNT(*) FROM test1 WHERE iD=?
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Insert Entity SQL: INSERT INTO test1 (iD, test2key)
VALUES (?, ?)
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.Test1]
Remove SQL: DELETE FROM test1 WHERE iD=?
2002-08-13 17:27:07,839 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Executing SQL: CREATE TABLE test1 (iD INT4 NOT NULL,
test2key INT4, CONSTRAINT pk_test1 PRIMARY KEY (iD))
2002-08-13 17:27:07,846 INFO 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Created table 'test1' successfully.
2002-08-13 17:27:07,857 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for home interface
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for local home
interface
2002-08-13 17:27:07,866 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test2]
Entity Exists SQL: SELECT COUNT(*) FROM test2 WHERE id=?
2002-08-13 

[JBoss-dev] [ jboss-Bugs-594596 ] [3.0.1]ejbPostCreate CMR field failure

2002-08-13 Thread noreply

Bugs item #594596, was opened at 2002-08-13 15:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=594596group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Nir Oren (jhudsy)
Assigned to: Nobody/Anonymous (nobody)
Summary: [3.0.1]ejbPostCreate CMR field failure

Initial Comment:
Attempted to update a CMR field in ejbPostCreate(...).
The database field remains null.

OS: Linux  2.4.18 on a Pentium IV
JDK: 1.4
Backend DB: postgres 7.2.1
Jboss version: 3.0.1

To reproduce the bug, run the attached jar file (RunTest).
The server trace (from deployment of the app) follows:

---CUT HERE--
2002-08-13 17:27:07,166 DEBUG
[org.jboss.ejb.EJBDeployer] start application,
deploymentInfo:
org.jboss.deployment.DeploymentInfo@708a0100 {
url=file:/opt/jboss-3.0.1/server/default/deploy/test.jar }
  deployer: org.jboss.ejb.EJBDeployer@54864a
  status: Starting
  state: START_DEPLOYER
  watch:
file:/opt/jboss-3.0.1/server/default/deploy/test.jar
  lastDeployed: 1029252426450
  lastModified: 1029252426000
  mbeans:
jboss.j2ee:service=EJB,jndiName=ejb/test/Test1
state: null
jboss.j2ee:service=EJB,jndiName=ejb/test/Test2
state: null
, short name: test.jar, parent short name: null
2002-08-13 17:27:07,166 INFO  [org.jboss.ejb.EjbModule]
Starting
2002-08-13 17:27:07,167 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@4b081b
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test1
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@c9b196
2002-08-13 17:27:07,170 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test1
2002-08-13 17:27:07,177 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test1 to Test1Local
2002-08-13 17:27:07,243 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test1 to
ejb/test/Test1
2002-08-13 17:27:07,243 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Initializing CMP plugin for Test1
2002-08-13 17:27:07,254 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Loading standardjbosscmp-jdbc.xml :
file:/opt/jboss-3.0.1/server/default/conf/standardjbosscmp-jdbc.xml
2002-08-13 17:27:07,637 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
jar:file:/opt/jboss-3.0.1/server/default/tmp/deploy/server/default/deploy/test.jar/62.test.jar!/META-INF/jbosscmp-j
dbc.xml found. Overriding defaults
2002-08-13 17:27:07,703 DEBUG
[org.jboss.resource.connectionmanager.CachedConnectionInterceptor]
start called in CachedConnectionInterceptor
2002-08-13 17:27:07,703 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@7748d3
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test2
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@98bbf6
2002-08-13 17:27:07,705 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test2
2002-08-13 17:27:07,711 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test2 to Test2Local
2002-08-13 17:27:07,756 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test2 to
ejb/test/Test2
2002-08-13 17:27:07,756 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test2]
Initializing CMP plugin for Test2
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Entity Exists SQL: SELECT COUNT(*) FROM test1 WHERE iD=?
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Insert Entity SQL: INSERT INTO test1 (iD, test2key)
VALUES (?, ?)
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.Test1]
Remove SQL: DELETE FROM test1 WHERE iD=?
2002-08-13 17:27:07,839 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Executing SQL: CREATE TABLE test1 (iD INT4 NOT NULL,
test2key INT4, CONSTRAINT pk_test1 PRIMARY KEY (iD))
2002-08-13 17:27:07,846 INFO 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Created table 'test1' successfully.
2002-08-13 17:27:07,857 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for home interface
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for local home
interface
2002-08-13 17:27:07,866 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test2]
Entity Exists SQL: SELECT COUNT(*) FROM test2 WHERE id=?
2002-08-13 17:27:07,866 

[JBoss-dev] [ jboss-Bugs-594596 ] [3.0.1]ejbPostCreate CMR field failure

2002-08-13 Thread noreply

Bugs item #594596, was opened at 2002-08-13 16:44
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=594596group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Nir Oren (jhudsy)
Assigned to: Nobody/Anonymous (nobody)
Summary: [3.0.1]ejbPostCreate CMR field failure

Initial Comment:
Attempted to update a CMR field in ejbPostCreate(...).
The database field remains null.

OS: Linux  2.4.18 on a Pentium IV
JDK: 1.4
Backend DB: postgres 7.2.1
Jboss version: 3.0.1

To reproduce the bug, run the attached jar file (RunTest).
The server trace (from deployment of the app) follows:

---CUT HERE--
2002-08-13 17:27:07,166 DEBUG
[org.jboss.ejb.EJBDeployer] start application,
deploymentInfo:
org.jboss.deployment.DeploymentInfo@708a0100 {
url=file:/opt/jboss-3.0.1/server/default/deploy/test.jar }
  deployer: org.jboss.ejb.EJBDeployer@54864a
  status: Starting
  state: START_DEPLOYER
  watch:
file:/opt/jboss-3.0.1/server/default/deploy/test.jar
  lastDeployed: 1029252426450
  lastModified: 1029252426000
  mbeans:
jboss.j2ee:service=EJB,jndiName=ejb/test/Test1
state: null
jboss.j2ee:service=EJB,jndiName=ejb/test/Test2
state: null
, short name: test.jar, parent short name: null
2002-08-13 17:27:07,166 INFO  [org.jboss.ejb.EjbModule]
Starting
2002-08-13 17:27:07,167 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@4b081b
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test1
2002-08-13 17:27:07,167 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@c9b196
2002-08-13 17:27:07,170 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test1
2002-08-13 17:27:07,177 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test1 to Test1Local
2002-08-13 17:27:07,243 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test1 to
ejb/test/Test1
2002-08-13 17:27:07,243 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Initializing CMP plugin for Test1
2002-08-13 17:27:07,254 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
Loading standardjbosscmp-jdbc.xml :
file:/opt/jboss-3.0.1/server/default/conf/standardjbosscmp-jdbc.xml
2002-08-13 17:27:07,637 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test1]
jar:file:/opt/jboss-3.0.1/server/default/tmp/deploy/server/default/deploy/test.jar/62.test.jar!/META-INF/jbosscmp-j
dbc.xml found. Overriding defaults
2002-08-13 17:27:07,703 DEBUG
[org.jboss.resource.connectionmanager.CachedConnectionInterceptor]
start called in CachedConnectionInterceptor
2002-08-13 17:27:07,703 DEBUG [org.jboss.ejb.EjbModule]
Application.start(), start container:
org.jboss.ejb.EntityContainer@7748d3
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] Begin java:comp/env for
EJB: Test2
2002-08-13 17:27:07,703 DEBUG
[org.jboss.ejb.EntityContainer] TCL:
java.net.URLClassLoader@98bbf6
2002-08-13 17:27:07,705 DEBUG
[org.jboss.ejb.EntityContainer] End java:comp/env for
EJB: Test2
2002-08-13 17:27:07,711 DEBUG
[org.jboss.ejb.plugins.local.BaseLocalContainerInvoker]
Bound EJBLocalHome of Test2 to Test2Local
2002-08-13 17:27:07,756 DEBUG
[org.jboss.proxy.ejb.ProxyFactory] Bound Test2 to
ejb/test/Test2
2002-08-13 17:27:07,756 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.Test2]
Initializing CMP plugin for Test2
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Entity Exists SQL: SELECT COUNT(*) FROM test1 WHERE iD=?
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test1]
Insert Entity SQL: INSERT INTO test1 (iD, test2key)
VALUES (?, ?)
2002-08-13 17:27:07,806 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.Test1]
Remove SQL: DELETE FROM test1 WHERE iD=?
2002-08-13 17:27:07,839 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Executing SQL: CREATE TABLE test1 (iD INT4 NOT NULL,
test2key INT4, CONSTRAINT pk_test1 PRIMARY KEY (iD))
2002-08-13 17:27:07,846 INFO 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Test1]
Created table 'test1' successfully.
2002-08-13 17:27:07,857 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for home interface
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Test1.findByPrimaryKey]
SQL: SELECT iD FROM test1 WHERE iD=?
2002-08-13 17:27:07,858 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.Test1]
Added findByPrimaryKey query command for local home
interface
2002-08-13 17:27:07,866 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Test2]
Entity Exists SQL: SELECT COUNT(*) FROM test2 WHERE id=?
2002-08-13 17:27:07,866