Re: [JBoss-dev] RC1 release branch occuring at 00:00

2002-04-18 Thread Dain Sundstrom
David Jencks wrote: cvs update -j HEAD myfile If you do this: cvs update -kk -j HEAD myfile The merge will work better, because it kills keyword expansion. Note, don't do this on a binary file, as binary files need -kb and -kk turns -kb off. -dain

[JBoss-dev] CVS update: jboss/src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:51:53 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added missing other element to declared-sql. Revision ChangesPath 1.16 +8 -1 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index:

[JBoss-dev] CVS update: jboss/src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:55:52 Modified:src/resources/org/jboss/metadata Tag: Branch_3_0 jbosscmp-jdbc_3_0.dtd Log: Added missing other element to declared-sql. Revision ChangesPath No revision No

Re: [JBoss-dev] Reason for castor?

2002-04-17 Thread Dain Sundstrom
We should create an optional services directory in the download that could contain Castor, Tyrex, maybe Tomcat (then we get rid of the multiple download packages). -dain David Jencks wrote: On 2002.04.17 12:11:35 -0400 Dain Sundstrom wrote: Is there a reason why we ship with the castor

[JBoss-dev] JBoss on Zaurus

2002-04-17 Thread Dain Sundstrom
Over the last couple of weeks I have looked at getting JBoss running on the Zaurus. The problem with the Zaurus is it ships with Personal Java, which is basically JDK 1.2 minus a whole bunch of stuff, and JBoss no longer builds with JDK 1.2. Anyway, we run on Blackdown, and Blackdown should

Re: [JBoss-dev] Are we logging the exception enough!!!

2002-04-16 Thread Dain Sundstrom
Here is the strategy I follow in JBossCMP: Low-level non recoverable exceptions (SQLException, IOException...) are wrapped in an EJBException. (Not RemoteException or ServerException as is required by the spec). When catching an Exception, first check for EJBException, and just rethrow.

Re: [JBoss-dev] Compile problem with iiop

2002-04-16 Thread Dain Sundstrom
I just fixed this on my windows box by installing the latest version of the JDK 1.3.1_03. -dain Vesco Claudio wrote: Hi! If I remember well, this is a problem with rmic but I have encontered this problem in WindowsNT sun jdk 1.3. You have said that you are in linux and linux are the

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
JL@esial wrote: Hello, I am using JBoss 3.0.0beta2(200204150942) on Win2k SP2. The function tableExists in this class makes the following jdbc call: rs = dmd.getTables(con.getCatalog(), null, tableName, null); I am using DB2 as dbms, and this piece of code will not work if tableName

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
, not a qualified tablename. I would expect that most RDBMS products, open or closed source, use this convention of . delimiting tokens in table and column names. Cheers From: Dain Sundstrom [EMAIL PROTECTED] Date: 2002/04/15 Mon AM 10:40:32 EDT To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Problem

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
at 15:56, Dain Sundstrom wrote: This looks like a hack to me. Should we consider adding a schema-name element to the table configuration? By this I mean that where ever we have table-name in the jbosscmp-jdbc.xml file we can have an optional schema-name element. Also in the getTables call in we

[JBoss-dev] ObjectWeb has released JMS Testsuite

2002-04-15 Thread Dain Sundstrom
From theserverside.com: ObjectWeb has released a test suite for JMS features under LGPL. This suite tests JMS features; its code base is pure JMS without dependency from any vendor and provides a simple framework to be used by any JMS providers. http://www.objectweb.org/joram/tests I

[JBoss-dev] RC1 release question

2002-04-15 Thread Dain Sundstrom
Are we going to release Jetty and Tomcat integrated packages, or does the package already contain an integrated stack? Did we branch or just tag? I don't really understand CVS branches (I have a book on it, just haven't read it yet). Do I need to check fixes into the branch and head?

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
implementation anyway, because the table name is also used for generating the pk constraint name. The above will yield something like pk_myschema.mytable, which probably won't work. On Tuesday, April 16, 2002, at 02:32 AM, Dain Sundstrom wrote: Yes, it is the same work if you are going

[JBoss-dev] Re: Is jboss 3 readonly behavior really what we want now?

2002-04-14 Thread Dain Sundstrom
I think the problem is that Bill's view of read-only is that the method does not change any state information (more of a pure-functional method), and when I am talking about read-only I mean read only fields. I could notify the container/ interceptor which methods are read-only. The problem

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjbosscmp-jdbc.xml

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 08:53:03 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added Oracle9i type mapping. Revision ChangesPath 1.22 +138 -7jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp-jdbc.xml

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql JBossQLParser.jjt

2002-04-14 Thread Dain Sundstrom
Feb 2002 23:16:40 - 1.1 +++ JBossQLParser.jjt 14 Apr 2002 16:26:24 - 1.2 @@ -46,7 +46,7 @@ * This class parses JBossQL into an abstract syntax tree. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql BasicVisitor.java JBossQLParser.jjt

2002-04-14 Thread Dain Sundstrom
-r1.2 --- BasicVisitor.java 26 Feb 2002 23:16:40 - 1.1 +++ BasicVisitor.java 14 Apr 2002 17:28:55 - 1.2 @@ -13,7 +13,7 @@ * extensions translate just a few elements of the tree. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCTypeMappingMetaData.java

2002-04-14 Thread Dain Sundstrom
revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- JDBCTypeMappingMetaData.java 27 Feb 2002 00:05:41 - 1.11 +++ JDBCTypeMappingMetaData.java 14 Apr 2002 17:28:56 - 1.12 @@ -17,7 +17,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCEJBQLCompiler.java

2002-04-14 Thread Dain Sundstrom
; @@ -84,7 +86,7 @@ * Compiles EJB-QL and JBossQL into SQL. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -1027,6 +1029,36

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql ASTLCase.java ASTUCase.java

2002-04-14 Thread Dain Sundstrom
; /** * This abstract syntax node represents a LCase function. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1 $ */ public class ASTLCase extends SimpleNode { public ASTLCase(int id) { super(id

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjbosscmp-jdbc.xml

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 10:35:31 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added mappings for LCase and UCase functions. Revision ChangesPath 1.23 +65 -1 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index:

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCEJBQLCompiler.java SQLUtil.java

2002-04-14 Thread Dain Sundstrom
and JBossQL into SQL. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -305,7 +306,7 @@ } // verify that parameter is the same type

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql ASTValueClassComparison.java BasicVisitor.java JBossQLParser.jjt

2002-04-14 Thread Dain Sundstrom
translate just a few elements of the tree. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class BasicVisitor implements JBossQLParserVisitor { public Object visit

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 19:43:00 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java Log: Fixed declared-sql. Revision ChangesPath 1.7 +12 -34

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql Catalog.java EJBQLParser.jjt IdentifierManager.java JBossQLParser.jjt

2002-04-14 Thread Dain Sundstrom
];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class Catalog { - private final Map entityBridges = new HashMap(); + private final Map entityByAbstractSchemaName = new HashMap(); + private final Map

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMP1xFieldBridge.java JDBCCMP2xFieldBridge.java JDBCCMRFieldBridge.java

2002-04-14 Thread Dain Sundstrom
- 1.12 +++ JDBCCMP1xFieldBridge.java 15 Apr 2002 03:25:49 - 1.13 @@ -35,7 +35,7 @@ * One for each entity bean cmp field. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.12 $ + * @version $Revision: 1.13

[JBoss-dev] INSERTING AN ALREADY EXISTING BEAN

2002-04-13 Thread Dain Sundstrom
I have found another way to get the INSERTING AN ALREADY EXISTING BEAN bug to appear. The following code you would add to LineItem (in an Order-LineItem relationship): public String ejbCreate(Long id, Order order) { setId(id); return null; } public void

[JBoss-dev] Re: INSERTING AN ALREADY EXISTING BEAN

2002-04-13 Thread Dain Sundstrom
for the ejbCreate and a regular invocation for the ejbPostCreate? -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 13, 2002 4:52 PM To: JBoss-dev; marc fleury; Bill Burke Subject: INSERTING AN ALREADY EXISTING BEAN I have found another way to get

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb EntityPersistenceManager.java

2002-04-13 Thread Dain Sundstrom
Öberg/a - * @version $Revision: 1.13 $ + * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a + * @version $Revision: 1.14 $ */ -public interface EntityPersistenceManager - extends ContainerPlugin//, StatisticsProvider +public interface EntityPersistenceManager extends

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins BMPPersistenceManager.java CMPPersistenceManager.java

2002-04-13 Thread Dain Sundstrom
Sundstrom/a +* @version $Revision: 1.40 $ * * pbRevisions:/b * pb20010709 andreas schaefer:/b @@ -52,6 +53,10 @@ * ul * li- insertion in cache upon create in now done in the instance interceptor * /ul +* pb20020413 dain sundstrom:/b +* ul +* li- Moved ejbPostCreate

[JBoss-dev] CVS update: jbosscx/src/main/org/jboss/resource/connectionmanager CachedConnectionInterceptor.java

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:11:05 Modified:src/main/org/jboss/resource/connectionmanager CachedConnectionInterceptor.java Log: Added postCreateEntity pass through method. Revision ChangesPath 1.4 +10 -0

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb EntityContainer.java

2002-04-13 Thread Dain Sundstrom
];Dain Sundstrom/a +* @version $Revision: 1.77 $ * * pbRevisions:/b * @@ -83,6 +84,12 @@ * ul * li Moved to new invoker scheme, using Invocation and MBean invokers. * /ul +* pb20020413 dain sundstrom:/b +* ul +* li Broke cretion into 2 invocations. The first is through

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjboss.xml

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:12:16 Modified:src/etc/conf/default standardjboss.xml Log: Added new EntityCreationInterceptor. Revision ChangesPath 1.37 +12 -1 jboss/src/etc/conf/default/standardjboss.xml Index: standardjboss.xml

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:56:10 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java Log: Fixed complaint (bug) [ 541870 ] Exception Cleanup (findByPrimaryKey). Now reports method name and parameter type. Revision

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 19:26:39 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java Log: Forgot to set the method variable... Revision ChangesPath 1.7 +2 -2

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java

2002-04-12 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/12 11:09:07 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Fixed bug identified in patch [ 533736 ] CMP 2 no start tx. The problem was with attempting to start a transaction if one already

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java JDBCStopCommand.java

2002-04-12 Thread Dain Sundstrom
; +import javax.transaction.Transaction; +import javax.transaction.TransactionManager; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge; @@ -29,7 +32,7 @@ * @author a href=mailto:[EMAIL PROTECTED];Dain

Re: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRelationInterceptor.java JDBCStoreManager.java

2002-04-12 Thread Dain Sundstrom
+++ JDBCRelationInterceptor.java12 Apr 2002 19:30:44 - 1.11 @@ -26,7 +26,7 @@ * relationship. This interceptor also manages the relation table data. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.10 $ + * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java SQLUtil.java

2002-04-12 Thread Dain Sundstrom
1.10 diff -u -r1.9 -r1.10 --- SQLUtil.java 12 Apr 2002 20:00:46 - 1.9 +++ SQLUtil.java 12 Apr 2002 21:36:27 - 1.10 @@ -27,7 +27,7 @@ * SQLUtil helps with building sql statements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom

Re: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMRFieldBridge.java

2002-04-12 Thread Dain Sundstrom
java.lang.ref.WeakReference; import java.lang.reflect.Method; import javax.sql.DataSource; import java.sql.PreparedStatement; @@ -56,7 +57,7 @@ * One for each role that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc SQLUtil.java

2002-04-12 Thread Dain Sundstrom
21:36:27 - 1.10 +++ SQLUtil.java 13 Apr 2002 01:26:58 - 1.11 @@ -27,7 +27,7 @@ * SQLUtil helps with building sql statements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.10 $ + * @version $Revision: 1.11

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb EjbModule.java

2002-04-12 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/12 18:40:31 Modified:src/main/org/jboss/ejb EjbModule.java Log: Moved static application data map to an instance variable to in EjbModule. Should reduce memory leak. Revision ChangesPath 1.18 +27 -1

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStoreManager.java

2002-04-12 Thread Dain Sundstrom
org.jboss.ejb.Container; +import org.jboss.ejb.EjbModule; import org.jboss.ejb.EntityContainer; import org.jboss.ejb.EntityPersistenceStore; import org.jboss.ejb.EntityEnterpriseContext; @@ -60,7 +61,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @see

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStopCommand.java SQLUtil.java

2002-04-12 Thread Dain Sundstrom
PROTECTED];Dain Sundstrom/a * @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a * @author a href=mailto:[EMAIL PROTECTED];Justin Forder/a - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ */ public class JDBCStopCommand { @@ -116,7 +116,9

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCAbstractCMPFieldBridge.java JDBCCMP1xFieldBridge.java JDBCCMP2xFieldBridge.java JDBCCMPFieldBridge.java JDBCCMRFieldBridge.java

2002-04-11 Thread Dain Sundstrom
--- JDBCAbstractCMPFieldBridge.java 26 Feb 2002 23:28:55 - 1.12 +++ JDBCAbstractCMPFieldBridge.java 11 Apr 2002 16:39:21 - 1.13 @@ -40,13 +40,19 @@ * One for each entity bean cmp field. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java

2002-04-11 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/11 09:39:20 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java Log: Fixed bug [ 536502 ] CMR Cascade Delete Fails. This was due to createing the wrong pk class when loading a foreign key.

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMRFieldBridge.java

2002-04-11 Thread Dain Sundstrom
@@ -56,7 +56,7 @@ * One for each role that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.28 $ + * @version $Revision: 1.29 $ */ public class JDBCCMRFieldBridge implements JDBCFieldBridge

Re: [JBoss-user] RE: Bomb the bug parade! was AW: [JBoss-dev] Thread deadlock in class loader

2002-04-11 Thread Dain Sundstrom
You may be coding VB, but I'll go get a job at McDonald's (maybe in Redmond... did you see Fight Club). -dain Eric Kaplan wrote: guys. jboss is a central piece of our infrastructure, and we would like to keep recommending it to customers. it might be prudent not to piss all over sun in

Re: [JBoss-dev] So how big is the smallest MBeanServer I can run...

2002-04-10 Thread Dain Sundstrom
File size or memory foot print. marc fleury wrote: ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ___ Jboss-development mailing

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMRFieldBridge.java JDBCEntityBridge.java

2002-04-10 Thread Dain Sundstrom
@@ * One for each role that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.26 $ + * @version $Revision: 1.27 $ */ public class JDBCCMRFieldBridge implements JDBCFieldBridge, CMRFieldBridge

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCEntityMetaData.java JDBCRelationMetaData.java

2002-04-10 Thread Dain Sundstrom
1.17 diff -u -r1.16 -r1.17 --- JDBCEntityMetaData.java 1 Feb 2002 01:39:30 - 1.16 +++ JDBCEntityMetaData.java 10 Apr 2002 15:18:45 - 1.17 @@ -29,7 +29,7 @@ * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author a href=[EMAIL PROTECTED]Sebastien

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java JDBCDeleteRelationsCommand.java JDBCEJBQLCompiler.java JDBCInsertRelationsCommand.java JDBCLoadRelationCommand.java JDBCStartCommand.java JDBCStopCommand.java SQLUtil.java

2002-04-10 Thread Dain Sundstrom
+++ JDBCDeleteRelationsCommand.java 10 Apr 2002 15:18:43 - 1.9 @@ -22,7 +22,7 @@ * Deletes relations from a relation table. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ */ public class

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
I agree. Commit option B assumes that you can synchronize the instance¡¦s state from the persistent storage at the beginning of the next transaction. We simply don't have any method to to that in 2.4.4 or the current 3.0 code, other then reload all the data. The optimistic locking code that I

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Tuesday, April 09, 2002 10:16 AM To: Bill Burke Cc: Henri Chen; [EMAIL PROTECTED] Subject: Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ? I agree

[JBoss-dev] CVS update: jboss/src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 08:31:53 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: time-out should have been read-time-out. Other minor changes. Revision ChangesPath 1.15 +11 -10

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjbosscmp-jdbc.xml

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 08:43:27 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Fixed bug [ 541507 ] Wrong PostgreSQL function mapping for locate. Revision ChangesPath 1.21 +2 -2 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
I agree, but the problem is that there is very little we can reuse. We have to throw out all cached data, because we currently have no way to verify if it is still in sync with the database. -dain marc fleury wrote: |Is this implies that there is no Option B in jboss 2.4.4 at all |because

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCValuePropertyMetaData.java

2002-04-09 Thread Dain Sundstrom
+16,7 @@ * value object property. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public final class JDBCValuePropertyMetaData { private final String propertyName; @@ -64,7 +64,7

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationshipRoleMetaData.java

2002-04-09 Thread Dain Sundstrom
file's ejb-relation elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ */ public final class JDBCRelationshipRoleMetaData { /** @@ -305,7 +305,11 @@ String columnName

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 13:41:24 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Fixed bug [ 530437 ] Intra-Bean Many to Many auto-gen broken. Revision ChangesPath 1.23 +5 -3

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStoreManager.java

2002-04-09 Thread Dain Sundstrom
javax.ejb.FinderException; import javax.ejb.RemoveException; +import javax.transaction.Status; import javax.transaction.Synchronization; import javax.transaction.SystemException; import javax.transaction.Transaction; @@ -59,7 +60,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
Tom, The commit option code actually Bill's. I don't know if Bill will be able to look at this before the friday release, so Tom can you submit a patch? -dain tom yeh wrote: you can save a lot of loading time if you could check to see if the data stored in the EntityContext is still in

[JBoss-dev] JRockit now free

2002-04-06 Thread Dain Sundstrom
BEA has announced that JRockit 3.1 JVM will be free. We should get a copy to test on. They did not say that all future versions will be free, and they definitely did not say that it would be open source. Also they have a very weird license system. You need an account, and they claim you

Re: [JBoss-dev] JRockit now free

2002-04-06 Thread Dain Sundstrom
of testing, benchmarking and production evaluation. Does anyone else find the first claim completely unethical? I think everyone should go to theserverside and tell BEA what they really think. -dain Dain Sundstrom wrote: BEA has announced that JRockit 3.1 JVM will be free. We should get

[JBoss-dev] Lutris Leaves AppServer Market

2002-04-06 Thread Dain Sundstrom
Lutris has announced that they are no longer selling app servers. My favorite quote in the email from [EMAIL PROTECTED]: I encourage anyone looking for an open source J2EE application server to get JBOSS. We rock. -dain ___ Jboss-development

[JBoss-dev] JavaOne slides on line

2002-04-06 Thread Dain Sundstrom
If you didn't pop for the $3k, or you spend 2 days with us the JavaOne slides are on line. The EJB 2.1 slides are interesting http://servlet.java.sun.com/javaone/resources/content/sf2002/conf/sessions/pdfs/1653.pdf The define web services only for stateless-session beans. I think this is

Re: [JBoss-dev] ResultSet read order

2002-04-05 Thread Dain Sundstrom
In JBossCMP I only ready each column once left-to-right. If I remember correctly, the JAWS read ahead code reads the pk columns twice. It should be easy to fix. -dain Scott M Stark wrote: There are 3 bugs/patches related to the MSSQL driver requirement that the result set columns be read

Re: [JBoss-dev] org.jboss.proxy.compiler.Proxy + Serializable + Replacable

2002-04-05 Thread Dain Sundstrom
Francisco Reverbel wrote: On Thu, 4 Apr 2002, Jason Dillon wrote: Any reason why Proxy.newProxyInstance() adds Serializable Replacable to proxy instances? I am guessing there is a reason, but it is not documented anywhere. This proxy compiler is (was?) used to generate jdk 1.2

Re: [JBoss-dev] PK values and CMP commit option A

2002-04-03 Thread Dain Sundstrom
This select just verifies that the row still exists in the database, but is shouldn't be called in commit option A. I was under the impression that in commit option A didn't call the actual find if the bean was still in the ready cache. If this is happening after the bean is initially

Re: [JBoss-dev] AutoNumber in Jboss 3.0.0

2002-04-03 Thread Dain Sundstrom
I wasn't aware of this. Are you sure it was removed? If you are having problems, post again, and I'll ask around. -dain Marius Kotsbak wrote: On ons, 2002-03-27 at 23:13, jessica hekman wrote: I am trying to upgrade from 2.4 to 3.0 in order to use CMP 2.0. However, in moving my

Re: [JBoss-dev] CMP Entity bean error messages

2002-04-03 Thread Dain Sundstrom
This is a user question, and should be posted in the forums or jboss-users list. The problem is you have the ejb 1.1 doctype declared in your ejb-jar.xml, and not ejb 2.0 (you are using cmp2 correct?). Secondly, you are using jaws.xml which is depreciated, instead of the new

Re: [JBoss-dev] Long deployment file names... again

2002-04-03 Thread Dain Sundstrom
My $0.02. I think that UID_filename would be the easiest to for developers to follow. Even better would be if the UID was always the same length, so they would lineup in with ls or dir. -dain Jason Dillon wrote: For the cache, I initially implement a reproducable long url - short url

Re: [JBoss-dev] Connection Pool Configuration

2002-04-03 Thread Dain Sundstrom
Can this be set in the initial connection properties? I don't know much about pool set-up, but David does (and I CCed him on this email). Does the current pool code support setting of properties in the config file? -dain Giorgio42 wrote: Is JBoss CMP currently making any use of

Re: [JBoss-dev] Todo: multiple instances detection

2002-04-03 Thread Dain Sundstrom
Marc, I was talking about this last week. The problem with this suggestion is it does not address other ports such as http, http-jmx management. My ideas was to have a port config file that listed each named port for a server, and then each mbean that used a port would look in this file (or

Re: [JBoss-dev] JBoss and Apache

2002-03-24 Thread Dain Sundstrom
Scott, I really can't see anything to gain by becoming a Jakarta project, other then more bureaucracy. BTW, we do have the whole stack. We just support a pluggable web tier. -dain Scott Sanders wrote: As a jakarta committer, I have to say thanks for stating this as succintly as you did.

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
The JDBCStartCommand executes the create table statements, and some database have problems when you execute ddl in the same transactions normal sql. Why would jsr-77 care if I start a new transaction? I plan I using a private transaction in an autonumber generator when I implement the

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
marc fleury wrote: OK what you want to do is have the initialization of the Bean in the CMP engine (the deploy) CHECK for the presence of a transaction. SO if the deployment is transactional (as done with a Required in MEJB) then you need to check for that transaction and only start if not

Re: [JBoss-dev] is findByPrimaryKey optimization bad?

2002-03-14 Thread Dain Sundstrom
Bill Burke wrote: A BMP findByPrimaryKey is optimized to look in cache first for the active pk. If it is active in cache, then the pk is just returned, without calling ejbFindByPrimaryKey on the BMP. Should we do this for commit-options 'B' and 'C'? Here's the scenario somebody just

Re: [JBoss-dev] is findByPrimaryKey optimization bad?

2002-03-14 Thread Dain Sundstrom
I think the optimization should to do the query and if the bean is not found remove it from the cache. Not really an optimization, but it keeps the cache clean. -dain Scott M Stark wrote: I would say the optimization is inconsistent with the commit option. Why should a third party

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge RelationSet.java

2002-03-14 Thread Dain Sundstrom
org.jboss.ejb.EntityEnterpriseContext; @@ -25,7 +26,7 @@ * or the responsibilities of this class. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class RelationSet

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge RelationSet.java

2002-03-14 Thread Dain Sundstrom
:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class RelationSet implements Set { private JDBCCMRFieldBridge cmrField; @@ -42,7 +42,11 @@ // CMR field sets my referance to the set to null, so

Re: [JBoss-dev] CMR postCreate

2002-03-14 Thread Dain Sundstrom
No. My focus is on getting spec compliant features in first. Specifically support for unknown pks and a fix for dependent value classes. After that, I haven't decided what I will do first. My choices are insert/delete timing configuration, optimistic locking/caching, and using database

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dain Sundstrom
Trawick, James wrote: Will the final release actually include documentation? JBossCMP will and already does. (btw, whoever you went with to sell your JBoss 3 docs should be shot. i went through their process several times, they said they had problems and would get back to me. they

Re: [JBoss-dev] Do tests need explicit type mapping? Can they all use cmp2?

2002-03-13 Thread Dain Sundstrom
David Jencks wrote: Some of the tests (e.g. Bank) have an explicit type mapping set to Hypersonic in their jaws.xml file. This makes it difficult to run against other databases. Does anyone have a problem with my removing these? (This is not specifying an sql type for a particular

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCEntityBridge.java

2002-03-12 Thread Dain Sundstrom
type. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ */ public class JDBCEntityBridge implements EntityBridge { private JDBCEntityMetaData metadata; @@ -442,9

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc ReadAheadCache.java

2002-03-12 Thread Dain Sundstrom
-r1.5 --- ReadAheadCache.java 27 Feb 2002 00:07:59 - 1.4 +++ ReadAheadCache.java 12 Mar 2002 18:17:04 - 1.5 @@ -31,7 +31,7 @@ * basis. The read ahead data for each entity is stored with a soft reference. * * @author a href=mailto:[EMAIL PROTECTED];Dain

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMP2xFieldBridge.java

2002-03-12 Thread Dain Sundstrom
1.11 diff -u -r1.10 -r1.11 --- JDBCCMP2xFieldBridge.java 15 Jan 2002 20:49:11 - 1.10 +++ JDBCCMP2xFieldBridge.java 12 Mar 2002 18:19:50 - 1.11 @@ -32,7 +32,7 @@ * One for each entity bean cmp field. * * @author a href=mailto:[EMAIL PROTECTED];Dain

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMRFieldBridge.java

2002-03-12 Thread Dain Sundstrom
+++ JDBCCMRFieldBridge.java 12 Mar 2002 22:25:50 - 1.26 @@ -55,7 +55,7 @@ * One for each role that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.25 $ + * @version $Revision: 1.26 $ */ public

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCEJBQLCompiler.java

2002-03-12 Thread Dain Sundstrom
. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -726,6 +726,16 @@ buf.append( ); buf.append(alias); leftJoins(path.getPath

Re: [JBoss-dev] Re: [jetty-discuss] HTTP loadbalancing

2002-03-07 Thread Dain Sundstrom
This looks like a great plan. Don't forget to include a way to transition a sticky session from http to https. If I remember correctly, Cisco supports this by having an additional ip address added to css switch for each child web server. When the session is transitioned from http to https

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb EntityContainer.java

2002-03-06 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/06 10:56:15 Modified:src/main/org/jboss/ejb EntityContainer.java Log: Fixed fix to creatMethod patch. Will now correctly call createHome and createLocalHome. Revision ChangesPath 1.73 +2 -2

Re: [JBoss-dev] Tests something broke

2002-03-06 Thread Dain Sundstrom
for fixing it Dain. Regards, Adrian Thanks kudos to you my friend. Newbie spanking time Adrian, in my office do as I say, not as I do marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] On Behalf Of Dain |Sundstrom |Sent: Tuesday, March 05, 2002 8:57 PM

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
I'm looking into it. -dain Scott M Stark wrote: All of the new errors are in the org.jboss.test.cmp2.relationship package, and all are NPEs in the unit test code. One example stack trace is: N/A java.lang.NullPointerException at

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
It appears the the createMethod patch has broken create for CMP 2 entities. Now create always returns null. Was the testsuite run before this patch was committed? I'll see if I can fix it. -dain Dain Sundstrom wrote: I'm looking into it. -dain Scott M Stark wrote: All

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb EntityContainer.java

2002-03-05 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/05 20:42:57 Modified:src/main/org/jboss/ejb EntityContainer.java Log: Fixed bug where create of an EJB 2.0 entity was always returning remote objects. The create method mapping was keyed to createHome even for local home methods. Revision

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
Fixed it. The createMethod patched was keyed to always return remote objects. Once I opened the correct class it was obvious. In the future, please run the testsuite before committing changes, especially changes to the core of the server. -dain Dain Sundstrom wrote: It appears

Re: [JBoss-dev] Guidance required EJB1.1/2.0

2002-03-04 Thread Dain Sundstrom
You can detect if a jar is an EJB 2.0 jar by looking at the DOCTYPE. I already do this in ApplicationMetaData, so all you need to do is call isEJB2x(). -dain marc fleury wrote: 2.0 is so much more powerful than 1.1 we will support only 2.0 when it is stable. For now we need both,

[JBoss-dev] Problem with new deployer

2002-03-04 Thread Dain Sundstrom
I have been working on the XmlFileLoader stuff I discussed yesterday and it has revealed a problem with the new deployer. When a DeploymentException is thrown in the create life cycle method the deployer does not remove the ejbs that were registered a part for ejb-jar. Then later when you

[JBoss-dev] CVS update: jbosstest/src/resources/cmp2/readonly/META-INF jbosscmp-jdbc.xml

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 10:53:50 Modified:src/resources/cmp2/readonly/META-INF jbosscmp-jdbc.xml Log: fixed invalid metadata Revision ChangesPath 1.3 +2 -4 jbosstest/src/resources/cmp2/readonly/META-INF/jbosscmp-jdbc.xml Index: jbosscmp-jdbc.xml

[JBoss-dev] CVS update: jbosstest/src/resources/cmp2/ejbselect/META-INF jbosscmp-jdbc.xml

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 10:53:50 Modified:src/resources/cmp2/ejbselect/META-INF jbosscmp-jdbc.xml Log: fixed invalid metadata Revision ChangesPath 1.3 +0 -1 jbosstest/src/resources/cmp2/ejbselect/META-INF/jbosscmp-jdbc.xml Index:

<    1   2   3   4   5   6   7   8   9   10   >