You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/22 18:15:26 UTC
[jira] Commented: (AXIS2-2482) Hot update fails when an annotated
pojo is deployed
[ https://issues.apache.org/jira/browse/AXIS2-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507440 ]
Davanum Srinivas commented on AXIS2-2482:
-----------------------------------------
Deepal,
this is fixed now right?
thanks,
dims
> 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
> Assignee: Deepal Jayasinghe
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org