Hi Ruchith, I have updated the JIRA *axis2-2253* by attaching updated *TypeTable.java*and *SimpleTypeMapper.java*.
I also created a JIRA issue(*axis2-2435*) for hot update web service that loads native library and attached updated *DeploymentEngine.java*. Could you please check it? best regards donald On 3/29/07, Ruchith Fernando <[EMAIL PROTECTED]> wrote:
Hi Donald, Please attach the patches to the JIRA issues and make sure you grant license to ASF for inclusion in ASF works. Thanks, Ruchith On 3/29/07, donald yang <[EMAIL PROTECTED]> wrote: > Hi, I have fixed some bugs in axis2, but I don't know how to update the > source code repositry. Could you check it and put the update into AXIS2-1.2 > final release? > > 1. Hot update web services that load native library. > > When you develop web services as a wrapper of native library(e.g., .dll or > .so library), you can NOT hot update the web service as JVM will tell you > that the dll has been loaded. > > The simple solution is to force JVM run garbage collector. So I updated > DeploymentEngine.java and what I have changed is to add System.gc() twice at > end of the method unDeploy()(Line number 681 and 682). > > 2. Bug AXIS2-2253 > > Currently AXIS2 can not map java data types(BigDecimal, BigInteger, Day, > Duration, Month, MonthDay, Time, Year, YearMonth) to corresponding XML data > type and deserialize them. I have fixed the bug and test it. It is fine. > > To solve mapping from these data types to XML data type, I updated > TypeTable.java and added these mapping into the method populateSimpleTypes() > (from Line number 82 - 103) > > To solve the deserialized problem, I updated SimpleTypeMapper.java. > 1) First I defined String variables for these data types (Line number 56 - > 68) > 2) I added some codes to return these type objects into the method > getSimpleTypeObject (from Line number 117 - 146) > 3) I added some codes to indicate these type objects are simpleTypeObject > into the method isSimpleType. (from Line number 246 -261) > > > Could you please update the source tree? > > best regards > donald > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- www.ruchith.org www.wso2.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
