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 Guillaume Sauthier <Gu...@objectweb.org> on 2004/09/01 13:08:19 UTC

Re: [jira] Commented: (AXIS-1535) Dynamic Proxy should delegate all Object methods to its internal Call instance

Hi
I'm behind a firewall and use a proxy to access internet and I've got 
this error :
    {http://xml.apache.org/axis/}HttpErrorCode:500

(500)Error from proxy
    at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:663)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)

Can you try yourself ? I've tried with different proxies (with/without 
authentication) and I always fails.

I set test.functional.fail property to "no"  and nothing else fails in 
the tests.

Guillaume

Ias wrote:

>>I'm not passing all-tests.
>>i've got this error, but I thinks that's not related to my 
>>change because, as long as I can remember, I always got this error :
>>
>>    [junit] - Testing single file attachment...
>>     [java] In echo
>>     [java] Received "javax.activation.DataHandler".
>>    [junit] - Testing multiple file attachments...
>>     [java] In echoDir
>>     [java] Got 16 attachments!
>>    [junit] - Testing single file DIME attachment...
>>     [java] In echo
>>     [java] Received "javax.activation.DataHandler".
>>    [junit] - Testing multiple file DIME attachments...
>>     [java] In echoDir
>>     [java] Got 16 attachments!
>>    [junit] - Testing attachment references...
>>     [java] In message handling attachments directly.
>>     [java] Now is the time for all good men to come to the 
>>aid of their country.
>>     [java] In message handling attachments directly.
>>     [java] Now is the time for all good men to come to the 
>>aid of their country.
>>    [junit] - Testing undeployment...
>>    [junit] - Test complete.
>>    [junit] Tests run: 44, Failures: 0, Errors: 1, Time 
>>elapsed: 93,186 sec
>>    
>>
>
>I think you missed one :-) Could you figure out what it is from
>test-report/test.functional.FunctionalTests.xml?
>
>Thanks,
>
>Ias
>
>  
>
>>     [java] - TCPListener received new connection: 
>>Socket[addr=/127.0.0.1,port=59203,localport=8088]
>>     [java] - AxisListener quitting.
>>stop-functional-test-http-server:
>>     [echo] Stopping test http server.
>>     [java] - Administration service requested to quit, quitting.
>>     [java] - SimpleAxisServer quitting.
>>     [java] - SimpleAxisServer quitting.
>>     [java] <Admin> quitting.</Admin>
>>[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop
>>successfully sent quit message.
>>BUILD FAILED: 
>>/home/sauthieg/sandboxes/ws-projects/ws-axis/build.xml:336: 
>>The following error occurred while executing this line:
>>/home/sauthieg/sandboxes/ws-projects/ws-axis/buildTest.xml:249
>>: The following error occurred while executing this line:
>>/home/sauthieg/sandboxes/ws-projects/ws-axis/buildTest.xml:177
>>: Test test.functional.FunctionalTests failed Total time: 26 
>>minutes 30 seconds
>>
>>Regards
>>Guillaume
>>
>>
>>axis-dev@ws.apache.org wrote:
>>
>>    
>>
>>>The following comment has been added to this issue:
>>>
>>>    Author: Ias
>>>   Created: Tue, 31 Aug 2004 7:52 AM
>>>      Body:
>>>Could you check out that your patch passes "ant clean all-tests"?
>>>
>>>---------------------------------------------------------------------
>>>View this comment:
>>> 
>>>http://issues.apache.org/jira/browse/AXIS-1535?page=comments#
>>>      
>>>
>>action_379
>>    
>>
>>>64
>>>
>>>---------------------------------------------------------------------
>>>View the issue:
>>> http://issues.apache.org/jira/browse/AXIS-1535
>>>
>>>Here is an overview of the issue:
>>>---------------------------------------------------------------------
>>>       Key: AXIS-1535
>>>   Summary: Dynamic Proxy should delegate all Object 
>>>      
>>>
>>methods to its internal Call instance
>>    
>>
>>>      Type: Bug
>>>
>>>    Status: Open
>>>  Priority: Minor
>>>
>>>   Project: Axis
>>>Components: 
>>>            Basic Architecture
>>>
>>>  Assignee: Ias
>>>  Reporter: Guillaume Sauthier
>>>
>>>   Created: Tue, 31 Aug 2004 5:37 AM
>>>   Updated: Tue, 31 Aug 2004 7:52 AM
>>>
>>>Description:
>>>If a user want to log a Dynamic Proxy, the AxisClientProxy 
>>>      
>>>
>>will try to invoke(via RPC) the toString method call to its 
>>internal Call instance.
>>    
>>
>>>But the Call do not find the toString operation and fails 
>>>      
>>>
>>with ServiceException.
>>    
>>
>>>By delegating the java.lang.Object methods call to the 
>>>      
>>>
>>internal Call instance, we are sure that theses basic 
>>operations are handled correctly.
>>    
>>
>>>I'm working on a patch...
>>>
>>>
>>>---------------------------------------------------------------------
>>>JIRA INFORMATION:
>>>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
>>>
>>>If you want more information on JIRA, or have a bug to report see:
>>>  http://www.atlassian.com/software/jira
>>>
>>>
>>> 
>>>
>>>      
>>>
>>    
>>
>
>  
>


RE: [jira] Commented: (AXIS-1535) Dynamic Proxy should delegate all Object methods to its internal Call instance

Posted by Ias <ia...@hotmail.com>.
I think the problem comes from TestJAXMSamples using
http://66.28.98.121:9090/soap, which seems unavailable. Apart from that,
your patch passes all tests, so I'm ready to commit it. The real problem is,
my SOCKS proxy server doesn't work now, so I can't connect Apache CVS! I
couldn't help but hoping your patience for a while (probably in a couple of
days).

Thanks,

Ias

> -----Original Message-----
> From: Guillaume Sauthier [mailto:Guillaume.Sauthier@objectweb.org] 
> Sent: Wednesday, September 01, 2004 12:08 PM
> To: axis-dev@ws.apache.org
> Subject: Re: [jira] Commented: (AXIS-1535) Dynamic Proxy 
> should delegate all Object methods to its internal Call instance
> 
> Hi
> I'm behind a firewall and use a proxy to access internet and 
> I've got this error :
>     {http://xml.apache.org/axis/}HttpErrorCode:500
> 
> (500)Error from proxy
>     at
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPS
> ender.java:663)
>     at 
> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
> 
> Can you try yourself ? I've tried with different proxies (with/without
> authentication) and I always fails.
> 
> I set test.functional.fail property to "no"  and nothing else 
> fails in the tests.
> 
> Guillaume
> 
> Ias wrote:
> 
> >>I'm not passing all-tests.
> >>i've got this error, but I thinks that's not related to my change 
> >>because, as long as I can remember, I always got this error :
> >>
> >>    [junit] - Testing single file attachment...
> >>     [java] In echo
> >>     [java] Received "javax.activation.DataHandler".
> >>    [junit] - Testing multiple file attachments...
> >>     [java] In echoDir
> >>     [java] Got 16 attachments!
> >>    [junit] - Testing single file DIME attachment...
> >>     [java] In echo
> >>     [java] Received "javax.activation.DataHandler".
> >>    [junit] - Testing multiple file DIME attachments...
> >>     [java] In echoDir
> >>     [java] Got 16 attachments!
> >>    [junit] - Testing attachment references...
> >>     [java] In message handling attachments directly.
> >>     [java] Now is the time for all good men to come to the aid of 
> >>their country.
> >>     [java] In message handling attachments directly.
> >>     [java] Now is the time for all good men to come to the aid of 
> >>their country.
> >>    [junit] - Testing undeployment...
> >>    [junit] - Test complete.
> >>    [junit] Tests run: 44, Failures: 0, Errors: 1, Time
> >>elapsed: 93,186 sec
> >>    
> >>
> >
> >I think you missed one :-) Could you figure out what it is from 
> >test-report/test.functional.FunctionalTests.xml?
> >
> >Thanks,
> >
> >Ias
> >
> >  
> >
> >>     [java] - TCPListener received new connection: 
> >>Socket[addr=/127.0.0.1,port=59203,localport=8088]
> >>     [java] - AxisListener quitting.
> >>stop-functional-test-http-server:
> >>     [echo] Stopping test http server.
> >>     [java] - Administration service requested to quit, quitting.
> >>     [java] - SimpleAxisServer quitting.
> >>     [java] - SimpleAxisServer quitting.
> >>     [java] <Admin> quitting.</Admin>
> >>[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop
> >>successfully sent quit message.
> >>BUILD FAILED: 
> >>/home/sauthieg/sandboxes/ws-projects/ws-axis/build.xml:336: 
> >>The following error occurred while executing this line:
> >>/home/sauthieg/sandboxes/ws-projects/ws-axis/buildTest.xml:249
> >>: The following error occurred while executing this line:
> >>/home/sauthieg/sandboxes/ws-projects/ws-axis/buildTest.xml:177
> >>: Test test.functional.FunctionalTests failed Total time: 
> 26 minutes 
> >>30 seconds
> >>
> >>Regards
> >>Guillaume
> >>
> >>
> >>axis-dev@ws.apache.org wrote:
> >>
> >>    
> >>
> >>>The following comment has been added to this issue:
> >>>
> >>>    Author: Ias
> >>>   Created: Tue, 31 Aug 2004 7:52 AM
> >>>      Body:
> >>>Could you check out that your patch passes "ant clean all-tests"?
> >>>
> >>>-----------------------------------------------------------
> ----------
> >>>View this comment:
> >>> 
> >>>http://issues.apache.org/jira/browse/AXIS-1535?page=comments#
> >>>      
> >>>
> >>action_379
> >>    
> >>
> >>>64
> >>>
> >>>-----------------------------------------------------------
> ----------
> >>>View the issue:
> >>> http://issues.apache.org/jira/browse/AXIS-1535
> >>>
> >>>Here is an overview of the issue:
> >>>-----------------------------------------------------------
> ----------
> >>>       Key: AXIS-1535
> >>>   Summary: Dynamic Proxy should delegate all Object
> >>>      
> >>>
> >>methods to its internal Call instance
> >>    
> >>
> >>>      Type: Bug
> >>>
> >>>    Status: Open
> >>>  Priority: Minor
> >>>
> >>>   Project: Axis
> >>>Components: 
> >>>            Basic Architecture
> >>>
> >>>  Assignee: Ias
> >>>  Reporter: Guillaume Sauthier
> >>>
> >>>   Created: Tue, 31 Aug 2004 5:37 AM
> >>>   Updated: Tue, 31 Aug 2004 7:52 AM
> >>>
> >>>Description:
> >>>If a user want to log a Dynamic Proxy, the AxisClientProxy
> >>>      
> >>>
> >>will try to invoke(via RPC) the toString method call to its 
> internal 
> >>Call instance.
> >>    
> >>
> >>>But the Call do not find the toString operation and fails
> >>>      
> >>>
> >>with ServiceException.
> >>    
> >>
> >>>By delegating the java.lang.Object methods call to the
> >>>      
> >>>
> >>internal Call instance, we are sure that theses basic 
> operations are 
> >>handled correctly.
> >>    
> >>
> >>>I'm working on a patch...
> >>>
> >>>
> >>>-----------------------------------------------------------
> ----------
> >>>JIRA INFORMATION:
> >>>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
> >>>
> >>>If you want more information on JIRA, or have a bug to report see:
> >>>  http://www.atlassian.com/software/jira
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>    
> >>
> >
> >  
> >
> 
>