Multi-Threading issues with JRuby 1.3RC1 and soap4r
---------------------------------------------------

                 Key: JRUBY-3638
                 URL: http://jira.codehaus.org/browse/JRUBY-3638
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.3RC1
         Environment: All
            Reporter: Jean-Dominique Morani
            Priority: Blocker
             Fix For: JRuby 1.3


When running a multi-threaded stress test on an SOAP4R based application that 
was running properly on JRuby 1.2, all kind of random errors are triggered when 
running the exact same stress test with JRuby 1.3RC1. Most of the errrors 
happens in SOAP4R and REXML.
Here is a sample of exception being returned :

A SOAPException occured: illegal parent: #<SOAP::SOAPEnvelope:0x70f470f4>
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/encodingstyle/soapHandler.rb:247:in
 `decode_parent'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/encodingstyle/soapHandler.rb:122:in
 `as_struct'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/encodingstyle/soapHandler.rb:195:in
 `decode_tag_end'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/parser.rb:185:in
 `decode_tag_end'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/parser.rb:165:in
 `end_element'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/xmlparser/parser.rb:79:in
 `end_element'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/xmlparser/rexmlparser.rb:38:in
 `tag_end'
/xtransact/sx048jm/atb/jruby_src/jruby/lib/ruby/1.8/rexml/parsers/streamparser.rb:26:in
 `parse'
/xtransact/sx048jm/atb/jruby_src/jruby/lib/ruby/1.8/rexml/document.rb:201:in 
`parse_stream'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/xsd/xmlparser/rexmlparser.rb:27:in
 `do_parse'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/parser.rb:102:in
 `parse'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/processor.rb:39:in
 `unmarshal'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/router.rb:316:in
 `unmarshal'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/router.rb:161:in
 `route'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/soaplet.rb:97:in
 `do_POST'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:565:in
 `protect_threadvars'

or

A SOAPException occured: undefined method `body' for 
#<SOAP::SOAPStruct:0x5a1a5a1a>
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/soaplet.rb:97:in
 `do_POST'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:565:in
 `protect_threadvars'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/soaplet.rb:94:in
 `do_POST'

or

/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/router.rb:274:in
 `lookup_operation'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/router.rb:165:in
 `route'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/rpc/soaplet.rb:97:in
 `do_POST'
/xtransact/sx048jm/atb/atb/bin/jruby/gems/1.8/gems/soap4r-1.5.8/lib/soap/mapping/mapping.rb:565:in
 `protect_threadvars'


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to