[JBoss-dev] Miracles do happen :-)

2001-12-03 Thread Rickard Öberg

http://developer.java.sun.com/developer/bugParade/bugs/4388666.html

Finally.

-- 
Rickard Öberg


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



RE: [JBoss-dev] jBoss bug with SFLB

2001-12-03 Thread Schouten, Andreas


 We need more help than this to be of any use. Start with
 a sample unit test that exhibits the problem and submit it
 to sourceforge as a bug.
 
[Schouten, Andreas]  

Thats seems not to be possible, because the bug depends on something
special in our environment. Anyway it's a bug in jboss, because the
container should at least throw an exception, if it fails creating an
instance of a bean.

I made tests with SFSB's which access data thrue entity beans. In a
client loop I created 10,000 SFSB , hold 1,200 ejb handles in a hashmap and
removed the oldest. The result was positive. The response time is determined
by the database, the cpu usage low and the memory usage stable.

Then I made tests with my second type of SFSB. It's used to manage
asynchronous processes. The client creates an instance and store the ejb
handle, later it posts a jms message with the handle and parameters to a
MDB. The MDB call a start method on the process bean.
I created 1,200 instances and post all of them. The first 10 are
processed correct but then the creation of new SFSB's stucks for all types
of beans.

I assume, that the communication with a CORBA server cause the
problemes. But there are no exceptions in any logfile on the jBoss nor on
the CORBA side.

I fear I need to debug the interceptors by myself, because You won't
have a way to reproduce to situation. 

In which interceptor is a wait for a recource or a lock? Because the
transaction times out, no exception occur and cpu usage did not increase, it
must be a sleep. We need to know te excact point where it hangs.

I appricate all hints which let me less fishing to trouble water.

Andreas

P.S.: I checked also jBoss 2.4.4 /Catalina without success.
PP.S. : For entity beans, which are accessed by all types of SFSB's
we use the 'multy instance' interceptors. I don't think that there a
correlation to the problem, but just wan't notice this, because it's not the
standart configuration.





 -Original Message-
 From: Scott M Stark [SMTP:[EMAIL PROTECTED]]
 Sent: 29 November 2001 23:32
 To:   [EMAIL PROTECTED]
 Subject:  Re: [JBoss-dev] jBoss bug with SFLB
 
 We need more help than this to be of any use. Start with
 a sample unit test that exhibits the problem and submit it
 to sourceforge as a bug.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message -
 From: Schouten, Andreas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, November 29, 2001 7:22 AM
 Subject: [JBoss-dev] jBoss bug with SFLB
 
 
  Hi,
 
  JBoss runs frequently but in random situations in a bug and I need help
  finding the exact point where it fails.
 
  The application runs a while with good performance and creates and
 removes
  between 180 and 300 SFSB's.
  Then without a exception the creation of SFSB fails. I got the home
  interface and call the create method but setSessionContext and ejbCreate
 are
  not called on the bean instance. The create method doesn't return and
 after
  some minutes the transaction times out.
  EJB calls whithout creation of an SFSB still work fine.
 
  What are possible reasons for this? Wy may can't the container create
 new
  instances of SFSB?
 
  The number of actually instatiated SFSB's is lower then 25! The JVM uses
  only 10% of its max memory.
  We use jBoss 2.4.3 with Jetty. Sun jdk 1.3.1 on NT and blackdow jdk
 1.3.3
 on
  linux 2.4.8.
 
  Andreas
 
 
 
 
 
  If you have received this e-mail in error or wish to read our e-mail
 disclaimer statement and monitoring policy, please refer to
  http://www.drkw.com/disc/email/ or contact the sender.
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development


If you have received this e-mail in error or wish to read our e-mail disclaimer 
statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.

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



[JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Peter Fagerlund

FYI : I just did a fresh checkout and it halts at j2ee

I do some clean up in the lab instead ...

/peter_f



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



[JBoss-dev] [ jboss-Bugs-487586 ] CMP ejb throw systematicly a exception

2001-12-03 Thread noreply

Bugs item #487586, was opened at 2001-11-30 08:45
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487586group_id=22866

Category: JBossCMP
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Guillaume Coté (gcote)
Assigned to: Nobody/Anonymous (nobody)
Summary: CMP ejb throw systematicly a exception

Initial Comment:
With JBoss 2.4.3, I reproduced the bug both on Windows
NT and HPUX.

I have a CMP ejb that I use with two test program.  The
first program do a findAll() on the home interface and
the second create two ejb.

I run my list program, then my add program, and then my
list program again.  Every thing goes ok.  I wait about
half a hour and I run the list program again.  I got a
UndeclaredThrowableExceptionm caused by a
RollbackException.  At the same time, I got in the
server trace a ServerException, caused by a
NumberFormatException, with the following message : 06
00:00:00.0.

I'll expect the thing to be related with the date field
of the ejb.

There the beginning of the stack trace, I attach the
full stack trace with the bug.

java.lang.NumberFormatException: 06 00:00:00.0
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.sql.Date.valueOf(Date.java:91)
at org.hsqldb.Column.convertString(Column.java:1001)
at org.hsqldb.Column.convertObject(Column.java:1084)
at
org.hsqldb.jdbcPreparedStatement.setObject(jdbcPreparedStatement.java:589)
at
org.jboss.pool.jdbc.PreparedStatementInPool.setObject(PreparedStatementInPool.java:282)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setParameter(JDBCCommand.java:334)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.setParameters(JDBCStoreEntityCommand.java:134)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:159)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:97)
at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.storeEntity(JAWSPersistenceManager.java:168)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:397)

Please email me at [EMAIL PROTECTED] to tell me what
log can I setup to provide you more information.


--

Comment By: Guillaume Coté (gcote)
Date: 2001-12-03 01:48

Message:
Logged In: YES 
user_id=15328

Thanks for the workaround, it seems to work after 60 hours.

--

Comment By: Dan Christopherson (danch)
Date: 2001-11-30 08:54

Message:
Logged In: YES 
user_id=51915

This is a very common problem with the latest HyperSQL and
date fields: try changing any date fields to 'java.sql.Date'
rather than 'java.util.Date'


--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487586group_id=22866

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



RE: [JBoss-dev] [ jboss-Bugs-487846 ] org.jboss.proxy.Proxies.Impl.sameTypes()

2001-12-03 Thread marc fleury

peter you have rw don't you?

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|[EMAIL PROTECTED]
|Sent: Monday, December 03, 2001 7:49 AM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] [ jboss-Bugs-487846 ]
|org.jboss.proxy.Proxies.Impl.sameTypes()
|
|
|Bugs item #487846, was opened at 2001-12-01 08:17
|You can respond by visiting: 
|http://sourceforge.net/tracker/?func=detailatid=376685aid=487846;
|group_id=22866
|
|Category: JBossServer
|Group: v2.5 Rabbit Hole (unstable)
|Status: Closed
|Resolution: Fixed
|Priority: 5
|Submitted By: Peter Levart (plevart)
|Assigned to: Nobody/Anonymous (nobody)
|Summary: org.jboss.proxy.Proxies.Impl.sameTypes()
|
|Initial Comment:
|The org.jboss.proxy.Proxies.Impl.sameTypes() has two 
|bugs. The first is harmless as it will never be 
|executed but the second causes the method to return 
|the oposite boolean value as it should. The 
|consequence is that proxy generation producess new 
|instancess of Class anc ClassLoader objects for every 
|instance of the proxy that implements the same 
|interfaces. More dangerous is the fact that some day 
|the proxy generator could return a proxy instance 
|that actualy didn't implement the requested 
|interfaces.
|
|I reported this on the jboss-developement but heard 
|no answers yet. I'm submiting this as a bug so that 
|it won't be forgotten.
|
|Peter
|
|Here is the diff:
|
|Index: Proxies.java
|===
|RCS file: 
|/cvsroot/jboss/jboss/src/main/org/jboss/proxy/Proxies.java,v
|retrieving revision 1.7
|diff -c -r1.7 Proxies.java
|*** Proxies.java2001/11/26 03:19:46 1.7
|--- Proxies.java2001/12/01 16:05:13
|***
|*** 300,306 
|// (duplication and reordering are ignored)
|static boolean sameTypes(Class tt1[], Class 
|tt2[])
|{
|!  if (tt1.length == 1  tt2.length == 0)
|   {
|  return tt1[0] == tt2[0];
|   }
|--- 300,306 
|// (duplication and reordering are ignored)
|static boolean sameTypes(Class tt1[], Class 
|tt2[])
|{
|!  if (tt1.length == 1  tt2.length == 1)
|   {
|  return tt1[0] == tt2[0];
|   }
|***
|*** 335,341 
| totalSeen2 += seen2;
|  }
|  // now, each element of tt2 must have 
|been visited
|! return totalSeen2 != tt2.length;
|}
|
|static Class[] copyAndUniquify(Class 
|targetTypes[])
|--- 335,341 
| totalSeen2 += seen2;
|  }
|  // now, each element of tt2 must have 
|been visited
|! return totalSeen2 == tt2.length;
|}
|
|static Class[] copyAndUniquify(Class 
|targetTypes[])
|
|
|
|--
|
|You can respond by visiting: 
|http://sourceforge.net/tracker/?func=detailatid=376685aid=487846;
|group_id=22866
|
|___
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development

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



RE: [JBoss-dev] [ jboss-Patches-488277 ] Make JBoss compile with JDK 1.4 (#3)

2001-12-03 Thread marc fleury

Guillaume, 

envois moi un compte SF que je te file les droits rw

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|[EMAIL PROTECTED]
|Sent: Monday, December 03, 2001 12:32 AM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] [ jboss-Patches-488277 ] Make JBoss compile with
|JDK 1.4 (#3)
|
|
|Patches item #488277, was opened at 2001-12-02 21:31
|You can respond by visiting: 
|http://sourceforge.net/tracker/?func=detailatid=376687aid=488277;
|group_id=22866
|
|Category: JBossServer
|Group: v2.5 Rabbit Hole (unstable)
|Status: Open
|Resolution: None
|Priority: 5
|Submitted By: Guillaume Boissiere (boissier)
|Assigned to: Nobody/Anonymous (nobody)
|Summary: Make JBoss compile with JDK 1.4 (#3)
|
|Initial Comment:
|- patch #3: Same thing as previous patch but for the 
|testsuite TestConnection.java file.
|
|Please apply.  Thanks!
|
|-- Guillaume
|
|
|--- jboss-
|all/testsuite/src/main/org/jboss/test/util/TestConnecti
|on.javaSun Oct 21 19:03:48 2001
|+++ jboss-all-
|new/testsuite/src/main/org/jboss/test/util/TestConnecti
|on.javaSun Dec  2 21:49:50 2001
|@@ -118,4 +118,49 @@
| public void setTypeMap(Map parm1) throws 
|java.sql.SQLException {
| throw new SQLException(TEST_DB);
| }
|+
|+   
|+   // Note: The following methods have been added to 
|make the testsuite compile 
|+   //   with JDK 1.4.
|+   //   These methods will need to be implemented 
|later on.
|+   // Uncomment those 12 methods to compile JBoss 
|with JDK 1.4.
|+   /*
|+   public Statement createStatement(int 
|resultSetType, int resultSetConcurrency, int 
|resultSetHoldability) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public int getHoldability() throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public CallableStatement prepareCall(String sql, 
|int resultSetType, int resultSetConcurrency, int 
|resultSetHoldability) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public PreparedStatement prepareStatement(String 
|sql, int autoGeneratedKeys) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public PreparedStatement prepareStatement(String 
|sql, int resultSetType, int resultSetConcurrency, int 
|resultSetHoldability) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public PreparedStatement prepareStatement(String 
|sql, int[] columnIndexes) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public PreparedStatement prepareStatement(String 
|sql, String[] columnNames) throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public void releaseSavepoint(Savepoint savepoint) 
|throws SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public void rollback(Savepoint savepoint) throws 
|SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public void setHoldability(int holdability) throws 
|SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public Savepoint setSavepoint() throws 
|SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   public Savepoint setSavepoint(String name) throws 
|SQLException { 
|+throw new SQLException(TEST_DB);
|+   }
|+   */
|+   
| }
|
|
|
|--
|
|You can respond by visiting: 
|http://sourceforge.net/tracker/?func=detailatid=376687aid=488277;
|group_id=22866
|
|___
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development

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



RE: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport

2001-12-03 Thread marc fleury

go right ahead

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|Andreas Schaefer
|Sent: Sunday, December 02, 2001 9:32 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport
|
|
|Hi Geeks
|
|In JSR-77 I need to know when a component failed to be
|started. Right now ServiceMBeanSupport only goes back
|to STOPPED when starting of the component failed.
|
|Now I would like to add a new start called FAILED. Whenever
|a component failed to start OR stop in will go into this state. I
|would implement it this way that the state FAILED works like
|STOPPED.
|
|Any objections ?
|
|x
|Andreas Schaefer
|Senior Consultant
|JBoss Group, LLC
|x
|
|
|___
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development

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



RE: [JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/server MBeanServerImpl.java

2001-12-03 Thread marc fleury

Mr Lind-fors back in full fors

hope you pay your debt back to the group that brought you the book in the
first place ;-)

marcf

|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Juha
|Lindfors
|Sent: Sunday, December 02, 2001 9:21 PM
|To: [EMAIL PROTECTED]
|Subject: [JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/server
|MBeanServerImpl.java
|
|
|  User: juhalindfors
|  Date: 01/12/02 18:20:55
|
|  Added:   src/main/org/jboss/mx/server MBeanServerImpl.java
|  Log:
|
|
|  Revision  ChangesPath
|  1.1
|jmx/src/main/org/jboss/mx/server/MBeanServerImpl.java
|
|  Index: MBeanServerImpl.java
|  ===
|  /*
|   * LGPL
|   */
|  package org.jboss.mx.server;
|
|
|  import javax.management.InstanceNotFoundException;
|  import javax.management.ReflectionException;
|  import javax.management.MBeanException;
|  import javax.management.ObjectName;
|  import javax.management.ObjectInstance;
|  import javax.management.Attribute;
|  import javax.management.AttributeList;
|  import javax.management.MBeanServer;
|  import javax.management.NotificationListener;
|  import javax.management.NotificationFilter;
|  import javax.management.InstanceAlreadyExistsException;
|  import javax.management.NotCompliantMBeanException;
|  import javax.management.MBeanRegistrationException;
|  import javax.management.OperationsException;
|  import javax.management.IntrospectionException;
|  import javax.management.AttributeNotFoundException;
|  import javax.management.InvalidAttributeValueException;
|  import javax.management.ListenerNotFoundException;
|  import javax.management.RuntimeErrorException;
|  import javax.management.QueryExp;
|  import javax.management.MBeanInfo;
|  import javax.management.DynamicMBean;
|  import javax.management.loading.DefaultLoaderRepository;
|
|  import java.lang.reflect.Constructor;
|  import java.lang.reflect.InvocationTargetException;
|  import java.io.ObjectInputStream;
|
|  import org.jboss.mx.server.registry.BasicMBeanRegistry;
|  import org.jboss.mx.server.registry.MBeanRegistry;
|  import org.jboss.mx.server.registry.MBeanEntry;
|
|  public class MBeanServerImpl implements MBeanServer {
|
| protected String defaultDomain = DefaultDomain;
| protected MBeanRegistry registry= null;
|
| public MBeanServerImpl(String defaultDomain) {
|this.defaultDomain = defaultDomain;
|this.registry = new BasicMBeanRegistry();
| }
|
|
| public Object instantiate(String className) throws
|ReflectionException, MBeanException {
|try {
|   Class clazz = DefaultLoaderRepository.loadClass(className);
|   return clazz.newInstance();
|}
|catch (ClassNotFoundException e) {
|   throw new ReflectionException(e, Class not found:  +
|className);
|}
|catch (InstantiationException e) {
|   throw new ReflectionException(e, Cannot instantiate
|with no-args constructor:   + className);
|}
|catch (IllegalAccessException e) {
|   throw new ReflectionException(e, Illegal access to
|default constructor:   + className);
|}
| }
|
| public Object instantiate(String className, ObjectName loaderName)
| throws ReflectionException, MBeanException,
|InstanceNotFoundException {
|return null;
| }
|
| public Object instantiate(String className, Object[] params,
|String[] signature)
| throws ReflectionException, MBeanException {
|try {
|   Class clazz = DefaultLoaderRepository.loadClass(className);
|
|   Class[] sign = new Class[signature.length];
|   for (int i = 0; i  signature.length; ++i) {
|  try {
| sign[i] = DefaultLoaderRepository.loadClass(signature[i]);
|  }
|  catch (ClassNotFoundException e) {
| throw new ReflectionException(e, Constructor
|parameter class not found:  + signature[i]);
|  }
|   }
|
|   Constructor constructor = clazz.getConstructor(sign);
|   return constructor.newInstance(params);
|}
|catch (ClassNotFoundException e) {
|   throw new ReflectionException(e, Class not found:  +
|className);
|}
|catch (InstantiationException e) {
|   throw new ReflectionException(e, Cannot instantiate
|with specified constructor:  + className);
|}
|catch (IllegalAccessException e) {
|   throw new ReflectionException(e, Illegal access to
|specified constructor:  + className);
|}
|catch (NoSuchMethodException e) {
|   throw new ReflectionException(e, Specified constructor
|not found for class  + className);
|}
|catch (InvocationTargetException e) {
|   Throwable t = e.getTargetException();
|   if (t instanceof Exception)
|  throw new MBeanException((Exception)t, Constructor
|has thrown an 

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

2001-12-03 Thread Peter Levart

  User: plevart 
  Date: 01/12/03 06:14:19

  Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCCustomFinderQuery.java
  Log:
  Should implement JDBCQueryCommand
  
  Revision  ChangesPath
  1.4   +2 -2  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCustomFinderQuery.java
  
  Index: JDBCCustomFinderQuery.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCustomFinderQuery.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JDBCCustomFinderQuery.java2001/12/02 01:41:46 1.3
  +++ JDBCCustomFinderQuery.java2001/12/03 14:14:18 1.4
  @@ -30,9 +30,9 @@
*
* @see org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand
* @author a href=mailto:[EMAIL PROTECTED];Michel de Groot/a
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
*/
  -public class JDBCCustomFinderQuery {
  +public class JDBCCustomFinderQuery implements JDBCQueryCommand {
  private Logger log;
   
  /**
  
  
  

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



[JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread marc fleury

I said I would check on him.

So where is the code that integrates apache, 
anything to add to what was commited by scott?  

crocodile skin makes great underwear
We got a new crocodile? or a new RW?
rw soldiers perform great under wars

marcf


Marc Fleury
President
JBoss Group, LLC



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



Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport

2001-12-03 Thread David Jencks

On 2001.12.02 21:31:42 -0500 Andreas Schaefer wrote:
 Hi Geeks
 
 In JSR-77 I need to know when a component failed to be
 started. Right now ServiceMBeanSupport only goes back
 to STOPPED when starting of the component failed.
 
 Now I would like to add a new start called FAILED. Whenever
 a component failed to start OR stop in will go into this state. I
 would implement it this way that the state FAILED works like
 STOPPED.
 
 Any objections ?

Is there any way out of this state or are you stuck there?  How do you
remove a mbean in the FAILED state?

david jencks
 
 x
 Andreas Schaefer
 Senior Consultant
 JBoss Group, LLC
 x
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 

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



[JBoss-dev] CVS update: website-survey build.xml

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 07:33:25

  Modified:.build.xml
  Log:
  Fix for the 404 error message on the survey.
  
  Revision  ChangesPath
  1.4   +4 -1  website-survey/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/website-survey/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml 2001/10/02 22:33:43 1.3
  +++ build.xml 2001/12/03 15:33:25 1.4
  @@ -10,7 +10,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.3 2001/10/02 22:33:43 user57 Exp $ --
  +!-- $Id: build.xml,v 1.4 2001/12/03 15:33:25 schaefera Exp $ --
   
   project default=main name=JBoss Website/Survey
   
  @@ -428,6 +428,7 @@
   include name=head.jsp/
   include name=navigation.jsp/
   include name=slogan.jsp/
  +include name=common/picabanner.jsp/
 /fileset
   /war
   
  @@ -450,6 +451,7 @@
   include name=head.jsp/
   include name=navigation.jsp/
   include name=slogan.jsp/
  +include name=common/picabanner.jsp/
 /fileset
   /war
   
  @@ -472,6 +474,7 @@
   include name=head.jsp/
   include name=navigation.jsp/
   include name=slogan.jsp/
  +include name=common/picabanner.jsp/
 /fileset
   /war
   
  
  
  

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



[JBoss-dev] [ jboss-Bugs-487846 ] org.jboss.proxy.Proxies.Impl.sameTypes()

2001-12-03 Thread noreply

Bugs item #487846, was opened at 2001-12-01 08:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487846group_id=22866

Category: JBossServer
Group: v2.5 Rabbit Hole (unstable)
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Peter Levart (plevart)
Assigned to: Nobody/Anonymous (nobody)
Summary: org.jboss.proxy.Proxies.Impl.sameTypes()

Initial Comment:
The org.jboss.proxy.Proxies.Impl.sameTypes() has two 
bugs. The first is harmless as it will never be 
executed but the second causes the method to return 
the oposite boolean value as it should. The 
consequence is that proxy generation producess new 
instancess of Class anc ClassLoader objects for every 
instance of the proxy that implements the same 
interfaces. More dangerous is the fact that some day 
the proxy generator could return a proxy instance 
that actualy didn't implement the requested 
interfaces.

I reported this on the jboss-developement but heard 
no answers yet. I'm submiting this as a bug so that 
it won't be forgotten.

Peter

Here is the diff:

Index: Proxies.java
===
RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/proxy/Proxies.java,v
retrieving revision 1.7
diff -c -r1.7 Proxies.java
*** Proxies.java2001/11/26 03:19:46 1.7
--- Proxies.java2001/12/01 16:05:13
***
*** 300,306 
// (duplication and reordering are ignored)
static boolean sameTypes(Class tt1[], Class 
tt2[])
{
!  if (tt1.length == 1  tt2.length == 0)
   {
  return tt1[0] == tt2[0];
   }
--- 300,306 
// (duplication and reordering are ignored)
static boolean sameTypes(Class tt1[], Class 
tt2[])
{
!  if (tt1.length == 1  tt2.length == 1)
   {
  return tt1[0] == tt2[0];
   }
***
*** 335,341 
 totalSeen2 += seen2;
  }
  // now, each element of tt2 must have 
been visited
! return totalSeen2 != tt2.length;
}

static Class[] copyAndUniquify(Class 
targetTypes[])
--- 335,341 
 totalSeen2 += seen2;
  }
  // now, each element of tt2 must have 
been visited
! return totalSeen2 == tt2.length;
}

static Class[] copyAndUniquify(Class 
targetTypes[])



--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487846group_id=22866

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



Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport

2001-12-03 Thread David Jencks

On 2001.12.03 10:35:41 -0500 Andreas Schaefer wrote:
   In JSR-77 I need to know when a component failed to be
   started. Right now ServiceMBeanSupport only goes back
   to STOPPED when starting of the component failed.
   
   Now I would like to add a new start called FAILED. Whenever
   a component failed to start OR stop in will go into this state. I
   would implement it this way that the state FAILED works like
   STOPPED.
   
   Any objections ?
  
  Is there any way out of this state or are you stuck there?  How do you
  remove a mbean in the FAILED state?
 
 As I said the state FAILED works like STOPPED. Whenever a MBean
 is in the state FAILED you can try to restart it again.

Good, its looking better and better;-)  Are you sure you don't need 2
states, FAILED-START and FAILED-STOP? If the mbean failed to stop, what do
you do with it? Does it really make sense to try to start it again after a
failed stop?

david jencks
 
 Andy
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 

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



Re: [JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Scott M Stark

I just did a build on a fresh checkout and all is fine:

[starksm@banshee build]$ build.sh
Searching for build.xml ...
Buildfile: /home/starksm/cvsroot/Main/jboss-all/build/build.xml
...
Total time: 1 minute 24 seconds


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: Peter Fagerlund [EMAIL PROTECTED]
To: Scott M Stark [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, December 03, 2001 5:04 AM
Subject: [JBoss-dev] Fresh Checkout - Build Failing


 FYI : I just did a fresh checkout and it halts at j2ee

 I do some clean up in the lab instead ...

 /peter_f



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



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



[JBoss-dev] CVS update: jboss/src/main/org/jboss/web AbstractWebContainer.java AbstractWebContainerMBean.java

2001-12-03 Thread Scott M Stark

  User: starksm 
  Date: 01/12/03 09:43:14

  Modified:src/main/org/jboss/web AbstractWebContainer.java
AbstractWebContainerMBean.java
  Log:
  Change importXml(Element) to get/setConfig(Element) to work with the
  current nested configuration support construct that uses attributes.
  
  Revision  ChangesPath
  1.10  +10 -2 jboss/src/main/org/jboss/web/AbstractWebContainer.java
  
  Index: AbstractWebContainer.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/AbstractWebContainer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractWebContainer.java 2001/12/03 04:21:42 1.9
  +++ AbstractWebContainer.java 2001/12/03 17:43:14 1.10
  @@ -113,7 +113,7 @@
   @see org.jboss.security.SecurityAssociation;
   
   @author  [EMAIL PROTECTED]
  -@version $Revision: 1.9 $
  +@version $Revision: 1.10 $
   */
   public abstract class AbstractWebContainer extends ServiceMBeanSupport implements 
AbstractWebContainerMBean
   {
  @@ -274,11 +274,19 @@
   return deploymentMap.values().iterator();
   }
   
  +/** An accessor for any configuration element set via setConfig. This
  + method always returns null and must be overriden by subclasses to
  + return a valid value.
  + */
  +public Element getConfig()
  +{
  +   return null;
  +}
   /** This method is invoked to import an arbitrary XML configuration tree.
Subclasses should override this method if they support such a configuration
capability. This implementation does nothing.
*/
  -public void importXml(Element config)
  +public void setConfig(Element config)
   {
   }
   
  
  
  
  1.6   +11 -4 jboss/src/main/org/jboss/web/AbstractWebContainerMBean.java
  
  Index: AbstractWebContainerMBean.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/web/AbstractWebContainerMBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractWebContainerMBean.java2001/12/03 04:21:42 1.5
  +++ AbstractWebContainerMBean.java2001/12/03 17:43:14 1.6
  @@ -10,7 +10,7 @@
   /** A template pattern for web container integration into JBoss.
   
   @author  [EMAIL PROTECTED]
  -@version $Revision: 1.5 $
  +@version $Revision: 1.6 $
   */
   public interface AbstractWebContainerMBean extends ServiceMBean
   {
  @@ -21,7 +21,14 @@
   @return An Iterator of WebApplication objects for the deployed wars.
   */
  public Iterator getDeployedApplications();
  -   /** Allow the import of an arbitrary XML configuration tree
  -*/
  -   public void importXml(Element config);
  +/** An accessor for any configuration element set via setConfig. This
  + method always returns null and must be overriden by subclasses to
  + return a valid value.
  + */
  +public Element getConfig();
  +/** This method is invoked to import an arbitrary XML configuration tree.
  + Subclasses should override this method if they support such a configuration
  + capability. This implementation does nothing.
  + */
  +   public void setConfig(Element config);
   }
  
  
  

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



[JBoss-dev] CVS update: jboss/src/main/org/jboss/system ServiceConfigurator.java

2001-12-03 Thread Scott M Stark

  User: starksm 
  Date: 01/12/03 09:43:34

  Modified:src/main/org/jboss/system ServiceConfigurator.java
  Log:
  Fix the formatting.
  
  Revision  ChangesPath
  1.12  +218 -184  jboss/src/main/org/jboss/system/ServiceConfigurator.java
  
  Index: ServiceConfigurator.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/system/ServiceConfigurator.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ServiceConfigurator.java  2001/11/26 03:19:46 1.11
  +++ ServiceConfigurator.java  2001/12/03 17:43:33 1.12
  @@ -13,7 +13,7 @@
   import java.beans.PropertyEditor;
   import java.beans.PropertyEditorManager;
   import java.io.StringWriter;
  -import java.io.Writer;   
  +import java.io.Writer;
   import java.lang.reflect.Method;
   import java.lang.reflect.Modifier;
   import java.util.ArrayList;
  @@ -38,10 +38,10 @@
   
   /**
* Service configuration helper.
  - * 
  + *
* @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
* @author a href=mailto:[EMAIL PROTECTED];Hiram Chirino/a
  - * @version $Revision: 1.11 $
  + * @version $Revision: 1.12 $
*
* pb20010830 marc fleury:/b
* ul
  @@ -50,7 +50,7 @@
* pb20010831 hiram chirino:/b
* ul
*   liAdded suppport for org.w3c.dom.Element type mbean attributes.
  - *  The first child Element of the lt;attribute ...gt; is used 
  + *  The first child Element of the lt;attribute ...gt; is used
*  to set the value of the attribute.
* /ul
*/
  @@ -58,281 +58,305 @@
   {
  /** Primitive type name - class map. */
  private static Hashtable primitives = new Hashtable();
  - 
  +   
  /** Setup the primitives map. */
  -   static {
  +   static
  +   {
 primitives.put(int, Integer.TYPE);
 primitives.put(boolean, Boolean.TYPE);
 primitives.put(double, Double.TYPE);
 primitives.put(float, Float.TYPE);
 primitives.put(long, Long.TYPE);
  }
  - 
  +   
  /** The MBean server which this service is registered in. */
  private MBeanServer server;
  -
  +   
  /** The instance logger. */
  private static Logger log = Logger.getLogger(ServiceConfigurator.class);
  - 
  +   
  // Constructors --
  - 
  -   public ServiceConfigurator(final MBeanServer server) 
  +   
  +   public ServiceConfigurator(final MBeanServer server)
  {
 this.server = server;
  }
  
  // Public  ---
  - 
  +   
  /**
   * Builds a string that consists of the configuration elements of
   * the currently running MBeans registered in the server.
   *
   * @throws ExceptionFailed to construct configuration.
   */
  -   public String getConfiguration(ObjectName[] objectNames) 
  -  throws Exception 
  +   public String getConfiguration(ObjectName[] objectNames)
  +   throws Exception
  {
 Writer out = new StringWriter();
  - 
  +  
 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
 DocumentBuilder builder = factory.newDocumentBuilder();
 Document doc = builder.newDocument();
  - 
  +  
 Element serverElement = doc.createElement(server);
  - 
  +  
 // Store attributes as XML
  -  for (int j = 0 ; jobjectNames.length ; j++) 
  +  for (int j = 0 ; jobjectNames.length ; j++)
 {
ObjectInstance instance = server.getObjectInstance(objectNames[j]);
ObjectName name = (ObjectName)instance.getObjectName();
Element mbeanElement = doc.createElement(mbean);
mbeanElement.setAttribute(name, name.toString());
  - 
  + 
MBeanInfo info = server.getMBeanInfo(name);
mbeanElement.setAttribute(code, info.getClassName());
MBeanAttributeInfo[] attributes = info.getAttributes();
boolean hasAttributes = true;
  - for (int i = 0; i  attributes.length; i++) {
  -if (attributes[i].isReadable()  
isAttributeWriteable(server.getObjectInstance(name).getClassName(), 
attributes[i].getName(), attributes[i].getType())) {
  -   if (!attributes[i].isWritable()) {
  + for (int i = 0; i  attributes.length; i++)
  + {
  +if (attributes[i].isReadable()  
isAttributeWriteable(server.getObjectInstance(name).getClassName(), 
attributes[i].getName(), attributes[i].getType()))
  +{
  +   if (!attributes[i].isWritable())
  +   {
 log.debug(Detected JMX Bug: Server reports attribute 
'+attributes[i].getName() + ' is not writeable for MBean ' + 
name.getCanonicalName() + ');
  }
  Element attributeElement = 

[JBoss-dev] [ jboss-Bugs-488394 ] Wrong case in Upload.java

2001-12-03 Thread noreply

Bugs item #488394, was opened at 2001-12-03 04:55
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=488394group_id=22866

Category: JBossDoc
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Vincent Touquet (fullclip)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong case in Upload.java

Initial Comment:
The examples included in the documentation, and more 
specific the CDBean example used in Chapter 5 
explaining CMP, contains a file called Upload.java, 
which includes a filename with mixed cases.

Because of the mixed cases, this file is not found on 
file systems who care about case sensitivity.

Fix: change reference to CDs.txt in 
$SOME_BASE_DIR/examples/org/jboss/docs/cmp/cd/Upload.java
to cds.txt, this fixes this minor bug.




--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=488394group_id=22866

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



[JBoss-dev] [ jboss-Bugs-487846 ] org.jboss.proxy.Proxies.Impl.sameTypes()

2001-12-03 Thread noreply

Bugs item #487846, was opened at 2001-12-01 08:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487846group_id=22866

Category: JBossServer
Group: v2.5 Rabbit Hole (unstable)
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Peter Levart (plevart)
Assigned to: Nobody/Anonymous (nobody)
Summary: org.jboss.proxy.Proxies.Impl.sameTypes()

Initial Comment:
The org.jboss.proxy.Proxies.Impl.sameTypes() has two 
bugs. The first is harmless as it will never be 
executed but the second causes the method to return 
the oposite boolean value as it should. The 
consequence is that proxy generation producess new 
instancess of Class anc ClassLoader objects for every 
instance of the proxy that implements the same 
interfaces. More dangerous is the fact that some day 
the proxy generator could return a proxy instance 
that actualy didn't implement the requested 
interfaces.

I reported this on the jboss-developement but heard 
no answers yet. I'm submiting this as a bug so that 
it won't be forgotten.

Peter

Here is the diff:

Index: Proxies.java
===
RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/proxy/Proxies.java,v
retrieving revision 1.7
diff -c -r1.7 Proxies.java
*** Proxies.java2001/11/26 03:19:46 1.7
--- Proxies.java2001/12/01 16:05:13
***
*** 300,306 
// (duplication and reordering are ignored)
static boolean sameTypes(Class tt1[], Class 
tt2[])
{
!  if (tt1.length == 1  tt2.length == 0)
   {
  return tt1[0] == tt2[0];
   }
--- 300,306 
// (duplication and reordering are ignored)
static boolean sameTypes(Class tt1[], Class 
tt2[])
{
!  if (tt1.length == 1  tt2.length == 1)
   {
  return tt1[0] == tt2[0];
   }
***
*** 335,341 
 totalSeen2 += seen2;
  }
  // now, each element of tt2 must have 
been visited
! return totalSeen2 != tt2.length;
}

static Class[] copyAndUniquify(Class 
targetTypes[])
--- 335,341 
 totalSeen2 += seen2;
  }
  // now, each element of tt2 must have 
been visited
! return totalSeen2 == tt2.length;
}

static Class[] copyAndUniquify(Class 
targetTypes[])



--

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=487846group_id=22866

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



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

2001-12-03 Thread David Budworth

  User: dbudworth
  Date: 01/12/03 10:16:40

  Modified:src/main/org/jboss/naming JNDIView.java
  Log:
  Fixed StringOutOfBounds OB1 bug when building buffer
  
  Revision  ChangesPath
  1.12  +2 -2  jboss/src/main/org/jboss/naming/JNDIView.java
  
  Index: JNDIView.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/naming/JNDIView.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JNDIView.java 2001/11/28 19:15:57 1.11
  +++ JNDIView.java 2001/12/03 18:16:40 1.12
  @@ -37,7 +37,7 @@
   
   @author a href=mailto:[EMAIL PROTECTED];Scott Stark/a.
   @author Vladimir Blagojevic [EMAIL PROTECTED]
  -@version $Revision: 1.11 $
  +@version $Revision: 1.12 $
   */
   public class JNDIView extends ServiceMBeanSupport implements JNDIViewMBean
   {
  @@ -393,7 +393,7 @@
   buffer.append(ifaces[i]);
   buffer.append(',');
   }
  -buffer.setCharAt(buffer.length(), ')');
  +buffer.setCharAt(buffer.length()-1, ')');
   }
   else
   {
  
  
  

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



[JBoss-dev] A Weird Question about Clustering

2001-12-03 Thread Joseph Olson

Instead of clustering multiple JBOSSs' how about clustering multiple JVMs'?



There might be an alternative such as clustering the JVM across mutiple machines.

In theory, any applications can be then written transparently (without JBOSS 
clustering concerns).

The following is a small listing of JVM clustering efforts

IBM cJVM
http://www.haifa.il.ibm.com/projects/systems/cjvm/cjvm_papers.html

http://www.usenix.org/events/jvm01/JVM_wips/S09.pdf

PARIS
http://www.irisa.fr/paris/nanglais/jvm.htm

JESSICA
http://www.srg.csis.hku.hk/jessica.htm

JUPITER
http://www.eecg.toronto.edu/~doylep/jupiter/jhpc01.pdf

TIGRIS
http://www.cs.berkeley.edu/~mdw/papers/tigris-lcr2k.pdf


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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Adam Heath

On Mon, 3 Dec 2001, marc fleury wrote:

 I said I would check on him.

Yes, you did.

 So where is the code that integrates apache,
 anything to add to what was commited by scott?

It's in 2.4.3.

 crocodile skin makes great underwear
 We got a new crocodile? or a new RW?
 rw soldiers perform great under wars

I prefer boots myself.

 marcf

 
 Marc Fleury
 President
 JBoss Group, LLC
 

I will not work on stuff that I am not paid to do, or that I do not feel a
connection to on a psychological level.

I am being paid to Debianize jboss.  So that is what I am working on.  I am
doing this for 2.4.3(and soon, will migrate to 2.4.4), as that is the stable
released version of jboss.

I am not being paid to work on jboss 3.0.  So, anything I do for that version
will be done in my spare, free time.  Seeing as how I am also a Debian
developer, and I do that in my free time, jboss 3.0 gets no portion.

Adam Heath
Software Engineer / Debian developer
Brainfood, Inc. / Debian Project



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



Re: [JBoss-dev] jetty doesn't mind being slashdotted: 60% cpu

2001-12-03 Thread Adam Heath

On Fri, 30 Nov 2001, marc fleury wrote:

 [snip]

What are the hardware stats of this machine, for comparison?


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



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

2001-12-03 Thread Bill Burke

  User: patriot1burke
  Date: 01/12/03 13:47:55

  Modified:src/main/org/jboss/ejb/plugins Tag: Branch_2_4
AbstractInstanceCache.java
  Log:
  Added a little defensive coding.
  Make sure that the ctx.getId() returned from unschedulePassivation is NOT null.
  I just debugged this behavior in JBoss 2.2.x running in a production system and
  want to make sure that it doesn't creep up in later versions.  BTW, I could not
  find the source of the problem in JBoss 2.2.x
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.10.2.6  +12 -1 jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java
  
  Index: AbstractInstanceCache.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java,v
  retrieving revision 1.10.2.5
  retrieving revision 1.10.2.6
  diff -u -r1.10.2.5 -r1.10.2.6
  --- AbstractInstanceCache.java2001/11/27 04:25:11 1.10.2.5
  +++ AbstractInstanceCache.java2001/12/03 21:47:55 1.10.2.6
  @@ -64,7 +64,7 @@
* @author a href=[EMAIL PROTECTED]Marc Fleury/a
* @author a href=[EMAIL PROTECTED]Scott Stark/a
*
  - * @version $Revision: 1.10.2.5 $
  + * @version $Revision: 1.10.2.6 $
*
*   pbRevisions:/b
*
  @@ -87,6 +87,10 @@
* ol
*   lireleaseLockRef should be enclosed in peek in remove()
* /ol
  + * pb2001/12/03: billb/b
  + * ol
  + *   liMake sure ctx.getID() is non-null when received from unschedulePassivation.
  + * /ol
*/
   public abstract class AbstractInstanceCache
  implements InstanceCache, XmlLoadable, Monitorable, MetricsConstants
  @@ -202,6 +206,13 @@
   // Here I block if the bean is passivating now
   ctx = unschedulePassivation(id);
   
  +// A little defensive coding here.
  +// ctx.getId() == null means that the ctx was ejbRemoved
  +if (ctx != null  ctx.getId() == null)
  +{
  +   log.warn(unschedulePassivation returned a passivated object with a 
null getId(), this ctx will NOT be reused);
  +   ctx = null;
  +}
   // Already passivated ?
   if (ctx == null)
   {
  
  
  

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread marc fleury


|I will not work on stuff that I am not paid to do, or that I do not feel a
|connection to on a psychological level.
|
|I am being paid to Debianize jboss.  So that is what I am working on.  I am
|doing this for 2.4.3(and soon, will migrate to 2.4.4), as that is
|the stable
|released version of jboss.
|
|I am not being paid to work on jboss 3.0.  So, anything I do for
|that version
|will be done in my spare, free time.  Seeing as how I am also a Debian
|developer, and I do that in my free time, jboss 3.0 gets no portion.

I seriously doubt you are a developer of anything kid...

good bye

marcf

|
|Adam Heath
|Software Engineer / Debian developer
|Brainfood, Inc. / Debian Project
|
|


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



[JBoss-dev] CVS update: jboss/src/etc/conf/default log4j.properties

2001-12-03 Thread Bill Burke

  User: patriot1burke
  Date: 01/12/03 13:46:27

  Modified:src/etc/conf/default Tag: Branch_2_4 log4j.properties
  Log:
  Made server.log a RollingFileAppender of max size 500KB.  We don't want
  people yelling at us because log files grow to gigabytes and gigabytes
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.7.4.4   +3 -1  jboss/src/etc/conf/default/log4j.properties
  
  Index: log4j.properties
  ===
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/log4j.properties,v
  retrieving revision 1.7.4.3
  retrieving revision 1.7.4.4
  diff -u -r1.7.4.3 -r1.7.4.4
  --- log4j.properties  2001/11/20 09:42:45 1.7.4.3
  +++ log4j.properties  2001/12/03 21:46:27 1.7.4.4
  @@ -4,8 +4,10 @@
   log4j.rootCategory=DEBUG, Default, Console
   
   ### The server.log file appender
  -log4j.appender.Default=org.apache.log4j.FileAppender
  +log4j.appender.Default=org.apache.log4j.RollingFileAppender
   log4j.appender.Default.File=../log/server.log
  +log4j.appender.Default.MaxFileSize=500KB
  +log4j.appender.Default.MaxBackupIndex=1
   log4j.appender.Default.layout=org.apache.log4j.PatternLayout
   # Use the default JBoss format
   log4j.appender.Default.layout.ConversionPattern=[%d{ABSOLUTE},%c{1}] %m%n
  
  
  

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



[JBoss-dev] Jetty

2001-12-03 Thread Haller, Joe

I have downloaded and installed JBoss-2.4.3_Jetty-3.1.3-1
I am operating under JDK 1.3.1_01.

I have followed the instructions in the README and it appears
to start.  

However:

Hitting URLs http://localhost:8080, http://localhost:8080/demo, 
http://localhost:8080/jboss, etc. give the following error:

HTTP ERROR: 404 Not Found
Could not find resource for / 
RequestURI=/ 

Hitting URL http://localhost:8082 appears to give some
administrative page.

I get a similar error when accessing some of online documentation
on the JBoss web site: http://www.jboss.org/documentation/HTML/ch02.html.

Can anyone help here?

Regards,
J. Haller

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



[JBoss-dev] CVS update: jboss/src/etc/conf/default log4j.properties

2001-12-03 Thread Bill Burke

  User: patriot1burke
  Date: 01/12/03 14:05:14

  Modified:src/etc/conf/default log4j.properties
  Log:
  Made server.log a RollingFileAppender of max size 500KB.  We don't want
  people yelling at us because log files grow to gigabytes and gigabytes
  
  Revision  ChangesPath
  1.16  +4 -2  jboss/src/etc/conf/default/log4j.properties
  
  Index: log4j.properties
  ===
  RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/log4j.properties,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- log4j.properties  2001/11/26 03:45:44 1.15
  +++ log4j.properties  2001/12/03 22:05:14 1.16
  @@ -4,7 +4,7 @@
   ##  ##
   ### == ###
   
  -### $Id: log4j.properties,v 1.15 2001/11/26 03:45:44 starksm Exp $ ###
  +### $Id: log4j.properties,v 1.16 2001/12/03 22:05:14 patriot1burke Exp $ ###
   
   # This creates a server.log appender and a console appender.
   
  @@ -13,8 +13,10 @@
   
   ### The server.log file appender
   
  -log4j.appender.Default=org.apache.log4j.FileAppender
  +log4j.appender.Default=org.apache.log4j.RollingFileAppender
   log4j.appender.Default.File=../log/server.log
  +log4j.appender.Default.MaxFileSize=500KB
  +log4j.appender.Default.MaxBackupIndex=1
   log4j.appender.Default.layout=org.apache.log4j.PatternLayout
   
   # Truncate if it aleady exists.
  
  
  

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



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

2001-12-03 Thread Bill Burke

  User: patriot1burke
  Date: 01/12/03 14:04:29

  Modified:src/main/org/jboss/ejb/plugins AbstractInstanceCache.java
  Log:
  Added a little defensive coding.
  Make sure that the ctx.getId() returned from unschedulePassivation is NOT null.
  I just debugged this behavior in JBoss 2.2.x running in a production system and
  want to make sure that it doesn't creep up in later versions.  BTW, I could not
  find the source of the problem in JBoss 2.2.x
  
  Revision  ChangesPath
  1.25  +12 -1 jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java
  
  Index: AbstractInstanceCache.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- AbstractInstanceCache.java2001/11/27 04:23:16 1.24
  +++ AbstractInstanceCache.java2001/12/03 22:04:29 1.25
  @@ -61,7 +61,7 @@
* @author a href=[EMAIL PROTECTED]Bill Burke/a
* @author a href=[EMAIL PROTECTED]Marc Fleury/a
*
  - * @version $Revision: 1.24 $
  + * @version $Revision: 1.25 $
*
*   pbRevisions:/b
*
  @@ -84,6 +84,10 @@
* ol
*   lireleaseLockRef should be enclosed in peek in remove()
* /ol
  + * pb2001/12/03: billb/b
  + * ol
  + *   liMake sure ctx.getID() is non-null when received from unschedulePassivation.
  + * /ol
*/
   public abstract class AbstractInstanceCache
  implements InstanceCache, XmlLoadable, Monitorable, MetricsConstants
  @@ -198,6 +202,13 @@
   // Here I block if the bean is passivating now
   ctx = unschedulePassivation(id);
   
  +// A little defensive coding here.
  +// ctx.getId() == null means that the ctx was ejbRemoved
  +if (ctx != null  ctx.getId() == null)
  +{
  +   log.warn(unschedulePassivation returned a passivated object with a 
null getId(), this ctx will NOT be reused);
  +   ctx = null;
  +}
   // Already passivated ?
   if (ctx == null)
   {
  
  
  

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



Re: [JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Jason Dillon

If you have problems with the build system please provide a more verbose 
description of the problem.  Simply stating that the build halts does not 
help determine what the problem might be.

Thanks,

--jason


On Mon, 3 Dec 2001, Peter Fagerlund wrote:

 FYI: I just did a fresh checkout and it halts at j2ee
 
 I do some clean up in the lab instead ...
 
 /peter_f
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



Re: [JBoss-dev] A Weird Question about Clustering

2001-12-03 Thread Vladimir Blagojevic

Hey Joseph,

You raise very interesting point, I've breezed through the papers you
reference and most of them are in either early stages of conception or
an infancy.



 IBM cJVM
 http://www.haifa.il.ibm.com/projects/systems/cjvm/cjvm_papers.html


This seem to be the most mature project but it for example doesn't mention
the details of fast interconnection between the nodes. I assume it is
n-(n-1) tcp model which is a nightmare in any case,  Anyway, you organize
your global heap, i.e put this many master objects on this node that many
on another one, proxies on all other , in order to share the
computational workload, but you end up remote calling across the wire in
object communication. Maybe they have some algorithms that give
the best trade off in distribution amount and communication minimization?

The clustering model IBM offers is no doubt a perspective project but I
think it fits more in science computation purposes rather than app server
model.


 TIGRIS
 http://www.cs.berkeley.edu/~mdw/papers/tigris-lcr2k.pdf


Matt Welsh always has some interesting things to say. I'll read this one
in details.




The group communication approach , the one that jboss currently uses is
IMHO more suitable for app server since your are primarely concerned with
object replication rather than thread migration and such things.  If you
are interested in group communication, there is tons of interesting
research out there.  You may start with prof. Birman's work at Cornell,
prof. Babaoglu at University of Bologna, John Hopkins University and prof.
Yair Amir,  prof.Dolev from Hebrew University of Jerusalem , prof Moser at
University of California at Santa Barbara, Bela Ban's Javagroups etc etc.


Cheers,
Vladimir





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



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



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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 15:00:16

  Modified:src/main/org/jboss/ejb EntityContainer.java
EntityPersistenceManager.java
EntityPersistenceStore.java
  Log:
  Moved isModified call back into persistence manager.  Is modified is still
  checked before store is called.  This is necessary for CMP 2, because the
  bean provider can not know if the bean has been modfied by a relationship.
  
  Revision  ChangesPath
  1.59  +2 -27 jboss/src/main/org/jboss/ejb/EntityContainer.java
  
  Index: EntityContainer.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityContainer.java,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- EntityContainer.java  2001/11/26 03:12:24 1.58
  +++ EntityContainer.java  2001/12/03 23:00:16 1.59
  @@ -41,7 +41,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Daniel OConnor/a
* @author a href=[EMAIL PROTECTED]Bill Burke/a
* @author a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a
  - * @version $Revision: 1.58 $
  + * @version $Revision: 1.59 $
*
* pbRevisions:/b
*
  @@ -110,11 +110,6 @@
  protected long removeCount = 0;
   
  /**
  -*  Optional isModified method used by storeEntity
  -*/
  -   protected Method isModified;
  -
  -   /**
   * This provides a way to find the entities that are part of a given
   * transaction EntitySynchronizationInterceptor and InstanceSynchronization
   * manage this instance.
  @@ -316,15 +311,6 @@
in = in.getNext();
 }
   
  -  try
  -  {
  - isModified = getBeanClass().getMethod(isModified, new Class[0]);
  - if (!isModified.getReturnType().equals(Boolean.TYPE))
  -isModified = null; // Has to have boolean as return type!
  -  }
  -  catch (NoSuchMethodException ignored) {}
  -
  -
 // Reset classloader
 Thread.currentThread().setContextClassLoader(oldCl);
  }
  @@ -640,18 +626,7 @@
  {
 if (ctx.getId() != null)
 {
  - boolean dirty = true;
  - // Check isModified bean method flag
  - if (isModified != null)
  - {
  -Object[] args = {};
  -Boolean modified = (Boolean) isModified.invoke(ctx.getInstance(), args);
  -dirty = modified.booleanValue();
  - }
  -
  - // Store entity
  - if (dirty)
  - {
  + if(getPersistenceManager().isModified(ctx)) {
   getPersistenceManager().storeEntity(ctx);
}
 }
  
  
  
  1.11  +10 -1 jboss/src/main/org/jboss/ejb/EntityPersistenceManager.java
  
  Index: EntityPersistenceManager.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityPersistenceManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- EntityPersistenceManager.java 2001/08/03 17:15:43 1.10
  +++ EntityPersistenceManager.java 2001/12/03 23:00:16 1.11
  @@ -27,7 +27,7 @@
* @see EntityContainer
* 
* @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
*/
   public interface EntityPersistenceManager
  extends ContainerPlugin, StatisticsProvider
  @@ -115,6 +115,15 @@
  void loadEntity(EntityEnterpriseContext instance)
 throws RemoteException;
 
  +   /**
  +* This method is used to determine if an entity should be stored.
  +*
  +* @param instancethe instance to check
  +* @return true, if the entity has been modified
  +* @throws Exceptionthrown if some system exception occurs
  +*/
  +   boolean isModified(EntityEnterpriseContext instance) throws Exception;
  +
  /**
   * This method is called whenever an entity shall be stored to the
   * underlying storage. The persistence manager must call ejbStore on the
  
  
  
  1.11  +10 -1 jboss/src/main/org/jboss/ejb/EntityPersistenceStore.java
  
  Index: EntityPersistenceStore.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityPersistenceStore.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- EntityPersistenceStore.java   2001/12/02 00:05:44 1.10
  +++ EntityPersistenceStore.java   2001/12/03 23:00:16 1.11
  @@ -26,7 +26,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
* @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
* @author a href=mailto:[EMAIL PROTECTED];Simone Bordet/a
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
*/
   public interface EntityPersistenceStore
  extends ContainerPlugin
  @@ -140,6 +140,15 @@

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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 15:00:17

  Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCCommandFactory.java JDBCStoreManager.java
  Added:   src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCIsModifiedCommand.java
  Log:
  Moved isModified call back into persistence manager.  Is modified is still
  checked before store is called.  This is necessary for CMP 2, because the
  bean provider can not know if the bean has been modfied by a relationship.
  
  Revision  ChangesPath
  1.12  +5 -1  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCommandFactory.java
  
  Index: JDBCCommandFactory.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCommandFactory.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JDBCCommandFactory.java   2001/11/28 11:32:54 1.11
  +++ JDBCCommandFactory.java   2001/12/03 23:00:16 1.12
  @@ -17,7 +17,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
* @author a href=mailto:[EMAIL PROTECTED];Justin Forder/a
* @author a href=[EMAIL PROTECTED]danch (Dan Christopherson/a
  - * @version $Revision: 1.11 $
  + * @version $Revision: 1.12 $
*/
   public class JDBCCommandFactory {
  private JDBCStoreManager manager;
  @@ -116,6 +116,10 @@
  
  public JDBCLoadEntityCommand createLoadEntityCommand() {
 return new JDBCLoadEntityCommand(manager);
  +   }
  +   
  +   public JDBCIsModifiedCommand createIsModifiedCommand() {
  +  return new JDBCIsModifiedCommand(manager);
  }
  
  public JDBCStoreEntityCommand createStoreEntityCommand() {
  
  
  
  1.18  +6 -1  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java
  
  Index: JDBCStoreManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- JDBCStoreManager.java 2001/12/02 00:05:45 1.17
  +++ JDBCStoreManager.java 2001/12/03 23:00:17 1.18
  @@ -61,7 +61,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
* @see org.jboss.ejb.EntityPersistenceStore
  - * @version $Revision: 1.17 $
  + * @version $Revision: 1.18 $
*/
   public class JDBCStoreManager implements EntityPersistenceStore {
   
  @@ -97,6 +97,7 @@
  private JDBCCreateEntityCommand createEntityCommand;
  private JDBCRemoveEntityCommand removeEntityCommand;
  private JDBCLoadEntityCommand loadEntityCommand;
  +   private JDBCIsModifiedCommand isModifiedCommand;
  private JDBCStoreEntityCommand storeEntityCommand;
  private JDBCActivateEntityCommand activateEntityCommand;
  private JDBCPassivateEntityCommand passivateEntityCommand;
  @@ -367,6 +368,10 @@
}
 }
 loadFieldCommand.execute(fieldsToLoad, ctx);
  +   }
  +
  +   public boolean isModified(EntityEnterpriseContext ctx) {
  +  return isModifiedCommand.execute(ctx);
  }
   
  public void storeEntity(EntityEnterpriseContext ctx) {
  
  
  
  1.1  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCIsModifiedCommand.java
  
  Index: JDBCIsModifiedCommand.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
   
  package org.jboss.ejb.plugins.cmp.jdbc;
  
  import java.lang.reflect.Method;
  import org.jboss.ejb.EntityEnterpriseContext;
  
  /**
   * JDBCIsModifiedCommand determines if the entity has been modified.
   *
   * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
   * @version $Revision: 1.1 $
   */
   
  public class JDBCIsModifiedCommand {
 public JDBCIsModifiedCommand(JDBCStoreManager manager) {
 }
 
 public boolean execute(EntityEnterpriseContext ctx) {
   return true;
 }
  }
  
  
  
  

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



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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 15:00:16

  Modified:src/main/org/jboss/ejb/plugins BMPPersistenceManager.java
CMPFilePersistenceManager.java
CMPPersistenceManager.java
  Log:
  Moved isModified call back into persistence manager.  Is modified is still
  checked before store is called.  This is necessary for CMP 2, because the
  bean provider can not know if the bean has been modfied by a relationship.
  
  Revision  ChangesPath
  1.33  +25 -1 jboss/src/main/org/jboss/ejb/plugins/BMPPersistenceManager.java
  
  Index: BMPPersistenceManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/BMPPersistenceManager.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- BMPPersistenceManager.java2001/11/24 20:43:22 1.32
  +++ BMPPersistenceManager.java2001/12/03 23:00:16 1.33
  @@ -39,7 +39,7 @@
   *  @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
   *  @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
   *  @author a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a
  -*  @version $Revision: 1.32 $
  +*  @version $Revision: 1.33 $
   *
   *  pbRevisions:/b
   *  pb20010709 andreas schaefer:/b
  @@ -67,6 +67,11 @@
  Method ejbPassivate;
  Method ejbRemove;
   
  +   /**
  +*  Optional isModified method used by storeEntity
  +*/
  +   Method isModified;
  +
  HashMap createMethods = new HashMap();
  HashMap postCreateMethods = new HashMap();
  HashMap finderMethods = new HashMap();
  @@ -110,6 +115,13 @@
createMethodCache( methods );
 }
   
  +  try
  +  {
  + isModified = con.getBeanClass().getMethod(isModified, new Class[0]);
  + if (!isModified.getReturnType().equals(Boolean.TYPE))
  +isModified = null; // Has to have boolean as return type!
  +  }
  +  catch (NoSuchMethodException ignored) {}
  }
   
   /**
  @@ -415,6 +427,18 @@
 }
  }
   
  +   public boolean isModified(EntityEnterpriseContext ctx) throws Exception 
  +   {
  +  if(isModified == null)
  +  {
  + return true;
  +  }
  +
  +  Object[] args = {};
  +  Boolean modified = (Boolean) isModified.invoke(ctx.getInstance(), args);
  +  return modified.booleanValue();
  +   }
  +  
  public void storeEntity(EntityEnterpriseContext ctx)
  throws RemoteException
  {
  
  
  
  1.15  +27 -2 
jboss/src/main/org/jboss/ejb/plugins/CMPFilePersistenceManager.java
  
  Index: CMPFilePersistenceManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/CMPFilePersistenceManager.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CMPFilePersistenceManager.java2001/12/02 00:05:44 1.14
  +++ CMPFilePersistenceManager.java2001/12/03 23:00:16 1.15
  @@ -38,7 +38,7 @@
   /**
* @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
* @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
* pb20010801 marc fleury:/b
* ul
* li- insertion in cache upon create in now done in the instance interceptor
  @@ -57,6 +57,11 @@
  EntityContainer con;
  File dir;
  Field idField;
  +
  +   /**
  +*  Optional isModified method used by storeEntity
  +*/
  +   Method isModified;
   
  // Static 
  
  @@ -74,6 +79,14 @@
 String ejbName = con.getBeanMetaData().getEjbName();
 dir = new 
File(getClass().getResource(/db/+ejbName+/db.properties).getFile()).getParentFile();
 idField = con.getBeanClass().getField(id);
  +
  +  try
  +  {
  + isModified = con.getBeanClass().getMethod(isModified, new Class[0]);
  + if (!isModified.getReturnType().equals(Boolean.TYPE))
  +isModified = null; // Has to have boolean as return type!
  +  }
  +  catch (NoSuchMethodException ignored) {}
  }
  
  public void start()
  @@ -285,7 +298,19 @@
throw new EJBException(Store failed, e);
 }
  }
  -   
  +
  +   public boolean isModified(EntityEnterpriseContext ctx) throws Exception 
  +   {
  +  if(isModified == null)
  +  {
  + return true;
  +  }
  +
  +  Object[] args = {};
  +  Boolean modified = (Boolean) isModified.invoke(ctx.getInstance(), args);
  +  return modified.booleanValue();
  +   }
  +  
  public void storeEntity(EntityEnterpriseContext ctx)
  {
   storeEntity(ctx.getId(), ctx.getInstance());
  
  
  
  1.37  +6 -1  jboss/src/main/org/jboss/ejb/plugins/CMPPersistenceManager.java
  
  Index: CMPPersistenceManager.java
  

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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 15:00:17

  Modified:src/main/org/jboss/ejb/plugins/jaws
JAWSPersistenceManager.java
  Log:
  Moved isModified call back into persistence manager.  Is modified is still
  checked before store is called.  This is necessary for CMP 2, because the
  bean provider can not know if the bean has been modfied by a relationship.
  
  Revision  ChangesPath
  1.35  +27 -2 
jboss/src/main/org/jboss/ejb/plugins/jaws/JAWSPersistenceManager.java
  
  Index: JAWSPersistenceManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jaws/JAWSPersistenceManager.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- JAWSPersistenceManager.java   2001/12/02 00:05:45 1.34
  +++ JAWSPersistenceManager.java   2001/12/03 23:00:17 1.35
  @@ -39,7 +39,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
* @author a href=mailto:[EMAIL PROTECTED];Joe Shevland/a
* @author a href=mailto:[EMAIL PROTECTED];Justin Forder/a
  - * @version $Revision: 1.34 $
  + * @version $Revision: 1.35 $
*
*   pbRevisions:/b
*
  @@ -80,6 +80,11 @@
   
  Category log = Category.getInstance(this.getClass().getName());
   
  +   /**
  +*  Optional isModified method used by storeEntity
  +*/
  +   Method isModified;
  +
  // EntityPersistenceStore implementation -
   
  public void setContainer(Container c)
  @@ -111,8 +116,16 @@
 activateEntityCommand = commandFactory.createActivateEntityCommand();
 passivateEntityCommand = commandFactory.createPassivateEntityCommand();
   
  -  // Execute the init Command
  +  try
  +  {
  + isModified = container.getBeanClass().getMethod(
  +   isModified, new Class[0]);
  + if (!isModified.getReturnType().equals(Boolean.TYPE))
  +isModified = null; // Has to have boolean as return type!
  +  }
  +  catch (NoSuchMethodException ignored) {}
   
  +  // Execute the init Command
 initCommand.execute();
  }
   
  @@ -261,6 +274,18 @@
 loadEntitiesCommand.execute(keys);
  }
   
  +   public boolean isModified(EntityEnterpriseContext ctx) throws Exception 
  +   {
  +  if(isModified == null) 
  +  {
  + return true;
  +  }
  +
  +  Object[] args = {};
  +  Boolean modified = (Boolean) isModified.invoke(ctx.getInstance(), args);
  +  return modified.booleanValue();
  +   }
  +  
  public void storeEntity(EntityEnterpriseContext ctx)
 throws RemoteException
  {
  
  
  

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



[JBoss-dev] CVS update: contrib/jetty/src/resources/jetty-plugin/META-INF jboss-service.xml

2001-12-03 Thread Jules Gosnell

  User: jules_gosnell
  Date: 01/12/03 15:14:40

  Modified:jetty/src/resources/jetty-plugin/META-INF jboss-service.xml
  Log:
  keeping for later
  
  Revision  ChangesPath
  1.7   +6 -0  
contrib/jetty/src/resources/jetty-plugin/META-INF/jboss-service.xml
  
  Index: jboss-service.xml
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/resources/jetty-plugin/META-INF/jboss-service.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- jboss-service.xml 2001/11/28 23:54:57 1.6
  +++ jboss-service.xml 2001/12/03 23:14:40 1.7
  @@ -38,4 +38,10 @@
 name=Jetty:Jetty=Debug2
 /mbean
   
  +!--
  +  mbean code=org.mortbay.jetty.jmx.LogMBean
  +  name=Jetty:Jetty=Log
  +  /mbean
  + --
  +
   /server
  
  
  

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



Re: [JBoss-dev] suggest changing log4j layout patterns

2001-12-03 Thread Jason Dillon

still there is the issue of using the custom priority.

any thoughts on upgrading to 1.2?

do we know when that will be official?

--jason


On Sun, 25 Nov 2001, Scott M Stark wrote:

 
 The use of a custom category subclass requiring a category factory
 is going away. It is already gone in the 2.4 branch.
 
 - Original Message -
 From: Jason Dillon [EMAIL PROTECTED]
 To: Scott M Stark [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, November 21, 2001 4:00 PM
 Subject: Re: [JBoss-dev] suggest changing log4j layout patterns
 
 
  Dosen't look like the 1.1.3 xml configurator does the right thing with
  custom priorities, also looks like it can not set the CategoryFactory
  either.
 
  =(
 
  --jason
 
 
  On Fri, 16 Nov 2001, Scott M Stark wrote:
 
  
   The priority is fine but the thread is not. As of log4j 1.1.3 the
 log4j.dtd
   says is supports a priority class but I have not tried it.
  
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



[JBoss-dev] InstanceAlreadyExistsException in RH HEAD

2001-12-03 Thread Julian Gosnell

RH/Jetty is going well, but I am still troubled by this exception.


23:18:30,029 ERROR [EjbModule] Could not create JSR-77 EjbModule:
jbosstest-web.ear
javax.management.InstanceAlreadyExistsException:
SingleJBoss:name=jbosstest-web.ear,J2EEServer=Single,J2EEApplication=jbosstest-web.ear,type=EJBModule,J2EEManagement=Manager

 at
com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)

 at
com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)

 at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:641)

 at org.jboss.management.j2ee.EjbModule.create(EjbModule.java:87)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:398)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:368)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:473)
 at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:447)

 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:216)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at
org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:283)

 at java.lang.reflect.Method.invoke(Native Method)
 at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
 at sun.rmi.transport.Transport$1.run(Transport.java:152)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
 at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)

 at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)

 at java.lang.Thread.run(Thread.java:484)

I've just updated, so this is the current state of HEAD


Jules



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



[JBoss-dev] CVS update: manual build.xml

2001-12-03 Thread Scott M Stark

  User: starksm 
  Date: 01/12/03 15:23:14

  Modified:.build.xml
  Log:
  Remove the printable docs from the default build
  
  Revision  ChangesPath
  3.1   +2 -3  manual/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/manual/build.xml,v
  retrieving revision 3.0
  retrieving revision 3.1
  diff -u -r3.0 -r3.1
  --- build.xml 2001/11/18 20:10:40 3.0
  +++ build.xml 2001/12/03 23:23:13 3.1
  @@ -10,7 +10,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 3.0 2001/11/18 20:10:40 gropi Exp $ --
  +!-- $Id: build.xml,v 3.1 2001/12/03 23:23:13 starksm Exp $ --
   
   project default=main name=JBoss/Manual
   
  @@ -332,7 +332,6 @@
   war warfile=${build.lib}/manual.war
 webxml=${build.metadata}/manual-web.xml
 zipfileset prefix=HTML dir=${build.html.fancy}/
  -  zipfileset prefix=printable dir=${build.html.printable}/
   /war

   ear earfile=${build.lib}/manual.ear
  @@ -359,7 +358,7 @@
   
 !-- Generate most HTML manual formats --
 target name=docs-html 
  -   depends=docs-html-fancy, docs-html-printable/
  +   depends=docs-html-fancy/
   
 !-- Generate the fancy HTML manual --
 target name=docs-html-fancy depends=compile
  
  
  

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



RE: [JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Guillaume Boissiere

As a reference point, a build on the latest checkout worked for me.
But 'build clobber' fails as it tries to delete build.log (this is
JDK 1.3.1_01 on Win2k).

-- Guillaume


...
_configure-tasks:

_init-show-environment:

clean:

clobber:
[execmodules]
==
==  Finished with 'clobber' in module 'plugins/jetty'.
==


clobber:
   [delete] Deleting: C:\cvs\jboss-all\build\local.properties
   [delete] Deleting: C:\cvs\jboss-all\build\build.log

BUILD FAILED

C:\cvs\jboss-all\build\build.xml:1403: Unable to delete file
C:\cvs\jboss-all\build\build.log




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
 Dillon
 Sent: Monday, December 03, 2001 6:04 PM
 To: Peter Fagerlund
 Cc: Scott M Stark; [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] Fresh Checkout - Build Failing


 If you have problems with the build system please provide a more verbose
 description of the problem.  Simply stating that the build halts does not
 help determine what the problem might be.

 Thanks,

 --jason


 On Mon, 3 Dec 2001, Peter Fagerlund wrote:

  FYI: I just did a fresh checkout and it halts at j2ee
 
  I do some clean up in the lab instead ...
 
  /peter_f
 
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



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



Re: [JBoss-dev] InstanceAlreadyExistsException in RH HEAD

2001-12-03 Thread Andreas Schaefer

Ok, I will remove the logging of the error.

Andy

- Original Message -
From: Julian Gosnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 3:19 PM
Subject: [JBoss-dev] InstanceAlreadyExistsException in RH HEAD


 RH/Jetty is going well, but I am still troubled by this exception.


 23:18:30,029 ERROR [EjbModule] Could not create JSR-77 EjbModule:
 jbosstest-web.ear
 javax.management.InstanceAlreadyExistsException:

SingleJBoss:name=jbosstest-web.ear,J2EEServer=Single,J2EEApplication=jbosste
st-web.ear,type=EJBModule,J2EEManagement=Manager

  at

com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134
)

  at

com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.ja
va:2352)

  at

com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:641)

  at org.jboss.management.j2ee.EjbModule.create(EjbModule.java:87)
  at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:398)
  at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:368)
  at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
  at java.lang.reflect.Method.invoke(Native Method)
  at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

  at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

  at
 org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:473)
  at
 org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:447)

  at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:216)
  at java.lang.reflect.Method.invoke(Native Method)
  at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

  at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

  at
 org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:283)

  at java.lang.reflect.Method.invoke(Native Method)
  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
  at sun.rmi.transport.Transport$1.run(Transport.java:152)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
  at
 sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)

  at

sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
06)

  at java.lang.Thread.run(Thread.java:484)

 I've just updated, so this is the current state of HEAD


 Jules



 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com


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



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



[JBoss-dev] New Exceptions.....

2001-12-03 Thread Julian Gosnell


I just updated, and don't think these are mine - I get them when
hot-deploying jbosstest-web.ear from the testsuite

Anyone recognise them as their own ?


Jules



23:32:41,788 ERROR [EjbModule] Could not create JSR-77 EjbModule:
jbosstest-web.ear
javax.management.MBeanException: Exception thrown in the MBean's
constructor
 at
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2229)

 at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:627)

 at org.jboss.management.j2ee.EjbModule.create(EjbModule.java:87)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:398)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:368)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:473)
 at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:447)

 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:216)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:653)
 at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326)
 at java.lang.Thread.run(Thread.java:484)
23:32:41,866 INFO  [ContainerFactory] Verifying
file:/mnt/pteranodon/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/Default/jbosstest-web.ear/ejb1019.jar

23:32:42,259 INFO  [ContainerFactory] Deploying ENCBean0
23:32:42,278 INFO  [ContainerFactory] Deploying ENCBean1
23:32:42,300 INFO  [ContainerFactory] Deploying SecuredEJB
23:32:42,339 INFO  [ContainerFactory] Deploying UnsecuredEJB
23:32:42,359 INFO  [ContainerFactory] Deploying OptimizedEJB
23:32:42,380 INFO  [Default] File:
file:/mnt/pteranodon/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/Default/jbosstest-web.ear/ejb1020.jar,
descriptor: META-INF/ejb-jar.xml
23:32:42,414 ERROR [EjbModule] Could not create JSR-77 EjbModule:
jbosstest-web.ear
javax.management.MBeanException: Exception thrown in the MBean's
constructor
 at
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2229)

 at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:627)

 at org.jboss.management.j2ee.EjbModule.create(EjbModule.java:87)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:398)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:368)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:473)
 at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:447)

 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:216)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:653)
 at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326)
 at java.lang.Thread.run(Thread.java:484)
23:32:42,490 INFO  [ContainerFactory] Verifying
file:/mnt/pteranodon/home/jules/cvs/JBoss/3.0/build/output/jboss-3.0.0alpha/deploy/Default/jbosstest-web.ear/ejb1020.jar

23:32:43,757 INFO  [ContainerFactory] Deploying BMPBean
23:32:43,776 INFO  [ContainerFactory] Deploying BMPCallbackBean
23:32:43,794 INFO  [ContainerFactory] Deploying CMPBean
23:32:43,814 INFO  [ContainerFactory] Deploying StatelessSessionBean
23:32:43,833 INFO  [ContainerFactory] Deploying StatefulSessionBean
23:32:43,954 INFO  [JDBCInitCommand] Table 'CMPBean' already exists
23:32:44,080 ERROR [EJB] Could not create JSR-77 EJB: OptimizedEJB
javax.management.MalformedObjectNameException: ObjectName: Name cannot
be null
 at javax.management.ObjectName.init(ObjectName.java:90)
 at org.jboss.management.j2ee.EJB.create(EJB.java:56)
 at org.jboss.ejb.Application.start(Application.java:221)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:373)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:299)
 at java.lang.reflect.Method.invoke(Native Method)
 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

 at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

 at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:473)
 at

Re: [JBoss-dev] New Exceptions.....

2001-12-03 Thread Julian Gosnell

These were not caused by the update, I just rolled back.

They occr when I hot-deploy (copy into /deploy) the ear, the run the WebIntegration 
testsuite (does this use the jmx deployer?), then redeploy the ear.

Jules


Julian Gosnell wrote:

 I just updated, and don't think these are mine - I get them when
 hot-deploying jbosstest-web.ear from the testsuite

 Anyone recognise them as their own ?

 Jules

 23:32:41,788 ERROR [EjbModule] Could not create JSR-77 EjbModule:
 jbosstest-web.ear
 javax.management.MBeanException: Exception thrown in the MBean's
 constructor
  at
 
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2229)

  at
 com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:627)

...snip


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



Re: [JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/loading BasicLoaderRepository.java LoaderRepository.java

2001-12-03 Thread David Jencks

Are you sure you don't mean


Iterator it = loaders.iterator();  
while (it.hasNext()) {
   ClassLoader cl = (ClassLoader)it.next();
   
   if (cl != skipLoader) {
  try {
 clazz = cl.loadClass(className);
 return clazz;
 }
  catch (ClassNotFoundException ignored) {
 // go on and try the next loader
  }
   }
}

throw new ClassNotFoundException(className);
   
  }

at the end of loadClassWithout?

The original version looks through all classloaders and you get the last
version that loads, rather than stopping when you find one working version.

???

thanks
david jencks

On 2001.12.02 21:13:31 -0500 Juha Lindfors wrote:
   User: juhalindfors
   Date: 01/12/02 18:13:31
 
   Added:   src/main/org/jboss/mx/loading BasicLoaderRepository.java
 LoaderRepository.java
   Log:
   build fancy loaders here
   
   Revision  ChangesPath
   1.1  jmx/src/main/org/jboss/mx/loading/BasicLoaderRepository.java
   
   Index: BasicLoaderRepository.java
   ===
   /*
* LGPL
*/
   package org.jboss.mx.loading;
   
   import java.util.Set;
   import java.util.Iterator;
   import java.util.HashSet;
   
   public class BasicLoaderRepository implements LoaderRepository {
   
  private static LoaderRepository instance = null;
  
  public synchronized static LoaderRepository getInstance() {
 if (instance != null)
return instance;
 else {
instance = new BasicLoaderRepository();
return instance;
 }
  }
  
  
  protected Set loaders = new HashSet();
  
  private BasicLoaderRepository() {
  
  
  }
   
  public Class loadClass(String className) throws
 ClassNotFoundException {
 return loadClassWithout(null, className);
  }
  
  public Class loadClassWithout(ClassLoader skipLoader, String
 className) throws ClassNotFoundException {
  
 Class clazz = null;
 
 // try ctx cl first
 ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
 
 if (ctxLoader != skipLoader) {
try {
   clazz = ctxLoader.loadClass(className);
}
catch (ClassNotFoundException e) {
   // ignore and move on to the loader list   
}
 }
 
 if (clazz != null)
return clazz;

 Iterator it = loaders.iterator();  
 while (it.hasNext()) {
ClassLoader cl = (ClassLoader)it.next();

if (cl != skipLoader) {
   try {
  clazz = cl.loadClass(className);
   }
   catch (ClassNotFoundException ignored) {
  // go on and try the next loader
   }
}
 }
 
 if (clazz == null)
throw new ClassNotFoundException(className);

 return clazz;
  }
  
  public void addClassLoader(ClassLoader cl) {
 loaders.add(cl);  
  }
  
  public void removeClassLoader(ClassLoader cl) {
 loaders.remove(cl);
  }
  
  
   }
   
   
   
   1.1  jmx/src/main/org/jboss/mx/loading/LoaderRepository.java
   
   Index: LoaderRepository.java
   ===
   /*
* LGPL
*/
   package org.jboss.mx.loading;
   
   public interface LoaderRepository {
   
  public Class loadClass(String className) throws
 ClassNotFoundException;
  public Class loadClassWithout(ClassLoader loader, String className)
 throws ClassNotFoundException;
  public void addClassLoader(ClassLoader cl);
  public void removeClassLoader(ClassLoader cl);
  
   }
   
   
   
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 

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



RE: [JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Jason Dillon

Hrm... could be that the file is still opened.  Could you try adding 
quiet=true and failonerror=false to the delete task and see if this goes 
away.

--jason


On Mon, 3 Dec 2001, Guillaume Boissiere wrote:

 As a reference point, a build on the latest checkout worked for me.
 But 'build clobber' fails as it tries to delete build.log (this is
 JDK 1.3.1_01 on Win2k).
 
 -- Guillaume
 
 
 ...
 _configure-tasks:
 
 _init-show-environment:
 
 clean:
 
 clobber:
 [execmodules]
 ==
 ==  Finished with 'clobber' in module 'plugins/jetty'.
 ==
 
 
 clobber:
[delete] Deleting: C:\cvs\jboss-all\build\local.properties
[delete] Deleting: C:\cvs\jboss-all\build\build.log
 
 BUILD FAILED
 
 C:\cvs\jboss-all\build\build.xml:1403: Unable to delete file
 C:\cvs\jboss-all\build\build.log
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
  Dillon
  Sent: Monday, December 03, 2001 6:04 PM
  To: Peter Fagerlund
  Cc: Scott M Stark; [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] Fresh Checkout - Build Failing
 
 
  If you have problems with the build system please provide a more verbose
  description of the problem.  Simply stating that the build halts does not
  help determine what the problem might be.
 
  Thanks,
 
  --jason
 
 
  On Mon, 3 Dec 2001, Peter Fagerlund wrote:
 
   FYI: I just did a fresh checkout and it halts at j2ee
  
   I do some clean up in the lab instead ...
  
   /peter_f
  
  
  
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 


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



Re: [JBoss-dev] New Exceptions.....

2001-12-03 Thread Julian Gosnell

Even simpler than that - re-hot-deploying (i.e. copying into /deploy/, removing and 
recopying) will cause these errors.

I guess some MBeans that should be destroyed on an undeploy are not getting cleaned up.



Jules


Julian Gosnell wrote:

 These were not caused by the update, I just rolled back.

 They occr when I hot-deploy (copy into /deploy) the ear, the run the WebIntegration 
testsuite (does this use the jmx deployer?), then redeploy the ear.

 Jules

 Julian Gosnell wrote:

  I just updated, and don't think these are mine - I get them when
  hot-deploying jbosstest-web.ear from the testsuite
 
  Anyone recognise them as their own ?
 
  Jules
 
  23:32:41,788 ERROR [EjbModule] Could not create JSR-77 EjbModule:
  jbosstest-web.ear
  javax.management.MBeanException: Exception thrown in the MBean's
  constructor
   at
  
com.sun.management.jmx.MBeanServerImpl.internal_instantiate(MBeanServerImpl.java:2229)
 
   at
  com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:627)

 ...snip

 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com

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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



[JBoss-dev] CVS update: contrib/jetty/src/main/org/jboss/jetty JBossWebApplicationContext.java Jetty.java

2001-12-03 Thread Jules Gosnell

  User: jules_gosnell
  Date: 01/12/03 17:14:11

  Modified:jetty/src/main/org/jboss/jetty
JBossWebApplicationContext.java Jetty.java
  Log:
  this should fix ENC setup for good.
  
  Revision  ChangesPath
  1.7   +20 -1 
contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java
  
  Index: JBossWebApplicationContext.java
  ===
  RCS file: 
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JBossWebApplicationContext.java   2001/12/03 04:15:51 1.6
  +++ JBossWebApplicationContext.java   2001/12/04 01:14:11 1.7
  @@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
   
  -// $Id: JBossWebApplicationContext.java,v 1.6 2001/12/03 04:15:51 starksm Exp $
  +// $Id: JBossWebApplicationContext.java,v 1.7 2001/12/04 01:14:11 jules_gosnell Exp 
$
   
   // A Jetty HttpServer with the interface expected by JBoss'
   // J2EEDeployer...
  @@ -243,5 +243,24 @@
 String path=getClass().getClassLoader().getResource(resource).toString();
 // lose initial jar:file: and final !/...
 return 
path.substring(jar:file:.length(),path.length()-(resource.length()+2));
  +}
  +
  +  protected void
  +setUpENC()
  +{
  +  _log.info(CLASSLOADER: +Thread.currentThread().getContextClassLoader());
  +
  +  try
  +  {
  + _log.info(setting up ENC...);
  + _descriptorParser.parseWebAppDescriptors(_webApp.getClassLoader(),
  +  _webApp.getWebApp(),
  +  _webApp.getJbossWeb());
  + _log.info(setting up ENC succeeded);
  +  }
  +  catch (Exception e)
  +  {
  + _log.error(ERROR: setting up ENC failed);
  +  }
   }
   }
  
  
  
  1.27  +2 -4  contrib/jetty/src/main/org/jboss/jetty/Jetty.java
  
  Index: Jetty.java
  ===
  RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/Jetty.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- Jetty.java2001/12/03 00:28:45 1.26
  +++ Jetty.java2001/12/04 01:14:11 1.27
  @@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
   
  -// $Id: Jetty.java,v 1.26 2001/12/03 00:28:45 jules_gosnell Exp $
  +// $Id: Jetty.java,v 1.27 2001/12/04 01:14:11 jules_gosnell Exp $
   
   // A Jetty HttpServer with the interface expected by JBoss'
   // J2EEDeployer...
  @@ -31,7 +31,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Julian Gosnell/a
* @author  a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a.
  - * @version $Revision: 1.26 $
  + * @version $Revision: 1.27 $
*
* pbRevisions:/b
*
  @@ -223,8 +223,6 @@
 }
   
 // finally start the app
  -  _log.info(setting up ENC);
  -  descriptorParser.parseWebAppDescriptors(wa.getClassLoader(), wa.getWebApp(), 
wa.getJbossWeb());
 app.start();
   
 // keep track of deployed contexts for undeployment
  
  
  

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



Re: [JBoss-dev] Fresh Checkout - Build Failing

2001-12-03 Thread Peter Fagerlund

on 1-12-04 00.03, Jason Dillon at [EMAIL PROTECTED] wrote:

 please provide a more verbose
 description of the problem.

it did not build at the time of post - somebody could check for history in
CVS or do a dp diff to find it  -heheheh  ...

Thanks
/peter_f


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



Re: [JBoss-dev] Jetty

2001-12-03 Thread Peter Fagerlund

As earlier thread mentioned/suggested - both the test and 'kick start' would
*grow* tremendously by having some apps deployed from get GO ...

?

/peter_f

on 1-12-04 01.06, Julian Gosnell at [EMAIL PROTECTED] wrote:

 Who is suggesting you hit these urls ?
 
 As bundled, Jetty comes with no apps deployed - so hitting these urls WILL
 tell you that nothing is found.
 
 You won't find anything there until you PUT something there.
 
 It looks as if some doc is out of date somewhere.
 
 Give me a pointer to it and I shall update it.
 
 Thanks,
 
 Jules
 
 
 Haller, Joe wrote:
 
 I have downloaded and installed JBoss-2.4.3_Jetty-3.1.3-1
 I am operating under JDK 1.3.1_01.
 
 I have followed the instructions in the README and it appears
 to start.
 
 However:
 
 Hitting URLs http://localhost:8080, http://localhost:8080/demo,
 http://localhost:8080/jboss, etc. give the following error:
 
 HTTP ERROR: 404 Not Found
 Could not find resource for /
 RequestURI=/
 
 Hitting URL http://localhost:8082 appears to give some
 administrative page.
 
 I get a similar error when accessing some of online documentation
 on the JBoss web site: http://www.jboss.org/documentation/HTML/ch02.html.
 
 Can anyone help here?
 
 Regards,
 J. Haller
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development


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



Re: [JBoss-dev] Jetty

2001-12-03 Thread Julian Gosnell

Peter,

I'm not sure what you are saying !

Do you think there should be apps pre-deployed ?

If so where - I removed them from '/' because i felt it might hinder people who
wanted to deploy their own stuff.

Jules


Peter Fagerlund wrote:

 As earlier thread mentioned/suggested - both the test and 'kick start' would
 *grow* tremendously by having some apps deployed from get GO ...

 ?

 /peter_f

 on 1-12-04 01.06, Julian Gosnell at [EMAIL PROTECTED] wrote:

  Who is suggesting you hit these urls ?
 
  As bundled, Jetty comes with no apps deployed - so hitting these urls WILL
  tell you that nothing is found.
 
  You won't find anything there until you PUT something there.
 
  It looks as if some doc is out of date somewhere.
 
  Give me a pointer to it and I shall update it.
 
  Thanks,
 
  Jules
 
 
  Haller, Joe wrote:
 
  I have downloaded and installed JBoss-2.4.3_Jetty-3.1.3-1
  I am operating under JDK 1.3.1_01.
 
  I have followed the instructions in the README and it appears
  to start.
 
  However:
 
  Hitting URLs http://localhost:8080, http://localhost:8080/demo,
  http://localhost:8080/jboss, etc. give the following error:
 
  HTTP ERROR: 404 Not Found
  Could not find resource for /
  RequestURI=/
 
  Hitting URL http://localhost:8082 appears to give some
  administrative page.
 
  I get a similar error when accessing some of online documentation
  on the JBoss web site: http://www.jboss.org/documentation/HTML/ch02.html.
 
  Can anyone help here?
 
  Regards,
  J. Haller
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  _
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



Re: [JBoss-dev] Jetty

2001-12-03 Thread Peter Fagerlund

Julian,

Me myself and I -would prefer to have some apps deployed at starup of JBoss
as wars / ears / sar - in that it makes for so much better social engeniring
...

Yours
/peter_f

http://www.ipagents.com/humanerror.mp3

on 1-12-04 03.12, Julian Gosnell at [EMAIL PROTECTED] wrote:

 Peter,
 
 I'm not sure what you are saying !
 
 Do you think there should be apps pre-deployed ?
 
 If so where - I removed them from '/' because i felt it might hinder people
 who
 wanted to deploy their own stuff.
 
 Jules
 
 
 Peter Fagerlund wrote:
 
 As earlier thread mentioned/suggested - both the test and 'kick start' would
 *grow* tremendously by having some apps deployed from get GO ...
 
 ?
 
 /peter_f
 
 on 1-12-04 01.06, Julian Gosnell at [EMAIL PROTECTED] wrote:
 
 Who is suggesting you hit these urls ?
 
 As bundled, Jetty comes with no apps deployed - so hitting these urls WILL
 tell you that nothing is found.
 
 You won't find anything there until you PUT something there.
 
 It looks as if some doc is out of date somewhere.
 
 Give me a pointer to it and I shall update it.
 
 Thanks,
 
 Jules
 
 
 Haller, Joe wrote:
 
 I have downloaded and installed JBoss-2.4.3_Jetty-3.1.3-1
 I am operating under JDK 1.3.1_01.
 
 I have followed the instructions in the README and it appears
 to start.
 
 However:
 
 Hitting URLs http://localhost:8080, http://localhost:8080/demo,
 http://localhost:8080/jboss, etc. give the following error:
 
 HTTP ERROR: 404 Not Found
 Could not find resource for /
 RequestURI=/
 
 Hitting URL http://localhost:8082 appears to give some
 administrative page.
 
 I get a similar error when accessing some of online documentation
 on the JBoss web site: http://www.jboss.org/documentation/HTML/ch02.html.
 
 Can anyone help here?
 
 Regards,
 J. Haller
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 


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



RE: [JBoss-dev] bugs in org.jboss.proxy.Proxies.Impl

2001-12-03 Thread Dain Sundstrom

java.lang.reflect.Proxy only supports generating subclasses of interfaces
and in cmp 2 we need to generate a subclass of an abstract class.

-dain

 -Original Message-
 From: Jason Dillon [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 03, 2001 5:20 PM
 To: Peter Levart
 Cc: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] bugs in org.jboss.proxy.Proxies.Impl
 
 
 Shouldn't the java.lang.reflect.Proxy stuff be used instead?  
 Isn't this for 
 pre 1.3 support, which isn't really supported anymore?
 
 --jason
 
 
 On Thu, 29 Nov 2001, Peter Levart wrote:
 
  Hey guys,
  
  There's a buggy method in org.jboss.proxy.Proxies.Impl that 
 caused every 
  entity bean instance of the same type to be of different 
 Class and using 
  different ClassLoader. There might be other places in the 
 code that are using 
  proxy generation and are producing different Class objects 
 and ClassLoaders 
  for every instance of the proxy that implements the same 
 interfaces. That's a 
  waste of space and time at minimum.
  
  Here's the patch to correct this:
  
  *** Proxies.java~   Wed Nov 28 17:39:17 2001
  --- Proxies.javaWed Nov 28 17:39:17 2001
  ***
  *** 300,306 
  // (duplication and reordering are ignored)
  static boolean sameTypes(Class tt1[], Class tt2[])
  {
  !  if (tt1.length == 1  tt2.length == 0)
 {
return tt1[0] == tt2[0];
 }
  --- 300,306 
  // (duplication and reordering are ignored)
  static boolean sameTypes(Class tt1[], Class tt2[])
  {
  !  if (tt1.length == 1  tt2.length == 1)
 {
return tt1[0] == tt2[0];
 }
  ***
  *** 335,341 
   totalSeen2 += seen2;
}
// now, each element of tt2 must have been visited
  ! return totalSeen2 != tt2.length;
  }
  
  static Class[] copyAndUniquify(Class targetTypes[])
  --- 335,341 
   totalSeen2 += seen2;
}
// now, each element of tt2 must have been visited
  ! return totalSeen2 == tt2.length;
  }
  
  static Class[] copyAndUniquify(Class targetTypes[])
  ***
  *** 729,731 
  --- 729,732 
  }
   }
}
  +
  
  
  Peter
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 

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



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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 18:45:01

  Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCStoreManager.java
  Log:
  Forgot to create the isModifiedCommand.
  
  Revision  ChangesPath
  1.19  +2 -1  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java
  
  Index: JDBCStoreManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- JDBCStoreManager.java 2001/12/03 23:00:17 1.18
  +++ JDBCStoreManager.java 2001/12/04 02:45:01 1.19
  @@ -61,7 +61,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
* @see org.jboss.ejb.EntityPersistenceStore
  - * @version $Revision: 1.18 $
  + * @version $Revision: 1.19 $
*/
   public class JDBCStoreManager implements EntityPersistenceStore {
   
  @@ -201,6 +201,7 @@
 removeEntityCommand = commandFactory.createRemoveEntityCommand();
 loadFieldCommand = commandFactory.createLoadFieldCommand();
 loadEntityCommand = commandFactory.createLoadEntityCommand();
  +  isModifiedCommand = commandFactory.createIsModifiedCommand();
 storeEntityCommand = commandFactory.createStoreEntityCommand();
 activateEntityCommand = commandFactory.createActivateEntityCommand();
 passivateEntityCommand = commandFactory.createPassivateEntityCommand();
  
  
  

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



[JBoss-dev] CVS update: website-forums/src/web/forums header.jsp

2001-12-03 Thread Jason Dillon

  User: user57  
  Date: 01/12/03 18:52:57

  Modified:src/web/forums header.jsp
  Log:
   o updating jive to 2.1.2
   o patched new style elements from original header.jsp
  
  Revision  ChangesPath
  1.9   +12 -12website-forums/src/web/forums/header.jsp
  
  Index: header.jsp
  ===
  RCS file: /cvsroot/jboss/website-forums/src/web/forums/header.jsp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- header.jsp2001/11/28 16:02:07 1.8
  +++ header.jsp2001/12/04 02:52:57 1.9
  @@ -1,8 +1,8 @@
   %
   /**
*   $RCSfile: header.jsp,v $
  - *   $Revision: 1.8 $
  - *   $Date: 2001/11/28 16:02:07 $
  + *   $Revision: 1.9 $
  + *   $Date: 2001/12/04 02:52:57 $
*/
   %
   
  @@ -41,24 +41,24 @@
vlink=%= JiveGlobals.getJiveProperty(skin.default.vLinkColor)  %
alink=%= JiveGlobals.getJiveProperty(skin.default.aLinkColor)  %
   
  - 
   table cellspacing=0 cellpadding=0 border=0 width=100%
  tr
  td bgcolor=#00 align=center
  -
  jsp:include page=picabanner.jsp flush=true /
  -   
  /tr
   /table
  -
   
  -table cellspacing=0 cellpadding=0 border=0 width=100%
  - tr
  - td bgcolor=#2c922fa href=/img src=/pictures/head000.jpg border=0 
width=760 height=165/a/td
  - td width=100% background=/pictures/headfill.gifimg 
src=/pictures/t.gif width=6 height=1/td
  - /tr
  +table bgcolor=%= JiveGlobals.getJiveProperty(skin.default.headerBorderColor) 
%
  +   cellpadding=1 cellspacing=0 border=0 width=100%
  +trtd
  +table bgcolor=%= JiveGlobals.getJiveProperty(skin.default.headerBgColor) %
  +   cellpadding=6 cellspacing=0 border=0 width=100%
  +tr
  +tda href=index.jsp%= 
JiveGlobals.getJiveProperty(skin.default.headerLogo) %/a/td
  +/tr
   /table
  -
  +/td/tr
  +/table
   
   %-- spacer table --%
   table cellpadding=0 cellspacing=0 border=0 width=100%
  
  
  

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



[JBoss-dev] CVS update: website-forums/src/lib jive.jar

2001-12-03 Thread Jason Dillon

  User: user57  
  Date: 01/12/03 18:52:56

  Modified:src/lib  jive.jar
  Log:
   o updating jive to 2.1.2
   o patched new style elements from original header.jsp
  
  Revision  ChangesPath
  1.7   +4972 -4870website-forums/src/lib/jive.jar
  
Binary file
  
  

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



[JBoss-dev] Automated JBoss Testsuite Results

2001-12-03 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   183



Successful tests:  178

Errors:2

Failures:  3





[time of test: 4 December 2001 3:5 GMT]
[java.version: 1.3.0]
[java.vendor: IBM Corporation]
[java.vm.version: 1.3.0]
[java.vm.name: Classic VM]
[java.vm.info: J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled: jitc)]
[os.name: Linux]
[os.arch: x86]
[os.version: 2.4.9-12]

See http://lubega.com for full details

NOTE: If there are any errors shown above - this mail is only highlighting 
them - it is NOT indicating that they are being looked at by anyone.

It is assumed that whoever makes change(s) to jboss that 
break the test will be fixing the test or jboss, as appropriate!





DETAILS OF ERRORS

[details not shown - as this makes the mail too big to reach the sf mailing list]



PS BEFORE you commit, run the test suite.  Its easy, just run the target 
'run-basic-testsuite' from the main build.xml.

PPS Come on people - there were a few days back in July 2001 when we had ZERO tests 
failing!

Oh, and thanks - remember we love you too!



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



[JBoss-dev] CVS update: website-forums/src/web/forums header.jsp

2001-12-03 Thread Jason Dillon

  User: user57  
  Date: 01/12/03 19:09:39

  Modified:src/web/forums header.jsp
  Log:
   o eventually will get this right =(
  
  Revision  ChangesPath
  1.11  +9 -7  website-forums/src/web/forums/header.jsp
  
  Index: header.jsp
  ===
  RCS file: /cvsroot/jboss/website-forums/src/web/forums/header.jsp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- header.jsp2001/12/04 03:05:29 1.10
  +++ header.jsp2001/12/04 03:09:39 1.11
  @@ -1,8 +1,8 @@
   %
   /**
*   $RCSfile: header.jsp,v $
  - *   $Revision: 1.10 $
  - *   $Date: 2001/12/04 03:05:29 $
  + *   $Revision: 1.11 $
  + *   $Date: 2001/12/04 03:09:39 $
*/
   %
   
  @@ -37,9 +37,10 @@
   /head
   
   body bgcolor=%= JiveGlobals.getJiveProperty(skin.default.bgColor) %
  - link=%= JiveGlobals.getJiveProperty(skin.default.linkColor)  % 
  - vlink=%= JiveGlobals.getJiveProperty(skin.default.vLinkColor)  %
  - alink=%= JiveGlobals.getJiveProperty(skin.default.aLinkColor)  %
  +  link=%= JiveGlobals.getJiveProperty(skin.default.linkColor) % 
  +  vlink=%= JiveGlobals.getJiveProperty(skin.default.vLinkColor) %
  +  alink=%= JiveGlobals.getJiveProperty(skin.default.aLinkColor) %
  +  marginwidth=0 marginheight=0 leftmargin=0 topmargin=0
   
   table cellspacing=0 cellpadding=0 border=0 width=100%
  tr
  @@ -49,10 +50,10 @@
   /table
   
   table bgcolor=%= JiveGlobals.getJiveProperty(skin.default.headerBorderColor) 
%
  -   cellpadding=1 cellspacing=0 border=0 width=100%
  +   cellpadding=0 cellspacing=0 border=0 width=100%
   trtd
   table bgcolor=%= JiveGlobals.getJiveProperty(skin.default.headerBgColor) %
  -   cellpadding=6 cellspacing=0 border=0 width=100%
  +   cellpadding=0 cellspacing=0 border=0 width=100%
   tr
   td bgcolor=#2c922fa href=/img src=/pictures/head000.jpg border=0 
width=760 height=165/a/td
   td width=100% background=/pictures/headfill.gifimg src=/pictures/t.gif 
width=6 height=1/td
  @@ -62,6 +63,7 @@
   /table
   
   %-- spacer table --%
  +
   table cellpadding=0 cellspacing=0 border=0 width=100%
   trtdimg src=images/blank.gif width=1 height=10 border=0/td/tr
   /table
  
  
  

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



[JBoss-dev] CVS update: website-forums/src/web/forums header.jsp

2001-12-03 Thread Jason Dillon

  User: user57  
  Date: 01/12/03 19:12:06

  Modified:src/web/forums header.jsp
  Log:
   o put some padding back in now that body has not margins
  
  Revision  ChangesPath
  1.12  +5 -2  website-forums/src/web/forums/header.jsp
  
  Index: header.jsp
  ===
  RCS file: /cvsroot/jboss/website-forums/src/web/forums/header.jsp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- header.jsp2001/12/04 03:09:39 1.11
  +++ header.jsp2001/12/04 03:12:06 1.12
  @@ -1,8 +1,8 @@
   %
   /**
*   $RCSfile: header.jsp,v $
  - *   $Revision: 1.11 $
  - *   $Date: 2001/12/04 03:09:39 $
  + *   $Revision: 1.12 $
  + *   $Date: 2001/12/04 03:12:06 $
*/
   %
   
  @@ -67,5 +67,8 @@
   table cellpadding=0 cellspacing=0 border=0 width=100%
   trtdimg src=images/blank.gif width=1 height=10 border=0/td/tr
   /table
  +
  +table cellpadding=6 cellspacing=0 border=0 width=100%
  +trtd
   
   %--  out.flush(); --%
  
  
  

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 15:53, marc fleury wrote:
 I seriously doubt you are a developer of anything kid...

I usually wouldn't credit this kind of bait with a response, but since I
am considering doing business with your organization I suppose that it
is worth exploring. Adam Heath is one of my employees. In addition to a
fairly comprehensive knowledge of Java, C, Perl and every Shell variant
I've ever seen he also has a fairly solid design sense.

I have asked Adam to Debianize the JBoss system. We use Debian fairly
exclusively for our production environment both for its usability and
its alignment with our philosophical perspective. I'm quite sure that
Debian users at large will find Adam's debs handy.

While we are discussing being for real I must say that the way you
conduct yourself raises serious issues for me. I have been examining
your partner program and have been trying to decide what is going on
with this JBoss critter you are all cooking up. The code is undeniably
good, but I'm somewhat unclear about the arrangements. There seem to be
a lot of possibilities:

1. JBoss, the Open Source project.
2. JBoss, the training organization.
3. JBoss, the book publisher.
4. JBoss, the marketing organization.
5. JBoss, the loud Frenchman who loves to flame people.

I'm very interested in being involved with #1 but I don't know how much
I need or want to be involved in #2, #3, #4 or #5. That is what I'm in
the process of figuring out and it doesn't help that #5 insists on
dismissing issues I consider important and belittling my employees.

Is the JBoss group a non-profit, not-for-profit? Should I regard it as
an Open Source project or a competitor? As I look into committing more
time and money to the JBoss project I am wondering if I am helping Marc
build a consulting company.

I'm looking for something like the Apache project. A group that produces
a mutually useful infrastructure without disproportionally rewarding one
person in particular. I don't know how many of you have similar
questions or issues and I'm happy to shut up and just use the code.

For those that are interested here are a few facts about our
organization:

- We are a little 20 man shop in Dallas, Texas that has been around for
about ten years.
- We routinely execute contracts for Fortune 500 companies.
- We are the longest continuous commercial sponsor of the Debian
project.
- Our employees include the primary architect of the GCJ Java compiler,
who is also on the GCC steering committee.

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



[JBoss-dev] CVS update: thirdparty/sun/jsr77/lib jsr77.jar

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 19:24:37

  Modified:sun/jsr77/lib jsr77.jar
  Log:
  Remove any error logs. Implemented MEJBBean code therefore it works
  like the EJB-Adaptor. Later on it will migrate to the definit JSR-77
  implementation as soon as the spec. is more specific.
  
  Revision  ChangesPath
  1.7   +10 -11thirdparty/sun/jsr77/lib/jsr77.jar
  
Binary file
  
  

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



[JBoss-dev] CVS update: jboss/src/main/org/jboss/management/j2ee EJB.java EjbModule.java J2EEApplication.java J2EEResource.java JNDI.java

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 19:24:36

  Modified:src/main/org/jboss/management/j2ee EJB.java EjbModule.java
J2EEApplication.java J2EEResource.java JNDI.java
  Log:
  Remove any error logs. Implemented MEJBBean code therefore it works
  like the EJB-Adaptor. Later on it will migrate to the definit JSR-77
  implementation as soon as the spec. is more specific.
  
  Revision  ChangesPath
  1.5   +3 -3  jboss/src/main/org/jboss/management/j2ee/EJB.java
  
  Index: EJB.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/management/j2ee/EJB.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- EJB.java  2001/11/28 06:33:37 1.4
  +++ EJB.java  2001/12/04 03:24:36 1.5
  @@ -19,7 +19,7 @@
* {@link javax.management.j2ee.EJB EJB}.
*
* @author  a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a.
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
*   
* pbRevisions:/b
*
  @@ -67,7 +67,7 @@
).getObjectName();
 }
 catch( Exception e ) {
  - lLog.error( Could not create JSR-77 EJB:  + pBeanMeta.getJndiName(), e );
  +//AS lLog.error( Could not create JSR-77 EJB:  + pBeanMeta.getJndiName(), 
e );
return null;
 }
  }
  @@ -79,7 +79,7 @@
pServer.unregisterMBean( new ObjectName( pEJBName ) );
 }
 catch( Exception e ) {
  - lLog.error( Could not destory JSR-77 EJB:  + pEJBName, e );
  +//AS lLog.error( Could not destory JSR-77 EJB:  + pEJBName, e );
 }
  }
  
  
  
  
  1.8   +4 -4  jboss/src/main/org/jboss/management/j2ee/EjbModule.java
  
  Index: EjbModule.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/management/j2ee/EjbModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EjbModule.java2001/11/28 06:33:37 1.7
  +++ EjbModule.java2001/12/04 03:24:36 1.8
  @@ -29,7 +29,7 @@
* {@link javax.management.j2ee.EjbModule EjbModule}.
*
* @author  a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a.
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
*   
* pbRevisions:/b
*
  @@ -74,7 +74,7 @@
lDD = J2EEDeployedObject.getDeploymentDescriptor( pURL, 
J2EEDeployedObject.EJB );
 }
 catch( Exception e ) {
  - lLog.error( Could not create JSR-77 EjbModule:  + pApplicationName, e );
  +//AS lLog.error( Could not create JSR-77 EjbModule:  + pApplicationName, 
e );
return null;
 }
 try {
  @@ -100,7 +100,7 @@
).getObjectName();
 }
 catch( Exception e ) {
  - lLog.error( Could not create JSR-77 EjbModule:  + pApplicationName, e );
  +//AS lLog.error( Could not create JSR-77 EjbModule:  + pApplicationName, 
e );
return null;
 }
  }
  @@ -112,7 +112,7 @@
pServer.unregisterMBean( new ObjectName( pModuleName ) );
 }
 catch( Exception e ) {
  - lLog.error( Could not destory JSR-77 EjbModule:  + pModuleName, e );
  +//AS lLog.error( Could not destory JSR-77 EjbModule:  + pModuleName, e );
 }
  }
  
  
  
  
  1.7   +4 -4  jboss/src/main/org/jboss/management/j2ee/J2EEApplication.java
  
  Index: J2EEApplication.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/management/j2ee/J2EEApplication.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- J2EEApplication.java  2001/11/28 06:33:37 1.6
  +++ J2EEApplication.java  2001/12/04 03:24:36 1.7
  @@ -24,7 +24,7 @@
* {@link javax.management.j2ee.J2EEApplication J2EEApplication}.
*
* @author  a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a.
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
*   
* pbRevisions:/b
*
  @@ -57,7 +57,7 @@
).iterator().next();
 }
 catch( Exception e ) {
  - lLog.error( Could not create JSR-77 J2EEApplication:  + pName, e );
  +//AS lLog.error( Could not create JSR-77 J2EEApplication:  + pName, e );
return null;
 }
 try {
  @@ -78,7 +78,7 @@
).getObjectName();
 }
 catch( Exception e ) {
  - lLog.error( Could not create JSR-77 J2EEApplication:  + pName, e );
  +//AS lLog.error( Could not create JSR-77 J2EEApplication:  + pName, e );
return null;
 }
  }
  @@ -98,7 +98,7 @@
pServer.unregisterMBean( lApplication );
 }
 catch( Exception e ) {
  - lLog.error( Could not destroy JSR-77 J2EEApplication:  + pName, e );
  +//AS lLog.error( 

[JBoss-dev] CVS update: jboss/src/main/org/jboss/management/mejb MEJBBean.java

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 19:24:36

  Modified:src/main/org/jboss/management/mejb MEJBBean.java
  Log:
  Remove any error logs. Implemented MEJBBean code therefore it works
  like the EJB-Adaptor. Later on it will migrate to the definit JSR-77
  implementation as soon as the spec. is more specific.
  
  Revision  ChangesPath
  1.4   +363 -17   jboss/src/main/org/jboss/management/mejb/MEJBBean.java
  
  Index: MEJBBean.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/management/mejb/MEJBBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MEJBBean.java 2001/11/27 06:15:27 1.3
  +++ MEJBBean.java 2001/12/04 03:24:36 1.4
  @@ -17,14 +17,33 @@
   import javax.ejb.RemoveException;
   import javax.ejb.SessionBean;
   import javax.ejb.SessionContext;
  +import javax.management.Attribute;
  +import javax.management.AttributeList;
  +import javax.management.AttributeNotFoundException;
  +import javax.management.InvalidAttributeValueException;
  +import javax.management.InstanceNotFoundException;
  +import javax.management.InstanceAlreadyExistsException;
  +import javax.management.MBeanException;
  +import javax.management.MBeanInfo;
  +import javax.management.MBeanRegistrationException;
  +import javax.management.MBeanServer;
  +import javax.management.MBeanServerFactory;
  +import javax.management.IntrospectionException;
  +import javax.management.ListenerNotFoundException;
  +import javax.management.NotCompliantMBeanException;
  +import javax.management.NotificationFilter;
  +import javax.management.NotificationListener;
   import javax.management.ObjectName;
  +import javax.management.ObjectInstance;
  +import javax.management.QueryExp;
  +import javax.management.ReflectionException;
   import javax.naming.Context;
   import javax.naming.InitialContext;
   import javax.naming.NamingException;
   
   import javax.management.j2ee.MEJBServer;
  -import javax.management.j2ee.Attribute;
  -import javax.management.j2ee.AttributeList;
  +//import javax.management.j2ee.Attribute;
  +//import javax.management.j2ee.AttributeList;
   /*
   import javax.management.j2ee.;
   import javax.management.j2ee.;
  @@ -34,20 +53,25 @@
   import javax.management.j2ee.;
   */
   
  +import org.jboss.jmx.connector.RemoteMBeanServer;
  +import org.jboss.management.j2ee.J2EEManagedObject;
  +
   /**
   * Management Session Bean to enable the client to manage the
   * server its is deployed on.
   *
   * @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a
   * @author a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a
  -* @version $Revision: 1.3 $
  +* @version $Revision: 1.4 $
   *
   * @ejb:bean name=MEJB
   *   display-name=JBoss Management EJB (MEJB)
   *   type=Stateless
   *   jndi-name=ejb/mgmt/J2EEManagement
   * @ejb:interface extends=javax.management.j2ee.MEJBServer
  -* @--ejb:ejb-ref ejb-name=jboss/survey/Survey
  +* @ejb:env-entry description=JNDI-Name of the MBeanServer to be used to look it 
up. If 'null' the first of all listed local MBeanServer is taken
  +*name=Server-Name
  +*value=null
   *
   **/
   public class MEJBBean
  @@ -62,6 +86,11 @@
  // -
  
  private SessionContext mContext;
  +   /**
  +   * Reference to the MBeanServer all the methods of this Connector are
  +   * forwarded to
  +   **/
  +   private RemoteMBeanServer mConnector;
  
  // -
  // Methods
  @@ -75,7 +104,12 @@
  public Object getAttribute( ObjectName pName, String pAttribute )
 throws RemoteException
  {
  -  return null;
  +  try {
  +  return mConnector.getAttribute( pName, pAttribute );
  +  }
  +  catch( Exception e ) {
  + throw new RemoteException( MEJBBean.getAttribute(), got JMX exception, e 
);
  +  }
  }
  
  /**
  @@ -83,10 +117,15 @@
  *
  * @ejb:interface-method view-type=remote
  **/
  -   public AttributeList getAttributes( ObjectName pName, String pAttributes )
  +   public AttributeList getAttributes( ObjectName pName, String[] pAttributes )
 throws RemoteException
  {
  -  return null;
  +  try {
  +  return mConnector.getAttributes( pName, pAttributes );
  +  }
  +  catch( Exception e ) {
  + throw new RemoteException( MEJBBean.getAttributes(), got JMX exception, 
e );
  +  }
  }
  
  /**
  @@ -97,7 +136,7 @@
  public String getDefaultDomain()
 throws RemoteException
  {
  -  return null;
  +  return J2EEManagedObject.getDomainName();
  }
  
  /**
  @@ -108,7 +147,16 @@
  public Integer getManagedObjectCount()
 throws RemoteException
  {
  -  return null;
  +  

[JBoss-dev] CVS update: jboss/src/main/org/jboss/system ServiceMBean.java ServiceMBeanSupport.java

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 19:24:36

  Modified:src/main/org/jboss/system ServiceMBean.java
ServiceMBeanSupport.java
  Log:
  Remove any error logs. Implemented MEJBBean code therefore it works
  like the EJB-Adaptor. Later on it will migrate to the definit JSR-77
  implementation as soon as the spec. is more specific.
  
  Revision  ChangesPath
  1.3   +15 -5 jboss/src/main/org/jboss/system/ServiceMBean.java
  
  Index: ServiceMBean.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/system/ServiceMBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServiceMBean.java 2001/09/08 00:53:57 1.2
  +++ ServiceMBean.java 2001/12/04 03:24:36 1.3
  @@ -8,25 +8,35 @@
   
   /**
* An interface describing a JBoss service MBean.
  - * 
  + *
* @see Service
* @see ServiceMBeanSupport
  + * 
  + * @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
  + * @author a href=mailto:[EMAIL PROTECTED];Scott Stark/a
  + * @author a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a
  + * @version $Revision: 1.3 $
  + *   
  + * pbRevisions:/b
*
  - * @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a.
  - * @author a href=mailto:[EMAIL PROTECTED];Scott Stark/a.
  - * @version $Revision: 1.2 $
  + * pb20011202 Andreas Schaefer:/b
  + * ul
  + * li Added new state FAILED which the Service goes to when starting
  + *  or stopping fails.
  + * /ul
*/
   public interface ServiceMBean
  extends Service
   {
  // Constants -
  
  -   String[] states = { Stopped, Stopping, Starting, Started };
  +   String[] states = { Stopped, Stopping, Starting, Started, Failed };
  
  int STOPPED  = 0;
  int STOPPING = 1;
  int STARTING = 2;
  int STARTED  = 3;
  +   int FAILED  = 4;
  
  // Public 
  
  
  
  
  1.8   +14 -8 jboss/src/main/org/jboss/system/ServiceMBeanSupport.java
  
  Index: ServiceMBeanSupport.java
  ===
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/system/ServiceMBeanSupport.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ServiceMBeanSupport.java  2001/12/03 02:26:01 1.7
  +++ ServiceMBeanSupport.java  2001/12/04 03:24:36 1.8
  @@ -29,7 +29,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a
* @author a href=mailto:[EMAIL PROTECTED];Scott Stark/a
* @author a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
*   
* pbRevisions:/b
*
  @@ -117,7 +117,7 @@
  public void start()
 throws Exception
  {
  -  if (getState() != STOPPED)
  +  if (getState() != STOPPED  getState() != FAILED)
return;

 state = STARTING;
  @@ -131,10 +131,10 @@
 }
 catch (Exception e)
 {
  - state = STOPPED;
  + state = FAILED;
//AS It seems that the first attribute is not needed anymore and use a 
long instead of a Date
  - sendNotification(new AttributeChangeNotification(this, id++, new 
Date().getTime(), getName()+ stopped, State, java.lang.Integer, new 
Integer(STARTING), new Integer(STOPPED)));
  - log.error(Stopped, e);
  + sendNotification(new AttributeChangeNotification(this, id++, new 
Date().getTime(), getName()+ failed, State, java.lang.Integer, new 
Integer(STARTING), new Integer(FAILED)));
  + log.error(Failed, e);
throw e;
 }
 finally
  @@ -164,14 +164,20 @@
 }
 catch (Throwable e)
 {
  - log.error(e);
  + state = FAILED;
  + //AS It seems that the first attribute is not needed anymore and use a 
long instead of a Date
  + sendNotification(new AttributeChangeNotification(this, id++, new 
Date().getTime(), getName()+ failed, State, java.lang.Integer, new 
Integer(STOPPING), new Integer(FAILED)));
  + log.error(Failed, e);
  + return;
 }
  -  
  +  finally
  +  {
  + NDC.pop();
  +  }
 state = STOPPED;
 //AS It seems that the first attribute is not needed anymore and use a long 
instead of a Date
 sendNotification(new AttributeChangeNotification(this, id++, new 
Date().getTime(), getName()+ stopped, State, java.lang.Integer, new 
Integer(STOPPING), new Integer(STOPPED)));
 log.info(Stopped);
  -  NDC.pop();
  }
   
  public void init() throws Exception
  
  
  

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Adam Heath

On Mon, 3 Dec 2001, marc fleury wrote:

 I seriously doubt you are a developer of anything kid...

See, this is why I didn't respond to your ultimatum email a week ago.  I had a
suspicion that you would only answer with a pure flame.  I guess I was proven
right.

At this point a person, only interested in the flame rebuttable, would come
back and list, point by point, what they had done or worked on in the past.  I
won't do that.  There is no need to bore anyone here with the details.  After
all, my history in open source is documented.  Just go looking on your
favorite search engine, to find what I have done.

 good bye

I had really been trying to keep an open, functioning dialog between me and
certain parties on this list.  I can see that doing so is an effort in
futility.  I guess my only recourse is to not even attempt to maintain an open
dialog, as I am shunted at every turn.

 marcf

Are there others out there in the jboss world, that have a bit of common sense
or decency?  I certainly haven't seen any coming from little old marc here.



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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Peter Fagerlund

on 1-12-04 03.55, Ean Schuessler at [EMAIL PROTECTED] wrote:

 Is the JBoss group a non-profit, not-for-profit?

You are still in the last century ? are You not ? it is a new dawn here !
glowing  ... 

/peter_f

 Only fools se darkness in the night
- 
the wise se a vault of azure 


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



[JBoss-dev] CVS update: website-forums/src/web/forums footer.jsp

2001-12-03 Thread Jason Dillon

  User: user57  
  Date: 01/12/03 19:31:01

  Modified:src/web/forums footer.jsp
  Log:
   o closing tag for spacer table
  
  Revision  ChangesPath
  1.7   +1 -1  website-forums/src/web/forums/footer.jsp
  
  Index: footer.jsp
  ===
  RCS file: /cvsroot/jboss/website-forums/src/web/forums/footer.jsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- footer.jsp2001/11/28 16:02:07 1.6
  +++ footer.jsp2001/12/04 03:31:01 1.7
  @@ -1,5 +1,4 @@
   
  -
   table cellspacing=0 cellpadding=0 border=0 width=100%
  tr
  td bgcolor=#ff align=center
  @@ -34,6 +33,7 @@
   /font
   /td
   /tr
  +/table
   /table
   
   /body
  
  
  

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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 21:30, Peter Fagerlund wrote:
 You are still in the last century ? are You not ? it is a new dawn here !
 glowing  ... 

Please, spare me the rhetoric. I know plenty about mixing business and
Free Software. There only a few things I can so far detect about JBoss:

- The code looks really cool.

- A lot of people are working on it and committing effort.

- Marc seems to have complete ownership of the domain and, more
importantly, the trademark.
(http://tess.uspto.gov/bin/showfield?f=docstate=3k4bgs.4.1)

- Marc has retained Larry Rosen, who is also associated with the Open
Source Initiative, as an attorney.

- Beyond the apparently successful training effort there is a developing
focus on services.

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



[JBoss-dev] Automated JBoss Testsuite Results

2001-12-03 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   183



Successful tests:  180

Errors:1

Failures:  2





[time of test: 4 December 2001 3:45 GMT]
[java.version: 1.3.1]
[java.vendor: Blackdown Java-Linux Team]
[java.vm.version: Blackdown-1.3.1-FCS]
[java.vm.name: Java HotSpot(TM) Client VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-12]

See http://lubega.com for full details

NOTE: If there are any errors shown above - this mail is only highlighting 
them - it is NOT indicating that they are being looked at by anyone.

It is assumed that whoever makes change(s) to jboss that 
break the test will be fixing the test or jboss, as appropriate!





DETAILS OF ERRORS

[details not shown - as this makes the mail too big to reach the sf mailing list]



PS BEFORE you commit, run the test suite.  Its easy, just run the target 
'run-basic-testsuite' from the main build.xml.

PPS Come on people - there were a few days back in July 2001 when we had ZERO tests 
failing!

Oh, and thanks - remember we love you too!



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



RE: [JBoss-dev] bugs in org.jboss.proxy.Proxies.Impl

2001-12-03 Thread Jason Dillon

Ahhh... IC =)

--jason


On Mon, 3 Dec 2001, Dain Sundstrom wrote:

 java.lang.reflect.Proxy only supports generating subclasses of interfaces
 and in cmp 2 we need to generate a subclass of an abstract class.
 
 -dain
 
  -Original Message-
  From: Jason Dillon [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 03, 2001 5:20 PM
  To: Peter Levart
  Cc: [EMAIL PROTECTED]
  Subject: Re: [JBoss-dev] bugs in org.jboss.proxy.Proxies.Impl
  
  
  Shouldn't the java.lang.reflect.Proxy stuff be used instead?  
  Isn't this for 
  pre 1.3 support, which isn't really supported anymore?
  
  --jason
  
  
  On Thu, 29 Nov 2001, Peter Levart wrote:
  
   Hey guys,
   
   There's a buggy method in org.jboss.proxy.Proxies.Impl that 
  caused every 
   entity bean instance of the same type to be of different 
  Class and using 
   different ClassLoader. There might be other places in the 
  code that are using 
   proxy generation and are producing different Class objects 
  and ClassLoaders 
   for every instance of the proxy that implements the same 
  interfaces. That's a 
   waste of space and time at minimum.
   
   Here's the patch to correct this:
   
   *** Proxies.java~   Wed Nov 28 17:39:17 2001
   --- Proxies.javaWed Nov 28 17:39:17 2001
   ***
   *** 300,306 
   // (duplication and reordering are ignored)
   static boolean sameTypes(Class tt1[], Class tt2[])
   {
   !  if (tt1.length == 1  tt2.length == 0)
  {
 return tt1[0] == tt2[0];
  }
   --- 300,306 
   // (duplication and reordering are ignored)
   static boolean sameTypes(Class tt1[], Class tt2[])
   {
   !  if (tt1.length == 1  tt2.length == 1)
  {
 return tt1[0] == tt2[0];
  }
   ***
   *** 335,341 
totalSeen2 += seen2;
 }
 // now, each element of tt2 must have been visited
   ! return totalSeen2 != tt2.length;
   }
   
   static Class[] copyAndUniquify(Class targetTypes[])
   --- 335,341 
totalSeen2 += seen2;
 }
 // now, each element of tt2 must have been visited
   ! return totalSeen2 == tt2.length;
   }
   
   static Class[] copyAndUniquify(Class targetTypes[])
   ***
   *** 729,731 
   --- 729,732 
   }
}
 }
   +
   
   
   Peter
   
   ___
   Jboss-development mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-development
   
  
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
  
 


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



[JBoss-dev] JBOSS documentation availability.

2001-12-03 Thread Nick Pellow

I would like to buy the documentation, however the link from the JBoss
documentation page seems to be broken
or the flashline store has sold out.

http://www.flashline.com/components/inactive.jsp?sid=1007437622953-998274382
-51prodid=4252

Is there any other places to order the documentation. Also, will I be
entitled to an update when the doco is
finally released?

Regards,
Nicholas.

- Original Message -
From: marc fleury [EMAIL PROTECTED]
To: Hicks, James [EMAIL PROTECTED]; Jason Dillon
[EMAIL PROTECTED]
Cc: jboss [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 2:03 PM
Subject: RE: [JBoss-dev] RE: [JBoss-user] where is CMP2.0 documentation?


 |Don't see the Apache Project selling it's docs.  The developers volunteer
 |their time, meaning they expect nothing in return, but contributions are

 java apache is not making one dollar,

 for the most part they are employees.

 i don't want that model, it's stupid.

 or something like that ;-)

 peace,

 marcf


 |nice.  The developers keep the project alive, and if the project is any
 |good, it shall survive, and JBoss is and it is.
 |
 |James Hicks
 |
 |-Original Message-
 |From: Jason Dillon [mailto:[EMAIL PROTECTED]]
 |Sent: Monday, December 03, 2001 7:43 PM
 |To: Hicks, James
 |Cc: jboss; [EMAIL PROTECTED]
 |Subject: RE: [JBoss-user] where is CMP2.0 documentation?
 |
 |
 |The docs are online for free.  An opensource project needs to make some
 |money to sustains itself too.
 |
 |--jason
 |
 |
 |On Mon, 3 Dec 2001, Hicks, James wrote:
 |
 | Why is the JBoss Group charging for documentation?  An opensource
project
 | should have freely available documentation.  How can a project survive
if
 | nobody knows how to set it up?
 |
 | James Hicks
 |
 | -Original Message-
 | From: Herve Tchepannou [mailto:[EMAIL PROTECTED]]
 | Sent: Monday, December 03, 2001 8:39 AM
 | To: jboss
 | Subject: [JBoss-user] where is CMP2.0 documentation?
 |
 |
 |
 | Im looking for the 2.0 documentation, but I can't find it.
 | anyone has the link?
 |
 | Herve Tchepannou
 | Software Engineer
 | Objexis Coorporation
 | Phone: (514) 932 3295 Ext. 231
 | mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 |
 | Objexis Coorporation
 | http://www.objexis.com http://www.objexis.com
 | 1635 Sherbrooke West, Suite #405
 | Montreal, Qc H3H 1E2
 | Tel: 514.932.3295
 | Fax: 514.932.4639
 | http://www.objexis.com http://www.objexis.com
 |
 | Important - This message may contain privileged and confidential
 | information.  It is intended only for the use of the individual(s)
named
 | above. If the reader of this message is not the intended
 |recipient you are
 | hereby notified that any use, dissemination, distribution or
reproduction
 |of
 | this message is prohibited. If you have received this message in error
 | please notify Objexis Corporation immediately and promptly delete this
 | message and any copies thereof. Any views expressed in this message are
 | those of the individual sender and may not necessarily reflect the
views
 |of
 | Objexis Corporation.
 |
 |
 |
 |___
 |Jboss-development mailing list
 |[EMAIL PROTECTED]
 |https://lists.sourceforge.net/lists/listinfo/jboss-development


 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Dain Sundstrom

 On Mon, 2001-12-03 at 21:30, Peter Fagerlund wrote:
  You are still in the last century ? are You not ? it is a 
 new dawn here !
  glowing  ... 
 
 Please, spare me the rhetoric. I know plenty about mixing business and
 Free Software. There only a few things I can so far detect 
 about JBoss:
 
 - The code looks really cool.
 
 - A lot of people are working on it and committing effort.
 
 - Marc seems to have complete ownership of the domain and, more
 importantly, the trademark.
 (http://tess.uspto.gov/bin/showfield?f=docstate=3k4bgs.4.1)

so
 
 - Marc has retained Larry Rosen, who is also associated with the Open
 Source Initiative, as an attorney.

so
 
 - Beyond the apparently successful training effort there is a 
 developing
 focus on services.

I hope so.  What is wrong with offering consulting (advice) and support from
the source? 

-dain

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



RE: [JBoss-dev] JBOSS documentation availability.

2001-12-03 Thread Dain Sundstrom

http://www.flashline.com/Components/View.jsp?prodid=4331

 -Original Message-
 From: Nick Pellow [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 03, 2001 9:59 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-dev] JBOSS documentation availability.
 
 
 I would like to buy the documentation, however the link from the JBoss
 documentation page seems to be broken
 or the flashline store has sold out.
 
 http://www.flashline.com/components/inactive.jsp?sid=100743762
 2953-998274382
 -51prodid=4252
 
 Is there any other places to order the documentation. Also, will I be
 entitled to an update when the doco is
 finally released?
 
 Regards,
 Nicholas.
 
 - Original Message -
 From: marc fleury [EMAIL PROTECTED]
 To: Hicks, James [EMAIL PROTECTED]; Jason Dillon
 [EMAIL PROTECTED]
 Cc: jboss [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, December 04, 2001 2:03 PM
 Subject: RE: [JBoss-dev] RE: [JBoss-user] where is CMP2.0 
 documentation?
 
 
  |Don't see the Apache Project selling it's docs.  The 
 developers volunteer
  |their time, meaning they expect nothing in return, but 
 contributions are
 
  java apache is not making one dollar,
 
  for the most part they are employees.
 
  i don't want that model, it's stupid.
 
  or something like that ;-)
 
  peace,
 
  marcf
 
 
  |nice.  The developers keep the project alive, and if the 
 project is any
  |good, it shall survive, and JBoss is and it is.
  |
  |James Hicks
  |
  |-Original Message-
  |From: Jason Dillon [mailto:[EMAIL PROTECTED]]
  |Sent: Monday, December 03, 2001 7:43 PM
  |To: Hicks, James
  |Cc: jboss; [EMAIL PROTECTED]
  |Subject: RE: [JBoss-user] where is CMP2.0 documentation?
  |
  |
  |The docs are online for free.  An opensource project needs 
 to make some
  |money to sustains itself too.
  |
  |--jason
  |
  |
  |On Mon, 3 Dec 2001, Hicks, James wrote:
  |
  | Why is the JBoss Group charging for documentation?  An opensource
 project
  | should have freely available documentation.  How can a 
 project survive
 if
  | nobody knows how to set it up?
  |
  | James Hicks
  |
  | -Original Message-
  | From: Herve Tchepannou [mailto:[EMAIL PROTECTED]]
  | Sent: Monday, December 03, 2001 8:39 AM
  | To: jboss
  | Subject: [JBoss-user] where is CMP2.0 documentation?
  |
  |
  |
  | Im looking for the 2.0 documentation, but I can't find it.
  | anyone has the link?
  |
  | Herve Tchepannou
  | Software Engineer
  | Objexis Coorporation
  | Phone: (514) 932 3295 Ext. 231
  | mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  |
  | Objexis Coorporation
  | http://www.objexis.com http://www.objexis.com
  | 1635 Sherbrooke West, Suite #405
  | Montreal, Qc H3H 1E2
  | Tel: 514.932.3295
  | Fax: 514.932.4639
  | http://www.objexis.com http://www.objexis.com
  |
  | Important - This message may contain privileged and confidential
  | information.  It is intended only for the use of the 
 individual(s)
 named
  | above. If the reader of this message is not the intended
  |recipient you are
  | hereby notified that any use, dissemination, distribution or
 reproduction
  |of
  | this message is prohibited. If you have received this 
 message in error
  | please notify Objexis Corporation immediately and 
 promptly delete this
  | message and any copies thereof. Any views expressed in 
 this message are
  | those of the individual sender and may not necessarily 
 reflect the
 views
  |of
  | Objexis Corporation.
  |
  |
  |
  |___
  |Jboss-development mailing list
  |[EMAIL PROTECTED]
  |https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke


 Are there others out there in the jboss world, that have a bit of
 common sense
 or decency?  I certainly haven't seen any coming from little old
 marc here.



Adam, you need to eat a piece of humble pie.  If you had taken it upon
yourself to contribute the tomcat-jboss integration, we would have all
applauded your efforts and gladly offered our support and guidance to your
problems.

BTW, Marc was just iterating what a lot of us were thinking but were too
afraid to say.  Put up or shut up dude.

Bill



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke

Ean,

Adam Heath is getting flamed because he has been a jerk.  You don't go on
these lists demanding features and bashing people because certain features
don't work to a community of developers who mostly all work for free!  I
secretly applauded Marc for flaming Adam because I'm sick and tired of
winy-ass developers coming on this list demanding things when they have not
contributed anything in return.  I work hard on JBoss in my free time, and
it is a slap in the face when somebody comes around with this kind of
attitude.  If you want to have that kind of attitude on this email list, you
have to EARN that right and privilege.

Marc is the source of JBoss.  He provides its energy and vision.  He gives
us focus.  I can tell you from personal experience that Marc takes care of
those who are contributors of jboss and takes care of them well.  He breeds
loyalty and always gives back what you put into the JBoss community.

There are 2 forms of currency here in the JBoss community.  Contributions
through code, documentation, and/or answering questions on the
user-lists/forums.  Or paying JBossGroup directly to implement features.
Yes, Adam, may be a good developer as you say, but who really cares?  I
don't.  Unless he contributes some of his solid design experience to our
community, I personally have no desire to answer one of his questions.

Good Day,

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ean
 Schuessler
 Sent: Monday, December 03, 2001 9:56 PM
 To: marc fleury
 Cc: Adam Heath; Jboss-Development@Lists. Sourceforge. Net
 Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Mon, 2001-12-03 at 15:53, marc fleury wrote:
  I seriously doubt you are a developer of anything kid...

 I usually wouldn't credit this kind of bait with a response, but since I
 am considering doing business with your organization I suppose that it
 is worth exploring. Adam Heath is one of my employees. In addition to a
 fairly comprehensive knowledge of Java, C, Perl and every Shell variant
 I've ever seen he also has a fairly solid design sense.

 I have asked Adam to Debianize the JBoss system. We use Debian fairly
 exclusively for our production environment both for its usability and
 its alignment with our philosophical perspective. I'm quite sure that
 Debian users at large will find Adam's debs handy.

 While we are discussing being for real I must say that the way you
 conduct yourself raises serious issues for me. I have been examining
 your partner program and have been trying to decide what is going on
 with this JBoss critter you are all cooking up. The code is undeniably
 good, but I'm somewhat unclear about the arrangements. There seem to be
 a lot of possibilities:

 1. JBoss, the Open Source project.
 2. JBoss, the training organization.
 3. JBoss, the book publisher.
 4. JBoss, the marketing organization.
 5. JBoss, the loud Frenchman who loves to flame people.

 I'm very interested in being involved with #1 but I don't know how much
 I need or want to be involved in #2, #3, #4 or #5. That is what I'm in
 the process of figuring out and it doesn't help that #5 insists on
 dismissing issues I consider important and belittling my employees.

 Is the JBoss group a non-profit, not-for-profit? Should I regard it as
 an Open Source project or a competitor? As I look into committing more
 time and money to the JBoss project I am wondering if I am helping Marc
 build a consulting company.

 I'm looking for something like the Apache project. A group that produces
 a mutually useful infrastructure without disproportionally rewarding one
 person in particular. I don't know how many of you have similar
 questions or issues and I'm happy to shut up and just use the code.

 For those that are interested here are a few facts about our
 organization:

 - We are a little 20 man shop in Dallas, Texas that has been around for
 about ten years.
 - We routinely execute contracts for Fortune 500 companies.
 - We are the longest continuous commercial sponsor of the Debian
 project.
 - Our employees include the primary architect of the GCJ Java compiler,
 who is also on the GCC steering committee.

 --
 _
 Ean Schuessler  [EMAIL PROTECTED]
 Brainfood, Inc.  http://www.brainfood.com

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




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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 21:59, Dain Sundstrom wrote:
  - Marc seems to have complete ownership of the domain and, more
  importantly, the trademark.
  (http://tess.uspto.gov/bin/showfield?f=docstate=3k4bgs.4.1)
 
 so
  
  - Marc has retained Larry Rosen, who is also associated with the Open
  Source Initiative, as an attorney.
 
 so
  
  - Beyond the apparently successful training effort there is a 
  developing
  focus on services.
 
 I hope so.  What is wrong with offering consulting (advice) and support from
 the source? 

Well, that is a complex discussion. What if Linus Torvalds had decided
to try and start the next SCO instead of giving Linux away? What if
Brian Behlendorf had tried to be the next Netscape?

You will have to excuse me asking these questions. I'm new to this
effort of yours and I must admit that I have some questions to ask
before I start slapping $20,000.00 on the barrelhead. I'm happy to help
fund an OpenSource EJB engine. That looks good. But if I'm giving
start-up capital to a potential competitor then I want some stock!

All I can see right now is that Marc owns JBoss outright for most
intents and purposes. The benevolent dictator model is a common one,
but there is something else more complex going on here. The Perl and
Apache trademarks are not licensed to partners and Larry Wall doesn't
keep a VP of business development around.

I'm here to help. I have significant resources. I have a responsibility
to those resources. I'm just asking the questions that I have to ask in
order to move forward.

Also, to save me some trouble, what was Telkel and where did it go?

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport

2001-12-03 Thread Andreas Schaefer

That depends. When you have a JNDI service which does not release its port
then it is as serious as if it does not start because you cannot start
another
JNDI service (sorry for this ugly example).

From my point of view the method stopService() should only throw an
exception
when a fatal exception is thrown and not with all the basic exceptions.
Another
stupid example of mine is that when my JSR-77 representant of a JBoss
service
stops and it should also stop what it stands for then it won't throw an
exception
if this service is gone even the JMX agent will thrown an exception that
this
service is maybe gone. Therefore it will go into the STOPPED state even an
exception is thrown.
This may now be a problem by the implementor of the service to ensure that
only fatal exceptions are thrown which is another story.

See ya - Andy

- Original Message -
From: Hiram Chirino [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 8:03 PM
Subject: Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport



 I disagree.  If I am browsing my MBeans and I see a FAILED state, I would
 like to know right away if the service failed to start of if it was
because
 it failed to stop.  The difference is BIG.  If something does not stop is
 not as serious as if it does not Start.

 Regards,
 Hiram



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



RE: [JBoss-dev] JBOSS documentation availability.

2001-12-03 Thread Bill Burke

try this?

http://www.flashline.com/components/searchresults.jsp?sid=1007438413031-4123
51804-51vendorname=JBoss%20Group%20LLC



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Nick
 Pellow
 Sent: Monday, December 03, 2001 10:59 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-dev] JBOSS documentation availability.


 I would like to buy the documentation, however the link from the JBoss
 documentation page seems to be broken
 or the flashline store has sold out.

 http://www.flashline.com/components/inactive.jsp?sid=1007437622953
 -998274382
 -51prodid=4252

 Is there any other places to order the documentation. Also, will I be
 entitled to an update when the doco is
 finally released?

 Regards,
 Nicholas.

 - Original Message -
 From: marc fleury [EMAIL PROTECTED]
 To: Hicks, James [EMAIL PROTECTED]; Jason Dillon
 [EMAIL PROTECTED]
 Cc: jboss [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Tuesday, December 04, 2001 2:03 PM
 Subject: RE: [JBoss-dev] RE: [JBoss-user] where is CMP2.0 documentation?


  |Don't see the Apache Project selling it's docs.  The
 developers volunteer
  |their time, meaning they expect nothing in return, but
 contributions are
 
  java apache is not making one dollar,
 
  for the most part they are employees.
 
  i don't want that model, it's stupid.
 
  or something like that ;-)
 
  peace,
 
  marcf
 
 
  |nice.  The developers keep the project alive, and if the project is any
  |good, it shall survive, and JBoss is and it is.
  |
  |James Hicks
  |
  |-Original Message-
  |From: Jason Dillon [mailto:[EMAIL PROTECTED]]
  |Sent: Monday, December 03, 2001 7:43 PM
  |To: Hicks, James
  |Cc: jboss; [EMAIL PROTECTED]
  |Subject: RE: [JBoss-user] where is CMP2.0 documentation?
  |
  |
  |The docs are online for free.  An opensource project needs to make some
  |money to sustains itself too.
  |
  |--jason
  |
  |
  |On Mon, 3 Dec 2001, Hicks, James wrote:
  |
  | Why is the JBoss Group charging for documentation?  An opensource
 project
  | should have freely available documentation.  How can a
 project survive
 if
  | nobody knows how to set it up?
  |
  | James Hicks
  |
  | -Original Message-
  | From: Herve Tchepannou [mailto:[EMAIL PROTECTED]]
  | Sent: Monday, December 03, 2001 8:39 AM
  | To: jboss
  | Subject: [JBoss-user] where is CMP2.0 documentation?
  |
  |
  |
  | Im looking for the 2.0 documentation, but I can't find it.
  | anyone has the link?
  |
  | Herve Tchepannou
  | Software Engineer
  | Objexis Coorporation
  | Phone: (514) 932 3295 Ext. 231
  | mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  |
  | Objexis Coorporation
  | http://www.objexis.com http://www.objexis.com
  | 1635 Sherbrooke West, Suite #405
  | Montreal, Qc H3H 1E2
  | Tel: 514.932.3295
  | Fax: 514.932.4639
  | http://www.objexis.com http://www.objexis.com
  |
  | Important - This message may contain privileged and confidential
  | information.  It is intended only for the use of the individual(s)
 named
  | above. If the reader of this message is not the intended
  |recipient you are
  | hereby notified that any use, dissemination, distribution or
 reproduction
  |of
  | this message is prohibited. If you have received this
 message in error
  | please notify Objexis Corporation immediately and promptly
 delete this
  | message and any copies thereof. Any views expressed in this
 message are
  | those of the individual sender and may not necessarily reflect the
 views
  |of
  | Objexis Corporation.
  |
  |
  |
  |___
  |Jboss-development mailing list
  |[EMAIL PROTECTED]
  |https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 


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




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



RE: [JBoss-dev] JBOSS documentation availability.

2001-12-03 Thread Jason Dillon

Why did the product id change?  Did someone update the website to reflect 
this change?

--jason


On Mon, 3 Dec 2001, Dain Sundstrom wrote:

 http://www.flashline.com/Components/View.jsp?prodid=4331
 
  -Original Message-
  From: Nick Pellow [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 03, 2001 9:59 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-dev] JBOSS documentation availability.
  
  
  I would like to buy the documentation, however the link from the JBoss
  documentation page seems to be broken
  or the flashline store has sold out.
  
  http://www.flashline.com/components/inactive.jsp?sid=100743762
  2953-998274382
  -51prodid=4252
  
  Is there any other places to order the documentation. Also, will I be
  entitled to an update when the doco is
  finally released?
  
  Regards,
  Nicholas.
  
  - Original Message -
  From: marc fleury [EMAIL PROTECTED]
  To: Hicks, James [EMAIL PROTECTED]; Jason Dillon
  [EMAIL PROTECTED]
  Cc: jboss [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Tuesday, December 04, 2001 2:03 PM
  Subject: RE: [JBoss-dev] RE: [JBoss-user] where is CMP2.0 
  documentation?
  
  
   |Don't see the Apache Project selling it's docs.  The 
  developers volunteer
   |their time, meaning they expect nothing in return, but 
  contributions are
  
   java apache is not making one dollar,
  
   for the most part they are employees.
  
   i don't want that model, it's stupid.
  
   or something like that ;-)
  
   peace,
  
   marcf
  
  
   |nice.  The developers keep the project alive, and if the 
  project is any
   |good, it shall survive, and JBoss is and it is.
   |
   |James Hicks
   |
   |-Original Message-
   |From: Jason Dillon [mailto:[EMAIL PROTECTED]]
   |Sent: Monday, December 03, 2001 7:43 PM
   |To: Hicks, James
   |Cc: jboss; [EMAIL PROTECTED]
   |Subject: RE: [JBoss-user] where is CMP2.0 documentation?
   |
   |
   |The docs are online for free.  An opensource project needs 
  to make some
   |money to sustains itself too.
   |
   |--jason
   |
   |
   |On Mon, 3 Dec 2001, Hicks, James wrote:
   |
   | Why is the JBoss Group charging for documentation?  An opensource
  project
   | should have freely available documentation.  How can a 
  project survive
  if
   | nobody knows how to set it up?
   |
   | James Hicks
   |
   | -Original Message-
   | From: Herve Tchepannou [mailto:[EMAIL PROTECTED]]
   | Sent: Monday, December 03, 2001 8:39 AM
   | To: jboss
   | Subject: [JBoss-user] where is CMP2.0 documentation?
   |
   |
   |
   | Im looking for the 2.0 documentation, but I can't find it.
   | anyone has the link?
   |
   | Herve Tchepannou
   | Software Engineer
   | Objexis Coorporation
   | Phone: (514) 932 3295 Ext. 231
   | mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   |
   | Objexis Coorporation
   | http://www.objexis.com http://www.objexis.com
   | 1635 Sherbrooke West, Suite #405
   | Montreal, Qc H3H 1E2
   | Tel: 514.932.3295
   | Fax: 514.932.4639
   | http://www.objexis.com http://www.objexis.com
   |
   | Important - This message may contain privileged and confidential
   | information.  It is intended only for the use of the 
  individual(s)
  named
   | above. If the reader of this message is not the intended
   |recipient you are
   | hereby notified that any use, dissemination, distribution or
  reproduction
   |of
   | this message is prohibited. If you have received this 
  message in error
   | please notify Objexis Corporation immediately and 
  promptly delete this
   | message and any copies thereof. Any views expressed in 
  this message are
   | those of the individual sender and may not necessarily 
  reflect the
  views
   |of
   | Objexis Corporation.
   |
   |
   |
   |___
   |Jboss-development mailing list
   |[EMAIL PROTECTED]
   |https://lists.sourceforge.net/lists/listinfo/jboss-development
  
  
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
  
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development
 


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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Andreas Schaefer

You make my heart sing. AMEN.

Andy

- Original Message -
From: Bill Burke [EMAIL PROTECTED]
To: Ean Schuessler [EMAIL PROTECTED]; marc fleury
[EMAIL PROTECTED]
Cc: Adam Heath [EMAIL PROTECTED]; Jboss-Development@Lists. Sourceforge.
Net [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 8:05 PM
Subject: RE: [JBoss-dev] time is up, where is adam heath?


 Ean,

 Adam Heath is getting flamed because he has been a jerk.  You don't go on
 these lists demanding features and bashing people because certain features
 don't work to a community of developers who mostly all work for free!  I
 secretly applauded Marc for flaming Adam because I'm sick and tired of
 winy-ass developers coming on this list demanding things when they have
not
 contributed anything in return.  I work hard on JBoss in my free time, and
 it is a slap in the face when somebody comes around with this kind of
 attitude.  If you want to have that kind of attitude on this email list,
you
 have to EARN that right and privilege.

 Marc is the source of JBoss.  He provides its energy and vision.  He gives
 us focus.  I can tell you from personal experience that Marc takes care of
 those who are contributors of jboss and takes care of them well.  He
breeds
 loyalty and always gives back what you put into the JBoss community.

 There are 2 forms of currency here in the JBoss community.  Contributions
 through code, documentation, and/or answering questions on the
 user-lists/forums.  Or paying JBossGroup directly to implement features.
 Yes, Adam, may be a good developer as you say, but who really cares?  I
 don't.  Unless he contributes some of his solid design experience to our
 community, I personally have no desire to answer one of his questions.

 Good Day,

 Bill



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Dain Sundstrom



 -Original Message-
 From: Ean Schuessler [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 03, 2001 10:11 PM
 To: Dain Sundstrom
 Cc: Peter Fagerlund; marc fleury; Adam Heath; Jboss-Development@Lists.
 \ \ Sourceforge. Net
 Subject: RE: [JBoss-dev] time is up, where is adam heath?
 
 
 On Mon, 2001-12-03 at 21:59, Dain Sundstrom wrote:
   - Marc seems to have complete ownership of the domain and, more
   importantly, the trademark.
   (http://tess.uspto.gov/bin/showfield?f=docstate=3k4bgs.4.1)
  
  so
   
   - Marc has retained Larry Rosen, who is also associated 
 with the Open
   Source Initiative, as an attorney.
  
  so
   
   - Beyond the apparently successful training effort there is a 
   developing
   focus on services.
  
  I hope so.  What is wrong with offering consulting (advice) 
 and support from
  the source? 
 
 Well, that is a complex discussion. 

Exactly.  You have stated some facts.  Now what are the implications of
these facts. Enlighten us with your experience with the open source
community.

 What if Linus Torvalds had decided
 to try and start the next SCO instead of giving Linux away? What if
 Brian Behlendorf had tried to be the next Netscape?

Then we wouldn't have Linux or Netscape.  What is the point?  The source
code for JBoss is distributed under LPGL. At anytime someone could fork the
project and change the name to FunkOSS.

 You will have to excuse me asking these questions. I'm new to this
 effort of yours and I must admit that I have some questions to ask
 before I start slapping $20,000.00 on the barrelhead. I'm 
 happy to help
 fund an OpenSource EJB engine. That looks good. But if I'm giving
 start-up capital to a potential competitor then I want some stock!

Come on. You and I know that 20k doesn't go that far. 

 All I can see right now is that Marc owns JBoss outright for most
 intents and purposes. The benevolent dictator model is a common one,
 but there is something else more complex going on here. 

Like what?  What are you trying to say without saying it?

 The Perl and
 Apache trademarks are not licensed to partners and Larry Wall doesn't
 keep a VP of business development around.

That is the way they do business.  Does JBoss have to play follow the
leader?  Did Apache and Larry try this and fail? Is there a reason why this
is a bad idea?

 I'm here to help. I have significant resources. I have a 
 responsibility
 to those resources. I'm just asking the questions that I have 
 to ask in
 order to move forward.

What questions?  Skim your email and count the question marks.  

You are performing due diligence.  You see things you have not seen before
and they give you a queasy feeling. (right?)  So what don't you like? Try to
start a discussion, and ask questions instead of writing vague accusations.
 
 Also, to save me some trouble, what was Telkel and where did it go?
 -- 
 _
 Ean Schuessler  [EMAIL PROTECTED]
 Brainfood, Inc.  http://www.brainfood.com
 

Now that is a good question? :)  What happened to Telkel?

-dain

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



Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport

2001-12-03 Thread Andreas Schaefer

Hi

Still, when your service did not start or couldn't be stopped you should
go and consult your LOG. Then you will see if this happened during
starting or stopping phase.
What you are asking for makes for me only sense when you have a
management tool (HTML-Adaptor is hardly a management tool). This
tool would then get the STATE change event and can determine in
which phase it happened.

When you really won't go there with the two different states of
FAILED then the service also has to provide some information about
the exception which is not available in the ServiceMBean right now.
But when you have information about the exception then you now if
it happens in start or stop.

Andy

- Original Message -
From: Hiram Chirino [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 03, 2001 8:22 PM
Subject: Re: [JBoss-dev] Changes to State-Management in ServiceMBeanSupport


 From: Andreas Schaefer [EMAIL PROTECTED]
 To: Hiram Chirino [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] Changes to State-Management in
ServiceMBeanSupport
 Date: Mon, 3 Dec 2001 20:14:11 -0800
 
 That depends. When you have a JNDI service which does not release its
port
 then it is as serious as if it does not start because you cannot start
 another
 JNDI service (sorry for this ugly example).
 

 Still the resolution to the problem will allways depend on what state you
 came from.  If it did not start, then you have a high % that you have
 something miss configured.  Is something does not stop.  Then you have a
 high % chance you need to restart the server to fix the problem.

 Knowing if we were stopping or starting would help to trouble shoot the
 problem.

 Regards,
 Hiram



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



[JBoss-dev] Automated JBoss Testsuite Results

2001-12-03 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   173



Successful tests:  170

Errors:1

Failures:  2





[time of test: 4 December 2001 4:45 GMT]
[java.version: 1.3.1]
[java.vendor: Blackdown Java-Linux Team]
[java.vm.version: Blackdown-1.3.1-FCS]
[java.vm.name: Classic VM]
[java.vm.info: green threads, nojit]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-12]

See http://lubega.com for full details

NOTE: If there are any errors shown above - this mail is only highlighting 
them - it is NOT indicating that they are being looked at by anyone.

It is assumed that whoever makes change(s) to jboss that 
break the test will be fixing the test or jboss, as appropriate!





DETAILS OF ERRORS

[details not shown - as this makes the mail too big to reach the sf mailing list]



PS BEFORE you commit, run the test suite.  Its easy, just run the target 
'run-basic-testsuite' from the main build.xml.

PPS Come on people - there were a few days back in July 2001 when we had ZERO tests 
failing!

Oh, and thanks - remember we love you too!



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 22:43, Dain Sundstrom wrote:
 You are performing due diligence.  You see things you have not seen before
 and they give you a queasy feeling. (right?)  So what don't you like? Try to
 start a discussion, and ask questions instead of writing vague accusations.

Fair enough.

- What formal guarantees are there that my contributions will not be
used to create a for-profit proprietary product?

- What guarantee do I have that JBoss will remain a fair and
participatory organization that does not isolate members for purely
political or profit-motivated reasons as opposed to matters purely
technical?

- What actions are underway to migrate JBoss' ownership from Marc to an
organization with formal, published by-laws that is managed in an open
and participatory manner?

- Is there anything akin to the Debian Social Contract in JBoss? A
social contract between JBoss and its community?
(http://www.debian.org/social_contract)

Answers to questions like these will determine the extent that we invest
in a shared infrastructure or directly hire people to mature the
infrastructure ourselves.

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Scott M Stark

So a request for what seemed to be a platform specific distribution of
a platform independent project did not go over well and some flamed
you. Denigrating the rest of the developer community because of this
doesn't add to the quality of the thread. Forgive, forget and trooper on.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: Adam Heath [EMAIL PROTECTED]
Cc: Jboss-Development@Lists. Sourceforge. Net
[EMAIL PROTECTED]
Sent: Monday, December 03, 2001 7:29 PM
Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Mon, 3 Dec 2001, marc fleury wrote:

  I seriously doubt you are a developer of anything kid...

 See, this is why I didn't respond to your ultimatum email a week ago.  I
had a
 suspicion that you would only answer with a pure flame.  I guess I was
proven
 right.

 At this point a person, only interested in the flame rebuttable, would
come
 back and list, point by point, what they had done or worked on in the
past.  I
 won't do that.  There is no need to bore anyone here with the details.
After
 all, my history in open source is documented.  Just go looking on your
 favorite search engine, to find what I have done.

  good bye

 I had really been trying to keep an open, functioning dialog between me
and
 certain parties on this list.  I can see that doing so is an effort in
 futility.  I guess my only recourse is to not even attempt to maintain an
open
 dialog, as I am shunted at every turn.

  marcf

 Are there others out there in the jboss world, that have a bit of common
sense
 or decency?  I certainly haven't seen any coming from little old marc
here.




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



Re: [JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/loadingBasicLoaderRepository.java LoaderRepository.java

2001-12-03 Thread Juha-P Lindfors



you're right, thanks


-- Juha


On Mon, 3 Dec 2001, David Jencks wrote:

 Date: Mon, 3 Dec 2001 19:15:34 -0500
 From: David Jencks [EMAIL PROTECTED]
 To: Juha Lindfors [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/loading
 BasicLoaderRepository.java LoaderRepository.java

 Are you sure you don't mean


 Iterator it = loaders.iterator();
 while (it.hasNext()) {
ClassLoader cl = (ClassLoader)it.next();

if (cl != skipLoader) {
   try {
  clazz = cl.loadClass(className);
  return clazz;
  }
   catch (ClassNotFoundException ignored) {
  // go on and try the next loader
   }
}
 }

 throw new ClassNotFoundException(className);

   }

 at the end of loadClassWithout?

 The original version looks through all classloaders and you get the last
 version that loads, rather than stopping when you find one working version.

 ???

 thanks
 david jencks

 On 2001.12.02 21:13:31 -0500 Juha Lindfors wrote:
User: juhalindfors
Date: 01/12/02 18:13:31
 
Added:   src/main/org/jboss/mx/loading BasicLoaderRepository.java
  LoaderRepository.java
Log:
build fancy loaders here
 
Revision  ChangesPath
1.1  jmx/src/main/org/jboss/mx/loading/BasicLoaderRepository.java
 
Index: BasicLoaderRepository.java
===
/*
 * LGPL
 */
package org.jboss.mx.loading;
 
import java.util.Set;
import java.util.Iterator;
import java.util.HashSet;
 
public class BasicLoaderRepository implements LoaderRepository {
 
   private static LoaderRepository instance = null;
 
   public synchronized static LoaderRepository getInstance() {
  if (instance != null)
 return instance;
  else {
 instance = new BasicLoaderRepository();
 return instance;
  }
   }
 
 
   protected Set loaders = new HashSet();
 
   private BasicLoaderRepository() {
 
 
   }
 
   public Class loadClass(String className) throws
  ClassNotFoundException {
  return loadClassWithout(null, className);
   }
 
   public Class loadClassWithout(ClassLoader skipLoader, String
  className) throws ClassNotFoundException {
 
  Class clazz = null;
 
  // try ctx cl first
  ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
 
  if (ctxLoader != skipLoader) {
 try {
clazz = ctxLoader.loadClass(className);
 }
 catch (ClassNotFoundException e) {
// ignore and move on to the loader list
 }
  }
 
  if (clazz != null)
 return clazz;
 
  Iterator it = loaders.iterator();
  while (it.hasNext()) {
 ClassLoader cl = (ClassLoader)it.next();
 
 if (cl != skipLoader) {
try {
   clazz = cl.loadClass(className);
}
catch (ClassNotFoundException ignored) {
   // go on and try the next loader
}
 }
  }
 
  if (clazz == null)
 throw new ClassNotFoundException(className);
 
  return clazz;
   }
 
   public void addClassLoader(ClassLoader cl) {
  loaders.add(cl);
   }
 
   public void removeClassLoader(ClassLoader cl) {
  loaders.remove(cl);
   }
 
 
}
 
 
 
1.1  jmx/src/main/org/jboss/mx/loading/LoaderRepository.java
 
Index: LoaderRepository.java
===
/*
 * LGPL
 */
package org.jboss.mx.loading;
 
public interface LoaderRepository {
 
   public Class loadClass(String className) throws
  ClassNotFoundException;
   public Class loadClassWithout(ClassLoader loader, String className)
  throws ClassNotFoundException;
   public void addClassLoader(ClassLoader cl);
   public void removeClassLoader(ClassLoader cl);
 
}
 
 
 
 
  ___
  Jboss-development mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-development
 
 



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Dain Sundstrom

Now we are getting somewhere.

 On Mon, 2001-12-03 at 22:43, Dain Sundstrom wrote:
  You are performing due diligence.  You see things you have 
 not seen before
  and they give you a queasy feeling. (right?)  So what don't 
 you like? Try to
  start a discussion, and ask questions instead of writing 
 vague accusations.
 
 Fair enough.
 
 - What formal guarantees are there that my contributions will not be
 used to create a for-profit proprietary product?

It already has. I believe that webgain already imbeds JBoss.  It is an LPGL
license after all. Or is that not what you ment?

 - What guarantee do I have that JBoss will remain a fair and
 participatory organization that does not isolate members for purely
 political or profit-motivated reasons as opposed to matters purely
 technical?

 - What actions are underway to migrate JBoss' ownership from 
 Marc to an
 organization with formal, published by-laws that is managed in an open
 and participatory manner?

 - Is there anything akin to the Debian Social Contract in JBoss? A
 social contract between JBoss and its community?
 (http://www.debian.org/social_contract)
 
 Answers to questions like these will determine the extent 
 that we invest
 in a shared infrastructure or directly hire people to mature the
 infrastructure ourselves.
 

The rest of these are good question. I personally don't care about their
answers. It is just my own time and money invested.  I am and always have
been prepared to walk. For you it is not your money and you have a fiduciary
responsibly to your stock holders.

I personally like the benevolent dictator, and dislike other overly
politicized styles. To each their own.

-dain

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



[JBoss-dev] CVS update: newsite/src/docs binary.jsp

2001-12-03 Thread Scott M Stark

  User: starksm 
  Date: 01/12/03 21:17:41

  Modified:src/docs binary.jsp
  Log:
  Update the product id that apparently changed during the last update.
  
  Revision  ChangesPath
  1.18  +1 -1  newsite/src/docs/binary.jsp
  
  Index: binary.jsp
  ===
  RCS file: /cvsroot/jboss/newsite/src/docs/binary.jsp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- binary.jsp2001/12/03 06:49:36 1.17
  +++ binary.jsp2001/12/04 05:17:41 1.18
  @@ -14,7 +14,7 @@
   The manual contains all the documentation a user needs to install, 
   configure and run JBoss. It also includes a quick start section and helps you to 
make your first steps
with JBoss.  As a promotion we include the working draft of the forthcoming JBoss 
book to be 
  - published by SAMS publishing. a class=link 
href=http://www.flashline.com/components/view.jsp?prodid=4252;Buy now/a.
  + published by SAMS publishing. a class=link 
href=http://www.flashline.com/components/view.jsp?prodid=4331;Buy now/a.
   
  p class=headTAKE OUR SURVEY/p
  p class=text
  
  
  

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



Re: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 23:21, Scott M Stark wrote:
 So a request for what seemed to be a platform specific distribution of
 a platform independent project did not go over well and some flamed
 you. Denigrating the rest of the developer community because of this
 doesn't add to the quality of the thread. Forgive, forget and trooper on.

True enough. Although, I thought Adam's requests were licensing oriented
rather than platform oriented. The non-free software being the problem
for Debian that is.

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Adam Heath

On Mon, 3 Dec 2001, Bill Burke wrote:

 Ean,

 Adam Heath is getting flamed because he has been a jerk.  You don't go on
 these lists demanding features and bashing people because certain features
 don't work to a community of developers who mostly all work for free!  I
 secretly applauded Marc for flaming Adam because I'm sick and tired of
 winy-ass developers coming on this list demanding things when they have not
 contributed anything in return.  I work hard on JBoss in my free time, and
 it is a slap in the face when somebody comes around with this kind of
 attitude.  If you want to have that kind of attitude on this email list, you
 have to EARN that right and privilege.

I was being a jerk?  I may have been inappropriate *at times*, but not every
single time.  I never *demanded* features.  I never said it didn't work.

I was asking for a different source distribution.  Which, if you recall, I did
eventually submit a patch for, to do exactly what I need, after Jason and I
had discussed it on this list.  But, it appears you only want to selectively
remember.

A short, simple note, along the lines of:

We have not done these features, because we have not had time.  There have
been more pressing needs(new, super cool features, fixing real bugs), that
we have given our time to.  If there is something that you would like to
see, code it up/write up a document describing what you need, and we can
develop it together.

would have been much more polite.  Yet, marc decided to attack me back,
instead of being nice, and redirecting my obvious explosive energies to more
productive means.

I am use to community development.  I am not used to tons of single,
individual people from a community, all going off, coding one feature here,
one feature there, and then coming back at the end, to put it all together.  I
am used to discussion all the way, discussion, talk, discussion, flame, talk,
decide, flame, discussion, decide, vote(throw code in between each word).

As to earning the right and privledge, do I have to earn the right and
privledge for any particular item, each time I change my venue?  That's not
how it works in the business world.  There is such a thing called credentials,
and a resume, that describes what a person is capable of.  This can be enough
in and of itself to warrant giving one respect.

I have lots of experience in packaging software for Debian.  I know the issues
with doing this.  And some of those issues I brought up a bit ago(no need to
rehash them here).  I would have thought that it would have been appropriate
to use my packaging expertise, to make jboss a better package.  But then
that's me.

 Marc is the source of JBoss.  He provides its energy and vision.  He gives
 us focus.  I can tell you from personal experience that Marc takes care of
 those who are contributors of jboss and takes care of them well.  He breeds
 loyalty and always gives back what you put into the JBoss community.

If he is the source, then he isn't conducting himself in a business fashion.
So what if I was being an ass(I can be at times, I admit it freely).  Every
single message from marc to me has been combative.  Not all from me to this
list have been the same.

 There are 2 forms of currency here in the JBoss community.  Contributions
 through code, documentation, and/or answering questions on the
 user-lists/forums.  Or paying JBossGroup directly to implement features.
 Yes, Adam, may be a good developer as you say, but who really cares?  I
 don't.  Unless he contributes some of his solid design experience to our
 community, I personally have no desire to answer one of his questions.

How is one supposed to get started with jboss?  Where is the voluminous
documentation on how to start understanding the code, so one can start
improving the software?

Is jboss-dev not a user list?  Isn't discussion on this list a form of giving
back?

You don't care if I am a good developer?  Then why did you say above that I
have to prove myself, if you don't care.


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



[JBoss-dev] Automated JBoss Testsuite Results

2001-12-03 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   183



Successful tests:  180

Errors:1

Failures:  2





[time of test: 4 December 2001 5:41 GMT]
[java.version: 1.3.1]
[java.vendor: Sun Microsystems Inc.]
[java.vm.version: 1.3.1-b24]
[java.vm.name: Java HotSpot(TM) Server VM]
[java.vm.info: mixed mode]
[os.name: Linux]
[os.arch: i386]
[os.version: 2.4.9-12]

See http://lubega.com for full details

NOTE: If there are any errors shown above - this mail is only highlighting 
them - it is NOT indicating that they are being looked at by anyone.

It is assumed that whoever makes change(s) to jboss that 
break the test will be fixing the test or jboss, as appropriate!





DETAILS OF ERRORS

[details not shown - as this makes the mail too big to reach the sf mailing list]



PS BEFORE you commit, run the test suite.  Its easy, just run the target 
'run-basic-testsuite' from the main build.xml.

PPS Come on people - there were a few days back in July 2001 when we had ZERO tests 
failing!

Oh, and thanks - remember we love you too!



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



[JBoss-dev] jboss build failed

2001-12-03 Thread chris


=
==THIS IS AN AUTOMATED EMAIL - SEE http://www.lubega.com FOR DETAILS=
=

HERE ARE THE LAST 50 LINES OF THE LOG FILE

[mkdir] Created dir: 
/disk/orig/home/lubega/jbossro/jboss-all/server/output/mejb/metadata/META-INF
  [xdoclet] Generating Javadoc
  [xdoclet] Javadoc execution
  [xdoclet] Loading source file 
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/management/mejb/MEJBBean.java...
  [xdoclet] Constructing Javadoc information...
  [xdoclet] Create Home Interface for: org.jboss.management.mejb.MEJBBean
  [xdoclet] Create Remote Interface for:   org.jboss.management.mejb.MEJBBean
  [xdoclet] Create Session Class for:  org.jboss.management.mejb.MEJBBean
  [xdoclet] Create ejb-jar.xml
  [xdoclet] Create jboss.xml
  [xdoclet] Create jaws.xml

compile-classes:
[mkdir] Created dir: /disk/orig/home/lubega/jbossro/jboss-all/server/output/classes
[javac] Compiling 596 source files to 
/disk/orig/home/lubega/jbossro/jboss-all/server/output/classes
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/ejb/EnterpriseContext.java:10:
 warning: java.security.Identity in java.security has been deprecated
import java.security.Identity;
 ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/ejb/EnterpriseContext.java:214:
 warning: java.security.Identity in java.security has been deprecated
  public Identity getCallerIdentity() 
 ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/ejb/EnterpriseContext.java:340:
 warning: java.security.Identity in java.security has been deprecated
  public boolean isCallerInRole(Identity id) 
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/ejb/EnterpriseContext.java:340:
 warning: java.security.Identity in java.security has been deprecated
  public boolean isCallerInRole(Identity id) 
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/management/j2ee/JNDI.java:207:
 cannot resolve symbol
symbol  : class J2EEManagementEvent  
location: class org.jboss.management.j2ee.JNDI
 new J2EEManagementEvent(
 ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/management/j2ee/JNDI.java:219:
 cannot resolve symbol
symbol  : class J2EEManagementEvent  
location: class org.jboss.management.j2ee.JNDI
 new J2EEManagementEvent(
 ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/management/j2ee/JNDI.java:260:
 cannot resolve symbol
symbol  : class J2EEManagementEvent  
location: class org.jboss.management.j2ee.JNDI.Listener
  new J2EEManagementEvent(
  ^
3 errors
4 warnings

BUILD FAILED

/disk/orig/home/lubega/jbossro/jboss-all/server/build.xml:464: Compile failed, 
messages should have been provided.

Total time: 1 minute 26 seconds

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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ean
 Schuessler
 Sent: Tuesday, December 04, 2001 12:00 AM
 To: Dain Sundstrom
 Cc: [EMAIL PROTECTED]
 Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Mon, 2001-12-03 at 22:43, Dain Sundstrom wrote:
  You are performing due diligence.  You see things you have not
 seen before
  and they give you a queasy feeling. (right?)  So what don't you
 like? Try to
  start a discussion, and ask questions instead of writing vague
 accusations.

 Fair enough.

 - What formal guarantees are there that my contributions will not be
 used to create a for-profit proprietary product?


You're protected as much as LGPL.  You'll have to ask a lawyer.  I hate
lawyers and I hate licenses.  I believe in brutal capitalism dude.  Survival
of the fittest.  Spare me your commie crap.

 - What guarantee do I have that JBoss will remain a fair and
 participatory organization that does not isolate members for purely
 political or profit-motivated reasons as opposed to matters purely
 technical?

 - What actions are underway to migrate JBoss' ownership from Marc to an
 organization with formal, published by-laws that is managed in an open
 and participatory manner?


Who on this list has the time, energy, and/or money to support/run this type
of organization?



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Adam Heath

On Mon, 3 Dec 2001, Bill Burke wrote:

 Adam, you need to eat a piece of humble pie.  If you had taken it upon
 yourself to contribute the tomcat-jboss integration, we would have all
 applauded your efforts and gladly offered our support and guidance to your
 problems.

As I said in another email, I discuss first.  However, that doesn't appear to
be the way jboss functions.

 BTW, Marc was just iterating what a lot of us were thinking but were too
 afraid to say.  Put up or shut up dude.

I did submit a patch to build.xml to do what I want.  No one seems to recall
that.

I do what I need, to support the work I am paid for.  We(brainfood) are not
using 3.0 yet(it's still alpha, after all), so any work I end up doing on 3.0
is purely voluntary.


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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Adam Heath

On Tue, 4 Dec 2001, Bill Burke wrote:

 Who on this list has the time, energy, and/or money to support/run this type
 of organization?

That's just it.  This entire list would run it.  It wouldn't be any one
person, or any one small group of people.



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke

YOu don't get it.  We don't need this organization.  Things are running just
fine.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Adam
 Heath
 Sent: Tuesday, December 04, 2001 1:02 AM
 To: JBoss Development
 Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Tue, 4 Dec 2001, Bill Burke wrote:

  Who on this list has the time, energy, and/or money to
 support/run this type
  of organization?

 That's just it.  This entire list would run it.  It wouldn't be any one
 person, or any one small group of people.
 


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




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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Ean Schuessler

On Mon, 2001-12-03 at 23:46, Bill Burke wrote:
  - What formal guarantees are there that my contributions will not be
  used to create a for-profit proprietary product?
 
 You're protected as much as LGPL.  You'll have to ask a lawyer.  I hate
 lawyers and I hate licenses.  I believe in brutal capitalism dude.  Survival
 of the fittest.  Spare me your commie crap.

LGPL protects you only as far as the original author is not interested
in relicensing. If JBoss group owns, lets say, 80% of the code then the
JBoss group can most certainly bundle a for-pay product that is a
LGPL/proprietary hybrid. I've seen this approach tried in the past by
various groups, Kaffe among them. It leads to forks. As to capitalist
dudes and commie crap, I'm not sure where you are headed with that.
 
  - What actions are underway to migrate JBoss' ownership from Marc to an
  organization with formal, published by-laws that is managed in an open
  and participatory manner?
 
 Who on this list has the time, energy, and/or money to support/run this type
 of organization?

There are umbrella organizations already in place to manage this sort of
thing. Software in the Public Interest manages Debian's assets. There is
the Apache Software Foundation, but the LGPL is a problem there. There
is even the Free Software Foundation for that matter. I will personally
assist in the process of solving the problem if desired.

-- 
_
Ean Schuessler  [EMAIL PROTECTED]
Brainfood, Inc.  http://www.brainfood.com

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



[JBoss-dev] CVS update: jboss/src/main/org/jboss/management/j2ee J2EEManagementEvent.java

2001-12-03 Thread Andreas Schaefer

  User: schaefera
  Date: 01/12/03 22:12:56

  Added:   src/main/org/jboss/management/j2ee J2EEManagementEvent.java
  Log:
  Event used to send events to a JSR-77 client but also able to be sent
  as a JMX notification inside the JBoss JMX Agent.
  
  Revision  ChangesPath
  1.1  
jboss/src/main/org/jboss/management/j2ee/J2EEManagementEvent.java
  
  Index: J2EEManagementEvent.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  package org.jboss.management.j2ee;
  
  import java.io.Serializable;
  
  import javax.management.Notification;
  
  /**
   * Event to be send by an event emitter. Implementation of
   * {@link javax.management.j2ee.J2EEManagementEvent J2EEManagementEvent}.
   * This instance contains the JMX Notification used to transport the event
   * inside the JMX Agent. Afterwards it is just used as data container.
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Andreas Schaefer/a.
   * @version $Revision: 1.1 $
   *   
   * pbRevisions:/b
   *
   * pb20011123 Andreas Schaefer:/b
   * ul
   * li Creation
   * /ul
   **/
  public class J2EEManagementEvent
 implements javax.management.j2ee.J2EEManagementEvent, Serializable
  {
  
 // Constants -
 
 // Attributes 
 
 private Notification mJMX;
 
 // Static 
 
 // Constructors --
 
 /**
 * Creates a J2EE Management Event where the timestamp is set to the current
 * time
 *
 * @param pType Type of the Event
 * @param pSource Source Object Name of the Event
 * @param pSequenceNumber Sequence Number within the source object
 **/
 public J2EEManagementEvent( String pType, String pSource, long pSequenceNumber ) {
this( pType, pSource, pSequenceNumber, 0,  );
 }
 
 /**
 * Creates a J2EE Management Event where the timestamp is set to the current
 * time
 *
 * @param pType Type of the Event
 * @param pSource Source Object Name of the Event
 * @param pSequenceNumber Sequence Number within the source object
 * @param pMessage Message delivered with the event
 **/
 public J2EEManagementEvent( String pType, String pSource, long pSequenceNumber, 
String pMessage ) {
this( pType, pSource, pSequenceNumber, 0, pMessage );
 }
 
 /**
 * Creates a J2EE Management Event where the timestamp is set to the current
 * time
 *
 * @param pType Type of the Event
 * @param pSource Source Object Name of the Event
 * @param pSequenceNumber Sequence Number within the source object
 * @param pTimeStamp Time of the events emission (in milliseconds since 1/1/1970 
00:00:00)
 **/
 public J2EEManagementEvent( String pType, String pSource, long pSequenceNumber, 
long pTimeStamp ) {
this( pType, pSource, pSequenceNumber, pTimeStamp,  );
 }
  
 /**
 * Creates a J2EE Management Event where the timestamp is set to the current
 * time
 *
 * @param pType Type of the Event
 * @param pSource Source Object Name of the Event
 * @param pSequenceNumber Sequence Number within the source object
 * @param pTimeStamp Time of the events emission (in milliseconds since 1/1/1970 
00:00:00)
 * @param pMessage Message delivered with the event
 **/
 public J2EEManagementEvent( String pType, String pSource, long pSequenceNumber, 
long pTimeStamp, String pMessage ) {
mJMX = new Notification( pType, pSource, pSequenceNumber, pTimeStamp, pMessage 
);
mJMX.setUserData( this );
 }
 
 // Public 
 
 public Notification getNotification()
 {
return mJMX;
 }
 
 // javax.management.j2ee.J2EEManagementEvent implementation --
 
 public String getMessage()
 {
return mJMX.getMessage();
 }
 
 public long getSequence()
 {
return mJMX.getSequenceNumber();
 }
 
 public String getSource()
 {
return (String) mJMX.getSource();
 }
 
 public String getType() {
return mJMX.getType();
 }
 
 public long getWhen() {
return mJMX.getTimeStamp();
 }
 
 // Object overrides ---
 
 public String toString() {
return J2EEManagementEvent {} [  + mJMX.toString() +  ];;
 }
 
 // Package protected -
 
 // Protected -
 
 // Private ---
 
 

RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Ean
 Schuessler
 Sent: Tuesday, December 04, 2001 1:10 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Mon, 2001-12-03 at 23:46, Bill Burke wrote:
   - What formal guarantees are there that my contributions will not be
   used to create a for-profit proprietary product?
 
  You're protected as much as LGPL.  You'll have to ask a lawyer.  I hate
  lawyers and I hate licenses.  I believe in brutal capitalism
 dude.  Survival
  of the fittest.  Spare me your commie crap.

 LGPL protects you only as far as the original author is not interested
 in relicensing. If JBoss group owns, lets say, 80% of the code then the
 JBoss group can most certainly bundle a for-pay product that is a
 LGPL/proprietary hybrid.

I really don't care who makes money off of what I do.  That's just me
though.  To each his own

 I've seen this approach tried in the past by
 various groups, Kaffe among them. It leads to forks.

Now you're talking some sense and like you've had some experience in this
area.

 As to capitalist
 dudes and commie crap, I'm not sure where you are headed with that.


Just messin' with ya.  You do sound like a commie though

   - What actions are underway to migrate JBoss' ownership from
 Marc to an
   organization with formal, published by-laws that is managed in an open
   and participatory manner?
 
  Who on this list has the time, energy, and/or money to
 support/run this type
  of organization?

 There are umbrella organizations already in place to manage this sort of
 thing. Software in the Public Interest manages Debian's assets. There is
 the Apache Software Foundation, but the LGPL is a problem there. There

Apache Software Foundation.  You mean IBM?  Yeah, right...JBoss should be
under that Sphere of influence.  Sure.  Get real...

 is even the Free Software Foundation for that matter. I will personally
 assist in the process of solving the problem if desired.


Now I'm not messin' with ya.  The FSF is a bunch of commies.

I've been around here since February.  This organization moves and moves
fast.  Why would it want to be tied down to these slow bureaucratic orgs?

Bill



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



RE: [JBoss-dev] time is up, where is adam heath?

2001-12-03 Thread Bill Burke



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Adam
 Heath
 Sent: Tuesday, December 04, 2001 12:33 AM
 To: Jboss-Development@Lists. Sourceforge. Net
 Subject: RE: [JBoss-dev] time is up, where is adam heath?


 On Mon, 3 Dec 2001, Bill Burke wrote:

  Ean,
 
  Adam Heath is getting flamed because he has been a jerk.  You
 don't go on
  these lists demanding features and bashing people because
 certain features
  don't work to a community of developers who mostly all work for free!  I
  secretly applauded Marc for flaming Adam because I'm sick and tired of
  winy-ass developers coming on this list demanding things when
 they have not
  contributed anything in return.  I work hard on JBoss in my
 free time, and
  it is a slap in the face when somebody comes around with this kind of
  attitude.  If you want to have that kind of attitude on this
 email list, you
  have to EARN that right and privilege.

 I was being a jerk?  I may have been inappropriate *at times*,
 but not every
 single time.  I never *demanded* features.  I never said it didn't work.

 I was asking for a different source distribution.  Which, if you
 recall, I did
 eventually submit a patch for, to do exactly what I need, after

Didn't see your patch, sorryWell, I actualy couldn't find it after
looking a little bit.

 A short, simple note, along the lines of:

 We have not done these features, because we have not had
 time.  There have
 been more pressing needs(new, super cool features, fixing
 real bugs), that
 we have given our time to.  If there is something that you
 would like to
 see, code it up/write up a document describing what you need,
 and we can
 develop it together.

 would have been much more polite.  Yet, marc decided to attack me back,
 instead of being nice, and redirecting my obvious explosive
 energies to more
 productive means.

 I am use to community development.  I am not used to tons of single,
 individual people from a community, all going off, coding one
 feature here,
 one feature there, and then coming back at the end, to put it all
 together.  I
 am used to discussion all the way, discussion, talk, discussion,
 flame, talk,
 decide, flame, discussion, decide, vote(throw code in between each word).


Sorry if the JBoss community is not what you're used to.  It works for us.
I am now integrating JBoss into a 2nd production system at a 2nd company,
with much success, and will be moving onto a 3rd in January..  The JBoss
community is doing something right.  I know from experience.

 As to earning the right and privledge, do I have to earn the right and
 privledge for any particular item, each time I change my venue?

Yes.  Who the hell is Adam Heath anyways?  (Then you could ask, who the hell
is Bill Burke? :)

 That's not
 how it works in the business world.  There is such a thing called

Don't know what business world you live in, but respect is usually earned
not given.  Sure credentials get you noticed, but after that you have to
earn the respect of your peers.  And yes, we are your peers.  Only results
and money talk in the business world.  Unless you're a commie.  I thought we
purged you commies back in the '50s?

 credentials,
 and a resume, that describes what a person is capable of.  This
 can be enough
 in and of itself to warrant giving one respect.


It doesn't work like that here.  Somebody correct me, but, IMHO, we have a
meritocracy here.  You get what you give.

 I have lots of experience in packaging software for Debian.  I
 know the issues
 with doing this.  And some of those issues I brought up a bit
 ago(no need to
 rehash them here).  I would have thought that it would have been
 appropriate
 to use my packaging expertise, to make jboss a better package.  But then
 that's me.


Well, honestly, from the emails I've read, didn't sound like you were
contributing any expertise, but rather voicing complaints.

  Marc is the source of JBoss.  He provides its energy and
 vision.  He gives
  us focus.  I can tell you from personal experience that Marc
 takes care of
  those who are contributors of jboss and takes care of them
 well.  He breeds
  loyalty and always gives back what you put into the JBoss community.

 If he is the source, then he isn't conducting himself in a
 business fashion.
 So what if I was being an ass(I can be at times, I admit it
 freely).  Every
 single message from marc to me has been combative.  Not all from
 me to this
 list have been the same.


IMHO, I'd rather work with somebody that is blunt.  We don't have time to
pussyfoot around here.

  There are 2 forms of currency here in the JBoss community.
 Contributions
  through code, documentation, and/or answering questions on the
  user-lists/forums.  Or paying JBossGroup directly to implement features.
  Yes, Adam, may be a good developer as you say, but who really cares?  I
  don't.  Unless he contributes some of his solid design experience to our
  

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

2001-12-03 Thread Dain Sundstrom

  User: dsundstrom
  Date: 01/12/03 22:30:54

  Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCCommandFactory.java JDBCStoreManager.java
  Added:   src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCCreateBeanClassInstanceCommand.java
  Log:
  Moved createBeanClassInstance code into a seperate command class.
  
  Revision  ChangesPath
  1.13  +9 -3  
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCommandFactory.java
  
  Index: JDBCCommandFactory.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCCommandFactory.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JDBCCommandFactory.java   2001/12/03 23:00:16 1.12
  +++ JDBCCommandFactory.java   2001/12/04 06:30:53 1.13
  @@ -17,7 +17,7 @@
* @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
* @author a href=mailto:[EMAIL PROTECTED];Justin Forder/a
* @author a href=[EMAIL PROTECTED]danch (Dan Christopherson/a
  - * @version $Revision: 1.12 $
  + * @version $Revision: 1.13 $
*/
   public class JDBCCommandFactory {
  private JDBCStoreManager manager;
  @@ -92,11 +92,17 @@
 return new JDBCDestroyCommand(manager);
  }
  
  +   // entity life cycle commands
  +
  +   public JDBCCreateBeanClassInstanceCommand 
  +   createCreateBeanClassInstanceCommand() throws Exception {
  +
  +  return new JDBCCreateBeanClassInstanceCommand(manager);
  +   }
  +   
  public JDBCInitEntityCommand createInitEntityCommand() {
 return new JDBCInitEntityCommand(manager);
  }
  -   
  -   // entity persistence-related commands
  
  public JDBCFindEntityCommand createFindEntityCommand() {
 return new JDBCFindEntityCommand(manager);
  
  
  
  1.20  +5 -37 
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java
  
  Index: JDBCStoreManager.java
  ===
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- JDBCStoreManager.java 2001/12/04 02:45:01 1.19
  +++ JDBCStoreManager.java 2001/12/04 06:30:53 1.20
  @@ -30,7 +30,6 @@
   import org.jboss.ejb.EntityPersistenceStore;
   import org.jboss.ejb.EntityEnterpriseContext;
   import org.jboss.ejb.ListCacheKey;
  -import org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler;
   import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMPFieldBridge;
   import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge;
   import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge;
  @@ -39,13 +38,10 @@
   import org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader;
   import org.jboss.logging.Logger;
   import org.jboss.metadata.ApplicationMetaData;
  -import org.jboss.proxy.Proxy;
   import org.jboss.util.CachePolicy;
   import org.jboss.util.FinderResults;
   import org.jboss.util.LRUCachePolicy;
   
  -import java.lang.reflect.Constructor;
  -import org.jboss.proxy.InvocationHandler;
   /**
* JDBCStoreManager manages storage of persistence data into a table.
* Other then loading the initial jbosscmp-jdbc.xml file this class
  @@ -61,7 +57,7 @@
*
* @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a
* @see org.jboss.ejb.EntityPersistenceStore
  - * @version $Revision: 1.19 $
  + * @version $Revision: 1.20 $
*/
   public class JDBCStoreManager implements EntityPersistenceStore {
   
  @@ -71,8 +67,6 @@
   */
  private static final Object NULL_VALUE = new Object();
   
  -   private Constructor beanProxyConstructor;
  -
  private EntityContainer container;
  private Logger log;
   
  @@ -91,6 +85,7 @@
  private JDBCDestroyCommand destroyCommand;
   
  // Entity life cycle commands
  +   private JDBCCreateBeanClassInstanceCommand createBeanClassInstanceCommand;
  private JDBCInitEntityCommand initEntityCommand;
  private JDBCFindEntityCommand findEntityCommand;
  private JDBCFindEntitiesCommand findEntitiesCommand;
  @@ -194,6 +189,8 @@
 destroyCommand = commandFactory.createDestroyCommand();
   
 /// Create ejb life cycle commands
  +  createBeanClassInstanceCommand = 
  +commandFactory.createCreateBeanClassInstanceCommand();
 initEntityCommand = commandFactory.createInitEntityCommand();
 findEntityCommand = commandFactory.createFindEntityCommand();
 findEntitiesCommand = commandFactory.createFindEntitiesCommand();
  @@ -243,27 +240,6 @@
 if(readAheadCache != null) {
readAheadCache.start();
 }
  -
  -  //
  -  // get the bean proxy constructor
  -  //
  -
  -  // use proxy generator to create one implementation
  -  Class beanClass = 

  1   2   >