Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 75861 invoked by uid 500); 17 Sep 2002 20:58:32 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 75825 invoked from network); 17 Sep 2002 20:58:31 -0000 In-Reply-To: <3D879265.4ADB7E27@sonicsoftware.com> To: axis-dev@xml.apache.org Subject: Re: cvs commit: xml-axis/java/samples/jms server-config.wsddJMSTest.java client_deploy.wsdd build.xml MIME-Version: 1.0 Sensitivity: X-Mailer: Lotus Notes Build V60_M14_08012002 Release Candidate August 01, 2002 From: "James M Snell" X-MIMETrack: S/MIME Sign by Notes Client on James M Snell/Fresno/IBM(Build V60_M14_08012002 Release Candidate|August 01, 2002) at 09/17/2002 01:51:41 PM, Serialize by Notes Client on James M Snell/Fresno/IBM(Build V60_M14_08012002 Release Candidate|August 01, 2002) at 09/17/2002 01:51:41 PM, Serialize complete at 09/17/2002 01:51:42 PM, S/MIME Sign failed at 09/17/2002 01:51:42 PM: The cryptographic key was not found, Serialize by Router on D03NM035/03/M/IBM(Release 5.0.10 |March 22, 2002) at 09/17/2002 02:58:35 PM, Serialize complete at 09/17/2002 02:58:35 PM Message-ID: Date: Tue, 17 Sep 2002 13:58:32 -0700 Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Oh dangit... forgot about that one. Sorry. - James Snell IBM Emerging Technologies jasnell@us.ibm.com (559) 587-1233 (office) (700) 544-9035 (t/l) Programming Web Services With SOAP O'Reilly & Associates, ISBN 0596000952 Have I not commanded you? Be strong and courageous. Do not be terrified, do not be discouraged, for the Lord your God will be with you whereever you go. - Joshua 1:9 David Chappell wrote on 09/17/2002 01:36:53 PM: > Sorry about that. And it looks like you fixed it. Thanks. > Dave > Davanum Srinivas wrote: > > > > James, Sonic-folks, > > > > PLEASE run "ant clean all-tests" before checking anything in. > > > > -- dims > > > > PS: See http://marc.theaimsgroup.com/?l=axis-dev&m=103229260327235&w=2 > > > > --- jmsnell@apache.org wrote: > > > jmsnell 2002/09/17 09:50:36 > > > > > > Modified: java buildSamples.xml .cvsignore build.xml > > > java/xmls targets.xml > > > Added: java/src/org/apache/axis/transport/jms > > > SimpleJMSListener.java JMSConnector.java > > > SonicConstants.java TopicConnector.java > > > JMSEndpoint.java MapUtils.java Subscription.java > > > JMSConstants.java InvokeTimeoutException.java > > > JMSTransport.java InvokeException.java > > > QueueConnector.java JMSConnectorFactory.java > > > SimpleJMSWorker.java JMSSender.java > > > java/samples/jms server-config.wsdd JMSTest.java > > > client_deploy.wsdd build.xml > > > Log: > > > Adding Sonic's JMS transport to the main source > > > > > > Revision Changes Path > > > 1.13 +4 -0 xml-axis/java/buildSamples.xml > > > > > > Index: buildSamples.xml > > > =================================================================== > > > RCS file: /home/cvs/xml-axis/java/buildSamples.xml,v > > > retrieving revision 1.12 > > > retrieving revision 1.13 > > > diff -u -r1.12 -r1.13 > > > --- buildSamples.xml 11 Sep 2002 14:35:38 -0000 1.12 > > > +++ buildSamples.xml 17 Sep 2002 16:50:35 -0000 1.13 > > > @@ -103,6 +103,10 @@ > > > > > > > > > > > > + > > > + > > > + > > > + > > > > > > > > > > > > > > > > > > > > > 1.7 +3 -0 xml-axis/java/.cvsignore > > > > > > Index: .cvsignore > > > =================================================================== > > > RCS file: /home/cvs/xml-axis/java/.cvsignore,v > > > retrieving revision 1.6 > > > retrieving revision 1.7 > > > diff -u -r1.6 -r1.7 > > > --- .cvsignore 16 Aug 2002 22:51:21 -0000 1.6 > > > +++ .cvsignore 17 Sep 2002 16:50:35 -0000 1.7 > > > @@ -7,3 +7,6 @@ > > > bin > > > .project > > > .classpath > > > +buildit.bat > > > +testit.bat > > > +GetQuote.wsdl > > > > > > > > > > > > 1.188 +1 -0 xml-axis/java/build.xml > > > > > > Index: build.xml > > > =================================================================== > > > RCS file: /home/cvs/xml-axis/java/build.xml,v > > > retrieving revision 1.187 > > > retrieving revision 1.188 > > > diff -u -r1.187 -r1.188 > > > --- build.xml 12 Sep 2002 21:04:24 -0000 1.187 > > > +++ build.xml 17 Sep 2002 16:50:35 -0000 1.188 > > > @@ -106,6 +106,7 @@ > > > name="**/org/apache/axis/transport/http/ServletEndpointContextImpl.java" > > > unless="servlet.present"/> > > > > > > name="**/org/apache/axis/transport/configuration/EngineConfigurationFactoryServlet. > java" > > > unless="servlet.present"/> > > > name="**/org/apache/axis/transport/http/CommonsHTTPSender.java" > > > unless="commons-httpclient.present"/> > > > + unless="jms.present"/> > > > name="**/org/apache/axis/server/JNDIAxisServerFactory.java" > > > unless="servlet.present"/> > > > unless="servlet.present"/> > > > unless="attachments.present"/> > > > > > > > > > > > > 1.1 xml- > axis/java/src/org/apache/axis/transport/jms/SimpleJMSListener.java > > > > > > Index: SimpleJMSListener.java > > > =================================================================== > > > /* > > > * The Apache Software License, Version 1.1 > > > * > > > * > > > * Copyright (c) 2001, 2002 The Apache Software Foundation. All rights > > > * reserved. > > > * > > > * Redistribution and use in source and binary forms, with or without > > > * modification, are permitted provided that the following conditions > > > * are met: > > > * > > > * 1. Redistributions of source code must retain the above copyright > > > * notice, this list of conditions and the following disclaimer. > > > * > > > * 2. Redistributions in binary form must reproduce the above copyright > > > * notice, this list of conditions and the following disclaimer in > > > * the documentation and/or other materials provided with the > > > * distribution. > > > * > > > * 3. The end-user documentation included with the redistribution, > > > * if any, must include the following acknowledgment: > > > * "This product includes software developed by the > > > * Apache Software Foundation (http://www.apache.org/)." > > > * Alternately, this acknowledgment may appear in the > software itself, > > > * if and wherever such third-party acknowledgments normally appear. > > > * > > > * 4. The names "Axis" and "Apache Software Foundation" must > > > * not be used to endorse or promote products derived from this > > > * software without prior written permission. For written > > > * permission, please contact apache@apache.org. > > > * > > > * 5. Products derived from this software may not be called "Apache", > > > * nor may "Apache" appear in their name, without prior written > > > * permission of the Apache Software Foundation. > > > * > > > * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED > > > * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES > > > * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE > > > * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR > > > * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > > > * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > > > * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF > > > * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND > > > * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, > > > * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT > > > * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > > > * SUCH DAMAGE. > > > * ==================================================================== > > > * > > > * This software consists of voluntary contributions made by many > > > * individuals on behalf of the Apache Software Foundation. For more > > > * information on the Apache Software Foundation, please see > > > * . > > > */ > > > > > > package org.apache.axis.transport.jms; > > > > > > import java.io.InputStream; > > > import java.io.ByteArrayInputStream; > > > import java.io.ByteArrayOutputStream; > > > > > > import java.util.HashMap; > > > > > > import javax.jms.MessageListener; > > > import javax.jms.BytesMessage; > > > import javax.jms.Destination; > > > import javax.jms.JMSException; > > > > > > import org.apache.axis.Message; > > > import org.apache.axis.MessageContext; > > > import org.apache.axis.AxisFault; > > > > > > import org.apache.axis.server.AxisServer; > > > > > > import org.apache.axis.utils.Options; > > > import org.apache.axis.utils.Messages; > > > > > > import org.apache.commons.logging.Log; > > > import org.apache.axis.components.logger.LogFactory; > > > > > > /** > > > * SimpleJMSListener implements the javax.jms.MessageListener > interface. Its > > > * basic purpose is listen asynchronously for messages and > to pass them off > > > * to SimpleJMSWorker for processing. > > > * > > > * Note: This is a simple JMS listener that does not pool > worker threads and > > > * is not otherwise tuned for performance. As such, its > intended use is not > > > * for production code, but for demos, debugging, and > performance profiling. > > > * > > > * @author Jaime Meritt (jmeritt@sonicsoftware.com) > > > * @author Richard Chung (rchung@sonicsoftware.com) > > > * @author Dave Chappell (chappell@sonicsoftware.com) > > > */ > > > public class SimpleJMSListener implements MessageListener > > > { > > > protected static Log log = > > > LogFactory.getLog(SimpleJMSListener.class.getName()); > > > > > > // Do we use (multiple) threads to process incoming messages? > > > private static boolean doThreads = true; > > > > > > private JMSConnector connector; > > > private JMSEndpoint endpoint; > > > private AxisServer server; > > > > > > public SimpleJMSListener(Options options) > > > throws Exception > > > { > > > HashMap cfMap = new HashMap(); > > > > > === message truncated === > > > > ===== > > Davanum Srinivas - http://xml.apache.org/~dims/ > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! News - Today's headlines > > http://news.yahoo.com > -- > Sonic Software - Backbone of the Extended Enterprise > -- > David Chappell Office: (781)999-7099 > Mobile: (617)510-6566 > Vice President and Chief Technology Evangelist, Sonic Software > co-author,"Java Web Services", (O'Reilly 2002) > "The Java Message Service", (O'Reilly 2000) > "Professional ebXML Foundations", (Wrox 2001) > -- > > [attachment "chappell.vcf" removed by James M Snell/Fresno/IBM]