by default hot update is turn off , if you want you can turn that on by changing the following parameter in axis2.xml
<parameter name="hotupdate" locked="false">true</parameter> Steffen Heinzl (JIRA) wrote: > [ > http://issues.apache.org/jira/browse/AXIS2-392?page=comments#action_12367325 > ] > >Steffen Heinzl commented on AXIS2-392: >-------------------------------------- > >I'm not sure if hotupdate works at all. I'm using Win XP Pro SP2, Apache >Tomcat 5.5.15 and the Axis2.war (version 0.94). >I've changed the parameter hotupdate in Web-INF/axis2.xml as in >.axis2/axis.xml to true. Hot Deployment works. > >If I use a version service like the one in the samples folder and do the >following steps > >1. change the version returned by the service >2. compile >3. create the service archive (Echo.aar ) >4. Overwrite the old archive in WEB-INF/services >5. call the service > >the old version number is always returned. > >Tomcat prints the following error: >- Undeploying Web service Echo.aar >- Invalid service Echo.aar due to Two services can not have same name, a >service with Echo already exists in the system > > > >>Hotupdate does not work on directories (for services deployed as directories >>instead of .aar files). >>---------------------------------------------------------------------------------------------------- >> >> Key: AXIS2-392 >> URL: http://issues.apache.org/jira/browse/AXIS2-392 >> Project: Apache Axis 2.0 (Axis2) >> Type: Bug >> Components: deployment >> Versions: 0.94 >> Environment: Windows XP Pro, JBoss >> Reporter: Juanda Zeng >> Priority: Minor >> >> > > > >>This appears to be by design. The deployment engine only checks for the >>lastModified() value of the directory, which may not always be updated. For >>example: >><axis-home>/ >> services/ >> MyService/ >> META-INF/ >> services.xml >> services.wsdl >>When services.wsdl is ADDED, the lastModified value of META-INF is updated >>accordingly. But the lastModified value of MyService does not change. >>When services.xml is updated, the lastModified values of both META-INF and >>MyService do not change. >>SUGGESTED WORKAROUND FOR USERS: >>------------------------------------------------------------- >>After a service is updated, perform the following: >> File file = new File(myServiceDirectory); // eg. >> "services/MyService" >> file.setLastModified(System.currentTimeMillis()); >>This will force the directory to appear as having been modified. >> >> > > > -- Thanks, Deepal ................................................................ ~Future is Open~
