[
https://issues.apache.org/jira/browse/AXIS2-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507517
]
Davanum Srinivas commented on AXIS2-1694:
-----------------------------------------
I can see the following line in build.xml now. Guess that does the trick.
<copy file="src/applicationContext.xml"
tofile="${dest.dir.classes}/applicationContext.xml" overwrite="true" />
thanks,
dims
> generate.service ant target creates an invalid service archive for
> pojoguidespring sample
> -----------------------------------------------------------------------------------------
>
> Key: AXIS2-1694
> URL: https://issues.apache.org/jira/browse/AXIS2-1694
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: samples
> Affects Versions: 1.3
> Environment: JDK 1.5, Win XP
> Reporter: Charitha Kankanamge
> Assignee: Sanka Samaranayake
> Priority: Blocker
>
> I went through instructions given in the pojoguide.html and README file
> located at Axis_Home/samples/pojoguidespring. However
> weatherServiceSpring.aar was deployed as a faulty service in both tomcat and
> Axis2servers.
> Following error was given in the logs.
> Invalid service WeatherSpringService.aar due to Processing Operations
> Modules IOException parsing XML document from class path resource
> [applicationContext.xml]; nested exception is java.io.FileNotFoundException:
> class path resource [applicationContext.xml] cannot be opened because it does
> not exist;
> This occurs when ant generate.service creates the archive, it does not add
> applicationContext.xml file in to the service archive. I manually added this
> applicationContext file to the service archive and it worked properly.
--
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]