You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Vijay Ravella <vi...@gmail.com> on 2007/06/04 08:35:41 UTC

This Web axisService has deployment faults: service.xml not found

Hi,

1) I have created the skeltons by using the following command.
wsdl2java -s -ss -g -uri s2s.wsdl

2) ant jar.server
It has created the S2S.aar file

3) copied the S2S.aar file in %CATALINA_HOME%\webapps\axis2\WEB-INF\services
Restarted the server it is giving the following error

This Web axisService has deployment faults: service.xml not found

In the place of services.xml, I founf S2S.wsdl shema.

I am using Axis2 1.1.1 version, JDK1.5 and Tomcat 5.5

 Pl, help me to resolve this error..

The Error Message:
This Web axisService has deployment faults Error:
org.apache.axis2.deployment.DeploymentException: services.xml not found for
service 'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar';
nested exception is: org.apache.axis2.deployment.DeploymentException:
services.xml not found for service
'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar' at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
(ArchiveReader.java:139) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(
WSInfoList.java:196) at
org.apache.axis2.deployment.RepositoryListener.update(
RepositoryListener.java:227) at
org.apache.axis2.deployment.RepositoryListener.checkServices(
RepositoryListener.java:174) at
org.apache.axis2.deployment.DeploymentEngine.loadServices(
DeploymentEngine.java:88) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
WarBasedAxisConfigurator.java:252) at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:72) at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:392) at org.apache.axis2.transport.http.AxisServlet.init(
AxisServlet.java:331) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4201) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(
ContainerBase.java:1021) at org.apache.catalina.core.StandardHost.start(
StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(
ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(
StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(
StandardService.java:450) at org.apache.catalina.core.StandardServer.start(
StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(
Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by:
org.apache.axis2.deployment.DeploymentException: services.xml not found for
service 'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar'
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup
(ArchiveReader.java:136) ... 35 more

Thanks,
VJ

RE: This Web axisService has deployment faults: service.xml not found

Posted by "Kraus, David" <dk...@MicroStrategy.com>.
Try using the "-sd" option of wsdl2java.

 

Dave

 

________________________________

From: Vijay Ravella [mailto:vijayravella@gmail.com] 
Sent: Sunday, June 03, 2007 11:36 PM
To: axis-user@ws.apache.org
Subject: This Web axisService has deployment faults: service.xml not
found

 

Hi, 

 

1) I have created the skeltons by using the following command.

wsdl2java -s -ss -g -uri s2s.wsdl

 

2) ant jar.server

It has created the S2S.aar file

 

3) copied the S2S.aar file in
%CATALINA_HOME%\webapps\axis2\WEB-INF\services

Restarted the server it is giving the following error

 

This Web axisService has deployment faults: service.xml not found

 

In the place of services.xml, I founf S2S.wsdl shema.

 

I am using Axis2 1.1.1 version, JDK1.5 and Tomcat 5.5 

 

Pl, help me to resolve this error.. 

 

The Error Message:


This Web axisService has deployment faults


Error: org.apache.axis2.deployment.DeploymentException: services.xml not
found for service
'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar';
nested exception is: org.apache.axis2.deployment.DeploymentException :
services.xml not found for service
'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar' at
org.apache.axis2.deployment.repository.util.ArchiveReader.processService
Group(ArchiveReader.java:139) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:528) at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList
.java:196) at org.apache.axis2.deployment.RepositoryListener.update
(RepositoryListener.java:227) at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL
istener.java:174) at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngi
ne.java:88) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices
(WarBasedAxisConfigurator.java:252) at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:72) at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(
AxisServlet.java:392) at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105) at org.apache.catalina.core.StandardWrapper.load
(StandardWrapper.java:932) at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3917) at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4201
) at org.apache.catalina.core.ContainerBase.addChildInternal
(ContainerBase.java:759) at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR
(HostConfig.java:809) at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
0) at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119) at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1021) at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java :442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke (Unknown Source) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused
by: org.apache.axis2.deployment.DeploymentException: services.xml not
found for service
'E:\Tomcat5.5\webapps\axis2\WEB-INF\services\S2SMessageService.aar' at
org.apache.axis2.deployment.repository.util.ArchiveReader.processService
Group(ArchiveReader.java:136) ... 35 more 

  

Thanks,

VJ