[JBoss-dev] Can I use JTA without writing EJBean

2001-05-29 Thread Ravindra Sharma

Hi folks,

I am new to EJB. I am trying to use JTA.

Can I use Java Transaction API (JTA) dirtectly in my application without writing a 
Bean. This helps me bypass complication of EJB which I don't really need since my 
application is not distributed.

Let me know if I can use JBoss's JTS (without using EJBean) in my application. If so, 
how will make it accessible through JNDI context in my app.

Thanks,

Ravindra Sharma
650-691-6310

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejboss/build build.bat build.sh

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 00:19:53

  Modified:buildbuild.bat build.sh
  Log:
  Update to use jboss-j2ee.jar
  
  Revision  ChangesPath
  1.6   +1 -1  ejboss/build/build.bat
  
  Index: build.bat
  ===
  RCS file: /cvsroot/jboss/ejboss/build/build.bat,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.bat 2000/03/03 13:52:43 1.5
  +++ build.bat 2001/05/29 07:19:53 1.6
  @@ -58,7 +58,7 @@
   :final
   echo Now building %TARGET% for JDK%JDK%...
   
  -set 
CP=%LIB%/ejb.jar;%LIB%/ejx.jar;%LIB%/jdbc2_0-stdext.jar;%LIB%/jndi.jar;%LIB%/ow.jar;%LIB%/jta-spec1_0_1.jar;%LIB%/xml.jar;%BF%/ant.jar;%BF%/javac.jar
  +set 
CP=%LIB%/jboss-j2ee.jar;%LIB%/ejx.jar;%LIB%/jdbc2_0-stdext.jar;%LIB%/jndi.jar;%LIB%/ow.jar;%LIB%/jta-spec1_0_1.jar;%LIB%/xml.jar;%BF%/ant.jar;%BF%/javac.jar
   
   set BUILDFILE=%BF%/build.xml
   
  
  
  
  1.12  +1 -1  ejboss/build/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/ejboss/build/build.sh,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- build.sh  2000/04/14 02:47:15 1.11
  +++ build.sh  2001/05/29 07:19:53 1.12
  @@ -51,7 +51,7 @@
   fi
   
   echo Now building ${TARGET} for JDK${JDK}...
  
-CP=${LIB}/ejb.jar:${LIB}/ejx.jar:${LIB}/jdbc2_0-stdext.jar:${LIB}/jndi.jar:${LIB}/ow.jar:${LIB}/jta-spec1_0_1.jar:${LIB}/xml.jar:${BF}/ant.jar:${BF}/javac.jar
  
+CP=${LIB}/jboss-j2ee.jar:${LIB}/ejx.jar:${LIB}/jdbc2_0-stdext.jar:${LIB}/jndi.jar:${LIB}/ow.jar:${LIB}/jta-spec1_0_1.jar:${LIB}/xml.jar:${BF}/ant.jar:${BF}/javac.jar
   
   BUILDFILE=${BF}/build.xml
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejboss/src/scripts/run admintool.bat admintool.sh client.bat client.sh server.bat server.sh

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 00:19:54

  Modified:src/scripts/run admintool.bat admintool.sh client.bat
client.sh server.bat server.sh
  Log:
  Update to use jboss-j2ee.jar
  
  Revision  ChangesPath
  1.3   +1 -1  ejboss/src/scripts/run/admintool.bat
  
  Index: admintool.bat
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/admintool.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- admintool.bat 2000/04/19 23:08:48 1.2
  +++ admintool.bat 2001/05/29 07:19:54 1.3
  @@ -6,7 +6,7 @@
   set CP=lib\ejbossClient.jar
   
   REM javax.ejb
  -set CP=%CP%;lib\ejb.jar
  +set CP=%CP%;lib\jboss-j2ee.jar
   
   REM javax.naming (for 1.2.2)
   set CP=%CP%;lib\jndi.jar
  
  
  
  1.3   +1 -1  ejboss/src/scripts/run/admintool.sh
  
  Index: admintool.sh
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/admintool.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- admintool.sh  2000/04/19 19:29:18 1.2
  +++ admintool.sh  2001/05/29 07:19:54 1.3
  @@ -4,7 +4,7 @@
   CP=lib/ejbossClient.jar
   
   # javax.ejb
  -CP=$CP:lib/ejb.jar
  +CP=$CP:lib/jboss-j2ee.jar
   
   # javax.naming
   CP=$CP:lib/jndi.jar
  
  
  
  1.9   +1 -1  ejboss/src/scripts/run/client.bat
  
  Index: client.bat
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/client.bat,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- client.bat2000/04/27 22:43:10 1.8
  +++ client.bat2001/05/29 07:19:54 1.9
  @@ -6,7 +6,7 @@
   set VERSION=PROD.VER
   
   REM all clients need this
  -set CP=lib/ejb.jar
  +set CP=lib/jboss-j2ee.jar
   set CP=%CP%;lib/jndi.jar
   set CP=%CP%;lib/jta-spec1_0_1.jar
   set CP=%CP%;lib/ejbossClient.jar
  
  
  
  1.12  +1 -1  ejboss/src/scripts/run/client.sh
  
  Index: client.sh
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/client.sh,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- client.sh 2000/04/27 22:43:10 1.11
  +++ client.sh 2001/05/29 07:19:54 1.12
  @@ -7,7 +7,7 @@
   VERSION=PROD.VER
   
   # All clients need this
  -CP=lib/ejb.jar
  +CP=lib/jboss-j2ee.jar
   CP=$CP:lib/jndi.jar
   CP=$CP:lib/jta-spec1_0_1.jar
   CP=$CP:lib/ejbossClient.jar
  
  
  
  1.9   +1 -1  ejboss/src/scripts/run/server.bat
  
  Index: server.bat
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/server.bat,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- server.bat2000/04/18 10:10:27 1.8
  +++ server.bat2001/05/29 07:19:54 1.9
  @@ -5,7 +5,7 @@
   REM This line should be set up correctly by the build process
   set VERSION=PROD.VER
   
  -set CP=lib/ejb.jar
  +set CP=lib/jboss-j2ee.jar
   set CP=%CP%;lib/ejx.jar
   set CP=%CP%;lib/ejx-awt.jar
   set CP=%CP%;lib/jdbc2_0-stdext.jar
  
  
  
  1.11  +1 -1  ejboss/src/scripts/run/server.sh
  
  Index: server.sh
  ===
  RCS file: /cvsroot/jboss/ejboss/src/scripts/run/server.sh,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- server.sh 2000/04/18 10:10:27 1.10
  +++ server.sh 2001/05/29 07:19:54 1.11
  @@ -6,7 +6,7 @@
   # This line should be set up correctly by the build process
   VERSION=PROD.VER
   
  -CP=lib/ejb.jar
  +CP=lib/jboss-j2ee.jar
   CP=$CP:lib/ejx.jar
   CP=$CP:lib/ejx-awt.jar
   CP=$CP:lib/jdbc2_0-stdext.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] MDB Auto-_-_Acknowledge

2001-05-29 Thread Vincent Harcq

Hi,
Both of you gives me a clever answer for a stupid question ;)
What I only wanted to point out, it is that specifying in ejb-jar.xml:
acknowledge-modeAUTO_ACKNOWELDGE/acknowledge-mode
is not correct.
It should be
acknowledge-modeAuto-acknowlede/acknowledge-mode

- and not _

AUTO_ACKNOWLEDGE is when doing JMS
Auto-acknowlede is when deploying MDB

I understand (now) that JBossMQ does not care of the value, but the docu
should give
the correct definition.

Regards.
VIncent.

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de
 Hiram Chirino
 Envoyé : mardi 29 mai 2001 1:45
 À : [EMAIL PROTECTED]
 Objet : Re: [JBoss-dev] MDB Auto-_-_Acknowledge


 I totally agree with peter.  If the container takes the
 Dups-ok-acknowledge setting and implements it just like the
 Auto-acknowledge setting, the container's contract with the client would
 still be vaild.

 Regards,
 Hiram

 - Original Message -
 From: Peter Antman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 28, 2001 3:02 AM
 Subject: Re: [JBoss-dev] MDB Auto-_-_Acknowledge


  On 28 Maj, Vincent Harcq wrote:
   Hi,
   After implementing MDB in ejbdoclet, one of the developer find out
   that jboss does not follow the spec for acknowledge-mode on MDB.
   Page 462:
   !--
   The acknowledge-mode element specifies whether JMS AUTO_ACKNOWLEDGE
   or DUPS_OK_ACKNOWLEDGE message acknowledgment semantics should be
   used for the onMessage message of a message-driven bean that uses bean
   managed transaction demarcation.
   The acknowledge-mode element must be one of the two following:
   acknowledge-modeAuto-acknowledge/acknowledge-mode
   acknowledge-modeDups-ok-acknowledge/acknowledgemode
   Used in: message-driven
   --
  
   So - for MDB and _ for JMS
  
   Stupidity of the spec maybe, but we need to change jboss to have full
   compliance.  I can commit the change and I propose to keep both
   possibilities for safety.
  
 
  Well, I don't think it is that easy. First we had support for it. Then
  Hiram added support for XA transactions in JBossMQ and added support for
  that in the MDB container, but broke support for ACK modes. We had some
  arguing about this, and finally decided that we did not need to support
  DUPS_OK_ACKNOWLEDGE.
 
  Was this bad or god? Well, I would interpret it this way.
 
  1. With bean managed transaction we support AUTO_ACKNOWLEDGE semantics,
 i.e every message is automtically acked. Yes, we are doing it with a
 transacted session, but that is an implementation question and
 nothing else (who cares that non XA transactions in JBossMQ is
 actually managed with single commit XA transactions under the hood?
 
  2. DUP_OK. To my knowledge this is a flag that the JMS provider MAY
 obay (i.e it is completly up to the JMS provider how to implement
 support for this - it may even be done as AUTO_ACKNOWLEDGE). What it
 says is that if it is used ,the client have to be aware that there
 may be some resent messages.
 
  Therefore I would say that the MDB container is spec compliant. You may
  specify AUTO_ACKNOWLEDGE or DUP_OK in the deployment descriptor, but the
  implementation does not care (which in my view probably is not a breach
  with the spec). If it is possible to show that DUPS_OK if used could
  lead to dramatic increase in performance, that would be another
  question.
 
  That to say, if you are able enough to reimplement support for DUPS_PK
  without braking anything, please go ahead.
 
  file://Peter
 
   Vincent.
  


___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/jboss.admin/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:10

  Modified:examples/jboss.admin/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/jboss.admin/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/jboss.admin/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/11/19 23:28:53 1.1
  +++ build.xml 2001/05/29 08:42:09 1.2
  @@ -36,7 +36,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${local.lib.ext.dir}/jmxri.jar;${local.lib.ext.dir}/connector.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${local.lib.ext.dir}/jmxri.jar;${local.lib.ext.dir}/connector.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=org.jboss.jBossAdmin.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/lib/ext jboss-j2ee.jar ejb.jar

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:12

  Added:   lib/ext  jboss-j2ee.jar
  Removed: lib/ext  ejb.jar
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.1  ejx/lib/ext/jboss-j2ee.jar
  
Binary file
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/ejbench/lib/ext jboss-j2ee.jar ejb.jar

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:09

  Added:   examples/ejbench/lib/ext jboss-j2ee.jar
  Removed: examples/ejbench/lib/ext ejb.jar
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.1  ejx/examples/ejbench/lib/ext/jboss-j2ee.jar
  
Binary file
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/tabbed.editor/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:11

  Modified:examples/tabbed.editor/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/tabbed.editor/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/tabbed.editor/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/10/25 06:19:11 1.1
  +++ build.xml 2001/05/29 08:42:11 1.2
  @@ -35,7 +35,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=com.madplanet.tabbedEditor.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/ejb/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:08

  Modified:examples/ejb/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/ejb/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/ejb/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/09/29 05:56:08 1.1
  +++ build.xml 2001/05/29 08:42:08 1.2
  @@ -35,7 +35,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${local.lib.ext.dir}/ejb.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${local.lib.ext.dir}/jboss-j2ee.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=com.dreambean.ejx.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/plain.pane/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:10

  Modified:examples/plain.pane/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/plain.pane/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/plain.pane/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/10/14 16:16:49 1.1
  +++ build.xml 2001/05/29 08:42:10 1.2
  @@ -35,7 +35,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=com.madplanet.plainPane.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/ejbench/etc ejxejbench.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:09

  Modified:examples/ejbench/etc ejxejbench.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.3   +1 -1  ejx/examples/ejbench/etc/ejxejbench.mf
  
  Index: ejxejbench.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/ejbench/etc/ejxejbench.mf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ejxejbench.mf 2000/10/15 05:26:51 1.2
  +++ ejxejbench.mf 2001/05/29 08:42:09 1.3
  @@ -1,4 +1,4 @@
  -Class-Path: ejb.jar jnp.jar
  +Class-Path: jboss-j2ee.jar jnp.jar
   EJX-plugin: com.dreambean.ejx.ejbench.EJBenchResourceManagerFactory
   
   Name: com/dreambean/ejx/ejbench/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/jboss.admin/etc ejx.jboss.admin.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:10

  Modified:examples/jboss.admin/etc ejx.jboss.admin.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/jboss.admin/etc/ejx.jboss.admin.mf
  
  Index: ejx.jboss.admin.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/jboss.admin/etc/ejx.jboss.admin.mf,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejx.jboss.admin.mf2000/11/19 23:28:54 1.1
  +++ ejx.jboss.admin.mf2001/05/29 08:42:10 1.2
  @@ -1,4 +1,4 @@
  -Class-Path: awt.jar ejb.jar jmxri.jar connector.jar ../conf
  +Class-Path: awt.jar jboss-j2ee.jar jmxri.jar connector.jar ../conf
   EJX-plugin: org.jboss.jBossAdmin.ResourceManagerFactoryImpl
  
   Name: org/jboss/jBossAdmin/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/ejbench/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:09

  Modified:examples/ejbench/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/ejbench/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/ejbench/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/09/29 05:56:24 1.1
  +++ build.xml 2001/05/29 08:42:09 1.2
  @@ -35,7 +35,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${local.lib.ext.dir}/ejb.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${local.lib.ext.dir}/jboss-j2ee.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=com.dreambean.ejx.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/ejb/etc ejxejb.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:08

  Modified:examples/ejb/etc ejxejb.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.3   +1 -1  ejx/examples/ejb/etc/ejxejb.mf
  
  Index: ejxejb.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/ejb/etc/ejxejb.mf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ejxejb.mf 2000/10/15 05:26:47 1.2
  +++ ejxejb.mf 2001/05/29 08:42:08 1.3
  @@ -1,4 +1,4 @@
  -Class-Path: awt.jar xerces.jar ejb.jar
  +Class-Path: awt.jar xerces.jar jboss-j2ee.jar
   EJX-plugin: com.dreambean.ejx.ejb.EjbResourceManagerFactory
  
   Name: com/dreambean/ejx/ejb/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/simple.component/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:11

  Modified:examples/simple.component/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/simple.component/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/examples/simple.component/build/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2000/10/14 16:16:53 1.1
  +++ build.xml 2001/05/29 08:42:11 1.2
  @@ -35,7 +35,7 @@
   property name=build.classes.dir value=${build.dir}/classes/
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.ext.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${dist.lib.ext.dir}/ejxeditor.jar/
   property name=packages value=com.madplanet.simpleComponent.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/plain.pane/etc ejx.plain.pane.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:10

  Modified:examples/plain.pane/etc ejx.plain.pane.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.3   +1 -1  ejx/examples/plain.pane/etc/ejx.plain.pane.mf
  
  Index: ejx.plain.pane.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/plain.pane/etc/ejx.plain.pane.mf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ejx.plain.pane.mf 2000/10/15 05:26:53 1.2
  +++ ejx.plain.pane.mf 2001/05/29 08:42:10 1.3
  @@ -1,4 +1,4 @@
  -Class-Path: awt.jar ejb.jar
  +Class-Path: awt.jar jboss-j2ee.jar
   EJX-plugin: com.madplanet.plainPane.ResourceManagerFactoryImpl
  
   Name: com/madplanet/plainPane/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/tabbed.editor/etc ejx.tabbed.editor.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:12

  Modified:examples/tabbed.editor/etc ejx.tabbed.editor.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.2   +1 -1  ejx/examples/tabbed.editor/etc/ejx.tabbed.editor.mf
  
  Index: ejx.tabbed.editor.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/tabbed.editor/etc/ejx.tabbed.editor.mf,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ejx.tabbed.editor.mf  2000/10/25 06:19:12 1.1
  +++ ejx.tabbed.editor.mf  2001/05/29 08:42:12 1.2
  @@ -1,4 +1,4 @@
  -Class-Path: awt.jar ejb.jar
  +Class-Path: awt.jar jboss-j2ee.jar
   EJX-plugin: com.madplanet.tabbedEditor.ResourceManagerFactoryImpl
  
   Name: com/madplanet/tabbedEditor/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/src/build build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:12

  Modified:src/build build.xml
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.5   +1 -1  ejx/src/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/ejx/src/build/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2000/11/30 16:54:20 1.4
  +++ build.xml 2001/05/29 08:42:12 1.5
  @@ -29,7 +29,7 @@
   property name=build.javadocs.dir value=${build.dir}/docs/api/
   property name=dist.dir value=dist/
   
  -property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${lib.ext.dir}/jndi.jar;${lib.ext.dir}/ejb.jar/
  +property name=classpath 
value=${build.classes.dir};${lib.ext.dir}/awt.jar;${lib.dir}/xml.jar;${lib.ext.dir}/jndi.jar;${lib.ext.dir}/jboss-j2ee.jar/
   property name=packages value=com.dreambean.ejx.*/
   
   property name=build.compiler value=classic/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: ejx/examples/simple.component/etc ejx.simple.component.mf

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:42:11

  Modified:examples/simple.component/etc ejx.simple.component.mf
  Log:
  Update to use jboss-j2ee.jar instead of ejb.jar  fix builds for examples.
  
  Revision  ChangesPath
  1.3   +1 -1  ejx/examples/simple.component/etc/ejx.simple.component.mf
  
  Index: ejx.simple.component.mf
  ===
  RCS file: /cvsroot/jboss/ejx/examples/simple.component/etc/ejx.simple.component.mf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ejx.simple.component.mf   2000/10/15 05:26:55 1.2
  +++ ejx.simple.component.mf   2001/05/29 08:42:11 1.3
  @@ -1,4 +1,4 @@
  -Class-Path: awt.jar ejb.jar
  +Class-Path: awt.jar jboss-j2ee.jar
   EJX-plugin: com.madplanet.simpleComponent.ResourceManagerFactoryImpl
  
   Name: com/madplanet/simpleComponent/
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/lib jdbc2.jar

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:49:07

  Removed: lib  jdbc2.jar
  Log:
  Change to use jdbc2_0-stdext.jar (from jboss-j2ee tree).

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/build build.bat build.sh build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 01:49:06

  Modified:buildbuild.bat build.sh build.xml
  Log:
  Change to use jdbc2_0-stdext.jar (from jboss-j2ee tree).
  
  Revision  ChangesPath
  1.13  +1 -1  zola/build/build.bat
  
  Index: build.bat
  ===
  RCS file: /cvsroot/jboss/zola/build/build.bat,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- build.bat 2001/04/21 21:54:10 1.12
  +++ build.bat 2001/05/29 08:49:06 1.13
  @@ -15,7 +15,7 @@
   REM The following two are need for javadoc
   REM javac sets its own classpath tag (see subbuilds)
   set CLASSPATH=%CLASSPATH%;%LIB%\ejb.jar
  -set CLASSPATH=%CLASSPATH%;%LIB%\jdbc2.jar
  +set CLASSPATH=%CLASSPATH%;%LIB%\jdbc2_0-stdext.jar
   set CLASSPATH=%CLASSPATH%;%LIB%\jndi.jar
   
   set ANT_HOME=..
  
  
  
  1.5   +1 -1  zola/build/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/zola/build/build.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.sh  2001/04/21 21:54:10 1.4
  +++ build.sh  2001/05/29 08:49:06 1.5
  @@ -12,7 +12,7 @@
   # The following two are need for javadoc
   # javac sets its own classpath tag (see subbuilds)
   CLASSPATH=$CLASSPATH:$LIB/ejb.jar
  -CLASSPATH=$CLASSPATH:$LIB/jdbc2.jar
  +CLASSPATH=$CLASSPATH:$LIB/jdbc2_0-stdext.jar
   CLASSPATH=$CLASSPATH:$LIB/jndi.jar
   
   ANT_HOME=..
  
  
  
  1.28  +2 -2  zola/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/zola/build/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml 2001/04/21 21:46:27 1.27
  +++ build.xml 2001/05/29 08:49:06 1.28
  @@ -134,7 +134,7 @@
   
   target name=compile depends=prepare
 javac srcdir=${build.src}
  - 
classpath=${lib.dir}/ejb.jar;${lib.dir}/jndi.jar;${lib.dir}/jdbc2.jar;${lib.dir}/jta-spec1_0_1.jar
  + 
classpath=${lib.dir}/ejb.jar;${lib.dir}/jndi.jar;${lib.dir}/jdbc2_0-stdext.jar;${lib.dir}/jta-spec1_0_1.jar
destdir=${build.dest} debug=${debug}/
   /target
   
  @@ -222,7 +222,7 @@
 !-- BUILDING JAVADOC FOR THE SOURCES --
 javadoc packagenames=org.jboss.zol.*
  sourcepath=${basedir}/${src.java.dir}
  -   
classpath=${lib.dir}/ejb.jar;${lib.dir}/jndi.jar;${lib.dir}/jdbc2.jar;${lib.dir}/jta-spec1_0_1.jar
  +   
classpath=${lib.dir}/ejb.jar;${lib.dir}/jndi.jar;${lib.dir}/jdbc2_0-stdext.jar;${lib.dir}/jta-spec1_0_1.jar
  destdir=${build.docs.javadoc}
  author=true
  version=true
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/webstore/build build.bat build.sh build.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:20

  Modified:webstore/build build.bat build.sh build.xml
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.7   +1 -1  zola/webstore/build/build.bat
  
  Index: build.bat
  ===
  RCS file: /cvsroot/jboss/zola/webstore/build/build.bat,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.bat 2001/04/21 22:16:03 1.6
  +++ build.bat 2001/05/29 09:23:20 1.7
  @@ -10,7 +10,7 @@
   set CLASSPATH=%CLASSPATH%;..\..\lib\crimson.jar
   set CLASSPATH=%CLASSPATH%;..\..\lib\jaxp.jar
   
  -set CLASSPATH=..\src\lib\jdbc2_0-stdext.jar;%CLASSPATH%
  +set CLASSPATH=..\src\lib\jboss-jdbc_ext.jar;%CLASSPATH%
   
   set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
   
  
  
  
  1.4   +1 -0  zola/webstore/build/build.sh
  
  Index: build.sh
  ===
  RCS file: /cvsroot/jboss/zola/webstore/build/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh  2001/04/21 22:20:25 1.3
  +++ build.sh  2001/05/29 09:23:20 1.4
  @@ -13,6 +13,7 @@
   CLASSPATH=$CLASSPATH:../../lib/ant.jar:../../lib/servlet.jar
   CLASSPATH=$CLASSPATH:../../lib/crimson.jar
   CLASSPATH=$CLASSPATH:../../lib/jaxp.jar
  +CLASSPATH=$CLASSPATH:../src/lib/jboss-jdbc_ext.jar
   CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar
   
   $JAVA_HOME/bin/java -Dant.home=$TOMCAT_HOME \
  
  
  
  1.6   +3 -3  zola/webstore/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/zola/webstore/build/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml 2001/04/21 22:16:03 1.5
  +++ build.xml 2001/05/29 09:23:20 1.6
  @@ -61,8 +61,8 @@
 mkdir dir=${jboss.ejbeans}/
 
 !-- COPY THE LIBS --
  -  copyfile src=${libs}/ejb.jardest=${webinf.lib}/ejb.jar/
  -  copyfile src=${libs}/jdbc2_0-stdext.jar 
dest=${webinf.lib}/jdbc2_0-stdext.jar/
  +  copyfile src=${libs}/jboss-j2ee.jar
dest=${webinf.lib}/jboss-j2ee.jar/
  +  copyfile src=${libs}/jboss-jdbc_ext.jar 
dest=${webinf.lib}/jboss-jdbc_ext.jar/
 
 !-- COPY THE web.xml --
 copyfile src=${etc}/web.xml   dest=${webinf}/web.xml/
  @@ -74,7 +74,7 @@
   
   target name=compile depends=prepare
 javac srcdir=${sources} destdir=${work}
  - classpath=${libs}/jdbc2_0-stdext.jar;${libs}/ejb.jar;${libs}/servlet.jar 
deprecation=on /
  + 
classpath=${libs}/jboss-jdbc_ext.jar;${libs}/jboss-j2ee.jar;${libs}/servlet.jar 
deprecation=on /
   /target
   
   target name=deployserv depends=compile
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/unix/mandelbrot MandelClient.sh

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:18

  Modified:src/scripts/unix/mandelbrot MandelClient.sh
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.3   +1 -1  zola/src/scripts/unix/mandelbrot/MandelClient.sh
  
  Index: MandelClient.sh
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/unix/mandelbrot/MandelClient.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MandelClient.sh   2000/07/06 00:54:23 1.2
  +++ MandelClient.sh   2001/05/29 09:23:18 1.3
  @@ -7,7 +7,7 @@
   fi
   
   # javax.ejb
  -CP=$CP:../lib/ejb.jar
  +CP=$CP:../lib/jboss-j2ee.jar
   CP=$CP:../lib/jnp-client.jar
   CP=$CP:..
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola README JBOSS 2.txt

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:17

  Modified:.README JBOSS 2.txt
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.2   +28 -1 zola/README
  
  Index: README
  ===
  RCS file: /cvsroot/jboss/zola/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README2000/02/25 20:50:56 1.1
  +++ README2000/03/29 16:59:40 1.2
  @@ -1 +1,28 @@
  -Put the README for zol here
  +ZOL
  +---
  +
  +ZOL is the APM (Application Programming Model) for EJBoss.
  +ZOL started on January, 30th, 2000.
  +
  +ZOL goal is to provide a fun way to learn EJB technology. ZOL will provide
  +a test suite for EJBoss as well as an architecture document to build
  +.com web sites.
  +
  +ZOL will also include a FAQ.
  +
  +---
  +
  +If you are interested in the development of ZOL, do not hesitate, we need you.
  +Send us an email, and join us.
  +We need developpers, designers (Architecture and GUI), technical writers,
  +EJBeans developers
  +
  +---
  +
  +If you have written a really nice EJBean, we would be please to include it
  +in our test suite for EJBoss. Send us the code, we will test it and
  +include it in the next release of ZOL.
  +
  +~~~
  +ZOL core members : Thierry Janaudy  [EMAIL PROTECTED]
  +   Juha Lindfors[EMAIL PROTECTED]
  
  
  
  No   revision
  
  
  No   revision
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/windows/accountmanager AccountClient.bat

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:19

  Modified:src/scripts/windows/accountmanager AccountClient.bat
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.9   +1 -1  zola/src/scripts/windows/accountmanager/AccountClient.bat
  
  Index: AccountClient.bat
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/windows/accountmanager/AccountClient.bat,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AccountClient.bat 2000/07/03 19:58:10 1.8
  +++ AccountClient.bat 2001/05/29 09:23:19 1.9
  @@ -12,7 +12,7 @@
   set CP=%CP%;..\lib\jta-spec1_0_1.jar
   
   REM javax.ejb
  -set CP=%CP%;..\lib\ejb.jar
  +set CP=%CP%;..\lib\jboss-j2ee.jar
   
   REM client classes
   set CP=%CP%;..;.;..\clients\AccountClient.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/windows/shortpath ShortPathClient.bat

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:19

  Modified:src/scripts/windows/shortpath ShortPathClient.bat
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.2   +1 -1  zola/src/scripts/windows/shortpath/ShortPathClient.bat
  
  Index: ShortPathClient.bat
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/windows/shortpath/ShortPathClient.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ShortPathClient.bat   2000/09/04 16:32:37 1.1
  +++ ShortPathClient.bat   2001/05/29 09:23:19 1.2
  @@ -6,7 +6,7 @@
   set CP=..\lib\jboss-client.jar
   
   REM javax.ejb
  -set CP=%CP%;..\lib\ejb.jar
  +set CP=%CP%;..\lib\jboss-j2ee.jar
   
   REM jnp client
   set CP=%CP%;..\lib\jnp-client.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/windows/shoppingcart ShoppingCartClient.bat

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:19

  Modified:src/scripts/windows/shoppingcart ShoppingCartClient.bat
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.4   +1 -1  zola/src/scripts/windows/shoppingcart/ShoppingCartClient.bat
  
  Index: ShoppingCartClient.bat
  ===
  RCS file: 
/cvsroot/jboss/zola/src/scripts/windows/shoppingcart/ShoppingCartClient.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ShoppingCartClient.bat2000/08/26 09:43:53 1.3
  +++ ShoppingCartClient.bat2001/05/29 09:23:19 1.4
  @@ -6,7 +6,7 @@
   set CP=..\lib\jboss-client.jar
   
   REM javax.ejb
  -set CP=%CP%;..\lib\ejb.jar
  +set CP=%CP%;..\lib\jboss-j2ee.jar
   
   REM jnp client
   set CP=%CP%;..\lib\jnp-client.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/unix/shoppingcart ShoppingCartClient.sh

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:19

  Modified:src/scripts/unix/shoppingcart ShoppingCartClient.sh
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.2   +1 -1  zola/src/scripts/unix/shoppingcart/ShoppingCartClient.sh
  
  Index: ShoppingCartClient.sh
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/unix/shoppingcart/ShoppingCartClient.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ShoppingCartClient.sh 2000/06/02 20:48:35 1.1
  +++ ShoppingCartClient.sh 2001/05/29 09:23:19 1.2
  @@ -7,7 +7,7 @@
   fi
   
   # javax.ejb
  -CP=$CP:../lib/ejb.jar
  +CP=$CP:../lib/jboss-j2ee.jar
   
   # client classes
   CP=$CP:../clients/ShoppingCartClient.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/windows/mandelbrot MandelClient.bat

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:19

  Modified:src/scripts/windows/mandelbrot MandelClient.bat
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.6   +1 -1  zola/src/scripts/windows/mandelbrot/MandelClient.bat
  
  Index: MandelClient.bat
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/windows/mandelbrot/MandelClient.bat,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MandelClient.bat  2000/07/06 00:54:26 1.5
  +++ MandelClient.bat  2001/05/29 09:23:19 1.6
  @@ -5,7 +5,7 @@
   REM The ejboss infrastructure
   set CP=..\lib\jboss-Client.jar
   
  -set CP=%CP%;..\lib\ejb.jar
  +set CP=%CP%;..\lib\jboss-j2ee.jar
   set CP=%CP%;..\lib\jnp-client.jar
   set CP=%CP%;..
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/unix/accountmanager AccountClient.sh

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:18

  Modified:src/scripts/unix/accountmanager AccountClient.sh
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.3   +1 -1  zola/src/scripts/unix/accountmanager/AccountClient.sh
  
  Index: AccountClient.sh
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/unix/accountmanager/AccountClient.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AccountClient.sh  2000/07/03 19:58:11 1.2
  +++ AccountClient.sh  2001/05/29 09:23:18 1.3
  @@ -19,7 +19,7 @@
   CP=$CP:../lib/jta-spec1_0_1.jar
   
   # javax.ejb
  -CP=$CP:../lib/ejb.jar
  +CP=$CP:../lib/jboss-j2ee.jar
   
   # client classes
   CP=$CP:..:.:../clients/AccountClient.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/java/org/jboss/zol/accountmanager subbuild.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:18

  Modified:src/java/org/jboss/zol/accountmanager subbuild.xml
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.2   +2 -2  zola/src/java/org/jboss/zol/accountmanager/subbuild.xml
  
  Index: subbuild.xml
  ===
  RCS file: /cvsroot/jboss/zola/src/java/org/jboss/zol/accountmanager/subbuild.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- subbuild.xml  2000/04/27 19:45:35 1.1
  +++ subbuild.xml  2001/05/29 09:23:18 1.2
  @@ -4,7 +4,7 @@
   
 !-- BUILD ACCOUNT AND ACCOUNT MANAGER --
 mkdir dir=${build.dest}/META-INF/
  -  copyfile  src=${build.dest}/${accountmanager}/META-INF/ejb-jar.xml
  +  copyfile  src=${build.src}/${accountmanager}/META-INF/ejb-jar.xml
dest=${build.dest}/META-INF/ejb-jar.xml/
 jar   jarfile=${build.ejbeans}/Account.jar
basedir=${build.dest}
  @@ -20,7 +20,7 @@
includes=${accountmanager}/client/*.class,
  ${accountmanager}/interfaces/*.class,
  ${account}/interfaces/InvalidLoginException.class
  - manifest=${build.dest}/${accountmanager}/client/META-INF/manifest.mf
  + manifest=${build.src}/${accountmanager}/client/META-INF/manifest.mf
excludes=META-INF/
   
   /target
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/lib jboss-j2ee.jar jboss-jdbc_ext.jar ejb.jar jdbc2_0-stdext.jar

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:18

  Added:   lib  jboss-j2ee.jar jboss-jdbc_ext.jar
  Removed: lib  ejb.jar jdbc2_0-stdext.jar
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.1  zola/lib/jboss-j2ee.jar
  
Binary file
  
  
  1.1  zola/lib/jboss-jdbc_ext.jar
  
Binary file
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/java/org/jboss/zol/testbean2 subbuild.xml

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:18

  Modified:src/java/org/jboss/zol/testbean2 subbuild.xml
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.3   +1 -1  zola/src/java/org/jboss/zol/testbean2/subbuild.xml
  
  Index: subbuild.xml
  ===
  RCS file: /cvsroot/jboss/zola/src/java/org/jboss/zol/testbean2/subbuild.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- subbuild.xml  2001/04/21 21:46:28 1.2
  +++ subbuild.xml  2001/05/29 09:23:18 1.3
  @@ -4,7 +4,7 @@
   
 !-- BUILD TESTBEAN2 JAR --
 mkdir dir=${build.dest}/META-INF/
  -  copydir   src=${build.dest}/${testbean2}/META-INF
  +  copydir   src=${build.src}/${testbean2}/META-INF
dest=${build.dest}/META-INF/
 jar   jarfile=${build.ejbeans}/TestBeans2.jar
basedir=${build.dest}
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: zola/src/scripts/windows/testbean TestBeanClient.bat

2001-05-29 Thread pkendall

  User: pkendall
  Date: 01/05/29 02:23:20

  Modified:src/scripts/windows/testbean TestBeanClient.bat
  Log:
  Change to use jboss-j2ee jars and fix build problems.
  
  Revision  ChangesPath
  1.7   +1 -1  zola/src/scripts/windows/testbean/TestBeanClient.bat
  
  Index: TestBeanClient.bat
  ===
  RCS file: /cvsroot/jboss/zola/src/scripts/windows/testbean/TestBeanClient.bat,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestBeanClient.bat2000/07/06 01:13:40 1.6
  +++ TestBeanClient.bat2001/05/29 09:23:20 1.7
  @@ -7,7 +7,7 @@
   set VERSION=PROD.VER
   
   REM all clients need this
  -set CP=../lib/ejb.jar
  +set CP=../lib/jboss-j2ee.jar
   set CP=%CP%;../lib/jndi.jar
   set CP=%CP%;../lib/jta-spec1_0_1.jar
   set CP=%CP%;../lib/jboss-Client.jar
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



RE: [JBoss-dev] advconfig.xml

2001-05-29 Thread Ferguson, Doug

Commit option D hasn't been commited. 
I am having issues with my cvs rw login.

I sent Marc and Scott emails to try and correct this.
I included code in the email.

Hopefully commit option D will make it into the new release.
I'll keep you updated.

Cheers,
d.

-Original Message-
From: Georg Rehfeld [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 28, 2001 5:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-dev] advconfig.xml


Dear Per, dear Tobias,

Per wrote:
 To me newer than the 2.2.1 release is ambiguous.

I agree, if or when the first release that has commit option D 
is known it should be expicitely named.

Tobias (alias gropi?) wrote:
 Log:
 Clarifications for the commit-option 

 Jetzt ist's ins cvs comitted.

Thanks for proof reading and adding it to the docs.

best regards

Georg
 ___   ___
| + | |__Georg Rehfeld  Woltmanstr. 12 20097 Hamburg
|_|_\ |___   [EMAIL PROTECTED]   +49 (40) 23 53 27 10



___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] MDB Auto-_-_Acknowledge

2001-05-29 Thread Peter Antman

On 29 Maj, Vincent Harcq wrote:
 Hi,
 Both of you gives me a clever answer for a stupid question ;)
 What I only wanted to point out, it is that specifying in ejb-jar.xml:
   acknowledge-modeAUTO_ACKNOWELDGE/acknowledge-mode
 is not correct.
 It should be
   acknowledge-modeAuto-acknowlede/acknowledge-mode
 
 - and not _
 
 AUTO_ACKNOWLEDGE is when doing JMS
 Auto-acknowlede is when deploying MDB
 
 I understand (now) that JBossMQ does not care of the value, but the docu
 should give
 the correct definition.

OK, I am with you now. Go ahed and do it. It's in
org.jboss.metadata.MessageDrivenMetaData and in the documentation.

Please , keep AUTO_ACKNOWELDGE as a possible way, just for the sake of
backward compatibility.

//Peter
 
 Regards.
 VIncent.
 
 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de
 Hiram Chirino
 Envoyé : mardi 29 mai 2001 1:45
 À : [EMAIL PROTECTED]
 Objet : Re: [JBoss-dev] MDB Auto-_-_Acknowledge


 I totally agree with peter.  If the container takes the
 Dups-ok-acknowledge setting and implements it just like the
 Auto-acknowledge setting, the container's contract with the client would
 still be vaild.

 Regards,
 Hiram

 - Original Message -
 From: Peter Antman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 28, 2001 3:02 AM
 Subject: Re: [JBoss-dev] MDB Auto-_-_Acknowledge


  On 28 Maj, Vincent Harcq wrote:
   Hi,
   After implementing MDB in ejbdoclet, one of the developer find out
   that jboss does not follow the spec for acknowledge-mode on MDB.
   Page 462:
   !--
   The acknowledge-mode element specifies whether JMS AUTO_ACKNOWLEDGE
   or DUPS_OK_ACKNOWLEDGE message acknowledgment semantics should be
   used for the onMessage message of a message-driven bean that uses bean
   managed transaction demarcation.
   The acknowledge-mode element must be one of the two following:
   acknowledge-modeAuto-acknowledge/acknowledge-mode
   acknowledge-modeDups-ok-acknowledge/acknowledgemode
   Used in: message-driven
   --
  
   So - for MDB and _ for JMS
  
   Stupidity of the spec maybe, but we need to change jboss to have full
   compliance.  I can commit the change and I propose to keep both
   possibilities for safety.
  
 
  Well, I don't think it is that easy. First we had support for it. Then
  Hiram added support for XA transactions in JBossMQ and added support for
  that in the MDB container, but broke support for ACK modes. We had some
  arguing about this, and finally decided that we did not need to support
  DUPS_OK_ACKNOWLEDGE.
 
  Was this bad or god? Well, I would interpret it this way.
 
  1. With bean managed transaction we support AUTO_ACKNOWLEDGE semantics,
 i.e every message is automtically acked. Yes, we are doing it with a
 transacted session, but that is an implementation question and
 nothing else (who cares that non XA transactions in JBossMQ is
 actually managed with single commit XA transactions under the hood?
 
  2. DUP_OK. To my knowledge this is a flag that the JMS provider MAY
 obay (i.e it is completly up to the JMS provider how to implement
 support for this - it may even be done as AUTO_ACKNOWLEDGE). What it
 says is that if it is used ,the client have to be aware that there
 may be some resent messages.
 
  Therefore I would say that the MDB container is spec compliant. You may
  specify AUTO_ACKNOWLEDGE or DUP_OK in the deployment descriptor, but the
  implementation does not care (which in my view probably is not a breach
  with the spec). If it is possible to show that DUPS_OK if used could
  lead to dramatic increase in performance, that would be another
  question.
 
  That to say, if you are able enough to reimplement support for DUPS_PK
  without braking anything, please go ahead.
 
  file://Peter
 
   Vincent.
  
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development

-- 
Jobba hos oss: http://www.tim.se/weblab

Peter Antman Technology in Media, Box 34105 100 26 Stockholm
Systems ArchitectWWW: http://www.tim.se
Email: [EMAIL PROTECTED]WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 



___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] org.jboss.Main and relocating directories

2001-05-29 Thread Juha Lindfors


Hi,

At 15:29 29.5.2001 +0100, you wrote:
I reckon it should be 

 URL confDirectory = new File(confName).getCanonicalFile().toURL();

I happily volunteer my time improving/fixing things (I reckon that I
am going to run into some further trouble as I go along) as well as
making a debianized version available when finished.

What is the preferred method for contributions?

For small fixes, please send a patch to the sourceforge tracker, you can
find the link here: http://www.jboss.org/business/contrib.html

-- Juha



___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: manual/src/docs howtomdb.xml

2001-05-29 Thread vharcq

  User: vharcq  
  Date: 01/05/29 14:45:12

  Modified:src/docs howtomdb.xml
  Log:
  Make docu spec compliant (PFD2 22.5)
  
  Revision  ChangesPath
  1.6   +3 -3  manual/src/docs/howtomdb.xml
  
  Index: howtomdb.xml
  ===
  RCS file: /cvsroot/jboss/manual/src/docs/howtomdb.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- howtomdb.xml  2001/05/25 13:06:38 1.5
  +++ howtomdb.xml  2001/05/29 21:45:12 1.6
  @@ -40,7 +40,7 @@
 ejb-classorg.jboss.test.mdb.bean.QueueBean/ejb-class
 message-selector/message-selector
 transaction-typeBean/transaction-type
  -  acknowledge-modeAUTO_ACKNOWLEDGE/acknowledge-mode
  +  acknowledge-modeAuto-acknowledge/acknowledge-mode
 message-driven-destination
   destination-typejavax.jms.Queue/destination-type
   subscription-durabilityNonDurable/subscription-durability
  @@ -751,10 +751,10 @@
   ]]/programlisting
/listitem
listitem
  - paraA bean managed bean may have an 
acknowledge type of either AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE. This is currently 
not supported in JBoss since the container always are receiving messages under a 
transaction. But it is described in the stanza acknowledge-mode./para
  + paraA bean managed bean may have an 
acknowledge type of either Auto-acknowledge or Dups-ok-acknowledge. This is currently 
not supported in JBoss since the container always are receiving messages under a 
transaction. But it is described in the stanza acknowledge-mode./para
programlisting![CDATA[
transaction-typeBean/transaction-type
  - acknowledge-modeAUTO_ACKNOWLEDGE/acknowledge-mode
  + acknowledge-modeAuto-acknowledge/acknowledge-mode
   ]]/programlisting
/listitem
listitem
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



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

2001-05-29 Thread vharcq

  User: vharcq  
  Date: 01/05/29 15:02:58

  Modified:src/resources/org/jboss/metadata jaws.dtd
  Log:
  Add missing entity elements
  
  Revision  ChangesPath
  1.4   +3 -2  jboss/src/resources/org/jboss/metadata/jaws.dtd
  
  Index: jaws.dtd
  ===
  RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jaws.dtd,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jaws.dtd  2001/05/27 00:49:16 1.3
  +++ jaws.dtd  2001/05/29 22:02:58 1.4
  @@ -39,9 +39,10 @@
select-for-update: On loading the bean, use the 'select ... for update' syntax,
 locking the row.
pk-constraint: If create-table is on, create it with a primary key.
  - time-out: --
  + time-out: For read-only only, re-load entity after time-out
  +--
   !ELEMENT entity (ejb-name,cmp-field*,finder*,read-ahead?,read-only?,
  -  
table-name?,tuned-updates?,create-table?,remove-table?,select-for-update?)
  +  
table-name?,tuned-updates?,create-table?,remove-table?,select-for-update?,time-out?,pk-constraint?)
   
   !-- ejb-name within an entity element must contain the ejb-name as specified
in ejb-jar.xml. --
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] jboss daily test results

2001-05-29 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   75



Successful tests:  71

Errors:1

Failures:  3



[time of test: 30 May 2001 2:51]

See http://lubega.com for full details




DETAILS OF ERRORS



Suite:   org.jboss.test.cts.test.AllJUnitTests
Test:testRemoveSessionObject
Type:failure
Exception:   junit.framework.AssertionFailedError
Message: [EJB 1.1, p42, section 5.3.2] Expected 'RemoveException' when remove-ing 
a session object, detail:java.rmi.ServerException: RemoteException occurred in server 
thread; nested exception is:   javax.transaction.TransactionRolledbackException: Could 
not activate; nested exception is:   java.io.FileNotFoundException: 
[EMAIL PROTECTED]
 (No such file or directory); nested exception is:   java.rmi.NoSuchObjectException: 
Could not activate; nested exception is:   java.io.FileNotFoundException: 
[EMAIL PROTECTED]
 (No such file or directory)
Stack Trace:
junit.framework.AssertionFailedError: [EJB 1.1, p42, section 5.3.2] Expected 
'RemoveException' when remove-ing a session object, detail:java.rmi.ServerException: 
RemoteException occurred in server thread; nested exception is: 
javax.transaction.TransactionRolledbackException: Could not activate; nested 
exception is: 
java.io.FileNotFoundException: 
[EMAIL PROTECTED]
 (No such file or directory); nested exception is: 
java.rmi.NoSuchObjectException: Could not activate; nested exception is: 
java.io.FileNotFoundException: 
[EMAIL PROTECTED]
 (No such file or directory)
at junit.framework.Assert.fail(Assert.java:143)
at 
org.jboss.test.cts.test.StatefulSessionTest.testRemoveSessionObject(StatefulSessionTest.java:188)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:155)
at junit.framework.TestCase.runBare(TestCase.java:129)
at junit.framework.TestResult$1.protect(TestResult.java:100)
at junit.framework.TestResult.runProtected(TestResult.java:117)
at junit.framework.TestResult.run(TestResult.java:103)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.run(TestSuite.java:144)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:209)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:342)

-



Suite:   org.jboss.test.cts.test.AllJUnitTests
Test:testProbeBeanContext
Type:failure
Exception:   junit.framework.AssertionFailedError
Message: Caught an unknown exception in testProbeBeanContex
Stack Trace:
junit.framework.AssertionFailedError: Caught an unknown exception in 
testProbeBeanContex
at junit.framework.Assert.fail(Assert.java:143)
at 
org.jboss.test.cts.test.StatefulSessionTest.testProbeBeanContext(StatefulSessionTest.java:467)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:155)
at junit.framework.TestCase.runBare(TestCase.java:129)
at junit.framework.TestResult$1.protect(TestResult.java:100)
at junit.framework.TestResult.runProtected(TestResult.java:117)
at junit.framework.TestResult.run(TestResult.java:103)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.run(TestSuite.java:144)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:209)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:342)

-



Suite:   org.jboss.test.cts.test.AllJUnitTests
Test:testEjbRemove
Type:failure
Exception:   junit.framework.AssertionFailedError
Message: Got Exception: expecting NoSuchObjectExceptionjava.rmi.ServerException: 
RemoteException occurred in server thread; nested exception is:   
javax.transaction.TransactionRolledbackException: Instance 007 not found in database.; 
nested exception is:   javax.ejb.NoSuchEntityException: Instance 007 not found in 
database.
Stack Trace:
junit.framework.AssertionFailedError: Got Exception: expecting 
NoSuchObjectExceptionjava.rmi.ServerException: RemoteException occurred in server 
thread; nested exception is: 
javax.transaction.TransactionRolledbackException: Instance 007 not found in 
database.; nested exception is: 
javax.ejb.NoSuchEntityException: Instance 007 not found in database.
at junit.framework.Assert.fail(Assert.java:143)
at org.jboss.test.cts.test.BmpTest.testEjbRemove(BmpTest.java:224)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:155)
 

[JBoss-dev] CVS update: jnp/src/main/org/jnp/test - New directory

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 18:52:34

  jnp/src/main/org/jnp/test - New directory

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jnp/src/main/org/jnp/client Main.java

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 18:59:09

  Modified:src/main/org/jnp/client Main.java
  Log:
  Add support for setting the RMI client and server socket factories on which
  the Naming interface implementation is exported.
  
  Revision  ChangesPath
  1.6   +33 -16jnp/src/main/org/jnp/client/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jnp/src/main/org/jnp/client/Main.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Main.java 2001/04/26 07:50:51 1.5
  +++ Main.java 2001/05/30 01:59:09 1.6
  @@ -23,6 +23,8 @@
   import javax.naming.NameParser;
   import javax.naming.NamingException;
   import javax.naming.NameNotFoundException;
  +import javax.naming.Reference;
  +import javax.naming.StringRefAddr;
   
   /**
*   This is a test client of the NamingServer. It calls the server
  @@ -33,7 +35,7 @@
*   @see NamingContext
*   @author oberg
*   @author [EMAIL PROTECTED]
  - *   @version $Revision: 1.5 $
  + *   @version $Revision: 1.6 $
*/
   public class Main
  implements Runnable
  @@ -79,11 +81,16 @@
  public void showTree(Context ctx)
 throws NamingException
  {
  +  showTree(ctx, Integer.MAX_VALUE);
  +   }
  +   public void showTree(Context ctx, int maxDepth)
  +  throws NamingException
  +   {
 System.out.println();
  -  showTree(/, ctx);
  +  showTree(/, ctx, 0, maxDepth);
 System.out.println();
  }
  -   
  +
  // Runnable implementation ---
   
  /**
  @@ -209,6 +216,14 @@

showTree(ctx);
   
  + // Test a URL Reference to a filesystem context
  + StringRefAddr addr = new StringRefAddr(URL, file:/tmp);
  + Reference fsRef = new Reference(javax.naming.Context, addr);
  + ctx.bind(external, fsRef);
  + Context tmpfs = (Context) ctx.lookup(external);
  + System.out.println(+++ tmp filesystem context:);
  + showTree(tmpfs, 2);
  +
// Create an initial context that is rooted at /test
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  @@ -265,25 +280,27 @@
  remoteServer.start();
  }
   
  -   /**
  +/**
   *   Print the contents of a JNDI context recursively
   *
   * @param   indent  indentation string
   * @param   ctx  the JNDI context
   * @exception   NamingException  thrown if any problems occur
   */
  -   private void showTree(String indent, Context ctx)
  -  throws NamingException
  -   {
  -  NamingEnumeration enum = ctx.list();
  -  while (enum.hasMoreElements())
  -  {
  - NameClassPair ncp = (NameClassPair)enum.next();
  - System.out.println(indent+ncp);
  - if (ncp.getClassName().indexOf(Context) != -1)
  -showTree(indent+ncp.getName()+/, (Context)ctx.lookup(ncp.getName()));
  -  }
  -   }
  +private void showTree(String indent, Context ctx, int depth, int maxDepth)
  +throws NamingException
  +{
  +if( depth == maxDepth )
  +return;
  +NamingEnumeration enum = ctx.list();
  +while (enum.hasMoreElements())
  +{
  +NameClassPair ncp = (NameClassPair)enum.next();
  +System.out.println(indent+ncp);
  +if (ncp.getClassName().indexOf(Context) != -1)
  +   showTree(indent+ncp.getName()+/, 
(Context)ctx.lookup(ncp.getName()), depth+1, maxDepth);
  +}
  +}
   
  // Inner classes -
   }
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jnp/src/main/org/jnp/server Main.java MainMBean.java

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 18:59:10

  Modified:src/main/org/jnp/server Main.java MainMBean.java
  Log:
  Add support for setting the RMI client and server socket factories on which
  the Naming interface implementation is exported.
  
  Revision  ChangesPath
  1.6   +60 -13jnp/src/main/org/jnp/server/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jnp/src/main/org/jnp/server/Main.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Main.java 2001/04/26 07:50:52 1.5
  +++ Main.java 2001/05/30 01:59:10 1.6
  @@ -16,6 +16,8 @@
   import java.rmi.Remote;
   import java.rmi.RemoteException;
   import java.rmi.MarshalledObject;
  +import java.rmi.server.RMIClientSocketFactory;
  +import java.rmi.server.RMIServerSocketFactory;
   import java.rmi.server.UnicastRemoteObject;
   import java.util.Properties;
   
  @@ -33,7 +35,7 @@
   
   @author oberg
   @author [EMAIL PROTECTED]
  -@version $Revision: 1.5 $
  +@version $Revision: 1.6 $
   */
   public class Main
  implements Runnable, MainMBean
  @@ -41,13 +43,26 @@
   // Constants -
   
   // Attributes 
  -NamingServer theServer;
  -MarshalledObject serverStub;
  -ServerSocket serverSocket;
  -
  -int port = 1099;
  -int rmiPort = 0; // Anonymous
  -Category log;
  +/** The Naming interface server implementation */
  +protected NamingServer theServer;
  +protected MarshalledObject serverStub;
  +/** The jnp server socket through which the NamingServer stub is vended */
  +protected ServerSocket serverSocket;
  +/** An optional custom client socket factory */
  +protected RMIClientSocketFactory clientSocketFactory;
  +/** An optional custom server socket factory */
  +protected RMIServerSocketFactory serverSocketFactory;
  +/** The class name of the optional custom client socket factory */
  +protected String clientSocketFactoryName;
  +/** The class name of the optional custom server socket factory */
  +protected String serverSocketFactoryName;
  +/** The jnp protocol listening port. The default is 1099, the same as
  +the RMI registry default port. */
  +protected int port = 1099;
  +/** The RMI port on which the Naming implementation will be exported. The
  +default is 0 which means use any available port. */
  +protected int rmiPort = 0;
  +protected Category log;
   
   // Static 
   public static void main(String[] args)
  @@ -88,6 +103,32 @@
   public void setPort(int p) { port = p; }
   public int getPort() { return port; }
   
  +public String getClientSocketFactory()
  +{
  +return serverSocketFactoryName;
  +}
  +public void setClientSocketFactory(String factoryClassName)
  +throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
  +{
  +this.clientSocketFactoryName = factoryClassName;
  +ClassLoader loader = Thread.currentThread().getContextClassLoader();
  +Class clazz = loader.loadClass(clientSocketFactoryName);
  +clientSocketFactory = (RMIClientSocketFactory) clazz.newInstance();
  +}
  +
  +public String getServerSocketFactory()
  +{
  +return serverSocketFactoryName;
  +}
  +public void setServerSocketFactory(String factoryClassName)
  +throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
  +{
  +this.serverSocketFactoryName = factoryClassName;
  +ClassLoader loader = Thread.currentThread().getContextClassLoader();
  +Class clazz = loader.loadClass(serverSocketFactoryName);
  +serverSocketFactory = (RMIServerSocketFactory) clazz.newInstance();
  +}
  +
   public void start()
 throws Exception
   {
  @@ -99,18 +140,24 @@
   NamingContext.setLocal(theServer);
   
   // Export server
  -serverStub = new 
MarshalledObject(UnicastRemoteObject.exportObject(theServer, rmiPort));
  +Remote stub = UnicastRemoteObject.exportObject(theServer, rmiPort, 
clientSocketFactory, serverSocketFactory);
  +serverStub = new MarshalledObject(stub);
   
   // Start listener
   try
   {
   serverSocket = null;
  -serverSocket = new ServerSocket(getPort());
  -log.info(Started jnpPort= + getPort()+, rmiPort=+getRmiPort());
  +serverSocket = new ServerSocket(port);
  +// If an anonymous port was specified get the actual port used
  +if( port == 0 )
  +port = serverSocket.getLocalPort();
  +String msg = Started jnpPort= + port +, rmiPort= + rmiPort
  +   

[JBoss-dev] CVS update: jnp/src/main/org/jnp/test TestJNPSockets.java

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 18:59:10

  Added:   src/main/org/jnp/test TestJNPSockets.java
  Log:
  Add support for setting the RMI client and server socket factories on which
  the Naming interface implementation is exported.
  
  Revision  ChangesPath
  1.1  jnp/src/main/org/jnp/test/TestJNPSockets.java
  
  Index: TestJNPSockets.java
  ===
  package org.jnp.test;
  
  import java.io.IOException;
  import java.io.Serializable;
  import java.net.Socket;
  import java.net.ServerSocket;
  import java.rmi.server.RMIClientSocketFactory;
  import java.rmi.server.RMIServerSocketFactory;
  import java.util.Properties;
  import javax.naming.InitialContext;
  
  import junit.framework.TestSuite;
  import junit.framework.TestCase;
  
  import org.jnp.server.Main;
  
  /** A test of RMI custom sockets with the jnp JNDI provider.
  
  @author [EMAIL PROTECTED]
  @version $Revision: 1.1 $
  */
  public class TestJNPSockets extends TestCase
  {
  static Main server;
  static int serverPort;
  
  public TestJNPSockets(String name)
  {
  super(name);
  }
  
  protected void setUp() throws Exception
  {
  if( server != null )
  return;
  
  server = new Main();
  server.setPort(0);
  server.setClientSocketFactory(ClientSocketFactory.class.getName());
  server.setServerSocketFactory(ServerSocketFactory.class.getName());
  server.start();
  serverPort = server.getPort();
  }
  
  public void testAccess() throws Exception
  {
  Properties env = new Properties();
  env.setProperty(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);
  env.setProperty(java.naming.provider.url, localhost:+serverPort);
  env.setProperty(java.naming.factory.url.pkgs, org.jnp.interfaces);
  InitialContext ctx = new InitialContext(env);
  System.out.println(Connected to jnp service);
  ctx.list();
  ctx.close();
  if( ClientSocketFactory.created == false )
  fail(No ClientSocketFactory was created);
  if( ServerSocketFactory.created == false )
  fail(No ServerSocketFactory was created);
  server.stop();
  }
  
  public static void main(String[] args) throws Exception
  {
  System.setErr(System.out);
  org.apache.log4j.BasicConfigurator.configure();
  TestSuite suite = new TestSuite(TestJNPSockets.class);
  junit.textui.TestRunner.run(suite);
  }
  
  public static class ClientSocketFactory implements RMIClientSocketFactory, 
Serializable
  {
  static boolean created;
  public Socket createSocket(String host, int port) throws IOException
  {
  Socket clientSocket = new Socket(host, port);
  System.out.println(createSocket - +clientSocket);
  created = true;
  return clientSocket;
  }
  }
  
  public static class ServerSocketFactory implements RMIServerSocketFactory, 
Serializable
  {
  static boolean created;
  public ServerSocket createServerSocket(int port) throws IOException
  {
  ServerSocket serverSocket = new ServerSocket(port);
  System.out.println(createServerSocket - +serverSocket);
  created = true;
  return serverSocket;
  }
  }
  }
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jnp/src/build build.xml

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 19:01:38

  Modified:src/build build.xml
  Log:
  Add the junit jar for building the jnp test cases
  
  Revision  ChangesPath
  1.5   +1 -0  jnp/src/build/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jnp/src/build/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml 2001/04/23 06:05:44 1.4
  +++ build.xml 2001/05/30 02:01:38 1.5
  @@ -28,6 +28,7 @@
 path id=base.path
   pathelement location=${lib.dir}/jmxri.jar /
   pathelement location=${build.classes.dir} /
  +pathelement location=${src.lib.dir}/junit.jar /
   pathelement location=${src.lib.dir}/log4j.jar /
 /path
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jboss/src/lib jnpserver.jar

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 19:03:37

  Modified:src/lib  jnpserver.jar
  Log:
  Update jnp JNDI implementation with version that supports externalization of
  the RMI client and server socket factories
  
  Revision  ChangesPath
  1.13  +37 -31jboss/src/lib/jnpserver.jar
  
Binary file
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jboss/src/main/org/jboss/naming NamingService.java

2001-05-29 Thread starksm

  User: starksm 
  Date: 01/05/29 19:05:18

  Modified:src/main/org/jboss/naming NamingService.java
  Log:
  Implement the client and server socket factories setter/getter methods of
  the org.jnp.server.MainMBean interface
  
  Revision  ChangesPath
  1.11  +24 -6 jboss/src/main/org/jboss/naming/NamingService.java
  
  Index: NamingService.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/naming/NamingService.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- NamingService.java2001/04/26 07:40:49 1.10
  +++ NamingService.java2001/05/30 02:05:18 1.11
  @@ -14,13 +14,11 @@
   import org.jboss.logging.Log;
   import org.jboss.util.ServiceMBeanSupport;
   
  -/**
  - *   description 
  +/** A JBoss service that starts the jnp JNDI server.
*  
  - *   @see related
*   @author Rickard Öberg ([EMAIL PROTECTED])
*   @author [EMAIL PROTECTED]
  - *   @version $Revision: 1.10 $
  + *   @version $Revision: 1.11 $
*/
   public class NamingService
  extends ServiceMBeanSupport
  @@ -60,6 +58,26 @@
 return naming.getRmiPort();
  }
   
  +public String getClientSocketFactory()
  +{
  +return naming.getClientSocketFactory();
  +}
  +public void setClientSocketFactory(String factoryClassName)
  +throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
  +{
  +naming.setClientSocketFactory(factoryClassName);
  +}
  +
  +public String getServerSocketFactory()
  +{
  +return naming.getServerSocketFactory();
  +}
  +public void setServerSocketFactory(String factoryClassName)
  +throws ClassNotFoundException, InstantiationException, 
IllegalAccessException
  +{
  +naming.setServerSocketFactory(factoryClassName);
  +}
  +
  public ObjectName getObjectName(MBeanServer server, ObjectName name)
 throws javax.management.MalformedObjectNameException
  {
  @@ -70,7 +88,7 @@
  {
 return Naming;
  }
  -   
  +
  public void initService()
 throws Exception
  {
  @@ -91,7 +109,7 @@
 ctx.rebind(comp, envRef);
 log.log(Naming started on port +naming.getPort());
  }
  -  
  +
  public void stopService()
  {
 naming.stop();
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development