cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff.Yu" <jeff...@iona.com>
Subject Re: svn commit: r583017 - /incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
Date Tue, 09 Oct 2007 04:41:05 GMT
Hi, Glen

Are you building it under cxf trunk or cxf-2.0.3 branch?
 From the error stack, I would say you didn't use the latest jca-module 
code. Can you check the CXFConnectionRequestInfo class? it should have 
the empty constructor with latest version.

Thanks
Jeff

Glen Mazza wrote:
> There is already another test in this same file ignored for the same
> reason.  Dan said he doesn't know what the problem is with this one,
> it's an intermittent Linux problem that I'm also experiencing with
> Ubuntu Linux 7.0.4.  
>
> Now that I know how to keep the tests running even if there is an error,
> I'll remove "ignore" in a few minutes.  I don't need it anymore.
>
> Next problem, though, running mvn test in the systests is giving me this
> failure:
>
> [INFO] Error for project: Apache CXF System Tests (during test)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[107,47]
cannot find symbol
> symbol  : constructor CXFConnectionRequestInfo()
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[108,19]
cannot find symbol
> symbol  : method
> setInterface(java.lang.Class<org.apache.hello_world_soap_http.Greeter>)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> /home/gmazza/netbeanswork/CXF-TRNK2/trunk/systests/src/test/java/org/apache/cxf/systest/jca/OutBoundConnectionTest.java:[109,19]
cannot find symbol
> symbol  : method setAddress(java.lang.String)
> location: class org.apache.cxf.jca.cxf.CXFConnectionRequestInfo
>
> Does anyone know what (if anything) I'm doing wrong to cause this to
> occur?  Is there some external library I need to download?
>
> Thanks,
> Glen
>
>
> Am Dienstag, den 09.10.2007, 10:16 +0800 schrieb Bozhong Lin:
>   
>> Hi Glen,
>>
>> Do you plan to revisit this later? I never experienced this test hang on 
>> SUSE Linux. Instead of ignoring this test, we should fix the test if 
>> there is any issue.
>>
>> Cheers,
>> Bo
>>
>> gmazza@apache.org wrote:
>>     
>>> Author: gmazza
>>> Date: Mon Oct  8 17:27:03 2007
>>> New Revision: 583017
>>>
>>> URL: http://svn.apache.org/viewvc?rev=583017&view=rev
>>> Log:
>>> Test commit; ignoring one of the tests (does not work with Linux).
>>>
>>> Modified:
>>>     incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
>>>
>>> Modified: incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
>>> URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java?rev=583017&r1=583016&r2=583017&view=diff
>>> ==============================================================================
>>> --- incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
(original)
>>> +++ incubator/cxf/trunk/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/RoundTripTest.java
Mon Oct  8 17:27:03 2007
>>> @@ -100,6 +100,7 @@
>>>          assertEquals("test", echo.echo("test"));
>>>      }
>>>      @Test
>>> +    @Ignore("Seems to randomly hang on Linux")
>>>      public void testUsernameToken() throws Exception {
>>>          String actions = WSHandlerConstants.ENCRYPT + " " + WSHandlerConstants.SIGNATURE
+ " "
>>>                           + WSHandlerConstants.TIMESTAMP + " " + WSHandlerConstants.USERNAME_TOKEN;
>>>
>>>   
>>>       
>
>   

Mime
View raw message