You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Deepal jayasinghe <de...@gmail.com> on 2008/06/12 09:04:49 UTC
Re: Failed to load from file, META-INF/ServiceData.xml
Hi There.
Who ever wrote the code , I find an issue in Axis2 code base. So the
best thing is to create a JIRA.
I went though the code base and I found how the error is happening. But
I can not give the exact answer without looking your service aar file.
So will you be able to send that to me ?
Thank you!
Deepal
> Hi
>
> Can someone please guide me what this error means. My service was
> running ok for sometime, and I don't know what I have changed. I am
> suddenly getting the exception below, Thanks
>
> 2008-06-12 09:37:32,533 [DEBUG] File does not exist in the Service
> Repository! File=META-INF/ServiceData.xml
> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
> META-INF/ServiceData.xml.Message = Failed to load from file,
> META-INF/ServiceData.xml
> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
> META-INF/ServiceData.xml
> org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load
> from file, META-INF/ServiceData.xml
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:64)
> at
> org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData()V(AxisDataLocatorImpl.java:103)
> at
> org.apache.axis2.description.AxisService.getDefaultDataLocator()Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2281)
> at
> org.apache.axis2.description.AxisService.getDataLocator(Lorg/apache/axis2/dataretrieval/LocatorType;Ljava/lang/String;)Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2265)
> at
> org.apache.axis2.description.AxisService.getData(Lorg/apache/axis2/dataretrieval/DataRetrievalRequest;Lorg/apache/axis2/context/MessageContext;)[Lorg/apache/axis2/dataretrieval/Data;(AxisService.java:2184)
> at
> org.apache.axis2.description.AxisService.getWSDL(Ljava/io/OutputStream;[Ljava/lang/String;)V(AxisService.java:1139)
> at
> org.apache.axis2.description.AxisService.printWSDL(Ljava/io/OutputStream;Ljava/lang/String;)V(AxisService.java:1077)
> at
> org.apache.axis2.transport.http.ListingAgent.processListService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ListingAgent.java:280)
> at
> org.apache.axis2.transport.http.AxisServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:229)
> at
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
> at
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
> at
> weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
> at
> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown
> Source)
> Caused by: javax.xml.stream.XMLStreamException: File does not exist in
> the Service Repository! File=META-INF/ServiceData.xml
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;(DataRetrievalUtil.java:103)
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:60)
> ... 21 more
> 2008-06-12 09:37:33,049 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,284 [DEBUG] XMLStreamWriter is
> com.ctc.wstx.sw.SimpleNsStreamWriter
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Fwd: Failed to load from file, META-INF/ServiceData.xml
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi ,
I just deploy axis2.war (from the trunk) and then I was able to view the
wsdl. So how can I regenerate issue ?
What is the Axis2 version are you using ?
-Deepal
> Hi Deepal,
>
> Sorry! if I have sent multiple emails, I have been receiving mail
> delivery errors
>
> The error occurs even from version service. For example, executing the
> following URL will generate the error.
>
> Where can I find ServiceData.xml file?
>
> Note: The service is running ok
>
> http://localhost:7001/Webservice/services/Version?wsdl
>
> Thanks
>
> On Thu, Jun 12, 2008 at 10:04 AM, Deepal jayasinghe <deepalk@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi There.
>
> Who ever wrote the code , I find an issue in Axis2 code base. So
> the best thing is to create a JIRA.
>
> I went though the code base and I found how the error is
> happening. But I can not give the exact answer without looking
> your service aar file. So will you be able to send that to me ?
>
> Thank you!
> Deepal
>
> Hi
>
> Can someone please guide me what this error means. My service
> was running ok for sometime, and I don't know what I have
> changed. I am suddenly getting the exception below, Thanks
>
> 2008-06-12 09:37:32,533 [DEBUG] File does not exist in the
> Service Repository! File=META-INF/ServiceData.xml
> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for
> file, META-INF/ServiceData.xml.Message = Failed to load from
> file, META-INF/ServiceData.xml
> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for
> file, META-INF/ServiceData.xml
> org.apache.axis2.dataretrieval.DataRetrievalException: Failed
> to load from file, META-INF/ServiceData.xml
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:64)
> at
> org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData()V(AxisDataLocatorImpl.java:103)
> at
> org.apache.axis2.description.AxisService.getDefaultDataLocator()Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2281)
> at
> org.apache.axis2.description.AxisService.getDataLocator(Lorg/apache/axis2/dataretrieval/LocatorType;Ljava/lang/String;)Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2265)
> at
> org.apache.axis2.description.AxisService.getData(Lorg/apache/axis2/dataretrieval/DataRetrievalRequest;Lorg/apache/axis2/context/MessageContext;)[Lorg/apache/axis2/dataretrieval/Data;(AxisService.java:2184)
> at
> org.apache.axis2.description.AxisService.getWSDL(Ljava/io/OutputStream;[Ljava/lang/String;)V(AxisService.java:1139)
> at
> org.apache.axis2.description.AxisService.printWSDL(Ljava/io/OutputStream;Ljava/lang/String;)V(AxisService.java:1077)
> at
> org.apache.axis2.transport.http.ListingAgent.processListService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ListingAgent.java:280)
> at
> org.apache.axis2.transport.http.AxisServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:229)
> at
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
> at
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
> at
> weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
> at
> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
> at
> java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown
> Source)
> Caused by: javax.xml.stream.XMLStreamException: File does not
> exist in the Service Repository! File=META-INF/ServiceData.xml
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;(DataRetrievalUtil.java:103)
> at
> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:60)
> ... 21 more
> 2008-06-12 09:37:33,049 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
> com.ctc.wstx.sr.ValidatingStreamReader
> 2008-06-12 09:37:33,284 [DEBUG] XMLStreamWriter is
> com.ctc.wstx.sw.SimpleNsStreamWriter
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Fwd: Failed to load from file, META-INF/ServiceData.xml
Posted by asheikh <as...@gmail.com>.
Hi Deepal,
Sorry! if I have sent multiple emails, I have been receiving mail delivery
errors
The error occurs even from version service. For example, executing the
following URL will generate the error.
Where can I find ServiceData.xml file?
Note: The service is running ok
http://localhost:7001/Webservice/services/Version?wsdl
Thanks
On Thu, Jun 12, 2008 at 10:04 AM, Deepal jayasinghe <de...@gmail.com>
wrote:
> Hi There.
>
> Who ever wrote the code , I find an issue in Axis2 code base. So the best
> thing is to create a JIRA.
>
> I went though the code base and I found how the error is happening. But I
> can not give the exact answer without looking your service aar file. So will
> you be able to send that to me ?
>
> Thank you!
> Deepal
>
> Hi
>>
>> Can someone please guide me what this error means. My service was running
>> ok for sometime, and I don't know what I have changed. I am suddenly getting
>> the exception below, Thanks
>>
>> 2008-06-12 09:37:32,533 [DEBUG] File does not exist in the Service
>> Repository! File=META-INF/ServiceData.xml
>> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
>> META-INF/ServiceData.xml.Message = Failed to load from file,
>> META-INF/ServiceData.xml
>> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
>> META-INF/ServiceData.xml
>> org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load from
>> file, META-INF/ServiceData.xml
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:64)
>> at
>> org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData()V(AxisDataLocatorImpl.java:103)
>> at
>> org.apache.axis2.description.AxisService.getDefaultDataLocator()Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2281)
>> at
>> org.apache.axis2.description.AxisService.getDataLocator(Lorg/apache/axis2/dataretrieval/LocatorType;Ljava/lang/String;)Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2265)
>> at
>> org.apache.axis2.description.AxisService.getData(Lorg/apache/axis2/dataretrieval/DataRetrievalRequest;Lorg/apache/axis2/context/MessageContext;)[Lorg/apache/axis2/dataretrieval/Data;(AxisService.java:2184)
>> at
>> org.apache.axis2.description.AxisService.getWSDL(Ljava/io/OutputStream;[Ljava/lang/String;)V(AxisService.java:1139)
>> at
>> org.apache.axis2.description.AxisService.printWSDL(Ljava/io/OutputStream;Ljava/lang/String;)V(AxisService.java:1077)
>> at
>> org.apache.axis2.transport.http.ListingAgent.processListService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ListingAgent.java:280)
>> at
>> org.apache.axis2.transport.http.AxisServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:229)
>> at
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
>> at
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
>> at
>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
>> at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
>> at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
>> at
>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>> at
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
>> at
>> weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
>> at
>> weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
>> at
>> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
>> at
>> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
>> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown
>> Source)
>> Caused by: javax.xml.stream.XMLStreamException: File does not exist in the
>> Service Repository! File=META-INF/ServiceData.xml
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;(DataRetrievalUtil.java:103)
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:60)
>> ... 21 more
>> 2008-06-12 09:37:33,049 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,284 [DEBUG] XMLStreamWriter is
>> com.ctc.wstx.sw.SimpleNsStreamWriter
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: Failed to load from file, META-INF/ServiceData.xml
Posted by Martin <mg...@hotmail.com>.
Please display contents of your META-INF/ServiceData.xml
Thank You
Martin--
----- Original Message -----
From: asheikh
To: axis-user@ws.apache.org
Cc: axis-dev@ws.apache.org
Sent: Thursday, June 12, 2008 3:58 AM
Subject: Re: Failed to load from file, META-INF/ServiceData.xml
Hi Deepal,
The error occurs even from version service. For example, executing the following URL will generate the error.
Note: The service is running ok
http://localhost:7001/Webservice/services/Version?wsdl
Thanks
On Thu, Jun 12, 2008 at 10:04 AM, Deepal jayasinghe <de...@gmail.com> wrote:
Hi There.
Who ever wrote the code , I find an issue in Axis2 code base. So the best thing is to create a JIRA.
I went though the code base and I found how the error is happening. But I can not give the exact answer without looking your service aar file. So will you be able to send that to me ?
Thank you!
Deepal
Hi
Can someone please guide me what this error means. My service was running ok for sometime, and I don't know what I have changed. I am suddenly getting the exception below, Thanks
2008-06-12 09:37:32,533 [DEBUG] File does not exist in the Service Repository! File=META-INF/ServiceData.xml
2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file, META-INF/ServiceData.xml.Message = Failed to load from file, META-INF/ServiceData.xml
2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file, META-INF/ServiceData.xml
org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load from file, META-INF/ServiceData.xml
at org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:64)
at org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData()V(AxisDataLocatorImpl.java:103)
at org.apache.axis2.description.AxisService.getDefaultDataLocator()Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2281)
at org.apache.axis2.description.AxisService.getDataLocator(Lorg/apache/axis2/dataretrieval/LocatorType;Ljava/lang/String;)Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2265)
at org.apache.axis2.description.AxisService.getData(Lorg/apache/axis2/dataretrieval/DataRetrievalRequest;Lorg/apache/axis2/context/MessageContext;)[Lorg/apache/axis2/dataretrieval/Data;(AxisService.java:2184)
at org.apache.axis2.description.AxisService.getWSDL(Ljava/io/OutputStream;[Ljava/lang/String;)V(AxisService.java:1139)
at org.apache.axis2.description.AxisService.printWSDL(Ljava/io/OutputStream;Ljava/lang/String;)V(AxisService.java:1077)
at org.apache.axis2.transport.http.ListingAgent.processListService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ListingAgent.java:280)
at org.apache.axis2.transport.http.AxisServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:229)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
Caused by: javax.xml.stream.XMLStreamException: File does not exist in the Service Repository! File=META-INF/ServiceData.xml
at org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;(DataRetrievalUtil.java:103)
at org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:60)
... 21 more
2008-06-12 09:37:33,049 [DEBUG] XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader
2008-06-12 09:37:33,284 [DEBUG] XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Failed to load from file, META-INF/ServiceData.xml
Posted by asheikh <as...@gmail.com>.
Hi Deepal,
The error occurs even from version service. For example, executing the
following URL will generate the error.
Note: The service is running ok
http://localhost:7001/Webservice/services/Version?wsdl
Thanks
On Thu, Jun 12, 2008 at 10:04 AM, Deepal jayasinghe <de...@gmail.com>
wrote:
> Hi There.
>
> Who ever wrote the code , I find an issue in Axis2 code base. So the best
> thing is to create a JIRA.
>
> I went though the code base and I found how the error is happening. But I
> can not give the exact answer without looking your service aar file. So will
> you be able to send that to me ?
>
> Thank you!
> Deepal
>
> Hi
>>
>> Can someone please guide me what this error means. My service was running
>> ok for sometime, and I don't know what I have changed. I am suddenly getting
>> the exception below, Thanks
>>
>> 2008-06-12 09:37:32,533 [DEBUG] File does not exist in the Service
>> Repository! File=META-INF/ServiceData.xml
>> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
>> META-INF/ServiceData.xml.Message = Failed to load from file,
>> META-INF/ServiceData.xml
>> 2008-06-12 09:37:32,565 [DEBUG] Check loading failure for file,
>> META-INF/ServiceData.xml
>> org.apache.axis2.dataretrieval.DataRetrievalException: Failed to load from
>> file, META-INF/ServiceData.xml
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:64)
>> at
>> org.apache.axis2.dataretrieval.AxisDataLocatorImpl.loadServiceData()V(AxisDataLocatorImpl.java:103)
>> at
>> org.apache.axis2.description.AxisService.getDefaultDataLocator()Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2281)
>> at
>> org.apache.axis2.description.AxisService.getDataLocator(Lorg/apache/axis2/dataretrieval/LocatorType;Ljava/lang/String;)Lorg/apache/axis2/dataretrieval/AxisDataLocator;(AxisService.java:2265)
>> at
>> org.apache.axis2.description.AxisService.getData(Lorg/apache/axis2/dataretrieval/DataRetrievalRequest;Lorg/apache/axis2/context/MessageContext;)[Lorg/apache/axis2/dataretrieval/Data;(AxisService.java:2184)
>> at
>> org.apache.axis2.description.AxisService.getWSDL(Ljava/io/OutputStream;[Ljava/lang/String;)V(AxisService.java:1139)
>> at
>> org.apache.axis2.description.AxisService.printWSDL(Ljava/io/OutputStream;Ljava/lang/String;)V(AxisService.java:1077)
>> at
>> org.apache.axis2.transport.http.ListingAgent.processListService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(ListingAgent.java:280)
>> at
>> org.apache.axis2.transport.http.AxisServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:229)
>> at
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(HttpServlet.java:740)
>> at
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java:853)
>> at
>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
>> at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.java:465)
>> at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStubImpl.java:348)
>> at
>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>> at
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:321)
>> at
>> weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
>> at
>> weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl;)V(WebAppServletContext.java:3892)
>> at
>> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
>> at
>> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
>> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown
>> Source)
>> Caused by: javax.xml.stream.XMLStreamException: File does not exist in the
>> Service Repository! File=META-INF/ServiceData.xml
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.getInputStream(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/io/InputStream;(DataRetrievalUtil.java:103)
>> at
>> org.apache.axis2.dataretrieval.DataRetrievalUtil.buildOM(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;(DataRetrievalUtil.java:60)
>> ... 21 more
>> 2008-06-12 09:37:33,049 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,080 [DEBUG] XMLStreamReader is
>> com.ctc.wstx.sr.ValidatingStreamReader
>> 2008-06-12 09:37:33,284 [DEBUG] XMLStreamWriter is
>> com.ctc.wstx.sw.SimpleNsStreamWriter
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>