You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <tu...@ws.apache.org> on 2006/05/02 22:38:46 UTC

[jira] Created: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Static DataObjects are not correctly deserialized from WS request messages
--------------------------------------------------------------------------

         Key: TUSCANY-258
         URL: http://issues.apache.org/jira/browse/TUSCANY-258
     Project: Tuscany
        Type: Bug

  Components: Java SCA Axis Binding, Java SDO Implementation  
    Reporter: ant elder
    Priority: Blocker


All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 

To reproduce run BB
URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
logon with test/password 

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


[jira] Closed: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-258?page=all ]
     
ant elder closed TUSCANY-258:
-----------------------------


> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Versions: M1
>     Reporter: ant elder
>     Assignee: ant elder
>     Priority: Blocker
>      Fix For: M1

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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


[jira] Resolved: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-258?page=all ]
     
ant elder resolved TUSCANY-258:
-------------------------------

    Resolution: Fixed

> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Versions: M1
>     Reporter: ant elder
>     Assignee: ant elder
>     Priority: Blocker
>      Fix For: M1

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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


[jira] Commented: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-258?page=comments#action_12377533 ] 

ant elder commented on TUSCANY-258:
-----------------------------------

This is yet another classloader issue similar to TUSCANY-253 and all the others. 

As a hack trying switching back to a saved version or the original thread context class loader gets past this and the fromOMElement call works...but then the BB accountservice fails as, you guessed it,  its using the wrong class loader so gets back a dynamic DataObject, hacking in a fix for that gets past that...but then converting that back to an OMElement fails due to...using the wrong class loader! 

The current code seems to have a fundamental design flaw in the way the current classloader is swapped back and forth between the web app classloader and the Tuscany system classloader.

> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Reporter: ant elder
>     Priority: Blocker

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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


[jira] Commented: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-258?page=comments#action_12377583 ] 

ant elder commented on TUSCANY-258:
-----------------------------------

I've committed a change in  r399310 which seems to fix most of these problems. Still needs a bit of tidying up but may get you going for now... 

> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Reporter: ant elder
>     Assignee: ant elder
>     Priority: Blocker

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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


[jira] Assigned: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-258?page=all ]

ant elder reassigned TUSCANY-258:
---------------------------------

    Assign To: ant elder

> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Reporter: ant elder
>     Assignee: ant elder
>     Priority: Blocker

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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


[jira] Updated: (TUSCANY-258) Static DataObjects are not correctly deserialized from WS request messages

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-258?page=all ]

Jean-Sebastien Delfino updated TUSCANY-258:
-------------------------------------------

    Fix Version: 0.91
        Version: 0.91

> Static DataObjects are not correctly deserialized from WS request messages
> --------------------------------------------------------------------------
>
>          Key: TUSCANY-258
>          URL: http://issues.apache.org/jira/browse/TUSCANY-258
>      Project: Tuscany
>         Type: Bug

>   Components: Java SCA Axis Binding, Java SDO Implementation
>     Versions: 0.91
>     Reporter: ant elder
>     Assignee: ant elder
>     Priority: Blocker
>      Fix For: 0.91

>
> All WS entryPoints that used static DataObjects fail as the incoming SOAP message doesn't get correctly deserialized. Instead of getting a single DataObject back from dataBinding.fromOMElement(requestOM) it returns an array of 5 other objects, all SDO type things. 
> To reproduce run BB
> URL to start http://localhost:8080/webclient-SNAPSHOT/login.html
> logon with test/password 

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