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 Michele Mazzucco <Mi...@ncl.ac.uk> on 2007/05/16 11:43:18 UTC
Re: [Axis2] MissingResourceException on execution client with
Axis2.1.2
Stephane,
I faced a similar problem some time ago (it was related to the
addressing module). Try to set the log level for axis2 to trace.
Michele
On Wed, 2007-05-16 at 11:19 +0200, Stephane Roy wrote:
> Hi,
>
> Here's my problem. I developed a web service with Axis2.1.1.1 in adb
> mode and everything works fine.
> I tried to migrate this web service in Axis2.1.2 but it's not working.
>
> I generated the code in adb mode for the server and deployed it. I
> generated the code in adb mode for the client and I managed to compile
> the code. Now when I start the client, I have this error:
>
> org.apache.axis2.AxisFault: java.util.MissingResourceException: Can't
> find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle,
> key spec.FAULT_ACTION_NOT_SUPPORTED_REASON
> at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
> at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
> at my.package.myServiceStub.myMethod(myServiceStub.java:173)
> ...
>
> I would like to know if someone had this kind of problem before.
> Since the problem is not present with Axis2.1.1.1, is this behavior a
> known issue or a limitation of Axis2.1.2 ?
>
> Thanks in advance.
>
> Stephane Roy
> Alcatel-Lucent
>
>
> ---------------------------------------------------------------------
> 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: [Axis2] MissingResourceException on execution client with Axis2.1.2
Posted by Stephane Roy <st...@alcatel-lucent.fr>.
Michele Mazzucco wrote:
> Stephane,
>
> in commons-logging.properties enable the last line (log4j logger) and in
> log4j.properties set the first one to:
> log4j.rootCategory=TRACE, CONSOLE, LOGFILE
> (be aware that it produces *a lot* of logs)
>
> Michele
Thanks for the details.
Stephane Roy
Alcatel-Lucent
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] MissingResourceException on execution client
with Axis2.1.2
Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Stephane,
in commons-logging.properties enable the last line (log4j logger) and in
log4j.properties set the first one to:
log4j.rootCategory=TRACE, CONSOLE, LOGFILE
(be aware that it produces *a lot* of logs)
Michele
On Wed, 2007-05-16 at 11:56 +0200, Stephane Roy wrote:
> Hi Michele,
>
> Michele Mazzucco wrote:
> > Stephane,
> >
> > I faced a similar problem some time ago (it was related to the
> > addressing module). Try to set the log level for axis2 to trace.
> >
> > Michele
>
> I'm quite new to Axis2. How do I set the log level for axis2 to trace ?
> I guess I have to modify the file
> <tomcat>/webapps/axis2/WEB-INF/classes/log4j.properties but I'm not
> familiar with the syntax.
> Thanks in advance for your help.
>
> Stephane Roy
> Alcatel-Lucent
>
>
> ---------------------------------------------------------------------
> 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: [Axis2] MissingResourceException on execution client with Axis2.1.2
Posted by Stephane Roy <st...@alcatel-lucent.fr>.
Hi Michele,
Michele Mazzucco wrote:
> Stephane,
>
> I faced a similar problem some time ago (it was related to the
> addressing module). Try to set the log level for axis2 to trace.
>
> Michele
I'm quite new to Axis2. How do I set the log level for axis2 to trace ?
I guess I have to modify the file
<tomcat>/webapps/axis2/WEB-INF/classes/log4j.properties but I'm not
familiar with the syntax.
Thanks in advance for your help.
Stephane Roy
Alcatel-Lucent
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2] MissingResourceException on execution client with Axis2.1.2
Posted by Stephane Roy <st...@alcatel-lucent.fr>.
It appears that I found the solution to my problem. By analysing the web
service example of the Axis2 tutorial, I noticed that the WSDL included
this definition:
>>>
elementFormDefault="qualified"
>>>
Since I didn't have it in my web service, I added this definition in my
XSD and the MissingResourceException doesn't not occurr anymore !
Hope this info will be useful to the community.
Stephane Roy
Alcatel-Lucent
Michele Mazzucco wrote:
> Stephane,
>
> I faced a similar problem some time ago (it was related to the
> addressing module). Try to set the log level for axis2 to trace.
>
>
> Michele
>
> On Wed, 2007-05-16 at 11:19 +0200, Stephane Roy wrote:
>> Hi,
>>
>> Here's my problem. I developed a web service with Axis2.1.1.1 in adb
>> mode and everything works fine.
>> I tried to migrate this web service in Axis2.1.2 but it's not working.
>>
>> I generated the code in adb mode for the server and deployed it. I
>> generated the code in adb mode for the client and I managed to compile
>> the code. Now when I start the client, I have this error:
>>
>> org.apache.axis2.AxisFault: java.util.MissingResourceException: Can't
>> find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle,
>> key spec.FAULT_ACTION_NOT_SUPPORTED_REASON
>> at
>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
>> at my.package.myServiceStub.myMethod(myServiceStub.java:173)
>> ...
>>
>> I would like to know if someone had this kind of problem before.
>> Since the problem is not present with Axis2.1.1.1, is this behavior a
>> known issue or a limitation of Axis2.1.2 ?
>>
>> Thanks in advance.
>>
>> Stephane Roy
>> Alcatel-Lucent
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org