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

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 02:45:40

  Modified:.build.xml
  Log:
  TestMX removed
  
  Revision  ChangesPath
  1.9   +1 -22 jmx/build.xml
  
  Index: build.xml
  ===
  RCS file: /cvsroot/jboss/jmx/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml 2002/01/23 21:19:11 1.8
  +++ build.xml 2002/01/24 10:45:40 1.9
  @@ -12,7 +12,7 @@
   !----
   !-- == --
   
  -!-- $Id: build.xml,v 1.8 2002/01/23 21:19:11 juhalindfors Exp $ --
  +!-- $Id: build.xml,v 1.9 2002/01/24 10:45:40 juhalindfors Exp $ --
   
   project default=main name=JBoss/JMX
   
  @@ -499,25 +499,4 @@
  /java
 /target
 
  -  !-- == --
  -  !-- Test - TEMPORARY -  replace with proper test suite --
  -  !-- == --
  -
  -  !--
  - | Run the test programs, everything fist
  -   --
  -
  -  !-- Run the test --
  -  target name=test depends=all
  -
  -   path id=test.classpath
  -  pathelement path=${build.classes}/
  -  path refid=thirdparty.classpath/
  -/path
  -
  -java classname=test.TestMX
  -   classpath refid=test.classpath/
  -/java
  -
  -  /target
   /project
  
  
  

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



[JBoss-dev] CVS update: jmx/src/main/test BroadcastingUser.java BroadcastingUserMBean.java TestMX.java User.java UserMBean.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 02:48:50

  Removed: src/main/test BroadcastingUser.java
BroadcastingUserMBean.java TestMX.java User.java
UserMBean.java
  Log:
  begone!

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



[JBoss-dev] rabbit hole release before the end of the month

2002-01-24 Thread Hunt, Bryan


Hello all,

Is there going to be another 3.0 release before the end of the month, 
supporting CMP 2.0 ? 

B--



perl -e 'print
pack(c*,0x62,0x72,0x79,0x61,0x0,0x6E,0x68,0x75,0x6E,0x74).\n;'

___

eMuse Technologies
Unit 24, Trinity Enterprise Centre,
Pearse Street, Dublin 2, Ireland

Tel:  353-1-671-7317
Fax:  353-1-671-7319

website: www.emuse.ie 
email: [EMAIL PROTECTED] 
___

This message has been scanned for viruses using GroupShield for Exchange 4.5

CONFIDENTIALITY NOTICE - The information contained in this email message is
intended only for confidential use of the named recipient. If the reader is
not the intended recipient or the person responsible for delivering it to
the recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination or copying of this
communication is strictly prohibited. If you have received this in error,
please notify the sender immediately.

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



[JBoss-dev] [ jboss-Patches-508037 ] BUGFIX: org.jboss.util.Scheduler

2002-01-24 Thread noreply

Patches item #508037, was opened at 2002-01-24 09:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376687aid=508037group_id=22866

Category: JBossServer
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Oliver Heilmann (heilmann)
Assigned to: Nobody/Anonymous (nobody)
Summary: BUGFIX: org.jboss.util.Scheduler

Initial Comment:
BUG:
The org.jboss.util.Scheduler mbean services fails to start
if initialStartDate is  now:
 javax.management.ReflectionException: The operation with name addNotification could 
not be found
[ERROR,Default] at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1620)
[ERROR,Default] ...


REASON:
missing userData argument in Timer.addNotification(...)
call.

FIX:
298d297
 null,
305,306c304
 Object.class.getName(),
   Date.class.getName()
---
   Date.class.getName(),

Regards,

Oliver Heilmann




--

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

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



RE: [JBoss-dev] org/jboss/web/catalina ajp13connector support

2002-01-24 Thread Coetmeur, Alain


-Message d'origine-

I was wondering if there were a particular reason why 
EmbeddedCatalinaServiceSX was written to support http 
and warp connectors, but not Ajp13.  

I've tried to insert your patch in my environement 
beside other changes of my own, but I can't find AJP packages
in tomcat4.0.1/catalina sources ...

what could be the reasons... is ajp support dropped now in tomcat4.0.1 ?
stange ? maybe is it hidden somewhere or separate ?

I added an initAjpConnector method which takes the default 
Embedded engine and then substitutes 'Ajp' for 'Warp' for 
the connector-specific code, and this seems to work 


  Also, Warp doesn't seem to automatically deliver static content to Apache
and dynamic content 
 to catalina, although that is a promised feature, and I can't direct 
 it to specifically serve all *.jsp files. 


what are the symptoms ?
normally Apache+mod_webapp  should read the static content in the .WAR and 
not in static files, unlike ajp... (I may have wrongly understood the
intended functionalities)


Should I be afraid of using Ajp?




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



[JBoss-dev] [ jboss-Bugs-508053 ] table creation fails, deploy succeeds

2002-01-24 Thread noreply

Bugs item #508053, was opened at 2002-01-24 09:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=508053group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Georg Schmid (giorgio42)
Assigned to: Nobody/Anonymous (nobody)
Summary: table creation fails, deploy succeeds

Initial Comment:
RH 3.0 (200200105), W2K, JDK1.3.1_02, Oracle8.1.7

Even if a create table throws an exception during
deployment of an entity bean (for instance, because the
same column name appears twice in the corresponding
jbosscmp-jdbc.xml definition) as can be seen in the
debug log, the deployer continues and finally reports
Created table xxx successfully and the deployment
succeeds.

The transaction is rolled back, but otherwise the
exception is ignored.

Naturally enough, creating instances of the
corresponding entity bean fails with table or view
does not exist later on:

2002-01-24 17:30:42,864 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.MaintenanceTriggerEB]
Executing SQL: CREATE TABLE MAINTENANCE_TRIGGER (ID
VARCHAR2(16), TYPE VARCHAR2(16), UNIT VARCHAR2(16),
VALUE VARCHAR2(16), LEVEL VARCHAR2(16), CONSTRAINT
pk_MAINTENANCE_TRIGGER PRIMARY KEY (ID))
2002-01-24 17:30:42,864 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.MaintenanceTriggerEB]
Could not create table MAINTENANCE_TRIGGER
java.sql.SQLException: ORA-00904: invalid column name

at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at
oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
at
oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1446)
at
oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1371)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1900)
at
oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:693)
at
org.jboss.resource.adapter.jdbc.local.StatementInPool.executeUpdate(StatementInPool.java:736)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:154)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:78)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:303)
at
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:175)
at
org.jboss.ejb.EntityContainer.start(EntityContainer.java:341)
at org.jboss.ejb.Application.start(Application.java:219)
at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:389)
at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:312)
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:468)
at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:439)
at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:203)
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:681)
at
org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:325)
at java.lang.Thread.run(Unknown Source)
2002-01-24 17:30:42,864 DEBUG [org.jboss.tm.TxCapsule]
rollback(): Entered, tx=XidImpl [FormatId=257,
GlobalId=cna0796942//30, BranchQual=] status=STATUS_ACTIVE
2002-01-24 17:30:42,864 DEBUG [org.jboss.tm.TxManager]
rolled back tx: TransactionImpl:XidImpl [FormatId=257,
GlobalId=cna0796942//30, BranchQual=]
2002-01-24 17:30:42,864 INFO 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.MaintenanceTriggerEB]
Created table 'MAINTENANCE_TRIGGER' successfully.




--

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

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



[JBoss-dev] CVS update: jmx/src/main/test/compliance/server/support - New directory

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:15:03

  jmx/src/main/test/compliance/server/support - New directory

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



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

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:14:22

  Modified:src/main/org/jboss/mx/server MBeanInvoker.java
  Log:
  fixed exception handling
  
  Revision  ChangesPath
  1.4   +92 -53jmx/src/main/org/jboss/mx/server/MBeanInvoker.java
  
  Index: MBeanInvoker.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/server/MBeanInvoker.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MBeanInvoker.java 2002/01/12 20:10:53 1.3
  +++ MBeanInvoker.java 2002/01/24 22:14:22 1.4
  @@ -19,6 +19,7 @@
   import javax.management.MBeanInfo;
   import javax.management.MBeanOperationInfo;
   import javax.management.MBeanParameterInfo;
  +import javax.management.Descriptor;
   import javax.management.JMException;
   import javax.management.NotCompliantMBeanException;
   import javax.management.ReflectionException;
  @@ -42,86 +43,124 @@
*
*
* @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
*   
*/
   public abstract class MBeanInvoker
  -   implements DynamicMBean
  + implements DynamicMBean
   {
  // Attributes 
  -   protected Interceptor stack = null;
  -   protected Object resource = null;
  -   
  -   // Public    
  -   public Object getResource() 
  +   protected Interceptor stack= null;
  +   protected Object resource  = null;
  +   protected Descriptor[] descriptors = null;
  +
  +   // Public 
  +   public Object getResource()
  {
 return resource;
  }
  -   
  +
  // DynamicMBean implementation ---
  public Object invoke(String operationName, Object[] args, String[] signature) 
throws MBeanException, ReflectionException
  {
  -  try {
  +  try
  +  {
Invocation invocation = new Invocation(
  -   operationName,
  -   Invocation.OPERATION,
  -   0, args, signature, null
  - );
  +operationName,
  +Invocation.OPERATION,
  +0, args, signature, descriptors
  + );
return stack.invoke(invocation);
  +  }
  +  catch (InvocationException e)
  +  {
  + if (e.getTargetException() instanceof MBeanException)
  +throw (MBeanException)e.getTargetException();
  + else if (e.getTargetException() instanceof ReflectionException)
  +throw (ReflectionException)e.getTargetException();
  + else 
  +throw (RuntimeException)e.getTargetException();
 }
  -  catch (InvocationException e) {
  - // FIXME: bad exception handling
  - if (e.getTargetException() instanceof Exception)
  -throw new MBeanException((Exception)e.getTargetException(), 
e.getTargetException().toString());
  - else
  -throw new RuntimeErrorException((Error)e.getTargetException(), 
e.getTargetException().toString());
  +  catch (Throwable t)
  +  {
  + // this indicates an error in the server
  + // FIXME: log
  + System.out.println(SERVER ERROR:  + t.getMessage());
  + t.printStackTrace();
  + 
  + throw new Error(t.toString());
 }
  }
   
  -   public Object getAttribute(java.lang.String attribute)
  -   throws AttributeNotFoundException, MBeanException, ReflectionException
  +   public Object getAttribute(String attribute) throws AttributeNotFoundException, 
MBeanException, ReflectionException
  {
  -  try {
  +  try
  +  {
Invocation invocation = new Invocation(
  -   attribute,
  -   Invocation.ATTRIBUTE,
  -   Invocation.READ,
  -   null, null, null
  - );
  +attribute,
  +Invocation.ATTRIBUTE,
  +Invocation.READ,
  +null, null, descriptors
  + );
return stack.invoke(invocation);
 }
  -  catch (InvocationException e) {
  - // FIXME: bad exception handling
  - if (e.getTargetException() instanceof Exception) {
  -MBeanException mbe = new 
MBeanException((Exception)e.getTargetException(), e.getTargetException().toString());
  -mbe.fillInStackTrace();
  -throw mbe;
  - }
  - else
  -throw new RuntimeErrorException((Error)e.getTargetException(), 
e.getTargetException().toString());
  +  catch (InvocationException e)
  +  

[JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/interceptor StandardMBeanInterceptor.java InvocationException.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:13:33

  Modified:src/main/org/jboss/mx/interceptor
StandardMBeanInterceptor.java
InvocationException.java
  Log:
  fixed exception handling
  
  Revision  ChangesPath
  1.5   +73 -17
jmx/src/main/org/jboss/mx/interceptor/StandardMBeanInterceptor.java
  
  Index: StandardMBeanInterceptor.java
  ===
  RCS file: 
/cvsroot/jboss/jmx/src/main/org/jboss/mx/interceptor/StandardMBeanInterceptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StandardMBeanInterceptor.java 2001/12/13 00:04:15 1.4
  +++ StandardMBeanInterceptor.java 2002/01/24 22:13:33 1.5
  @@ -18,7 +18,9 @@
   import javax.management.MBeanOperationInfo;
   import javax.management.ReflectionException;
   import javax.management.RuntimeErrorException;
  +import javax.management.RuntimeMBeanException;
   import javax.management.MBeanException;
  +import javax.management.AttributeNotFoundException;
   import javax.management.loading.DefaultLoaderRepository;
   
   import org.jboss.mx.server.StandardMBeanInvoker;
  @@ -32,7 +34,7 @@
* @see org.jboss.mx.server.StandardMBean
*
* @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
*   
*/
   public class StandardMBeanInterceptor 
  @@ -40,19 +42,20 @@
   {
   
  // Attributes    
  -   private Map methodMap = new HashMap();
  -   private Class invocationInterface;
  -   private MBeanInfo info;
  -   private Object resource;
  +   private Map methodMap   = new HashMap();
  +   private Class invocationInterface   = null;
  +   private MBeanInfo info  = null;
  +   private Object resource = null;
  
  // Constructors --
  public StandardMBeanInterceptor(Object resource, MBeanInfo info) throws 
ReflectionException
  {
 super(Standard MBean Interceptor);
 
  +  this.info = info;
 this.resource = resource;
 this.invocationInterface = StandardMBeanInvoker.getMBeanInterface(resource);
  -
  +  
 MBeanOperationInfo[] operations = info.getOperations();
   
 for (int i = 0; i  operations.length; ++i)
  @@ -68,6 +71,8 @@
  strBuf.append(params[j].getType());
   }
   
  +// FIXME: separate operation and attribute maps!
  +
   methodMap.put(name + strBuf.toString(), invocationInterface.getMethod(
 name, getSignatureAsClassArray(params, 
resource.getClass().getClassLoader(;
}
  @@ -184,35 +189,86 @@
  // Interceptor overrides --
  public Object invoke(Invocation invocation) throws InvocationException 
  {
  +  Method method = null;
  +  
 try
 {
  - Method m = (Method)methodMap.get(invocation.getOperationWithSignature());
  - return m.invoke(resource, invocation.getArgs());
  + method = (Method)methodMap.get(invocation.getOperationWithSignature());
  + return method.invoke(resource, invocation.getArgs());
 }
  +  
 catch (IllegalAccessException e)
 {
  - throw new InvocationException(e, Illegal access to method  + 
invocation.getName());
  + throw new InvocationException(new ReflectionException(e,Illegal access to 
method  + method.getName()));
 }
  +  
 catch (IllegalArgumentException e)
 {
  - throw new InvocationException(e, Illegal operation arguments in  + 
invocation.getName() + :  + e.getMessage());
  + throw new InvocationException(new ReflectionException(e, 
  +   Illegal arguments for  + ((invocation.getInvocationType() == 
Invocation.ATTRIBUTE)
  +? attribute 
  +: operation )
  ++ invocation.getName()
  ++ :  + e.getMessage())
  + );
 }
  +  
 catch (InvocationTargetException e)
 {
  - if (e.getTargetException() instanceof Exception)
  - {
  -Exception e2 = (Exception)e.getTargetException();
  -throw new InvocationException(e2, Operation  + invocation.getName() + 
 on MBean  + info.getClassName() +  has thrown an exception:  + e2.toString());
  + // exception or error from the MBean implementation ('business exception')
  + 
  + if (e.getTargetException() instanceof RuntimeException)
  + {
  +// runtime exceptions from mbean wrapped in RuntimeMBeanException
  +throw new 

[JBoss-dev] CVS update: jmx/src/main/test/compliance/server/support BabarError.java ExceptionOnTheRun.java MyScreamingException.java Test.java TestMBean.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:15:41

  Added:   src/main/test/compliance/server/support BabarError.java
ExceptionOnTheRun.java MyScreamingException.java
Test.java TestMBean.java
  Log:
  exception tests
  
  Revision  ChangesPath
  1.1  jmx/src/main/test/compliance/server/support/BabarError.java
  
  Index: BabarError.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.compliance.server.support;
  
  /**
   * description 
   *
   * @see related
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
   * @version $Revision: 1.1 $
   *   
   */
  public class BabarError
 extends Error
  {
  }

  
  
  
  
  
  
  1.1  
jmx/src/main/test/compliance/server/support/ExceptionOnTheRun.java
  
  Index: ExceptionOnTheRun.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.compliance.server.support;
  
  /**
   * description 
   *
   * @see related
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
   * @version $Revision: 1.1 $
   *   
   */
  public class ExceptionOnTheRun
 extends RuntimeException
  {
  }

  
  
  
  
  
  
  1.1  
jmx/src/main/test/compliance/server/support/MyScreamingException.java
  
  Index: MyScreamingException.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.compliance.server.support;
  
  /**
   * description 
   *
   * @see related
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
   * @version $Revision: 1.1 $
   *   
   */
  public class MyScreamingException
 extends Exception
  {
  }

  
  
  
  
  
  
  1.1  jmx/src/main/test/compliance/server/support/Test.java
  
  Index: Test.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.compliance.server.support;
  
  /**
   * description 
   *
   * @see related
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
   * @version $Revision: 1.1 $
   *   
   */
  public class Test
   implements TestMBean
  {
  
 public String getThisWillScream() throws MyScreamingException
 {
throw new MyScreamingException();
 }
  
 public void setThisWillScream(String str) throws MyScreamingException
 {
throw new MyScreamingException();
 }
 
 public String getThrowUncheckedException()
 {
throw new ExceptionOnTheRun();
 }
 
 public void setThrowUncheckedException(String str) 
 {
throw new ExceptionOnTheRun();
 }
 
 public String getError()
 {
throw new BabarError();
 }
 
 public void setError(String str)
 {
throw new BabarError();
 }
 
 public void setAStringAttribute(String str)
 {

 }
 
 public void operationWithException() throws MyScreamingException
 {
throw new MyScreamingException();   
 }
  }
  
  
  
  
  
  
  
  1.1  jmx/src/main/test/compliance/server/support/TestMBean.java
  
  Index: TestMBean.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.compliance.server.support;
  
  /**
   * description 
   *
   * @see related
   *
   * @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
   * @version $Revision: 1.1 $
   *   
   */
  public interface TestMBean
  {
 public String getThisWillScream() throws MyScreamingException;
 public void setThisWillScream(String str) throws MyScreamingException;
 
 public String getThrowUncheckedException();
 public void setThrowUncheckedException(String str);
 
 public String getError();
 public void setError(String str);
 
 public void setAStringAttribute(String str);
 
 public void operationWithException() throws MyScreamingException;
  }

  
  
  
  
  
  

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



[JBoss-dev] CVS update: jmx/src/main/test/compliance/server MBeanServerTEST.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:16:04

  Modified:src/main/test/compliance/server MBeanServerTEST.java
  Log:
  exception tests
  
  Revision  ChangesPath
  1.2   +280 -5jmx/src/main/test/compliance/server/MBeanServerTEST.java
  
  Index: MBeanServerTEST.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/server/MBeanServerTEST.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MBeanServerTEST.java  2002/01/23 21:39:35 1.1
  +++ MBeanServerTEST.java  2002/01/24 22:16:04 1.2
  @@ -9,18 +9,38 @@
   
   import junit.framework.TestCase;
   
  -import javax.management.*;
  +import javax.management.MBeanServer;
  +import javax.management.MBeanServerFactory;
  +import javax.management.ObjectName;
  +import javax.management.Attribute;
  +import javax.management.InstanceNotFoundException;
  +import javax.management.AttributeNotFoundException;
  +import javax.management.MBeanException;
  +import javax.management.RuntimeMBeanException;
  +import javax.management.RuntimeErrorException;
  +import javax.management.InvalidAttributeValueException;
   
  -public class MBeanServerTEST extends TestCase
  +import org.jboss.mx.server.ServerConstants;
  +import test.compliance.server.support.Test;
  +import test.compliance.server.support.TestMBean;
  +import test.compliance.server.support.MyScreamingException;
  +import test.compliance.server.support.ExceptionOnTheRun;
  +import test.compliance.server.support.BabarError;
  +
  +
  +public class MBeanServerTEST 
  +   extends TestCase 
  +   implements ServerConstants
   {
  public MBeanServerTEST(String s)
  {
 super(s);
  }
   
  -   public void testInvokeNonExistantMBean()
  +   public void testInvokeWithNonExistantMBean()
  {
  -  try {
  +  try
  +  {
MBeanServer server = MBeanServerFactory.createMBeanServer();
server.invoke(new ObjectName(:mbean=doesnotexist), noMethod, null, 
null);

  @@ -37,5 +57,260 @@
fail(Unexpected error on server.invoke(NonExistantMBean):  + 
t.toString());
 }
  }
  -
  +   
  +   public void testInvokeWithBusinessException()
  +   {
  +  try
  +  {
  + MBeanServer server = MBeanServerFactory.createMBeanServer();
  + ObjectName name = new ObjectName(test:test=test);
  + server.registerMBean(new Test(), name);
  + 
  + server.invoke(name, operationWithException, null, null);
  + 
  + // should not get here
  + fail(MBeanException was not thrown.);
  +  }
  +  catch (MBeanException e)
  +  {
  + // this is expected
  + assertTrue(e.getTargetException() instanceof MyScreamingException);
  +  }
  +  catch (Throwable t)
  +  {
  + fail(Unexpected error:  + t.toString());
  +  }
  +   }
  +   
  +   
  +   public void testGetAttributeWithNonExistingAttribute()
  +   {
  +  try
  +  {
  + MBeanServer server = MBeanServerFactory.createMBeanServer();
  + Object foo = server.getAttribute(new ObjectName(MBEAN_SERVER_DELEGATE), 
Foo);
  + 
  + // should not reach here
  + fail(AttributeNotFoundexception was not thrown when invoking 
getAttribute() call on a non-existant attribute.);
  +  }
  +  catch (AttributeNotFoundException e)
  +  {
  + // Expecting this.
  +  }
  +  catch (Throwable t)
  +  {
  + fail(Unexpected error:  + t.toString());
  +  }
  +   }
  +   
  +   public void testGetAttributeWithBusinessException()
  +   {
  +  try
  +  {
  + MBeanServer server = MBeanServerFactory.createMBeanServer();
  + ObjectName name = new ObjectName(test:test=test);
  + server.registerMBean(new Test(), name);
  + 
  + Object foo = server.getAttribute(name, ThisWillScream);
  + 
  + // should not reach here
  + fail(Did not throw the screaming exception);
  +  }
  +  catch (MBeanException e)
  +  {
  + // this is expected
  + assertTrue(e.getMessage().startsWith(Exception thrown by attribute));
  + assertTrue(e.getTargetException() instanceof MyScreamingException);
  +  }
  +  catch (Throwable t)
  +  {
  + fail(Unexpected error:  + t.toString());
  +  }
  +   }
  +   
  +   public void testGetAttributeWithNonExistingMBean()
  +   {
  +  try
  +  {
  + MBeanServer server = MBeanServerFactory.createMBeanServer();
  + ObjectName name = new ObjectName(test:name=DoesNotExist);
  + 
  + server.getAttribute(name, Whatever);
  + 
  + // should not reach here
  + fail(InstanceNotFoundException was not thrown on a nonexistant MBean.);
  +  }
  +  catch (InstanceNotFoundException e)
  +  {
  + // this 

[JBoss-dev] CVS update: jmx/src/main/org/jboss/mx/util AgentID.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:17:08

  Modified:src/main/org/jboss/mx/util AgentID.java
  Log:
  javadoc
  
  Revision  ChangesPath
  1.2   +12 -1 jmx/src/main/org/jboss/mx/util/AgentID.java
  
  Index: AgentID.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/util/AgentID.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AgentID.java  2002/01/23 22:00:04 1.1
  +++ AgentID.java  2002/01/24 22:17:07 1.2
  @@ -24,7 +24,7 @@
* @see javax.management.MBeanServerDelegateMBean
*
* @author  a href=mailto:[EMAIL PROTECTED];Juha Lindfors/a.
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
*   
*/
   public class AgentID 
  @@ -34,6 +34,12 @@
  // Static 
  private static int idSequence = 1;
   
  +   /**
  +* Creates a new agent ID string. The identifier is of the form
  +* ttlt;ip.addressgt;/lt;creation time in msgt;/lt;sequence #gt;/tt
  +*
  +* @return Agent ID string
  +*/
  public static String create()
  {
 String ipAddress = null;
  @@ -50,6 +56,11 @@
 return ipAddress + / + System.currentTimeMillis() + / + (idSequence++);   

  }
  
  +   /**
  +* Returns the agent identifier string of a given MBean server instance.
  +*
  +* @return ttMBeanServerId/tt attribute of the MBean server delegate.
  +*/
  public static String get(MBeanServer server)
  {
 try 
  
  
  

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



[JBoss-dev] CVS update: jmx/src/main/test/implementation/util AgentIDTEST.java UtilSUITE.java

2002-01-24 Thread Juha Lindfors

  User: juhalindfors
  Date: 02/01/24 14:44:12

  Modified:src/main/test/implementation/util UtilSUITE.java
  Added:   src/main/test/implementation/util AgentIDTEST.java
  Log:
  
  
  Revision  ChangesPath
  1.2   +1 -0  jmx/src/main/test/implementation/util/UtilSUITE.java
  
  Index: UtilSUITE.java
  ===
  RCS file: /cvsroot/jboss/jmx/src/main/test/implementation/util/UtilSUITE.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UtilSUITE.java2002/01/23 21:49:25 1.1
  +++ UtilSUITE.java2002/01/24 22:44:12 1.2
  @@ -22,6 +22,7 @@
 TestSuite suite = new TestSuite(JBossMX Util Tests);
   
 suite.addTest(new TestSuite(MBeanProxyTEST.class));
  +  suite.addTest(new TestSuite(AgentIDTEST.class));
 
 return suite;
  }
  
  
  
  1.1  jmx/src/main/test/implementation/util/AgentIDTEST.java
  
  Index: AgentIDTEST.java
  ===
  /*
   * JBoss, the OpenSource J2EE webOS
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  
  package test.implementation.util;
  
  import javax.management.MBeanServer;
  import javax.management.MBeanServerFactory;
  import javax.management.ObjectName;
  
  import junit.framework.TestCase;
  
  import org.jboss.mx.server.ServerConstants;
  import org.jboss.mx.util.AgentID;
  
  
  public class AgentIDTEST extends TestCase implements ServerConstants
  {
 public AgentIDTEST(String s)
 {
super(s);
 }
  
 public void testCreate()
 {
String id1 = AgentID.create();
String id2 = AgentID.create();

assertTrue(!id1.equals(id2));
 }
 
 public void testGet()
 {
try
{
   MBeanServer server = MBeanServerFactory.createMBeanServer();
   String id1 = (String)server.getAttribute(new 
ObjectName(MBEAN_SERVER_DELEGATE), MBeanServerId);
   String id2 = AgentID.get(server);
   
   assertTrue(id1.equals(id2));
}
catch (Throwable t)
{
   t.printStackTrace();
   fail(Unexpected error:  + t.toString());
}  
 }
 
  }
  
  
  

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



[JBoss-dev] [ jboss-Bugs-508185 ] RollingLogged PM Filenames

2002-01-24 Thread noreply

Bugs item #508185, was opened at 2002-01-24 14:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detailatid=376685aid=508185group_id=22866

Category: JBossMQ
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Todd Huss (thuss)
Assigned to: Nobody/Anonymous (nobody)
Summary: RollingLogged PM Filenames

Initial Comment:
We're running JBoss 2.4.4 on both Linux and Win 2K and
XP. When we run it on the windows platform using
durable subscriptions we give our durable subscription
an assigned name which includes the date (which
contains colons).

Filenames under windows cannot contain the colon
character and since we're using the default persistence
manager (rollinglogged) it tries to create the filename
containing the durable subscriptions assigned name,
which fails to create the file.

I'm not sure if it should be the PM's job to make sure
that topic names and assigned names(which both go into
the filename) should work on all platforms but I though
I'd mention the issue.

I've also pasted in my exchange with Hiram about the
matter.

Thanks,
Todd

Here's Hirams email to me:


Cool, I'm glad things are working well for you once again.
 
But I still think that it's a JBossMQ PM bug.  Topics
have no restrictions
on the characters that are used.  If you were using the
JDBC PM you would
not run into this problem (no naming restrictions in
that PM).  So
therefore, that file based PM you were using needs to
encode the topic name
so that illegal characters don't appear in the file names.
 
I would stil submit a bug report if I were you :) 
(just past this e-mail
into the report)
 
Regards,
Hiram

--

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

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



RE: [JBoss-dev] org/jboss/web/catalina ajp13connector support

2002-01-24 Thread Aaron Butler

-Message d'origine-

I was wondering if there were a particular reason why
EmbeddedCatalinaServiceSX was written to support http
and warp connectors, but not Ajp13. 

I've tried to insert your patch in my environement
beside other changes of my own, but I can't find AJP packages
in tomcat4.0.1/catalina sources ...

what could be the reasons... is ajp support dropped now in tomcat4.0.1 ?
stange ? maybe is it hidden somewhere or separate ?


I couldn't find it in the sources either.  A tomcat-ajp jar is 
included with binary distributions, I just guessed at its true api.


I added an initAjpConnector method which takes the default
Embedded engine and then substitutes 'Ajp' for 'Warp' for
the connector-specific code, and this seems to work


   Also, Warp doesn't seem to automatically deliver static content to Apache
and dynamic content
  to catalina, although that is a promised feature, and I can't direct
  it to specifically serve all *.jsp files.


what are the symptoms ?
normally Apache+mod_webapp  should read the static content in the .WAR and
not in static files, unlike ajp... (I may have wrongly understood the
intended functionalities)


That's what I thought should happen as well, but I get a webapp is 
not available type message, I'll put mod_webapp back into place so I 
can give you the full error message.  It worked with Tomcat 4.0.1 
standalone, but not embedded in JBoss 2.4.4.  I had a tough time 
getting mod_webapp compiled, I may have done something wrong at that 
level.  I couldn't get the binary download to work at all.  I'd 
prefer to use Warp, but I was at least able to get somewhere with Ajp.


-- 
Aaron Butler
Fairfield Language Technologies
http://www.RosettaStone.com
(800) 788-0822
(1) (540) 432-6166

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



[JBoss-dev] [AUTOMATED] JBoss compilation failed

2002-01-24 Thread chris


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

HERE ARE THE LAST 50 LINES OF THE LOG FILE

symbol  : class J2eeDeploymentException  
location: class org.jboss.deployment.Installer
 throw new J2eeDeploymentException(no deployment descriptor (+files[0]+, 
+files[1]+, +files[2]+) found);
   ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:485:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadAndPackTemporary(src, factory.baseDir.toURL(), 
copy, .zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:489:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadTemporary(src, factory.baseDir.toURL(), copy, 
.zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:527:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
   URL localURL = URLWizzard.downloadTemporary(lib, baseDir, lib, 
.jar);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:591:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.Installer
  ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(new 
File(baseDir, J2eeDeployer.CONFIG)));
   
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:94:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File deployment = new File(files[i], J2eeDeployer.CONFIG);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:166:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
   result = loadConfig(new File(files[i], J2eeDeployer.CONFIG));
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:192:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File dep = new File(files[i], J2eeDeployer.CONFIG);
   ^
/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) 
^
24 errors
4 warnings

BUILD FAILED

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

Total time: 1 minute 13 seconds

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



[JBoss-dev] Automated JBoss Testsuite Results

2002-01-24 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   69



Successful tests:  0

Errors:69

Failures:  0





[time of test: 25 January 2002 2:43 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] [AUTOMATED] JBoss compilation failed

2002-01-24 Thread chris


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

HERE ARE THE LAST 50 LINES OF THE LOG FILE

symbol  : class J2eeDeploymentException  
location: class org.jboss.deployment.Installer
 throw new J2eeDeploymentException(no deployment descriptor (+files[0]+, 
+files[1]+, +files[2]+) found);
   ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:485:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadAndPackTemporary(src, factory.baseDir.toURL(), 
copy, .zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:489:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadTemporary(src, factory.baseDir.toURL(), copy, 
.zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:527:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
   URL localURL = URLWizzard.downloadTemporary(lib, baseDir, lib, 
.jar);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:591:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.Installer
  ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(new 
File(baseDir, J2eeDeployer.CONFIG)));
   
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:94:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File deployment = new File(files[i], J2eeDeployer.CONFIG);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:166:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
   result = loadConfig(new File(files[i], J2eeDeployer.CONFIG));
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:192:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File dep = new File(files[i], J2eeDeployer.CONFIG);
   ^
/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) 
^
24 errors
4 warnings

BUILD FAILED

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

Total time: 59 seconds

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



[JBoss-dev] Automated JBoss Testsuite Results

2002-01-24 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   69



Successful tests:  0

Errors:69

Failures:  0





[time of test: 25 January 2002 2:59 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



[JBoss-dev] [AUTOMATED] JBoss compilation failed

2002-01-24 Thread chris


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

HERE ARE THE LAST 50 LINES OF THE LOG FILE

symbol  : class J2eeDeploymentException  
location: class org.jboss.deployment.Installer
 throw new J2eeDeploymentException(no deployment descriptor (+files[0]+, 
+files[1]+, +files[2]+) found);
   ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:485:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadAndPackTemporary(src, factory.baseDir.toURL(), 
copy, .zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:489:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadTemporary(src, factory.baseDir.toURL(), copy, 
.zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:527:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
   URL localURL = URLWizzard.downloadTemporary(lib, baseDir, lib, 
.jar);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:591:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.Installer
  ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(new 
File(baseDir, J2eeDeployer.CONFIG)));
   
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:94:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File deployment = new File(files[i], J2eeDeployer.CONFIG);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:166:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
   result = loadConfig(new File(files[i], J2eeDeployer.CONFIG));
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:192:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File dep = new File(files[i], J2eeDeployer.CONFIG);
   ^
/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) 
^
24 errors
4 warnings

BUILD FAILED

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

Total time: 2 minutes 44 seconds

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



[JBoss-dev] Automated JBoss Testsuite Results

2002-01-24 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   69



Successful tests:  0

Errors:69

Failures:  0





[time of test: 25 January 2002 3:19 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



[JBoss-dev] [AUTOMATED] JBoss compilation failed

2002-01-24 Thread chris


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

HERE ARE THE LAST 50 LINES OF THE LOG FILE

symbol  : class J2eeDeploymentException  
location: class org.jboss.deployment.Installer
 throw new J2eeDeploymentException(no deployment descriptor (+files[0]+, 
+files[1]+, +files[2]+) found);
   ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:485:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadAndPackTemporary(src, factory.baseDir.toURL(), 
copy, .zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:489:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
 dest = URLWizzard.downloadTemporary(src, factory.baseDir.toURL(), copy, 
.zip);
^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:527:
 cannot resolve symbol
symbol  : variable URLWizzard  
location: class org.jboss.deployment.Installer
   URL localURL = URLWizzard.downloadTemporary(lib, baseDir, lib, 
.jar);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/Installer.java:591:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.Installer
  ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(new 
File(baseDir, J2eeDeployer.CONFIG)));
   
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:94:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File deployment = new File(files[i], J2eeDeployer.CONFIG);
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:166:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
   result = loadConfig(new File(files[i], J2eeDeployer.CONFIG));
  ^
/disk/orig/home/lubega/jbossro/jboss-all/server/src/main/org/jboss/deployment/InstallerFactory.java:192:
 cannot resolve symbol
symbol  : variable J2eeDeployer  
location: class org.jboss.deployment.InstallerFactory
 File dep = new File(files[i], J2eeDeployer.CONFIG);
   ^
/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) 
^
24 errors
4 warnings

BUILD FAILED

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

Total time: 1 minute 32 seconds

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



[JBoss-dev] Automated JBoss Testsuite Results

2002-01-24 Thread chris



JBoss daily test results

SUMMARY

Number of tests run:   69



Successful tests:  0

Errors:69

Failures:  0





[time of test: 25 January 2002 3:40 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