Hi All,

When I deploy a example webservice, met this exception see the log for more details.
- Invalid service  MyService.aar due to services.xml not found for service 'E:\Tomcat 5.0\webapps\axis2\WEB-INF\services\MyService.aar'; nested exception is:
    org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'E:\Tomcat 5.0\webapps\axis2\WEB-INF\services\MyService.aar'
org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'E:\Tomcat 5.0\webapps\axis2\WEB-INF\services\MyService.aar'; nested exception is:
    org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'E:\Tomcat 5.0\webapps\axis2\WEB-INF\services\MyService.aar'
    at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:124)
    at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:620)
    at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195)
    at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207)
    at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
    at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:199)
    at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepositary(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:447)
    at java.util.TimerThread.run(Timer.java:397)
Caused by: org.apache.axis2.deployment.DeploymentException: services.xml not found for service 'E:\Tomcat 5.0\webapps\axis2\WEB-INF\services\MyService.aar'
    at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:121)
    ... 10 more

I include the services.xml in the aar file, but failed.
Tell your advice please.
Here is some infos about my computer:
java.assistive=ON java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition sun.boot.library.path=E:\eclipse\jre\bin java.vm.version=1.4.2 shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar java.vm.vendor=IBM Corporation java.vendor.url="" path.separator=; java.vm.name=Classic VM file.encoding.pkg=sun.io
Thanks in advance.

Alex


雅虎1G免费邮箱百分百防垃圾信
雅虎助手-搜索、杀毒、防骚扰

Reply via email to