[JBoss-dev] CVS update: jboss/src/main/org/jboss/web ThreadPool.java
User: kimptoc Date: 01/07/02 04:35:45 Modified:src/main/org/jboss/web ThreadPool.java Log: fixes to get a clean jikes compile - [ #433345 ] Jikes patch - thanx Jesper Revision ChangesPath 1.6 +4 -4 jboss/src/main/org/jboss/web/ThreadPool.java Index: ThreadPool.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/ThreadPool.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ThreadPool.java 2001/06/18 20:01:29 1.5 +++ ThreadPool.java 2001/07/02 11:35:45 1.6 @@ -14,7 +14,7 @@ * A simple thread pool. * * a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class ThreadPool { @@ -112,7 +112,7 @@ public synchronized void die() { running = false; - notify(); + this.notify(); } /** @@ -126,7 +126,7 @@ if (this.work != null) throw new IllegalStateException(Worker already has work to do.); this.work = work; - notify(); + this.notify(); } /** @@ -153,7 +153,7 @@ synchronized (this) { while (running work == null) { try { - wait(); + this.wait(); } catch (InterruptedException e) { // Ignore } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jms JMSContainerInvoker.java
User: kimptoc Date: 01/07/02 04:35:44 Modified:src/main/org/jboss/ejb/plugins/jms JMSContainerInvoker.java Log: fixes to get a clean jikes compile - [ #433345 ] Jikes patch - thanx Jesper Revision ChangesPath 1.16 +22 -32 jboss/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java Index: JMSContainerInvoker.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- JMSContainerInvoker.java 2001/06/22 05:24:31 1.15 +++ JMSContainerInvoker.java 2001/07/02 11:35:44 1.16 @@ -58,7 +58,7 @@ * @author a href=mailto:[EMAIL PROTECTED];Rickard Öberg/a * @author a href=mailto:[EMAIL PROTECTED];Sebastien Alborini/a * @author a href=mailto:[EMAIL PROTECTED];Marc Fleury/a - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ */ public class JMSContainerInvoker implements ContainerInvoker, XmlLoadable @@ -533,37 +533,27 @@ public void onException(JMSException ex) { currentThread = Thread.currentThread(); - try { - Logger.warning(MDB lost connection to provider); - boolean tryIt = true; - while(tryIt notStoped) { - Logger.log(MDB Trying to reconnect...); - try { - try { - Thread.sleep(1); - }catch(InterruptedException ie) { tryIt=false; return;} - //try { - // Reboot container - invoker.innerStop(); - invoker.destroy(); - invoker.init(); - invoker.start(); - tryIt = false; - Logger.log(OK - reconnected); - //return; - }catch(Exception e) { - Logger.log(MDB error reconnecting: +e); - } - } - - - //topicConnection.close(); - }catch(Exception je) { - Logger.warning(Could not restart connection + je); - je.printStackTrace(); - } finally { - currentThread = null; - } + + Logger.warning(MDB lost connection to provider); + boolean tryIt = true; + while(tryIt notStoped) { + Logger.log(MDB Trying to reconnect...); + try { + try { + Thread.sleep(1); + }catch(InterruptedException ie) { tryIt=false; return;} + // Reboot container + invoker.innerStop(); + invoker.destroy(); + invoker.init(); + invoker.start(); + tryIt = false; + Logger.log(OK - reconnected); + }catch(Exception e) { + Logger.log(MDB error reconnecting: +e); + } +} + currentThread = null; } } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/main/org/jboss/jmx/client ConnectorFactoryService.java
User: kimptoc Date: 01/07/02 04:35:45 Modified:src/main/org/jboss/jmx/client ConnectorFactoryService.java Log: fixes to get a clean jikes compile - [ #433345 ] Jikes patch - thanx Jesper Revision ChangesPath 1.7 +1 -6 jboss/src/main/org/jboss/jmx/client/ConnectorFactoryService.java Index: ConnectorFactoryService.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jmx/client/ConnectorFactoryService.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ConnectorFactoryService.java 2001/05/10 22:01:17 1.6 +++ ConnectorFactoryService.java 2001/07/02 11:35:45 1.7 @@ -84,12 +84,7 @@ // Protected - protected void initService() throws Exception { - try { - mFactory = new ConnectorFactoryImpl( mServer ); - } - catch( Exception e ) { - e.printStackTrace(); - } +mFactory = new ConnectorFactoryImpl( mServer ); } protected void startService() throws Exception { ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCEntityBridge.java
User: kimptoc Date: 01/07/02 04:35:44 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCEntityBridge.java Log: fixes to get a clean jikes compile - [ #433345 ] Jikes patch - thanx Jesper Revision ChangesPath 1.2 +2 -2 jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCEntityBridge.java Index: JDBCEntityBridge.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCEntityBridge.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JDBCEntityBridge.java 2001/06/24 03:23:15 1.1 +++ JDBCEntityBridge.java 2001/07/02 11:35:44 1.2 @@ -51,7 +51,7 @@ * One per cmp entity bean type. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JDBCEntityBridge implements EntityBridge { protected JDBCEntityMetaData metadata; @@ -162,7 +162,7 @@ } public String getEntityName() { - return metadata.getName();; + return metadata.getName(); } public JDBCEntityMetaData getMetaData() { ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: newsite faq.jsp
User: kimptoc Date: 01/07/02 08:44:55 Modified:.faq.jsp Log: updated notes on unix boot scripts to refer to script in the distribution Revision ChangesPath 1.6 +6 -1 newsite/faq.jsp Index: faq.jsp === RCS file: /cvsroot/jboss/newsite/faq.jsp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- faq.jsp 2001/07/02 15:42:12 1.5 +++ faq.jsp 2001/07/02 15:44:55 1.6 @@ -227,7 +227,12 @@ p class=textBack to a class=link href=#FAQ_CONTENTSFAQ Contents/anbsp;/p h3a name=FAQ-ADMIN-BOOT/aHow do I configure JBoss to start when the server boots ?/h3 -p class=textFor Windows NT see the answer to a class=link href=#FAQ-ADMIN-NTSERVICEHow can I set up JBoss as a service in Windows NT ?/a. For Unix based systems, see the following message from the mail archives: a class=link href=http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg10908.html;Starting JBoss as a service on Linux /a +p class=textFor Windows NT see the answer to +a class=link href=#FAQ-ADMIN-NTSERVICEHow can I set up JBoss as a +service in Windows NT ?/a. +For Unix based systems look at the ijboss_init_redhat.sh/i script in the +idist/bin/i directory. This is fairly configurable, allowing you to start and stop jboss and can be used from the system boot scripts. +For more information see the following message from the mail archives: a class=link href=http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg10908.html;Starting JBoss as a service on Linux /a p class=textBack to a class=link href=#FAQ_CONTENTSFAQ Contents/anbsp;/p h3a name=FAQ-ADMIN-SECURITY/aHow do I configure security with JBoss ?/h3 p class=textPlease have a look at a class=link href=/documentation/HTML/ch07s68.htmlSecurity/a topic in the JBoss manual./p ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/bin jboss_init_redhat.sh
User: kimptoc Date: 01/07/01 14:01:27 Added: src/bin jboss_init_redhat.sh Log: [ #420297 ] JBoss startup/shutdown for RedHat - DONE Revision ChangesPath 1.1 jboss/src/bin/jboss_init_redhat.sh Index: jboss_init_redhat.sh === #!/bin/sh # # JBoss Control Script # # chkconfig: 3 80 20 # description: JBoss EJB Container # # To use this script # run it as root - it will switch to the specified user # It loses all console output - use the log. # # Here is a little (and extremely primitive) # startup/shutdown script for RedHat systems. It assumes # that JBoss lives in /usr/local/jboss, it's run by user # 'jboss' and JDK binaries are in /usr/local/jdk/bin. All # this can be changed in the script itself. # Bojan # # Either amend this script for your requirements # or just ensure that the following variables are set correctly # before calling the script # [ #420297 ] JBoss startup/shutdown for RedHat JBOSS_HOME=${JBOSS_HOME:-/usr/local/jboss} JAVAPTH=${JAVAPTH:-/usr/local/jdk/bin} JBOSSCP=${JBOSSCP:-$JBOSS_HOME/lib/ext/jboss.jar} JBOSSSH=${JBOSSSH:-$JBOSS_HOME/bin/run.sh} JBOSSUS=${JBOSSUS:-jboss} if [ -z `echo $PATH | grep $JAVAPTH` ]; then export PATH=$PATH:$JAVAPTH fi if [ ! -d $JBOSS_HOME ]; then echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME exit 1 fi case $1 in start) su - $JBOSSUS -c cd $JBOSS_HOME/bin; $JBOSSSH /dev/null 21 ;; stop) su - $JBOSSUS -c java -classpath $JBOSSCP org.jboss.Shutdown ;; restart) $0 stop $0 start ;; *) echo usage: $0 (start|stop|restart|help) esac ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss/src/build build.xml
User: kimptoc Date: 01/07/01 14:01:27 Modified:src/build build.xml Log: [ #420297 ] JBoss startup/shutdown for RedHat - DONE Revision ChangesPath 1.78 +5 -1 jboss/src/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss/src/build/build.xml,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- build.xml 2001/06/15 08:26:45 1.77 +++ build.xml 2001/07/01 21:01:27 1.78 @@ -346,7 +346,11 @@ copy todir=${dist.dir}/bin fileset dir=${src.bin.dir}/ /copy - chmod file=${dist.dir}/bin/run.sh perm=+x / + chmod perm=+x +fileset dir=${dist.dir}/bin/ + includes=*.sh +/ + /chmod copy todir=${dist.dir}/lib fileset dir=${src.lib.dir} includes=${bootstrap.jars} ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/stylesheets summary1.xsl
User: kimptoc Date: 01/06/15 01:35:16 Modified:src/build/stylesheets summary1.xsl Log: add disclaimer to daily test results mail Revision ChangesPath 1.4 +6 -0 jbosstest/src/build/stylesheets/summary1.xsl Index: summary1.xsl === RCS file: /cvsroot/jboss/jbosstest/src/build/stylesheets/summary1.xsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- summary1.xsl 2001/05/27 09:41:37 1.3 +++ summary1.xsl 2001/06/15 08:35:16 1.4 @@ -33,6 +33,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! + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/stylesheets summary1.xsl
User: kimptoc Date: 01/05/27 02:41:37 Modified:src/build/stylesheets summary1.xsl Log: add url link for further info on results Revision ChangesPath 1.3 +2 -0 jbosstest/src/build/stylesheets/summary1.xsl Index: summary1.xsl === RCS file: /cvsroot/jboss/jbosstest/src/build/stylesheets/summary1.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- summary1.xsl 2001/05/26 10:41:37 1.2 +++ summary1.xsl 2001/05/27 09:41:37 1.3 @@ -31,6 +31,8 @@ [time of test: xsl:value-of select=$thedate/] +See http://lubega.com for full details + ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/stylesheets - New directory
User: kimptoc Date: 01/05/26 00:47:44 jbosstest/src/build/stylesheets - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/ant - New directory
User: kimptoc Date: 01/05/26 00:47:01 jbosstest/src/main/org/jboss/ant - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/ant/taskdefs ConcatenateFiles.java
User: kimptoc Date: 01/05/26 01:09:52 Added: src/main/org/jboss/ant/taskdefs ConcatenateFiles.java Log: added test report xslt scripts and builds to jbosstest Revision ChangesPath 1.1 jbosstest/src/main/org/jboss/ant/taskdefs/ConcatenateFiles.java Index: ConcatenateFiles.java === package org.jboss.ant.taskdefs; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.tools.ant.*; import org.apache.tools.ant.types.*; /** TEMPORARY TASK - until this is added to the core Ant build Thanks to Chris Winters a href=http://www.mail-archive.com/ant-user@jakarta.apache.org/msg04736.htmlsource/a **/ public class ConcatenateFiles extends Task { protected File file = null; protected File destFile = null; protected File beginFile = null; protected File endFile= null; protected String beginMessage = null; protected String endMessage = null; protected List filesets = new ArrayList(); protected int verbosity = Project.MSG_VERBOSE; public void setFile( File _set ) { file = _set; } public void setBeginfile( File _set ) { beginFile = _set; } public void setEndfile( File _set ){ endFile = _set; } public void setBeginmessage( String _set ) { beginMessage = _set; } public void setEndmessage( String _set ) { endMessage = _set; } public void addFileset( FileSet set ) { filesets.add( set ); } public void setVerbose( boolean _set ) { if ( _set ) { verbosity = Project.MSG_INFO; } else{ verbosity = Project.MSG_VERBOSE; } } /** * Perform the actual action. First validate the parameters passed * to the task to ensure everything is sane, then open up the * output file. Next do the beginning file/message, process the * fileset and then do the ending file/message. * * @exception BuildException for any IO problems (can't read file, * can't open file, can't write to file, etc.) */ public void execute() throws BuildException { // Ensure everything is set correctly validateAttributes(); FileWriter out = null; try { // Open up the new file and a writer to it. destFile = new File( file.getAbsolutePath() ); if ( destFile.exists() ) { log( File + destFile.getAbsolutePath() + exists; removing., verbosity ); destFile.delete(); destFile.createNewFile(); } out = new FileWriter( destFile.getAbsolutePath() ); // If the beginFile is defined, contatenate it if ( beginFile != null ) { concatenate( out, beginFile ); log( Beginning file + beginFile.getAbsolutePath() + ok, verbosity ); } if ( beginMessage != null ) { concatenate( out, beginMessage ); log( Beginning message ok, verbosity ); } // Now do the filesets specified Iterator fsi = filesets.iterator(); while ( fsi.hasNext() ) { FileSet fs = (FileSet)fsi.next(); DirectoryScanner ds = fs.getDirectoryScanner( project ); String[] srcFiles = ds.getIncludedFiles(); File baseDir = ds.getBasedir().getAbsoluteFile(); for ( int i = 0; i srcFiles.length; i++ ) { File readFile = new File( baseDir, srcFiles[i] ); concatenate( out, readFile ); log( Fileset file + readFile.getAbsolutePath() + ok, verbosity ); } } // And if the endFile is defined, do it if ( endFile != null ) { concatenate( out, endFile ); log( Ending file + endFile.getAbsolutePath() + ok, verbosity ); } if ( endMessage != null ) { concatenate( out, endMessage ); log( Ending message ok, verbosity ); } log( Created new file ( + destFile.getAbsolutePath() + ) successfully ); out.close(); } catch ( IOException ioe ) { throw new BuildException( Error with the filesystem: + ioe.getMessage() ); } finally { try { if ( out != null ) { out.close(); } } catch ( IOException ioe
[JBoss-dev] CVS update: jbosstest/src/build run_tests.xml
User: kimptoc Date: 01/05/26 03:41:37 Modified:src/build run_tests.xml Log: added time of test run to reports - helps to see file is current Revision ChangesPath 1.11 +12 -5 jbosstest/src/build/run_tests.xml Index: run_tests.xml === RCS file: /cvsroot/jboss/jbosstest/src/build/run_tests.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- run_tests.xml 2001/05/26 08:09:52 1.10 +++ run_tests.xml 2001/05/26 10:41:37 1.11 @@ -2,7 +2,7 @@ !-- An ant build file for running the test code against a JBoss server dist -$Revision: 1.10 $ +$Revision: 1.11 $ -- project name=JBossUnitTests default=run-tests basedir=../../ @@ -354,15 +354,22 @@ fileset dir=${basedir}/src/build/stylesheets/ includes=*.xsl/ /copy +tstamp + format property=TIMENOW pattern=d H:m/ +/tstamp + + style basedir=${test.results.dir} destdir=${test.results.dir} extension=.log style=summary1.xsl - includes=TEST-all-test-results.xml -/ + includes=TEST-all-test-results.xml + param name=thedate expression=${TIMENOW}/ +/style style basedir=${test.results.dir} destdir=${test.results.dir} extension=.html style=summary2.xsl - includes=TEST-all-test-results.xml -/ + includes=TEST-all-test-results.xml + param name=thedate expression=${TIMENOW}/ +/style copy file=${test.results.dir}/TEST-all-test-results.html tofile=${test.results.dir}/index.html/ ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/stylesheets summary1.xsl summary2.xsl
User: kimptoc Date: 01/05/26 03:41:37 Modified:src/build/stylesheets summary1.xsl summary2.xsl Log: added time of test run to reports - helps to see file is current Revision ChangesPath 1.2 +7 -0 jbosstest/src/build/stylesheets/summary1.xsl Index: summary1.xsl === RCS file: /cvsroot/jboss/jbosstest/src/build/stylesheets/summary1.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- summary1.xsl 2001/05/26 08:09:52 1.1 +++ summary1.xsl 2001/05/26 10:41:37 1.2 @@ -2,6 +2,8 @@ xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' +xsl:param name=thedateundefined/xsl:param + xsl:output method='text'/ xsl:template match='/' @@ -26,6 +28,11 @@ Failures: xsl:value-of select=$numberOfFailures/ + +[time of test: xsl:value-of select=$thedate/] + + + DETAILS OF ERRORS 1.2 +6 -0 jbosstest/src/build/stylesheets/summary2.xsl Index: summary2.xsl === RCS file: /cvsroot/jboss/jbosstest/src/build/stylesheets/summary2.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- summary2.xsl 2001/05/26 08:09:52 1.1 +++ summary2.xsl 2001/05/26 10:41:37 1.2 @@ -1,7 +1,10 @@ xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 +xsl:param name=thedateundefined/xsl:param + xsl:output method='html' indent='yes' doctype-public='-//W3C//DTD HTML 3.2 FINAL//EN'/ + xsl:template match=/ xsl:variable name=numberOfTests select=sum(//@tests)/ @@ -30,6 +33,8 @@ iThe tests are run around 2:30am GMT each day on a href=http://lubega.com;lubega.com/a - so expect the files to be empty/half complete around that time/i +p/ +Date of last run: xsl:value-of select=$thedate/ ul lia href='#tests'Test Results/a/li lia href='#javadocs'Javadocs of the JBoss modules/a/li @@ -75,6 +80,7 @@ /tr xsl:for-each select=//testsuite + xsl:sort select=@name/ tr tdaxsl:attribute name='href'TEST-xsl:value-of select='@name'/.xml/xsl:attribute xsl:value-of select='@name'/ ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/subprojects build-xa.xml
User: kimptoc Date: 01/05/19 12:19:54 Modified:src/build/subprojects build-xa.xml Log: fix build probs with the xa test and make it report up the server error it gets Revision ChangesPath 1.2 +4 -1 jbosstest/src/build/subprojects/build-xa.xml Index: build-xa.xml === RCS file: /cvsroot/jboss/jbosstest/src/build/subprojects/build-xa.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build-xa.xml 2001/05/05 20:54:05 1.1 +++ build-xa.xml 2001/05/19 19:19:54 1.2 @@ -22,10 +22,13 @@ !-- === -- target name=jar depends=compile delete dir=${build.classes.dir}/META-INF/ +copy todir=${build.classes.dir} +fileset dir=${src.resources}/xa/ +/copy jar jarfile=${build.deploy.dir}/xatest.jar basedir=${build.classes.dir} manifest=${etc.dir}/manifest.mf - includes=org/jboss/test/xa/test/**,org/jboss/xa/bean/**,org/jboss/test/xa/interfaces/** + includes=org/jboss/test/xa/test/**,org/jboss/test/xa/bean/**,org/jboss/test/xa/interfaces/**,**/*.xml / /target ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/xa/test Main.java
User: kimptoc Date: 01/05/19 12:19:54 Modified:src/main/org/jboss/test/xa/test Main.java Log: fix build probs with the xa test and make it report up the server error it gets Revision ChangesPath 1.3 +77 -77jbosstest/src/main/org/jboss/test/xa/test/Main.java Index: Main.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/xa/test/Main.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Main.java 2001/04/18 19:48:29 1.2 +++ Main.java 2001/05/19 19:19:54 1.3 @@ -23,64 +23,64 @@ public class Main extends junit.framework.TestCase { - static boolean deployed = false; +static boolean deployed = false; - public static void main(String arg[]) { - Main main = new Main(main); +public static void main(String arg[]) { +Main main = new Main(main); - try { - main.setUp(); +try { +main.setUp(); + +} catch (Exception e) { +System.out.println(Setup failed:); +e.printStackTrace(); +} - } catch (Exception e) { - System.out.println(Setup failed:); - e.printStackTrace(); - } - - try { - main.testXABean(); - System.out.println(); - System.out.println(_); - System.out.println(Congratulations! Test completed); - System.out.println(_); - System.out.println(); +try { +main.testXABean(); +System.out.println(); +System.out.println(_); +System.out.println(Congratulations! Test completed); +System.out.println(_); +System.out.println(); - } catch (Exception e) { +} catch (Exception e) { e.printStackTrace(); - System.out.println(); - System.out.println(_); - System.out.println(Sorry, test failed. Try again with different settings!); - System.out.println(Thanks for your time...); - System.out.println(); - - } - } - - public Main(String name) - { - super(name); - } +System.out.println(); +System.out.println(_); +System.out.println(Sorry, test failed. Try again with different settings!); +System.out.println(Thanks for your time...); +System.out.println(); + +} +} + +public Main(String name) +{ +super(name); +} - public void testXABean() throws Exception { - int test = 0; +public void testXABean() throws Exception { +int test = 0; - Context ctx = new InitialContext(); +Context ctx = new InitialContext(); System.out.println(); System.out.print(++test+- +Looking up the XATest home...); - XATestHome home; +XATestHome home; - try { - home = (XATestHome) ctx.lookup(XATest); +try { +home = (XATestHome) ctx.lookup(XATest); - if (home == null) throw new Exception(No Home!); +if (home == null) throw new Exception(No Home!); System.out.println(OK); - } catch (Exception e) { - System.out.println(); - System.out.println(Could not lookup the context: the beans are probably not deployed); - System.out.println(Check the server trace for details); +} catch (Exception e) { +System.out.println(); +System.out.println(Could not lookup the context: the beans are probably not deployed); +System.out.println(Check the server trace for details); - throw new Exception(); +throw e; } System.out.println(); @@ -90,14 +90,14 @@ bean = home.create(); if(bean == null) throw new Exception(No Bean!); System.out.println(OK); - } catch (Exception e) { +} catch (Exception e) { System.out.println(); System.out.println(Could not create the bean!); System.out.println(Check
[JBoss-dev] CVS update: jbosstest/src/resources/dbtest/META-INF jaws.xml
User: kimptoc Date: 01/05/19 13:32:29 Modified:src/resources/dbtest/META-INF jaws.xml Log: dbtest and testbean tests use beans wih same name - but different structure - amended testbean test to use different jdbc table Revision ChangesPath 1.11 +1 -1 jbosstest/src/resources/dbtest/META-INF/jaws.xml Index: jaws.xml === RCS file: /cvsroot/jboss/jbosstest/src/resources/dbtest/META-INF/jaws.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- jaws.xml 2000/11/08 13:00:53 1.10 +++ jaws.xml 2001/05/19 20:32:29 1.11 @@ -7,7 +7,7 @@ !-- Replace this with the type-mapping you want to use (choose one below) -- type-mappingHypersonic SQL/type-mapping default-entity - remove-tablefalse/remove-table + remove-tabletrue/remove-table /default-entity type-mappings type-mapping ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/resources/testbean2/META-INF jaws.xml
User: kimptoc Date: 01/05/19 13:32:29 Modified:src/resources/testbean2/META-INF jaws.xml Log: dbtest and testbean tests use beans wih same name - but different structure - amended testbean test to use different jdbc table Revision ChangesPath 1.2 +4 -3 jbosstest/src/resources/testbean2/META-INF/jaws.xml Index: jaws.xml === RCS file: /cvsroot/jboss/jbosstest/src/resources/testbean2/META-INF/jaws.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jaws.xml 2000/09/27 00:41:20 1.1 +++ jaws.xml 2001/05/19 20:32:29 1.2 @@ -4,8 +4,9 @@ enterprise-beans -entity -ejb-nameAllTypes/ejb-name + entity + ejb-nameAllTypes/ejb-name + table-nameAllTypesTestBean2/table-name remove-tabletrue/remove-table finder @@ -19,7 +20,7 @@ queryanInt = {0} AND aDouble = {1}/query orderaString/order /finder - /entity + /entity /enterprise-beans ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/jmsra/bean PublisherBean.java PublisherCMPBean.java TopicPublisherBean.java
User: kimptoc Date: 01/05/19 16:13:11 Modified:src/main/org/jboss/test/jmsra/bean PublisherBean.java PublisherCMPBean.java TopicPublisherBean.java Log: made method signature valid for ejb - to help debug jmsra test failing Revision ChangesPath 1.2 +73 -73jbosstest/src/main/org/jboss/test/jmsra/bean/PublisherBean.java Index: PublisherBean.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/jmsra/bean/PublisherBean.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PublisherBean.java2001/04/26 21:18:52 1.1 +++ PublisherBean.java2001/05/19 23:13:11 1.2 @@ -1,6 +1,6 @@ package org.jboss.test.jmsra.bean; -import java.rmi.RemoteException; +import java.rmi.RemoteException; import java.util.*; import javax.ejb.SessionBean; import javax.ejb.SessionContext; @@ -10,12 +10,12 @@ public class PublisherBean implements SessionBean { - + private static final String CONNECTION_JNDI = java:comp/env/jms/MyQueueConnection; private static final String QUEUE_JNDI = java:comp/env/jms/QueueName; private static final String BEAN_JNDI = java:comp/env/ejb/PublisherCMP; - + private SessionContext ctx = null; private Queue queue = null; private QueueConnection queueConnection = null; @@ -26,81 +26,81 @@ this.ctx = ctx; } -public void ejbCreate() throws EJBException { +public void ejbCreate() { try { Context context = new InitialContext(); queue = (Queue)context.lookup(QUEUE_JNDI); - QueueConnectionFactory factory = (QueueConnectionFactory)context.lookup(CONNECTION_JNDI); - queueConnection = factory.createQueueConnection(); - +QueueConnectionFactory factory = (QueueConnectionFactory)context.lookup(CONNECTION_JNDI); +queueConnection = factory.createQueueConnection(); + } catch (Exception ex) { // JMSException or NamingException could be thrown ex.printStackTrace(); - throw new EJBException(ex.toString()); +throw new EJBException(ex.toString()); } } /** * Send a message with a message nr in property MESSAGE_NR */ -public void simple(int messageNr) throws EJBException { - sendMessage(messageNr); +public void simple(int messageNr) { +sendMessage(messageNr); } /** * Try send a message with a message nr in property MESSAGE_NR, * but set rollback only */ -public void simpleFail(int messageNr) throws EJBException { - sendMessage(messageNr); - // Roll it back, no message should be sent if transactins work - System.err.println(DEBUG: Setting rollbackOnly); - ctx.setRollbackOnly(); - System.err.println(DEBUG rollback set: + ctx.getRollbackOnly()); - -} - -public void beanOk(int messageNr) throws EJBException{ - // DO JMS - First transaction - sendMessage(messageNr); - PublisherCMPHome h = null; - try { - // DO entity bean - Second transaction - h = (PublisherCMPHome) new InitialContext().lookup(BEAN_JNDI); - PublisherCMP b = h.create(new Integer(messageNr)); - b.ok(messageNr); - }catch(Exception ex) { - throw new EJBException(OPS exception in ok: + ex); - } finally { - try { - h.remove(new Integer(messageNr)); - }catch(Exception e) { - e.printStackTrace(); - } - } - -} - -public void beanError(int messageNr) throws EJBException{ - // DO JMS - First transaction - sendMessage(messageNr); - PublisherCMPHome h = null; - try { - // DO entity bean - Second transaction - h = (PublisherCMPHome) new InitialContext().lookup(BEAN_JNDI); - PublisherCMP b = h.create(new Integer(messageNr)); - b.error(messageNr); - } catch(Exception ex) { - throw new EJBException(Exception in erro: + ex); - }finally { - try { - h.remove(new Integer(messageNr)); - }catch(Exception ex) { - ex.printStackTrace(); - } - } +public void simpleFail(int messageNr) { +sendMessage(messageNr); +// Roll it back, no message should be sent if transactins work +System.err.println(DEBUG: Setting rollbackOnly); +ctx.setRollbackOnly(); +System.err.println(DEBUG rollback set: + ctx.getRollbackOnly()); + } + +public void beanOk(int messageNr) { +// DO JMS - First transaction +sendMessage(messageNr); +PublisherCMPHome h = null
[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/cts/test StatefulSessionTest.java
User: kimptoc Date: 01/05/10 14:34:00 Modified:src/main/org/jboss/test/cts/test StatefulSessionTest.java Log: add some more comments to the removeexception test Revision ChangesPath 1.8 +14 -13 jbosstest/src/main/org/jboss/test/cts/test/StatefulSessionTest.java Index: StatefulSessionTest.java === RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/cts/test/StatefulSessionTest.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- StatefulSessionTest.java 2001/04/29 08:04:59 1.7 +++ StatefulSessionTest.java 2001/05/10 21:34:00 1.8 @@ -17,8 +17,8 @@ /** * * @see related - * @author $Author: sparre $ - * @version $Revision: 1.7 $ + * @author $Author: kimptoc $ + * @version $Revision: 1.8 $ */ public class StatefulSessionTest @@ -95,7 +95,7 @@ **); System.out.println( testEJBHomeInterface()); - // Create a new session object + // Create a new session object Context ctx = new InitialContext(); StatefulSessionHome home= ( StatefulSessionHome ) ctx.lookup(ejbcts/StatefulSessionBean); @@ -165,7 +165,7 @@ System.out.println(Obtain home interface); - // Create a new session object + // Create a new session object Context ctx = new InitialContext(props); StatefulSessionHome home = ( StatefulSessionHome ) ctx.lookup(ejbcts/StatefulSessionBean); @@ -174,20 +174,21 @@ System.out.println(OK); System.out.println(Call remove using a primary key); home.remove(new AccountPK(pk)); - + } catch (javax.ejb.RemoveException rmEx) { - System.out.println(OK, got a remove exception! ); + System.out.println(OK, got a remove exception! ); // Expected behavior return; } catch (Exception ex) { - fail([EJB 1.1, p42] Expected 'RemoveException', detail: + ex.toString()); + ex.printStackTrace(); + fail([EJB 1.1, p42, section 5.3.2] Expected 'RemoveException' when remove-ing a session object, detail: + ex.toString()); } - fail(Expected 'RemoveException', got NO exception); + fail([EJB 1.1, p42, section 5.3.2] Expected 'RemoveException' when remove-ing a session object, got NO exception); System.out.println( **); } @@ -219,7 +220,7 @@ System.out.println(Obtain home interface); - // Create a new session object + // Create a new session object Context ctx = new InitialContext(props); StatefulSessionHome home = ( StatefulSessionHome ) ctx.lookup(ejbcts/StatefulSessionBean); @@ -288,7 +289,7 @@ System.out.println(Obtain home interface); - // Create a new session object + // Create a new session object Context ctx = new InitialContext(props); StatefulSessionHome home = ( StatefulSessionHome ) ctx.lookup(ejbcts/StatefulSessionBean); @@ -416,7 +417,7 @@ { System.out.println(Obtain home interface); -// Create a new session object +// Create a new session object Context ctx = new InitialContext(props); Object ref = ctx.lookup(ejbcts/StatefulSessionBean); @@ -492,7 +493,7 @@ System.out.println(Obtain home interface); - // Create a new session object + // Create a new session object Context ctx = new InitialContext(props); StatefulSessionHome home = ( StatefulSessionHome ) ctx.lookup(ejbcts/StatefulSessionBean); @@ -543,7 +544,7 @@ { System.out.println(Obtain home interface); -// Create a new session object +// Create a new session object Context ctx = new InitialContext(props); Object ref = ctx.lookup(ejbcts/StatefulSessionBean); ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build/subprojects build-web.xml
User: kimptoc Date: 01/05/08 15:57:53 Modified:src/build/subprojects build-web.xml Log: ensure the meta-inf lib directory is created Revision ChangesPath 1.4 +1 -0 jbosstest/src/build/subprojects/build-web.xml Index: build-web.xml === RCS file: /cvsroot/jboss/jbosstest/src/build/subprojects/build-web.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build-web.xml 2001/05/07 16:57:48 1.3 +++ build-web.xml 2001/05/08 22:57:53 1.4 @@ -22,6 +22,7 @@ target name=ear depends=compile delete dir=${build.dir}/web/ mkdir dir=${build.dir}/web / +mkdir dir=${build.dir}/web/WEB-INF/lib / copy todir=${build.dir}/web fileset dir=${src.resources}/web/ /copy ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbosstest/src/build build.xml
User: kimptoc Date: 01/04/21 13:17:58 Modified:src/build build.xml Log: fixed javadocs/package property so that javadocs build Revision ChangesPath 1.22 +1 -1 jbosstest/src/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbosstest/src/build/build.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- build.xml 2001/04/18 19:48:28 1.21 +++ build.xml 2001/04/21 20:17:58 1.22 @@ -30,7 +30,7 @@ property name="dist.dir" value="dist"/ property name="classpath" value="${src.lib.dir}/jaas.jar;${src.lib.dir}/jmxri.jar;${build.classes.dir};${src.lib.dir}/ejb.jar;${src.lib.dir}/jndi.jar;${src.lib.dir}/jta-spec1_0_1.jar;${src.lib.dir}/jnp.jar;${src.lib.dir}/junit.jar;${src.lib.dir}/deploy.jar;${src.lib.dir}/jdbc2_0-stdext.jar;${src.lib.dir}/servlet.jar;${src.lib.dir}/jms.jar;${src.lib.dir}/ejb2.0.jar;${src.lib.dir}/jbossmq-client.jar;${src.lib.dir}/log4j.jar;${src.lib.dir}/jbosssx-client.jar"/ -property name="packages" value="org.jboss.test,org.jboss.test.bank,org.jboss.test.bank.client,org.jboss.test.bank.beans,org.jboss.test.bank.interfaces"/ +property name="packages" value="org.*"/ property name="build.compiler" value="classic"/ ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: zola/build build.xml
User: kimptoc Date: 01/04/21 13:52:02 Modified:buildbuild.xml Log: added a javadocs target - alias for apidoc - to make the daily builds easier Revision ChangesPath 1.26 +4 -0 zola/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/zola/build/build.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- build.xml 2000/09/13 22:23:12 1.25 +++ build.xml 2001/04/21 20:52:02 1.26 @@ -232,6 +232,10 @@ bottom="lt;igt;EJBoss.org: Janaudy Thierry, Juha Lindforslt;/igt;" / /target +!-- alias to make the daily build consistent -- +target name="javadocs" depends="apidoc"/ + + target name="clean" deltree dir="${build.dir}"/ /target ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: zola/build build.bat build.xml
User: kimptoc Date: 01/04/21 14:46:27 Modified:buildbuild.bat build.xml Log: updated ant to 1.3 and tidied some build bits - to try and fix unix javadoc build bug Revision ChangesPath 1.11 +3 -1 zola/build/build.bat Index: build.bat === RCS file: /cvsroot/jboss/zola/build/build.bat,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- build.bat 2000/09/20 19:05:53 1.10 +++ build.bat 2001/04/21 21:46:27 1.11 @@ -8,7 +8,9 @@ set JDK=1.3 set CLASSPATH=.;%LIB%\ant.jar -set CLASSPATH=%CLASSPATH%;%LIB%\xml.jar +REM set CLASSPATH=%CLASSPATH%;%LIB%\xml.jar +set CLASSPATH=%CLASSPATH%;%LIB%\jaxp.jar +set CLASSPATH=%CLASSPATH%;%LIB%\crimson.jar set CLASSPATH=%CLASSPATH%;%LIB%\javac.jar REM The following two are need for javadoc 1.27 +3 -3 zola/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/zola/build/build.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- build.xml 2001/04/21 20:52:02 1.26 +++ build.xml 2001/04/21 21:46:27 1.27 @@ -101,7 +101,6 @@ !-- COPY LIB FILES NEEDED TO EXECUTE THE CLIENTS -- copyfile src="${lib.dir}/ejb.jar" dest="${build.lib}/ejb.jar"/ - copyfile src="${lib.dir}/ejbossClient.jar" dest="${build.lib}/ejbossClient.jar"/ copyfile src="${lib.dir}/jboss-client.jar" dest="${build.lib}/jboss-client.jar"/ copyfile src="${lib.dir}/jnp-client.jar" dest="${build.lib}/jnp-client.jar"/ copyfile src="${lib.dir}/jta-spec1_0_1.jar" dest="${build.lib}/jta-spec1_0_1.jar"/ @@ -115,8 +114,8 @@ dest="${build.scripts}/AccountClient.bat"/ copyfile src="${src.scripts.windows}/testbean/TestBeanClient.bat" dest="${build.scripts}/TestBeanClient.bat"/ - copyfile src="$[src.scripts.windows}/shortpath/ShortPathClient.bat" -dest="$build.scripts}/ShortPathClient.bat"/ + copyfile src="${src.scripts.windows}/shortpath/ShortPathClient.bat" +dest="${build.scripts}/ShortPathClient.bat"/ copyfile src="${src.scripts.unix}/testbean/TestBeanClient.sh" dest="${build.scripts}/TestBeanClient.sh"/ copyfile src="${src.scripts.unix}/accountmanager/AccountClient.sh" @@ -223,6 +222,7 @@ !-- BUILDING JAVADOC FOR THE SOURCES -- javadoc packagenames="org.jboss.zol.*" sourcepath="${basedir}/${src.java.dir}" + classpath="${lib.dir}/ejb.jar;${lib.dir}/jndi.jar;${lib.dir}/jdbc2.jar;${lib.dir}/jta-spec1_0_1.jar" destdir="${build.docs.javadoc}" author="true" version="true" ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: zola/src/java/org/jboss/zol/testbean2 subbuild.xml
User: kimptoc Date: 01/04/21 14:46:28 Modified:src/java/org/jboss/zol/testbean2 subbuild.xml Log: updated ant to 1.3 and tidied some build bits - to try and fix unix javadoc build bug Revision ChangesPath 1.2 +1 -1 zola/src/java/org/jboss/zol/testbean2/subbuild.xml Index: subbuild.xml === RCS file: /cvsroot/jboss/zola/src/java/org/jboss/zol/testbean2/subbuild.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- subbuild.xml 2000/09/13 22:23:15 1.1 +++ subbuild.xml 2001/04/21 21:46:28 1.2 @@ -26,7 +26,7 @@ !-- Copy the test suite to jBoss-- copyfile src="${build.ejbeans}/TestBeans2.jar" dest="${jboss.dist}/lib/TestBeans2.jar"/ - copyfile src="${build.ejbeans}/AllTypesClient.jar" + copyfile src="${build.ejbclients}/AllTypesClient.jar" dest="${jboss.dist}/lib/AllTypesClient.jar"/ /target /project ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: zola/src/java/org/jboss/zol/testbean subbuild.xml
User: kimptoc Date: 01/04/21 14:46:27 Modified:src/java/org/jboss/zol/testbean subbuild.xml Log: updated ant to 1.3 and tidied some build bits - to try and fix unix javadoc build bug Revision ChangesPath 1.6 +2 -2 zola/src/java/org/jboss/zol/testbean/subbuild.xml Index: subbuild.xml === RCS file: /cvsroot/jboss/zola/src/java/org/jboss/zol/testbean/subbuild.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- subbuild.xml 2000/09/13 22:23:13 1.5 +++ subbuild.xml 2001/04/21 21:46:27 1.6 @@ -33,7 +33,7 @@ !-- Copy the test suite to jBoss-- copyfile src="${build.ejbeans}/TestBeans.jar" dest="${jboss.dist}/lib/TestBeans.jar"/ - copyfile src="${build.ejbeans}/TestBeansClient.jar" - dest="${jboss.dist}/lib/TestBeansClient.jar"/ + copyfile src="${build.ejbclients}/TestBeanClient.jar" + dest="${jboss.dist}/lib/TestBeanClient.jar"/ /target /project ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: zola/webstore/build build.bat build.sh build.xml
User: kimptoc Date: 01/04/21 15:16:03 Modified:webstore/build build.bat build.sh build.xml Log: updated for the new ant jar file Revision ChangesPath 1.6 +2 -1 zola/webstore/build/build.bat Index: build.bat === RCS file: /cvsroot/jboss/zola/webstore/build/build.bat,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.bat 2000/10/05 08:14:16 1.5 +++ build.bat 2001/04/21 22:16:03 1.6 @@ -7,7 +7,8 @@ set CLASSPATH=..\..\lib\ant.jar set CLASSPATH=%CLASSPATH%;..\..\lib\servlet.jar -set CLASSPATH=%CLASSPATH%;..\..\lib\xml.jar +set CLASSPATH=%CLASSPATH%;..\..\lib\crimson.jar +set CLASSPATH=%CLASSPATH%;..\..\lib\jaxp.jar set CLASSPATH=..\src\lib\jdbc2_0-stdext.jar;%CLASSPATH% 1.2 +2 -1 zola/webstore/build/build.sh Index: build.sh === RCS file: /cvsroot/jboss/zola/webstore/build/build.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.sh 2000/10/05 08:36:06 1.1 +++ build.sh 2001/04/21 22:16:03 1.2 @@ -11,7 +11,8 @@ fi CLASSPATH=$CLASSPATH:../../lib/ant.jar:../../lib/servlet.jar -CLASSPATH=$CLASSPATH:../../lib/xml.jar +CLASSPATH=$CLASSPATH:../../lib/crimson.jar +CLASSPATH=$CLASSPATH:../../lib/jaxp.jar $JAVA_HOME/bin/java -Dant.home=$TOMCAT_HOME \ -Dtomcat.home=$TOMCAT_HOME \ 1.5 +5 -6 zola/webstore/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/zola/webstore/build/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 2000/08/27 20:05:32 1.4 +++ build.xml 2001/04/21 22:16:03 1.5 @@ -62,7 +62,6 @@ !-- COPY THE LIBS -- copyfile src="${libs}/ejb.jar"dest="${webinf.lib}/ejb.jar"/ - copyfile src="${libs}/ejbossClient.jar" dest="${webinf.lib}/ejbossClient.jar"/ copyfile src="${libs}/jdbc2_0-stdext.jar" dest="${webinf.lib}/jdbc2_0-stdext.jar"/ !-- COPY THE web.xml -- @@ -101,7 +100,7 @@ target name="dowar" depends="deployserv" jar jarfile="${where}/zol.war" basedir="${webapp}" - items="*"/ + / /target target name="deployejb" depends="compile" @@ -110,9 +109,9 @@ !-- PERSON ENTITY BEAN -- delete file="${work}/META-INF/ejb-jar.xml"/ delete file="${work}/META-INF/jboss.xml"/ - copyfile src="${work}/${webstore.ejbs}/person/META-INF/ejb-jar.xml" + copyfile src="${sources}/${webstore.ejbs}/person/META-INF/ejb-jar.xml" dest="${work}/META-INF/ejb-jar.xml"/ - copyfile src="${work}/${webstore.ejbs}/person/META-INF/jboss.xml" + copyfile src="${sources}/${webstore.ejbs}/person/META-INF/jboss.xml" dest="${work}/META-INF/jboss.xml"/ jar jarfile="${jboss.ejbeans}/personentity.jar" basedir="${work}" @@ -123,9 +122,9 @@ !-- PRODUCT ENTITY BEAN -- delete file="${work}/META-INF/ejb-jar.xml"/ delete file="${work}/META-INF/jboss.xml"/ - copyfile src="${work}/${webstore.ejbs}/product/META-INF/ejb-jar.xml" + copyfile src="${sources}/${webstore.ejbs}/product/META-INF/ejb-jar.xml" dest="${work}/META-INF/ejb-jar.xml"/ - copyfile src="${work}/${webstore.ejbs}/product/META-INF/jboss.xml" + copyfile src="${sources}/${webstore.ejbs}/product/META-INF/jboss.xml" dest="${work}/META-INF/jboss.xml"/ jar jarfile="${jboss.ejbeans}/productentity.jar" ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: manual/src/docs howtoj2eedeployer.xml
User: kimptoc Date: 01/04/19 04:38:11 Modified:src/docs howtoj2eedeployer.xml Log: added some notes about where manifest.mf goes and a jdk bug Revision ChangesPath 1.3 +15 -4 manual/src/docs/howtoj2eedeployer.xml Index: howtoj2eedeployer.xml === RCS file: /cvsroot/jboss/manual/src/docs/howtoj2eedeployer.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- howtoj2eedeployer.xml 2001/03/21 08:30:20 1.2 +++ howtoj2eedeployer.xml 2001/04/19 11:38:11 1.3 @@ -146,7 +146,7 @@ paraIn JBoss we achieve this issue with the following classloader architecture: /para paraOn deployment one - common - classloader is created. This classloader will get all archives in its classpath -that are referenced (MANIFEST.MF/Class-Path)by any module contained in this +that are referenced (MANIFEST.MF/Class-Path co id = "classpath.gotcha"/)by any module contained in this application. /para paraWhen afterwards all modules become deployed in their containers, the classloaders created by these containers @@ -165,8 +165,8 @@ directory /lib of our application./para paraTo make sure that this package is now loaded by the common classloader, we reference it from within the web -package by adding a Class-Path: entry to the web packages MANIFEST.MF file -that it looks something like that: /para +package by adding a Class-Path: entry to the web packages MANIFEST.MF file co id = "classpath.gotcha"/ +that looks something like this: /para literallayout computeroutput Manifest-Version: 1.0 Class-Path: ./lib/ejb-client.jar @@ -186,5 +186,16 @@ lib/ejb-client.jar /computeroutput /literallayout + calloutlist + callout arearefs = "classpath.gotcha" + para +orderedlist + listitemThe MANIFEST.MF referred to is the one inside the ejb or war archive and NOT the one directly in the ear archive./listitem + listitemThere is a "feature" of the jdk jarfile reader that means that you need to have a carriage return after the Class-Path entry in the manifest file - otherwise it is not found./listitem +/orderedlist + /para + /callout + /calloutlist + /section -/section \ No newline at end of file +/section ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx/lib - New directory
User: kimptoc Date: 01/04/11 16:34:51 jbossmx/lib - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmx/src/build build.sh build.xml
User: kimptoc Date: 01/04/11 16:36:03 Modified:src/build build.xml Added: src/build build.sh Log: added a unix build script - and ant jars to the project - to allow for daily build - on unix... Revision ChangesPath 1.2 +8 -1 jbossmx/src/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jbossmx/src/build/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 2001/03/29 18:33:25 1.1 +++ build.xml 2001/04/11 23:36:03 1.2 @@ -35,6 +35,13 @@ ${src.lib.dir}/xerces.jar; ${jboss.jar}" / + +echo message="build.compiler = ${build.compiler}"/ +echo message="java.home = ${java.home}"/ +echo message="user.home = ${user.home}"/ +echo message="java.class.path = ${java.class.path}"/ +echo message="classpath = ${classpath}"/ +echo message=""/ /target !-- -- @@ -116,4 +123,4 @@ !-- -- -/project \ No newline at end of file +/project 1.1 jbossmx/src/build/build.sh Index: build.sh === #! /bin/sh # $Id: build.sh,v 1.1 2001/04/11 23:36:03 kimptoc Exp $ TARGET_CLASSPATH=`echo ../../lib/*.jar | tr ' ' ':'` TARGET_CLASSPATH=${TARGET_CLASSPATH}:`echo ../lib/*.jar | tr ' ' ':'` if test -f ${JAVA_HOME}/lib/tools.jar ; then TARGET_CLASSPATH=${TARGET_CLASSPATH}:${JAVA_HOME}/lib/tools.jar fi TARGET_CLASSPATH=${TARGET_CLASSPATH}:../../build/classes java -classpath $TARGET_CLASSPATH org.apache.tools.ant.Main $* ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee/src/main/javax/jms package.html
User: kimptoc Date: 01/04/02 06:37:34 Modified:src/main/javax/jms package.html Log: testing 1.2.3 Revision ChangesPath 1.2 +2 -1 jboss-j2ee/src/main/javax/jms/package.html Index: package.html === RCS file: /cvsroot/jboss/jboss-j2ee/src/main/javax/jms/package.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- package.html 2001/04/01 13:43:20 1.1 +++ package.html 2001/04/02 13:37:33 1.2 @@ -1,3 +1,4 @@ body -This is the basic contract for the Java Message Service - what JBossMQ offers and clients can expect. +This is the basic contract for the Java Message Service - what JBossMQ +offers and clients can expect. /body ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee/src/main/javax/jms - New directory
User: kimptoc Date: 01/04/01 06:40:10 jboss-j2ee/src/main/javax/jms - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee/src/main/javax/jms BytesMessage.java Connection.java ConnectionConsumer.java ConnectionFactory.java ConnectionMetaData.java DeliveryMode.java Destination.java ExceptionListener.java IllegalStateException.java InvalidClientIDException.java InvalidDestinationException.java InvalidSelectorException.java JMSException.java JMSSecurityException.java MapMessage.java Message.java MessageConsumer.java MessageEOFException.java MessageFormatException.java MessageListener.java MessageNotReadableException.java MessageNotWriteableException.java MessageProducer.java ObjectMessage.java Queue.java QueueBrowser.java QueueConnection.java QueueConnectionFactory.java QueueReceiver.java QueueSender.java QueueSession.java ResourceAllocationException.java ServerSession.java ServerSessionPool.java Session.java StreamMessage.java TemporaryQueue.java TemporaryTopic.java TextMessage.java Topic.java TopicConnection.java TopicConnectionFactory.java TopicPublisher.java TopicSession.java TopicSubscriber.java TransactionInProgressException.java TransactionRolledBackException.java XAConnection.java XAConnectionFactory.java XAQueueConnection.java XAQueueConnectionFactory.java XAQueueSession.java XASession.java XATopicConnection.java XATopicConnectionFactory.java XATopicSession.java package.html
User: kimptoc Date: 01/04/01 06:43:21 Added: src/main/javax/jms BytesMessage.java Connection.java ConnectionConsumer.java ConnectionFactory.java ConnectionMetaData.java DeliveryMode.java Destination.java ExceptionListener.java IllegalStateException.java InvalidClientIDException.java InvalidDestinationException.java InvalidSelectorException.java JMSException.java JMSSecurityException.java MapMessage.java Message.java MessageConsumer.java MessageEOFException.java MessageFormatException.java MessageListener.java MessageNotReadableException.java MessageNotWriteableException.java MessageProducer.java ObjectMessage.java Queue.java QueueBrowser.java QueueConnection.java QueueConnectionFactory.java QueueReceiver.java QueueSender.java QueueSession.java ResourceAllocationException.java ServerSession.java ServerSessionPool.java Session.java StreamMessage.java TemporaryQueue.java TemporaryTopic.java TextMessage.java Topic.java TopicConnection.java TopicConnectionFactory.java TopicPublisher.java TopicSession.java TopicSubscriber.java TransactionInProgressException.java TransactionRolledBackException.java XAConnection.java XAConnectionFactory.java XAQueueConnection.java XAQueueConnectionFactory.java XAQueueSession.java XASession.java XATopicConnection.java XATopicConnectionFactory.java XATopicSession.java package.html Log: jms interfaces - untested - but compiles... Revision ChangesPath 1.1 jboss-j2ee/src/main/javax/jms/BytesMessage.java Index: BytesMessage.java === /* * JBoss, the OpenSource EJB server * * Distributable under LGPL license. * See terms of license at gnu.org. */ package javax.jms; /** * * @author Chris Kimpton ([EMAIL PROTECTED]) * @version $Revision: 1.1 $ **/ public interface BytesMessage extends Message { public boolean readBoolean() throws JMSException; public byte readByte() throws JMSException; public int readUnsignedByte() throws JMSException; public short readShort() throws JMSException; public int readUnsignedShort() throws JMSException; public char readChar() throws JMSException; public int readInt() throws JMSException; public long readLong() throws JMSException; public float readFloat() throws JMSException; public double readDouble() throws JMSException; public String readUTF() throws JMSException; public int readBytes(byte[] value) throws JMSException; public int readBytes(byte[] value, int length) throws JMSException; public void writeBoolean(boolean value) throws JMSException; public void writeByte(byte value) throws JMSException; public void writeShort(short value) throws JMSException; public void writeChar(char value) throws JMSException; public void writeInt(int value) throws JMSException; public void writeLong(long value) throws JMSException; public void writeFloat(float value) throws JMSException; public void writeDouble(double value) throws JMSException; public void writeUTF(String value) throws JMSException; public void writeBytes(byte[] value) throws JMSException; public void writeBytes(byte[] value, int offset, int length) throws JMSException; public void writeObject(Object value) throws JMSException; public void reset() throws JMSException; } 1.1 jboss-j2ee/src/main/javax/jms/Connection.java Index: Connection.java === /* * JBoss, the OpenSource EJB server * * Distributable under LGPL license. * See terms of license at gnu.org. */ package javax.jms; /** * A JMS Connection is a client's active connection to its JMS provider. * It will typically allocate provider resources outside the Java virtual machine. * p * Connections support concurrent use. * p * A Connection serves several purposes: * p * It encapsulates an open connection with a JMS provider. It typically represents
[JBoss-dev] CVS update: jboss-j2ee/src/main/javax/transaction/xa XAException.java
User: kimptoc Date: 01/04/01 06:52:44 Modified:src/main/javax/transaction/xa XAException.java Log: added some stuff used by jbossmq Revision ChangesPath 1.2 +32 -1 jboss-j2ee/src/main/javax/transaction/xa/XAException.java Index: XAException.java === RCS file: /cvsroot/jboss/jboss-j2ee/src/main/javax/transaction/xa/XAException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- XAException.java 2001/03/31 01:12:30 1.1 +++ XAException.java 2001/04/01 13:52:44 1.2 @@ -9,7 +9,7 @@ /** The XAException is thown by the Resource Manager (RM) to inform the Transaction Manager of error encountered for the transaction involved. -@version $Revision: 1.1 $ +@version $Revision: 1.2 $ */ public class XAException extends java.lang.Exception { @@ -26,6 +26,37 @@ { super(msg); } + +/** Constructs an codeXAException/code for the specified error code. +@param msg the detail message. +*/ +public XAException(int errorCode) +{ +super(); + +_errorCode = errorCode; +} + +// PUBLIC METHODS -- + +public int getErrorCode() +{ +return _errorCode; +} + +// STATIC VARIABLES - + +/** added by kimptoc - needed for jbossmq to compile... */ +public static final int XAER_NOTA = 1001; +/** added by kimptoc - needed for jbossmq to compile... */ +public static final int XAER_RMERR = 1002; +/** added by kimptoc - needed for jbossmq to compile... */ +public static final int XAER_OUTSIDE = 1003; +/** added by kimptoc - needed for jbossmq to compile... */ +public static final int XAER_DUPID = 1004; + +// PRIVATE VARIABLE -- +private int _errorCode = -1; } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/examples build.bat run.bat
User: kimptoc Date: 01/04/01 13:33:32 Modified:src/examples build.bat run.bat Log: make the build/run scripts more generic Revision ChangesPath 1.3 +15 -1 jbossmq/src/examples/build.bat Index: build.bat === RCS file: /cvsroot/jboss/jbossmq/src/examples/build.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.bat 2001/03/02 07:04:47 1.2 +++ build.bat 2001/04/01 20:33:32 1.3 @@ -1 +1,15 @@ -javac -classpath ".;..\conf\default;..\client\jnp-client.jar;..\client\jbossmq-client.jar;..\lib\ext\jbossmq.jar;..\lib\ext\jms.jar;..\lib\ext\jta-spec1_0_1.jar;..\lib\ext\gnu-regexp-1.0.8.jar" *.java +@echo off + +set CLASSPATH=.;..\conf\default + +set LOCALCLASSPATH= + +for %%i in (..\lib\*.*) do call lcp.bat %%i +for %%i in (..\lib\ext\*.*) do call lcp.bat %%i +for %%i in (..\client\*.*) do call lcp.bat %%i + +set CLASSPATH=%CLASSPATH%;%LOCALCLASSPATH% + + + +javac *.java 1.3 +4 -0 jbossmq/src/examples/run.bat Index: run.bat === RCS file: /cvsroot/jboss/jbossmq/src/examples/run.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- run.bat 2001/04/01 19:36:46 1.2 +++ run.bat 2001/04/01 20:33:32 1.3 @@ -1,4 +1,8 @@ +@echo off + set CLASSPATH=.;..\conf\default + +set LOCALCLASSPATH= for %%i in (..\lib\*.*) do call lcp.bat %%i for %%i in (..\lib\ext\*.*) do call lcp.bat %%i ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/examples RequestReplyQueue.java
User: kimptoc Date: 01/04/01 13:36:17 Modified:src/examples RequestReplyQueue.java Log: patch to the request reply example to make it work - was complaining about persistent msgs on temp queues Revision ChangesPath 1.2 +40 -35jbossmq/src/examples/RequestReplyQueue.java Index: RequestReplyQueue.java === RCS file: /cvsroot/jboss/jbossmq/src/examples/RequestReplyQueue.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RequestReplyQueue.java2001/01/26 00:42:42 1.1 +++ RequestReplyQueue.java2001/04/01 20:36:17 1.2 @@ -1,8 +1,8 @@ /* - * @(#)RequestReplyQueue.java1.5 00/08/14 - * + * @(#)RequestReplyQueue.java 1.5 00/08/14 + * * Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved. - * + * * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use, * modify and redistribute this software in source and binary code form, * provided that i) this copyright notice and license appear on all copies of @@ -35,7 +35,7 @@ * by JMS. Providers and clients can create more sophisticated versions of * this facility. * p - * The program contains a Request class, a Reply class, a main method, and + * The program contains a Request class, a Reply class, a main method, and * a method that runs the sender and receiver threads. * * @author Kim Haase @@ -46,13 +46,13 @@ int exitResult = 0; /** - * The Request class represents the request half of the message exchange. + * The Request class represents the request half of the message exchange. * * @author Kim Haase * @version 1.5, 08/14/00 */ public class Request extends Thread { - + /** * Runs the thread. */ @@ -68,11 +68,11 @@ String replyID = null; try { -queueConnectionFactory = +queueConnectionFactory = SampleUtilities.getQueueConnectionFactory(); -queueConnection = +queueConnection = queueConnectionFactory.createQueueConnection(); -queueSession = queueConnection.createQueueSession(false, +queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); queue = SampleUtilities.getQueue(queueName, queueSession); } catch (Exception e) { @@ -83,18 +83,18 @@ } catch (JMSException ee) {} } System.exit(1); -} +} -/* +/* * Create a QueueRequestor. * Create a text message and set its text. * Start delivery of incoming messages. - * Send the text message as the argument to the request method, + * Send the text message as the argument to the request method, * which returns the reply message. The request method also * creates a temporary queue and places it in the JMSReplyTo * message header field. * Extract and display the reply message. - * Read the JMSCorrelationID of the reply message and confirm that + * Read the JMSCorrelationID of the reply message and confirm that * it matches the JMSMessageID of the message that was sent. * Finally, close the connection. */ @@ -102,11 +102,11 @@ queueRequestor = new QueueRequestor(queueSession, queue); message = queueSession.createTextMessage(); message.setText(MSG_TEXT); -System.out.println("REQUEST: Sending message: " +System.out.println("REQUEST: Sending message: " + message.getText()); queueConnection.start(); reply = (TextMessage) queueRequestor.request(message); -System.out.println("REQUEST: Reply received: " +System.out.println("REQUEST: Reply received: " + reply.getText()); replyID = new String(reply.getJMSCorrelationID()); if (replyID.equals(message.getJMSMessageID())) { @@ -150,18 +150,18 @@ QueueSessionqueueSession = null; Queue queue = null; QueueReceiver queueReceiver = null; -TextMessage message = null; +TextMessage message = null; Queue tempQueue = null;
[JBoss-dev] CVS update: jboss-j2ee/src/main/javax/jms QueueRequestor.java
User: kimptoc Date: 01/04/01 13:40:01 Modified:src/main/javax/jms QueueRequestor.java Log: sorted out queuerequestor too now Revision ChangesPath 1.2 +14 -4 jboss-j2ee/src/main/javax/jms/QueueRequestor.java Index: QueueRequestor.java === RCS file: /cvsroot/jboss/jboss-j2ee/src/main/javax/jms/QueueRequestor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- QueueRequestor.java 2001/04/01 19:34:02 1.1 +++ QueueRequestor.java 2001/04/01 20:40:01 1.2 @@ -10,7 +10,7 @@ /** * * @author Chris Kimpton ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ **/ public class QueueRequestor { @@ -21,24 +21,34 @@ { _queueSession = session; _queue = queue; + +_requestSender = _queueSession.createSender(_queue); +_replyQueue = _queueSession.createTemporaryQueue(); +_replyReceiver = _queueSession.createReceiver(_replyQueue); } // PUBLIC METHODS -- public Message request(Message message) throws JMSException { -// FIXME -return null; +message.setJMSReplyTo(_replyQueue); +message.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT); +_requestSender.send(message); +return _replyReceiver.receive(); } public void close() throws JMSException { -// FIXME +_requestSender.close(); +_replyReceiver.close(); } // INSTANCE VARIABLES private QueueSession _queueSession = null; private Queue _queue = null; +private QueueSender _requestSender = null; +private QueueReceiver _replyReceiver = null; +private TemporaryQueue _replyQueue = null; } ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jboss-j2ee/src/build build.xml
User: kimptoc Date: 01/03/30 04:15:10 Modified:src/build build.xml Log: typo - missing $ on property used Revision ChangesPath 1.2 +1 -1 jboss-j2ee/src/build/build.xml Index: build.xml === RCS file: /cvsroot/jboss/jboss-j2ee/src/build/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 2001/03/30 11:37:51 1.1 +++ build.xml 2001/03/30 12:15:09 1.2 @@ -61,7 +61,7 @@ debug="off" deprecation="off" optimize="on" - includes="{packages.expr}" + includes="${packages.expr}" / /target ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] CVS update: jbossmq/src/etc/conf/default jboss.conf jboss.jcml
User: kimptoc Date: 01/03/26 03:49:00 Modified:src/etc/conf/default jboss.conf jboss.jcml Log: changes to allow the dist bit to run - basically updated the core jboss files to the latest Revision ChangesPath 1.2 +24 -5 jbossmq/src/etc/conf/default/jboss.conf Index: jboss.conf === RCS file: /cvsroot/jboss/jbossmq/src/etc/conf/default/jboss.conf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jboss.conf2001/01/26 00:42:31 1.1 +++ jboss.conf2001/03/26 11:49:00 1.2 @@ -1,23 +1,42 @@ MLET CODE = "org.jboss.logging.Logger" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" /MLET + MLET CODE = "org.jboss.logging.ConsoleLogging" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" ARG TYPE="java.lang.String" VALUE="Information,Warning,Error" ARG TYPE="java.lang.String" VALUE="[{2}] {4}" /MLET +MLET CODE = "org.jboss.util.Info" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" +/MLET + MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" - ARG TYPE="java.lang.String" VALUE="./" + ARG TYPE="java.lang.String" VALUE="../../log/" /MLET + -MLET CODE = "org.jboss.naming.NamingService" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" +MLET CODE = "org.jboss.logging.FileLogging" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" + ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error" + ARG TYPE="java.lang.String" VALUE="[{2}] {4}" /MLET -MLET CODE = "com.sun.jdmk.comm.HtmlAdaptorServer" ARCHIVE="jmxtools.jar" CODEBASE="../../lib/ext/" NAME="Adaptor:name=html" +MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" + ARG TYPE="java.lang.String" VALUE="../../tmp/" /MLET +MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" + ARG TYPE="java.lang.String" VALUE="../../db/" +/MLET + +MLET CODE = "org.jboss.util.ClassPathExtension" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" + ARG TYPE="java.lang.String" VALUE="./" +/MLET + MLET CODE = "org.jboss.configuration.ConfigurationService" ARCHIVE="jboss_base.jar,../xml.jar" CODEBASE="../../lib/ext/" -/MLET-- +/MLET + +MLET CODE = "org.jboss.util.Shutdown" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" +/MLET -MLET CODE = "org.jbossmq.server.JBossMQService" ARCHIVE="jbossmq.jar" CODEBASE="../../lib/ext/" +MLET CODE = "org.jboss.util.ServiceControl" ARCHIVE="jboss_base.jar" CODEBASE="../../lib/ext/" /MLET 1.2 +32 -16jbossmq/src/etc/conf/default/jboss.jcml Index: jboss.jcml === RCS file: /cvsroot/jboss/jbossmq/src/etc/conf/default/jboss.jcml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- jboss.jcml2001/01/26 00:42:31 1.1 +++ jboss.jcml2001/03/26 11:49:00 1.2 @@ -1,18 +1,34 @@ -?xml version="1.0"? +?xml version="1.0" encoding="UTF-8"? +!-- This is where you can add and configure your MBeans + ATTENTION: The order of the listing here is the same order as +the MBeans are loaded. Therefore if a MBean depends on another +MBean to be loaded and started it has to be listed after all +the MBeans it depends on. +-- server - mbean name="Adaptor:name=html" - attribute name="MaxActiveClientCount"10/attribute - attribute name="Parser" / - attribute name="Port"8082/attribute - /mbean - mbean name="DefaultDomain:service=Logging,type=Console" - attribute name="Format"[{2}] {4}/attribute - /mbean - mbean name="DefaultDomain:service=MLet" - attribute name="LibraryDirectory"/attribute - /mbean - mbean name="DefaultDomain:service=Naming" - attribute name="Port"1099/attribute - /mbean - /server + + !-- JNDI -- + mbean code="org.jboss.naming.NamingService" name="DefaultDomain:service=Naming" +attribute name="Port"1099/attribute + /mbean + mbean code="org.jboss.naming.JNDIView" name="DefaultDomain:service=JNDIView" / + + + + + + !-- For Message Driven Beans -- + mbean code="org.jbossmq.server.JBossMQService" name="DefaultDomain:service=JBossMQ" / + + + mbean code="com.sun.jdmk.comm.HtmlAdaptorServer" name="Adaptor:name=html" +attribute name="MaxActiveClientCount"10/attribute +attribute name="Parser" / +attribute name="Port"8082/attribute + /mbean + + + !-- Add your custom MBeans here -- + +/server ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development