Hot update fails when an annotated pojo is deployed
---------------------------------------------------
Key: AXIS2-2482
URL: https://issues.apache.org/jira/browse/AXIS2-2482
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.2
Environment: winxp, jdk15, tomcat 6.0.10
Reporter: Charitha Kankanamge
Hotupdate does not work when a pojo annotated class is deployed. Following
exception can be seen in tomcat logs when updating and deploying a pojo
annotated class.
org.apache.axis2.AxisFault: Two services cannot have same name. A service with
the pingserviceService.pingservicePort name already exists in the system.
at
org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:266)
at
org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java:252)
at
org.apache.axis2.deployment.POJODeployer.deploy(POJODeployer.java:111)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:586)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:201)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:271)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:189)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:265)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61
)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Steps to reproduce:
===============
1. Create an annotated pojo (Set hotupdate=true in axis2.xml)
2. Depoy it on tomcat
3. Modify the class
4. Replace the pojo class with changed one
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]