Re: WG: An exception when porting from axis2 1.1.1 to axis 1.2

2007-07-03 Thread Anthony Bull




I've had to roll back to using Axis 1.1.1 because of similar problems
to this - I get this same error while connecting a 1.2 or 1.1.1 client
to a 1.2 service via a JMS transport. However both clients work fine
against a 1.1.1 service over JMS.

There seem to be a LOT of missing resource bundle entries for Axis 1.2
- so I can never find the root of my problems, because all that gets
logged is the resource bundle exception.



Stadelmann Josef wrote:

  Hy all,

I have the same problem but no answer given so far matches my demand.

When Client compiles against axis2-1.2, engages addressing-1.1.mar and then talks to an axis2-1.1.1 service, herby engaging addressing-1.1.mar all is ok

Client code compiled with axis2-1.2  addressing-1.2.mar engaged works fined talking to an axis2-1.1.1 Service which has addressing-1.1.mar engaged.

When I port my Service to axis2-1.2, engaging addressing-1.2.mar the stacke trace below happens, and the trouble starts at the server with at the line

	at java.util.ResourceBundle.getObject(ResourceBundle.java:325)#xd;  indicated below.

This call can raise an exception 
	a) if the key is not present 
	b) if no object is returned; 
and that is where the problem starts. The rest is just a follow up in my mind.

Please note I send  wsa:Actionurn:login/wsa:Actionon the wire, this as per TCP-Monitor


My PC has Windows 2000/SP4 and runs a U.S. English but cultures are set to Swiss-German for currency and the like; 
also I can see the same problem when my axis2-1.2 server with addressin-1.2.mar engaged runs on a HP Alpha OpenVMS machine, U.S. English only.

I am a bit confused !


question: where is the Resource Bundel in question which must have 

	a) the key: spec.FAULT_ACTION_NOT_SUPPORTED_REASON  ?

and 	b) what shall be returned by that key ?


question: is there a later nigthly build of addressing-1.2.mar which potentially fixes the problem seen?



Amy help appreciated.
Thanks
Josef.Stadelmann
@winterthur.ch







My TcpMonitor Log'ed

*** Request from Client ***

POST /axis2/services/SpezplaService HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: "urn:login"
User-Agent: Axis2
Host: localhost:9090
Transfer-Encoding: chunked

219
?xml version='1.0' encoding='UTF-8'?
   soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  soapenv:Header
 wsa:Tohttp://localhost:9090/axis2/services/SpezplaService/wsa:To
 wsa:MessageIDurn:uuid:474EEFF146963E51071183381718923/wsa:MessageID
 wsa:Actionurn:login/wsa:Action
  /soapenv:Header
  soapenv:Body
 SPS:login xmlns:SPS="http://axawl.org/SpezplaService"
SPS:TextAxis2 'SOAPSession' Login-String/SPS:Text
 /SPS:login
  /soapenv:Body
   /soapenv:Envelope


 Answer from Server ***

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 02 Jul 2007 13:08:40 GMT
Connection: close

fbb
?xml version='1.0' encoding='UTF-8'?
   soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  soapenv:Header
 wsa:Actionhttp://www.w3.org/2005/08/addressing/soap/fault/wsa:Action
 wsa:RelatesTourn:uuid:474EEFF146963E51071183381718923/wsa:RelatesTo
  /soapenv:Header
  soapenv:Body
 soapenv:Fault
faultcodesoapenv:Client/faultcode
faultstringjava.util.MissingResourceException: 
		Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, 
		key spec.FAULT_ACTION_NOT_SUPPORTED_REASON/faultstring
detail
   Exceptionorg.apache.axis2.AxisFault: java.util.MissingResourceException: 
		Can't find resource for bundle org.apache.axis2.i18n.ProjectResourceBundle, 
		key spec.FAULT_ACTION_NOT_SUPPORTED_REASON#xd;
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:178)#xd;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)#xd;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)#xd;
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)#xd;
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)#xd;
	at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)#xd;
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)#xd;
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)#xd;
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)#xd;
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)#xd;
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)#xd;
	at 

WG: An exception when porting from axis2 1.1.1 to axis 1.2

2007-07-02 Thread Stadelmann Josef

Hy all,

I have the same problem but no answer given so far matches my demand.

When Client compiles against axis2-1.2, engages addressing-1.1.mar and then 
talks to an axis2-1.1.1 service, herby engaging addressing-1.1.mar all is ok

Client code compiled with axis2-1.2  addressing-1.2.mar engaged works fined 
talking to an axis2-1.1.1 Service which has addressing-1.1.mar engaged.

When I port my Service to axis2-1.2, engaging addressing-1.2.mar the stacke 
trace below happens, and the trouble starts at the server with at the line

at java.util.ResourceBundle.getObject(ResourceBundle.java:325)#xd;  
indicated below.

This call can raise an exception 
a) if the key is not present 
b) if no object is returned; 
and that is where the problem starts. The rest is just a follow up in my mind.

Please note I send  wsa:Actionurn:login/wsa:Actionon the wire, this 
as per TCP-Monitor


My PC has Windows 2000/SP4 and runs a U.S. English but cultures are set to 
Swiss-German for currency and the like; 
also I can see the same problem when my axis2-1.2 server with addressin-1.2.mar 
engaged runs on a HP Alpha OpenVMS machine, U.S. English only.

I am a bit confused !


question: where is the Resource Bundel in question which must have 

a) the key: spec.FAULT_ACTION_NOT_SUPPORTED_REASON  ?

and b) what shall be returned by that key ?


question: is there a later nigthly build of addressing-1.2.mar which 
potentially fixes the problem seen?



Amy help appreciated.
Thanks
Josef.Stadelmann
@winterthur.ch







My TcpMonitor Log'ed

*** Request from Client ***

POST /axis2/services/SpezplaService HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: urn:login
User-Agent: Axis2
Host: localhost:9090
Transfer-Encoding: chunked

219
?xml version='1.0' encoding='UTF-8'?
   soapenv:Envelope xmlns:wsa=http://www.w3.org/2005/08/addressing; 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
  soapenv:Header
 wsa:Tohttp://localhost:9090/axis2/services/SpezplaService/wsa:To
 wsa:MessageIDurn:uuid:474EEFF146963E51071183381718923/wsa:MessageID
 wsa:Actionurn:login/wsa:Action
  /soapenv:Header
  soapenv:Body
 SPS:login xmlns:SPS=http://axawl.org/SpezplaService;
SPS:TextAxis2 'SOAPSession' Login-String/SPS:Text
 /SPS:login
  /soapenv:Body
   /soapenv:Envelope


 Answer from Server ***

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Mon, 02 Jul 2007 13:08:40 GMT
Connection: close

fbb
?xml version='1.0' encoding='UTF-8'?
   soapenv:Envelope xmlns:wsa=http://www.w3.org/2005/08/addressing; 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
  soapenv:Header
 
wsa:Actionhttp://www.w3.org/2005/08/addressing/soap/fault/wsa:Action
 wsa:RelatesTourn:uuid:474EEFF146963E51071183381718923/wsa:RelatesTo
  /soapenv:Header
  soapenv:Body
 soapenv:Fault
faultcodesoapenv:Client/faultcode
faultstringjava.util.MissingResourceException: 
Can't find resource for bundle 
org.apache.axis2.i18n.ProjectResourceBundle, 
key spec.FAULT_ACTION_NOT_SUPPORTED_REASON/faultstring
detail
   Exceptionorg.apache.axis2.AxisFault: 
java.util.MissingResourceException: 
Can't find resource for bundle 
org.apache.axis2.i18n.ProjectResourceBundle, 
key spec.FAULT_ACTION_NOT_SUPPORTED_REASON#xd;
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:178)#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)#xd;
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)#xd;
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)#xd;
at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)#xd;
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)#xd;
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)#xd;
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)#xd;
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)#xd;
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)#xd;
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)#xd;
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)#xd;
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)#xd;
at