axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: services.xml not found for service
Date Tue, 09 May 2006 08:36:07 GMT
Hi Kun;

Where did you include your services.xml (is it inside
META-INF/services.xml). To get a better understanding pls have a look at
version.aar or user guide.


yourservice.aar
META-INF
services.xml
org
apache
.....

kun xu wrote:

> 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=http://www.ibm.com/
> path.separator=; java.vm.name=Classic VM file.encoding.pkg=sun.io
> Thanks in advance.
>
> Alex
>
> ------------------------------------------------------------------------
> 雅虎1G免费邮箱百分百防垃圾信 <http://cn.mail.yahoo.com>
> 雅虎助手-搜索、杀毒、防骚扰 <http://cn.zs.yahoo.com> 


-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



Mime
View raw message