[ http://issues.apache.org/jira/browse/AXIS2-1497?page=all ]
Eran Chinthaka resolved AXIS2-1497.
-----------------------------------
Fix Version/s: 1.1
Resolution: Fixed
Applying the patch attached to AXIS2-1506 also fixes this. Fixed in revision
467886. Thanks Keith.
> An error occurs when deploying a service archive created by IDEA plugin
> -----------------------------------------------------------------------
>
> Key: AXIS2-1497
> URL: http://issues.apache.org/jira/browse/AXIS2-1497
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: ide plugins
> Affects Versions: 1.1
> Environment: Win XP, JDK 1.5, IDEA 5.1.2
> Reporter: Charitha Kankanamge
> Fix For: 1.1
>
>
> Following error thrown when deploying a service archive which was created by
> IDEA plugin. This is caused by "transportsession" value of the "scope"
> attribute of the services.xml.
> This attribute should not be added to the services.xml if user provides
> default values in IDEA service archive creation wizard.
> Error: org.apache.axis2.deployment.DeploymentException: You can not deploy
> the service in transport session , since transport session management
> disabled in axis2.xml change manageTransportSession parameter value to true
> at
> org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:382)
> at
> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:345)
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:521)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:200)
> at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:203)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:150)
> at
> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:195)
> 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. Start Axis2 wizard in IDEA
> 2. Select 'Create a service archive' option
> 3. Select following options in 'Service Type Selection' screen
> - Single service archive
> - Generate services.xml
> 4. Select class location and click on next button
> 5. Select WSDL and click next
> 6. Select service class and click on load button
> 7. Enter a service name and click next
> 8. Edit service descriptor screen will appear. Do not edit service
> descriptor and click next
> 9. Select an output location and click on Finish
> 10. Deploy the created service archive
> Actual Result:
> ==============
> Service is deployed as a faulty service and above error is generated
> Expected Result:
> ================
> scope attribute of the service element should be removed by the generated
> services.xml. So that the service archive will be deployed without errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]