Note that this last commit also fixed a problem with synchronizing SimpleSessions.
--Glen > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 10:43 AM > To: [EMAIL PROTECTED] > Subject: cvs commit: xml-axis/java/xmls properties.xml > > > gdaniels 2002/12/03 07:42:54 > > Modified: java README TODO.txt release-notes.html > java/src/org/apache/axis/session SimpleSession.java > java/test/concurrency TestService.java > java/xmls properties.xml > Log: > Update 1.0 -> 1.1, clean up release notes a tad. > > Revision Changes Path > 1.15 +1 -1 xml-axis/java/README > > Index: README > =================================================================== > RCS file: /home/cvs/xml-axis/java/README,v > retrieving revision 1.14 > retrieving revision 1.15 > diff -u -r1.14 -r1.15 > --- README 7 Oct 2002 14:35:09 -0000 1.14 > +++ README 3 Dec 2002 15:42:53 -0000 1.15 > @@ -1,6 +1,6 @@ > Axis (Apache eXtensible Interaction System) > ------------------------------------------- > - 1.0 Release Oct 7, 2002 > + 1.1 beta Release Dec 3, 2002 > > Welcome to Axis! You'll find documentation in the docs/ directory. > > > > > 1.79 +4 -0 xml-axis/java/TODO.txt > > Index: TODO.txt > =================================================================== > RCS file: /home/cvs/xml-axis/java/TODO.txt,v > retrieving revision 1.78 > retrieving revision 1.79 > diff -u -r1.78 -r1.79 > --- TODO.txt 24 Sep 2002 18:16:37 -0000 1.78 > +++ TODO.txt 3 Dec 2002 15:42:53 -0000 1.79 > @@ -8,6 +8,10 @@ > > * <Glen> Write TO DO list > > + > +! <team> Update the TO DO list to be current! > + > + > 1.0 MUST-DO > ----------- > ! <> see bugzilla scrub below > > > > 1.17 +26 -23 xml-axis/java/release-notes.html > > Index: release-notes.html > =================================================================== > RCS file: /home/cvs/xml-axis/java/release-notes.html,v > retrieving revision 1.16 > retrieving revision 1.17 > diff -u -r1.16 -r1.17 > --- release-notes.html 2 Dec 2002 01:53:12 -0000 1.16 > +++ release-notes.html 3 Dec 2002 15:42:53 -0000 1.17 > @@ -14,31 +14,15 @@ > </style> > </head> > <body> > -<h2>Changes since Axis 1.0</h2> > +<h2>Axis 1.1 beta Release Notes</h2> > > -<ul> > -<li>Axis supports JMS for reliable messaging between > client and server. > -There is no standard wire representation for JMS so you > cannot use it as > -your external interface, but it can be used for reliable SOAP > -messaging in a closed environment. > -<li>Many more WSDL and interop issues reported (thank > you!) and fixed. > -<li>Axis ant tasks are now documented, and are much enhanced. > -<li>Axis now includes a Castor serializer, handing off XML > marshalling to > -<a href="http://castor.exolab.org/">Castor</a>. Castor > integration offers schema > -validation and autogenerated Java classes from a Schema. > Pending documentation and tests, > -this code is left for the experienced Castor user, who > should look at the classes in > -org.apache.axis.encoding.ser.castor to discover what is available. > -<li>Fixed a bug where clients running Java1.4 needed > servlet.jar on their classpath > -<li>Fixed > -<a > href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13682" > > a bug</a> > -with Axis shutdown on Tomcat 3.3.1 > -</ul> > - > -<h2>Axis 1.0 Release Notes</h2> > - > -<p>This is the <a > href="http://xml.apache.org/axis/releases.html">1.0 release</a> > +<p>This is the <a > href="http://xml.apache.org/axis/releases.html">1.1 beta release</a> > of the <a href="http://xml.apache.org/axis"> Axis SOAP > library</a>.</p> > > +<h3>About this release</h3> > +<p>1.1 is primarily a bug fix release to deal with some > problems which came to > + light after 1.0 went out. There are also some new > features, see <a href="#whatsNew">What's > + New</a> for details. </p> > <h3>Rationale for Releasing Axis 1.0</h3> > > > @@ -82,7 +66,26 @@ > <li>An extensive package and functional test suite > </ul> > > -<h3>What's New?</h3> > +<a name="whatsNew"><h3>What's New?</h3></a> > +<a name="changesSince1.0"><p>Changes since 1.0</p></a> > +<ul> > + <li>Axis supports JMS for reliable messaging between > client and server. Note > + that the actual wire format of JMS messages is > vendor-specific at present, > + so you may not be able to use this to connect > arbitrary JMS clients and servers > + without special bridging software. Refer to your > particular JMS vendor for > + details. (rule-of-thumb is "if you can get a JMS > connection working, > + we can talk SOAP over it." :)) > + <li>Many more WSDL and interop issues reported (thank > you!) and fixed. > + <li>Axis ant tasks are now documented, and are much enhanced. > + <li>Axis now includes a Castor serializer, handing off > XML marshalling to <a href="http://castor.exolab.org/">Castor</a>. > + Castor integration offers schema validation and > autogenerated Java classes > + from a Schema. Pending documentation and tests, this > code is left for the > + experienced Castor user, who should look at the > classes in org.apache.axis.encoding.ser.castor > + to discover what is available. > + <li>Fixed a bug where clients running Java1.4 needed > servlet.jar on their classpath > + <li>Fixed <a > href="http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13682"> > + a bug</a> with Axis shutdown on Tomcat 3.3.1 > +</ul> > <p>Changes since beta-3</p> > <ul> > <li>Axis now passes the JAX-RPC and SAAJ TCK test suites. > > > > 1.8 +5 -3 > xml-axis/java/src/org/apache/axis/session/SimpleSession.java > > Index: SimpleSession.java > =================================================================== > RCS file: > /home/cvs/xml-axis/java/src/org/apache/axis/session/SimpleSess > ion.java,v > retrieving revision 1.7 > retrieving revision 1.8 > diff -u -r1.7 -r1.8 > --- SimpleSession.java 16 Oct 2002 17:11:04 -0000 1.7 > +++ SimpleSession.java 3 Dec 2002 15:42:53 -0000 1.8 > @@ -100,8 +100,10 @@ > */ > public void set(String key, Object value) > { > - if (rep == null) > - rep = new Hashtable(); > + synchronized (this) { > + if (rep == null) > + rep = new Hashtable(); > + } > lastTouched = System.currentTimeMillis(); > rep.put(key, value); > } > @@ -162,7 +164,7 @@ > * which use database connections, etc. it might be an > object wrapping > * a table ID or somesuch. > */ > - public Object getLockObject() { > + public synchronized Object getLockObject() { > if (rep == null) { > rep = new Hashtable(); > } > > > > 1.2 +9 -5 xml-axis/java/test/concurrency/TestService.java > > Index: TestService.java > =================================================================== > RCS file: > /home/cvs/xml-axis/java/test/concurrency/TestService.java,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -r1.1 -r1.2 > --- TestService.java 22 Apr 2002 18:06:54 -0000 1.1 > +++ TestService.java 3 Dec 2002 15:42:54 -0000 1.2 > @@ -63,16 +63,20 @@ > * @author Glen Daniels ([EMAIL PROTECTED]) > */ > public class TestService { > + private static Object lock = new Object(); > + > private static TestService singleton = null; > public static final String MESSAGE = "Hi there, come > here often?"; > > public TestService() throws Exception { > - if (singleton != null) { > - // We're not the first/only one, so throw an Exception! > - throw new Exception("Multiple instances of > TestService created!"); > - } > + synchronized (lock) { > + if (singleton != null) { > + // We're not the first/only one, so throw > an Exception! > + throw new Exception("Multiple instances of > TestService created!"); > + } > > - singleton = this; > + singleton = this; > + } > } > > public String hello() { > > > > 1.33 +2 -2 xml-axis/java/xmls/properties.xml > > Index: properties.xml > =================================================================== > RCS file: /home/cvs/xml-axis/java/xmls/properties.xml,v > retrieving revision 1.32 > retrieving revision 1.33 > diff -u -r1.32 -r1.33 > --- properties.xml 16 Oct 2002 00:28:20 -0000 1.32 > +++ properties.xml 3 Dec 2002 15:42:54 -0000 1.33 > @@ -12,7 +12,7 @@ > <property file="${axis.home}/build.properties"/> > <property file="${user.home}/build.properties"/> > > -<property name="axis.version" value="1.0" /> > +<property name="axis.version" value="1.1beta" /> > <property name="name" value="axis" /> > <property name="Name" value="Axis" /> > <property name="year" value="2002" /> > @@ -71,7 +71,7 @@ > <property name="build.webapp" > location="${build.dir}/webapps/axis"/> > > <property name="webapp" location="${axis.home}/webapps/axis" /> > -<property name="dist.dir" location="${axis.home}/axis-1_0" /> > +<property name="dist.dir" location="${axis.home}/axis-1_1beta" /> > > <property name="test.setup.dir" location="${test.dir}/setup" /> > <property name="test.build.dir" location="${build.dir}/test/" /> > > > >