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 Gul Onural <on...@nortel.com> on 2006/12/02 18:12:58 UTC

Web axisService deployment faults

I have created a new directory called v0.1 under axis2's services
directory and trying to deploy my 
service under this directory:

/tomcat_inst_dir/webapps/axis2/WEB-INF/services/v0.1

I have changed my service's wsdl file to point this new directory as
location :

   <service name="MyService">
      <port name="MyServiceSOAPport" binding="tns:MyServiceSOAPBinding">
         <soap:address
location="http://localhost/services/v0.1/MyService"/>
      </port>
   </service>


The Axis2 deployment page now shows my service as a fault service and
displays following error, down below. 

I also tried to invoke an operation on my service using my own client
application (using target EPR as =
http://localhost:8080/axis2/services/v0.1/MyService)
and got "Service not found operation terminated !!" error. 

What else needs to be change so that I can deploy my service to
somewhere else rather that default axis repository?

Gul

This Web axisService has deployment faults
Error: org.apache.axis2.deployment.DeploymentException: Invalid service
META-INF directory not found; nested exception is:
org.apache.axis2.deployment.DeploymentException: Invalid service
META-INF directory not found at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A
rchiveReader.java:255) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:513) 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.RepositoryListener.startListener(RepositoryL
istener.java:219) at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche
dulerTask.java:61) at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja
va:68) at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S
cheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:512) at
java.util.TimerThread.run(Timer.java:462) Caused by:
org.apache.axis2.deployment.DeploymentException: Invalid service
META-INF directory not found at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A
rchiveReader.java:244) ... 10 more 



RE: Web axisService deployment faults

Posted by Gul Onural <on...@nortel.com>.
What I am looking for is the ability of deploying multiple versions of
the same service
in Axis2, without changing the name of the service. I want to be able to
change location 
of the service and namespace used in the wsdl.

My later post (Supporting multiple versions of the same service with
Axis2) 
has better explanation of this issue. 

Gul

-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com] 
Sent: Saturday, December 02, 2006 12:25 PM
To: axis-user@ws.apache.org
Subject: Re: Web axisService deployment faults

This article is a little dated, but may help:

http://www.wso2.net/kb/90

Robert

On 12/2/06, Gul Onural <on...@nortel.com> wrote:
>
>
>
>
> I have created a new directory called v0.1 under axis2's services 
> directory and trying to deploy my service under this directory:
>
> /tomcat_inst_dir/webapps/axis2/WEB-INF/services/v0.1
>
> I have changed my service's wsdl file to point this new directory as 
> location :
>
>    <service name="MyService">
>       <port name="MyServiceSOAPport"
> binding="tns:MyServiceSOAPBinding">
>          <soap:address
location="http://localhost/services/v0.1/MyService"/>
>       </port>
>    </service>
>
>
> The Axis2 deployment page now shows my service as a fault service and 
> displays following error, down below.
>
> I also tried to invoke an operation on my service using my own client 
> application (using target EPR as =
> http://localhost:8080/axis2/services/v0.1/MyService)
>
> and got "Service not found operation terminated !!" error.
>
> What else needs to be change so that I can deploy my service to 
> somewhere else rather that default axis repository?
>
> Gul
>
> This Web axisService has deployment faults
> Error: org.apache.axis2.deployment.DeploymentException:
> Invalid service META-INF directory not found; nested exception is:
> org.apache.axis2.deployment.DeploymentException: Invalid service 
> META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
> (ArchiveReader.java:255)
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine
> .java:513)
> at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi
> st.java:196)
> at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen
> er.java:227)
> at
> org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor
> yListener.java:174)
> at
> org.apache.axis2.deployment.RepositoryListener.startListener(Repositor
> yListener.java:219)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc
> hedulerTask.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:512) 
> at
> java.util.TimerThread.run(Timer.java:462) Caused by:
> org.apache.axis2.deployment.DeploymentException: Invalid service 
> META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
> (ArchiveReader.java:244)
> ... 10 more
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Web axisService deployment faults

Posted by robert lazarski <ro...@gmail.com>.
This article is a little dated, but may help:

http://www.wso2.net/kb/90

Robert

On 12/2/06, Gul Onural <on...@nortel.com> wrote:
>
>
>
>
> I have created a new directory called v0.1 under axis2's services directory
> and trying to deploy my
> service under this directory:
>
> /tomcat_inst_dir/webapps/axis2/WEB-INF/services/v0.1
>
> I have changed my service's wsdl file to point this new directory as
> location :
>
>    <service name="MyService">
>       <port name="MyServiceSOAPport"
> binding="tns:MyServiceSOAPBinding">
>          <soap:address location="http://localhost/services/v0.1/MyService"/>
>       </port>
>    </service>
>
>
> The Axis2 deployment page now shows my service as a fault service and
> displays following error, down below.
>
> I also tried to invoke an operation on my service using my own client
> application (using target EPR as =
> http://localhost:8080/axis2/services/v0.1/MyService)
>
> and got "Service not found operation terminated !!" error.
>
> What else needs to be change so that I can deploy my service to somewhere
> else rather that default axis repository?
>
> Gul
>
> This Web axisService has deployment faults
> Error: org.apache.axis2.deployment.DeploymentException:
> Invalid service META-INF directory not found; nested exception is:
> org.apache.axis2.deployment.DeploymentException: Invalid
> service META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:255)
> at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513)
> 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.RepositoryListener.startListener(RepositoryListener.java:219)
> at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(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:512) at
> java.util.TimerThread.run(Timer.java:462) Caused by:
> org.apache.axis2.deployment.DeploymentException: Invalid
> service META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:244)
> ... 10 more
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org