generate.service ant target creates an invalid service archive for
pojoguidespring sample
-----------------------------------------------------------------------------------------
Key: AXIS2-1694
URL: http://issues.apache.org/jira/browse/AXIS2-1694
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: samples
Affects Versions: 1.1
Environment: JDK 1.5, Win XP
Reporter: Charitha Kankanamge
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.
-
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]