You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jason Pell <ja...@pellcorp.com> on 2013/08/01 00:41:35 UTC

Re: Error when building CXF

I have never tried to build on Windows either. If you dont have a proxy in
your way can you turn off firewall temporarily? In the past cxf has needed
internet connection for downloading schemas and such
On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:

> A proxy server can certainly affect building cxf.i generally don't even
> try to build cxf at work.
> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>
>> Hello again.
>>
>> I've run the build (with the "-Pfastinstall" option) on another computer
>> with different system settings (firewal etc.) and it's succeeded. Then I
>> ran the build without the "fastistall" option and it failed at
>> cxf-rt-transports-udp.
>>
>> So I assume that the success and failure somehow depend on the
>> environment. On Windows, a system popup came with the message that the
>> windows firewall has blocked some functions of Java SE binary.
>>
>> What are the conditions for all the tests to pass? Are they known?
>>
>

Re: Error when building CXF

Posted by Aki Yoshida <el...@gmail.com>.
for upgrading some maven plugin that i mentioned, i just created  CXF-5171.

2013/8/1 Aki Yoshida <el...@gmail.com>:
> I still use 3.0.4 and haven't tried to build with 3.1.
> | heard of one issue with 3.1 with the version of maven-shade-plugin
> which we still in use in cxf. So we will need to update this version.
> But I suppose you are getting errors somewhere else.
>
> In principle, the cxf build should work behind a firewall assuming
> either you have already downloaded artifacts in your local repo or you
> have a local nexus access that can access the central repo. One thing
> you need to watch out under a typical corporate windows setup is the
> virus checker or any intrusion prevention filters that might be
> running on your system (like M*fee). Some tests need to open tcp ports
> to the localhost and these tests will fail if something is blocking
> these calls.
>
> The only issue which I currently have under windows is with the
> maven-eclipse-plugin for cxf-systests-databinding and
> cxf-systests-codegen. The window's directory path is not correctly
> handled somehow. I started to see this problem recently. But this is
> only relevant if you run mvn -Psetup.eclipse or later mvn
> eclipse:eclipse, etc and it has nothing to do with the normal mvn full
> build itself.
>
> regards, aki
>
>
> 2013/8/1 Al Le <al...@gmx.de>:
>> I use the latest released version, i.e. 3.1.0. I've set up maven in a way
>> (specified the proxy) so that it does not have any problems with downloading
>> artefacts. But the build as a whole still fails.
>>
>> OK, if it's a known possible problem I'll try to get another build computer.
>>
>> Thank you for the responses!
>>
>>
>>
>> On 01.08.2013 00:44, Daniel Kulp wrote:
>>>
>>>
>>> Also, what version of maven are you using?   Definitely use 3.0.4 or
>>> 3.1.0.
>>>
>>> Dan
>>>
>>>
>>> On Jul 31, 2013, at 6:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>>
>>>> I have never tried to build on Windows either. If you dont have a proxy
>>>> in
>>>> your way can you turn off firewall temporarily? In the past cxf has
>>>> needed
>>>> internet connection for downloading schemas and such
>>>> On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:
>>>>
>>>>> A proxy server can certainly affect building cxf.i generally don't even
>>>>> try to build cxf at work.
>>>>> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>>>>>
>>>>>> Hello again.
>>>>>>
>>>>>> I've run the build (with the "-Pfastinstall" option) on another
>>>>>> computer
>>>>>> with different system settings (firewal etc.) and it's succeeded. Then
>>>>>> I
>>>>>> ran the build without the "fastistall" option and it failed at
>>>>>> cxf-rt-transports-udp.
>>>>>>
>>>>>> So I assume that the success and failure somehow depend on the
>>>>>> environment. On Windows, a system popup came with the message that the
>>>>>> windows firewall has blocked some functions of Java SE binary.
>>>>>>
>>>>>> What are the conditions for all the tests to pass? Are they known?
>>>>>>
>>>>>
>>>
>>

Re: Error when building CXF

Posted by Aki Yoshida <el...@gmail.com>.
I still use 3.0.4 and haven't tried to build with 3.1.
| heard of one issue with 3.1 with the version of maven-shade-plugin
which we still in use in cxf. So we will need to update this version.
But I suppose you are getting errors somewhere else.

In principle, the cxf build should work behind a firewall assuming
either you have already downloaded artifacts in your local repo or you
have a local nexus access that can access the central repo. One thing
you need to watch out under a typical corporate windows setup is the
virus checker or any intrusion prevention filters that might be
running on your system (like M*fee). Some tests need to open tcp ports
to the localhost and these tests will fail if something is blocking
these calls.

The only issue which I currently have under windows is with the
maven-eclipse-plugin for cxf-systests-databinding and
cxf-systests-codegen. The window's directory path is not correctly
handled somehow. I started to see this problem recently. But this is
only relevant if you run mvn -Psetup.eclipse or later mvn
eclipse:eclipse, etc and it has nothing to do with the normal mvn full
build itself.

regards, aki


2013/8/1 Al Le <al...@gmx.de>:
> I use the latest released version, i.e. 3.1.0. I've set up maven in a way
> (specified the proxy) so that it does not have any problems with downloading
> artefacts. But the build as a whole still fails.
>
> OK, if it's a known possible problem I'll try to get another build computer.
>
> Thank you for the responses!
>
>
>
> On 01.08.2013 00:44, Daniel Kulp wrote:
>>
>>
>> Also, what version of maven are you using?   Definitely use 3.0.4 or
>> 3.1.0.
>>
>> Dan
>>
>>
>> On Jul 31, 2013, at 6:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>
>>> I have never tried to build on Windows either. If you dont have a proxy
>>> in
>>> your way can you turn off firewall temporarily? In the past cxf has
>>> needed
>>> internet connection for downloading schemas and such
>>> On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:
>>>
>>>> A proxy server can certainly affect building cxf.i generally don't even
>>>> try to build cxf at work.
>>>> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>>>>
>>>>> Hello again.
>>>>>
>>>>> I've run the build (with the "-Pfastinstall" option) on another
>>>>> computer
>>>>> with different system settings (firewal etc.) and it's succeeded. Then
>>>>> I
>>>>> ran the build without the "fastistall" option and it failed at
>>>>> cxf-rt-transports-udp.
>>>>>
>>>>> So I assume that the success and failure somehow depend on the
>>>>> environment. On Windows, a system popup came with the message that the
>>>>> windows firewall has blocked some functions of Java SE binary.
>>>>>
>>>>> What are the conditions for all the tests to pass? Are they known?
>>>>>
>>>>
>>
>

Re: Error when building CXF

Posted by Jason Pell <ja...@pellcorp.com>.
I have managed to get it working behind a non auth proxy by passing in the
http proxy system properties on mvn command line. These are separate to the
m2 settings file properties.
On 01/08/2013 2:28 PM, "Al Le" <al...@gmx.de> wrote:

> I use the latest released version, i.e. 3.1.0. I've set up maven in a way
> (specified the proxy) so that it does not have any problems with
> downloading artefacts. But the build as a whole still fails.
>
> OK, if it's a known possible problem I'll try to get another build
> computer.
>
> Thank you for the responses!
>
>
> On 01.08.2013 00:44, Daniel Kulp wrote:
>
>>
>> Also, what version of maven are you using?   Definitely use 3.0.4 or
>> 3.1.0.
>>
>> Dan
>>
>>
>> On Jul 31, 2013, at 6:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>>
>>  I have never tried to build on Windows either. If you dont have a proxy
>>> in
>>> your way can you turn off firewall temporarily? In the past cxf has
>>> needed
>>> internet connection for downloading schemas and such
>>> On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:
>>>
>>>  A proxy server can certainly affect building cxf.i generally don't even
>>>> try to build cxf at work.
>>>> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>>>>
>>>>  Hello again.
>>>>>
>>>>> I've run the build (with the "-Pfastinstall" option) on another
>>>>> computer
>>>>> with different system settings (firewal etc.) and it's succeeded. Then
>>>>> I
>>>>> ran the build without the "fastistall" option and it failed at
>>>>> cxf-rt-transports-udp.
>>>>>
>>>>> So I assume that the success and failure somehow depend on the
>>>>> environment. On Windows, a system popup came with the message that the
>>>>> windows firewall has blocked some functions of Java SE binary.
>>>>>
>>>>> What are the conditions for all the tests to pass? Are they known?
>>>>>
>>>>>
>>>>
>>

Re: Error when building CXF

Posted by Al Le <al...@gmx.de>.
I use the latest released version, i.e. 3.1.0. I've set up maven in a 
way (specified the proxy) so that it does not have any problems with 
downloading artefacts. But the build as a whole still fails.

OK, if it's a known possible problem I'll try to get another build computer.

Thank you for the responses!


On 01.08.2013 00:44, Daniel Kulp wrote:
>
> Also, what version of maven are you using?   Definitely use 3.0.4 or 3.1.0.
>
> Dan
>
>
> On Jul 31, 2013, at 6:41 PM, Jason Pell <ja...@pellcorp.com> wrote:
>
>> I have never tried to build on Windows either. If you dont have a proxy in
>> your way can you turn off firewall temporarily? In the past cxf has needed
>> internet connection for downloading schemas and such
>> On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:
>>
>>> A proxy server can certainly affect building cxf.i generally don't even
>>> try to build cxf at work.
>>> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>>>
>>>> Hello again.
>>>>
>>>> I've run the build (with the "-Pfastinstall" option) on another computer
>>>> with different system settings (firewal etc.) and it's succeeded. Then I
>>>> ran the build without the "fastistall" option and it failed at
>>>> cxf-rt-transports-udp.
>>>>
>>>> So I assume that the success and failure somehow depend on the
>>>> environment. On Windows, a system popup came with the message that the
>>>> windows firewall has blocked some functions of Java SE binary.
>>>>
>>>> What are the conditions for all the tests to pass? Are they known?
>>>>
>>>
>

Re: Error when building CXF

Posted by Daniel Kulp <dk...@apache.org>.
Also, what version of maven are you using?   Definitely use 3.0.4 or 3.1.0.

Dan


On Jul 31, 2013, at 6:41 PM, Jason Pell <ja...@pellcorp.com> wrote:

> I have never tried to build on Windows either. If you dont have a proxy in
> your way can you turn off firewall temporarily? In the past cxf has needed
> internet connection for downloading schemas and such
> On 01/08/2013 6:59 AM, "Jason Pell" <ja...@pellcorp.com> wrote:
> 
>> A proxy server can certainly affect building cxf.i generally don't even
>> try to build cxf at work.
>> On 01/08/2013 6:09 AM, "Al Le" <al...@gmx.de> wrote:
>> 
>>> Hello again.
>>> 
>>> I've run the build (with the "-Pfastinstall" option) on another computer
>>> with different system settings (firewal etc.) and it's succeeded. Then I
>>> ran the build without the "fastistall" option and it failed at
>>> cxf-rt-transports-udp.
>>> 
>>> So I assume that the success and failure somehow depend on the
>>> environment. On Windows, a system popup came with the message that the
>>> windows firewall has blocked some functions of Java SE binary.
>>> 
>>> What are the conditions for all the tests to pass? Are they known?
>>> 
>> 

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com