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 "Jipa, Alexandru-Stefan" <Al...@finastra.com> on 2020/10/01 14:22:37 UTC

Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Hi,

We are trying to upgrade xalan and commons fileupload to the latest version, so we are trying to make a custom
Axis2 (from 1.7.9) until it will be released a new axis2, but we encounter some problems generated by the commons fileupload 1.4.
First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in README, so is it outdated?), but it worked with Maven 3,
how it was reported in the error. We are using openjdk 1.8.0_252. So we can compile axis2 1.7.9 without changing anything.
When we try to compile with the sources of the new commons fileupload 1.4 we get a failed test: Apache Axis2 - OSGi Tests.
We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload 1.4, but we got the same failed test.
If we try the latest io 2.8, or even 2.7 it failes the compilation way faster.
Also we tried with io 2.6 and we get the same test failed as default (io 2.1) or as 2.2.
Are we doing something wrong or are needed other changes/upgrades?

I attached a file with the errors.

Thanks,
Stefan Jipa
"FINASTRA" is the trade name of the FINASTRA group of companies. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and FINASTRA. Please refer to the executed contract between you and the relevant member of the FINASTRA group for the identity of the contracting party with which you are dealing.

Re: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Posted by robertlazarski <ro...@gmail.com>.
The latest code in git has commons-fileupload 1.4 though the OSGI unit test
is still failing.

Anyways, you can still build by skipping the unit tests, then access the
war as shown:

git clone https://github.com/apache/axis-axis2-java-core.git

mvn -Dmaven.javadoc.skip=true -Dmaven.test.skip.exec clean install

war:

axis-axis2-java-core/modules/distribution/target/axis2-1.8.0-SNAPSHOT/dist/axis2.war


On Thu, Oct 8, 2020 at 2:22 PM robertlazarski <ro...@gmail.com>
wrote:

> There is some type of OSGI issue in Felix - I am new to both as I never
> used them personally.
>
> One of our committers, apparently ran into this issue. I am trying to set
> the right break point since the original Exception isn't getting logged.  I
> still haven't figured it out, but I am working on it.
>
>
> http://veithen.io/2015/06/03/felix-stream-handler-unavailable-due-to-null.html
>
> On Thu, Oct 8, 2020 at 4:58 AM Jipa, Alexandru-Stefan <
> AlexandruStefan.Jipa@finastra.com> wrote:
>
>> Hi,
>>
>>
>>
>> Do you any update for this issue, have you tried to integrate fileupload
>> 1.4 in axis2 package?
>>
>>
>>
>> And one more thing, we succeeded in compiling axis2-1.7.9 only with xalan
>> 2.7.2 upgraded, but after this
>>
>> what do we have to do in order to generate the axis2.war file, like the
>> one which can be downloaded your page
>>
>> https://axis.apache.org/axis2/java/core/download.html (WAR distribution)
>> ?
>>
>>
>>
>> Thanks,
>>
>> Stefan Jipa
>>
>>
>>
>> *From:* Jipa, Alexandru-Stefan
>> *Sent:* Tuesday, October 6, 2020 10:24 AM
>> *To:* 'java-dev@axis.apache.org' <ja...@axis.apache.org>
>> *Subject:* RE: Upgrading manually xalan 2.7.2 and commons fileupload 1.4
>> in axis2-1.7.9
>>
>>
>>
>> Hi,
>>
>>
>>
>> Can you give any information about this issue? It is urgent for us to
>> make a custom version with those
>>
>> 2 upgrades.
>>
>>
>>
>> Thanks,
>>
>> Stefan Jipa
>>
>>
>>
>> *From:* Jipa, Alexandru-Stefan
>> *Sent:* Thursday, October 1, 2020 5:23 PM
>> *To:* java-dev@axis.apache.org
>> *Subject:* Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in
>> axis2-1.7.9
>>
>>
>>
>> Hi,
>>
>>
>>
>> We are trying to upgrade xalan and commons fileupload to the latest
>> version, so we are trying to make a custom
>>
>> Axis2 (from 1.7.9) until it will be released a new axis2, but we
>> encounter some problems generated by the commons fileupload 1.4.
>>
>> First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in
>> README, so is it outdated?), but it worked with Maven 3,
>>
>> how it was reported in the error. We are using openjdk 1.8.0_252. So we
>> can compile axis2 1.7.9 without changing anything.
>>
>> When we try to compile with the sources of the new commons fileupload 1.4
>> we get a failed test: Apache Axis2 - OSGi Tests.
>>
>> We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload
>> 1.4, but we got the same failed test.
>>
>> If we try the latest io 2.8, or even 2.7 it failes the compilation way
>> faster.
>>
>> Also we tried with io 2.6 and we get the same test failed as default (io
>> 2.1) or as 2.2.
>>
>> Are we doing something wrong or are needed other changes/upgrades?
>>
>>
>>
>> I attached a file with the errors.
>>
>>
>>
>> Thanks,
>>
>> Stefan Jipa
>> "FINASTRA" is the trade name of the FINASTRA group of companies. This
>> email and any attachments have been scanned for known viruses using
>> multiple scanners. This email message is intended for the named recipient
>> only. It may be privileged and/or confidential. If you are not the named
>> recipient of this email please notify us immediately and do not copy it or
>> use it for any purpose, nor disclose its contents to any other person. This
>> email does not constitute the commencement of legal relations between you
>> and FINASTRA. Please refer to the executed contract between you and the
>> relevant member of the FINASTRA group for the identity of the contracting
>> party with which you are dealing.
>>
>

Re: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Posted by robertlazarski <ro...@gmail.com>.
There is some type of OSGI issue in Felix - I am new to both as I never
used them personally.

One of our committers, apparently ran into this issue. I am trying to set
the right break point since the original Exception isn't getting logged.  I
still haven't figured it out, but I am working on it.

http://veithen.io/2015/06/03/felix-stream-handler-unavailable-due-to-null.html

On Thu, Oct 8, 2020 at 4:58 AM Jipa, Alexandru-Stefan <
AlexandruStefan.Jipa@finastra.com> wrote:

> Hi,
>
>
>
> Do you any update for this issue, have you tried to integrate fileupload
> 1.4 in axis2 package?
>
>
>
> And one more thing, we succeeded in compiling axis2-1.7.9 only with xalan
> 2.7.2 upgraded, but after this
>
> what do we have to do in order to generate the axis2.war file, like the
> one which can be downloaded your page
>
> https://axis.apache.org/axis2/java/core/download.html (WAR distribution) ?
>
>
>
> Thanks,
>
> Stefan Jipa
>
>
>
> *From:* Jipa, Alexandru-Stefan
> *Sent:* Tuesday, October 6, 2020 10:24 AM
> *To:* 'java-dev@axis.apache.org' <ja...@axis.apache.org>
> *Subject:* RE: Upgrading manually xalan 2.7.2 and commons fileupload 1.4
> in axis2-1.7.9
>
>
>
> Hi,
>
>
>
> Can you give any information about this issue? It is urgent for us to make
> a custom version with those
>
> 2 upgrades.
>
>
>
> Thanks,
>
> Stefan Jipa
>
>
>
> *From:* Jipa, Alexandru-Stefan
> *Sent:* Thursday, October 1, 2020 5:23 PM
> *To:* java-dev@axis.apache.org
> *Subject:* Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in
> axis2-1.7.9
>
>
>
> Hi,
>
>
>
> We are trying to upgrade xalan and commons fileupload to the latest
> version, so we are trying to make a custom
>
> Axis2 (from 1.7.9) until it will be released a new axis2, but we encounter
> some problems generated by the commons fileupload 1.4.
>
> First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in
> README, so is it outdated?), but it worked with Maven 3,
>
> how it was reported in the error. We are using openjdk 1.8.0_252. So we
> can compile axis2 1.7.9 without changing anything.
>
> When we try to compile with the sources of the new commons fileupload 1.4
> we get a failed test: Apache Axis2 - OSGi Tests.
>
> We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload
> 1.4, but we got the same failed test.
>
> If we try the latest io 2.8, or even 2.7 it failes the compilation way
> faster.
>
> Also we tried with io 2.6 and we get the same test failed as default (io
> 2.1) or as 2.2.
>
> Are we doing something wrong or are needed other changes/upgrades?
>
>
>
> I attached a file with the errors.
>
>
>
> Thanks,
>
> Stefan Jipa
> "FINASTRA" is the trade name of the FINASTRA group of companies. This
> email and any attachments have been scanned for known viruses using
> multiple scanners. This email message is intended for the named recipient
> only. It may be privileged and/or confidential. If you are not the named
> recipient of this email please notify us immediately and do not copy it or
> use it for any purpose, nor disclose its contents to any other person. This
> email does not constitute the commencement of legal relations between you
> and FINASTRA. Please refer to the executed contract between you and the
> relevant member of the FINASTRA group for the identity of the contracting
> party with which you are dealing.
>

RE: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Posted by "Jipa, Alexandru-Stefan" <Al...@finastra.com>.
Hi,

Do you any update for this issue, have you tried to integrate fileupload 1.4 in axis2 package?

And one more thing, we succeeded in compiling axis2-1.7.9 only with xalan 2.7.2 upgraded, but after this
what do we have to do in order to generate the axis2.war file, like the one which can be downloaded your page
https://axis.apache.org/axis2/java/core/download.html (WAR distribution) ?

Thanks,
Stefan Jipa

From: Jipa, Alexandru-Stefan
Sent: Tuesday, October 6, 2020 10:24 AM
To: 'java-dev@axis.apache.org' <ja...@axis.apache.org>
Subject: RE: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Hi,

Can you give any information about this issue? It is urgent for us to make a custom version with those
2 upgrades.

Thanks,
Stefan Jipa

From: Jipa, Alexandru-Stefan
Sent: Thursday, October 1, 2020 5:23 PM
To: java-dev@axis.apache.org<ma...@axis.apache.org>
Subject: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Hi,

We are trying to upgrade xalan and commons fileupload to the latest version, so we are trying to make a custom
Axis2 (from 1.7.9) until it will be released a new axis2, but we encounter some problems generated by the commons fileupload 1.4.
First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in README, so is it outdated?), but it worked with Maven 3,
how it was reported in the error. We are using openjdk 1.8.0_252. So we can compile axis2 1.7.9 without changing anything.
When we try to compile with the sources of the new commons fileupload 1.4 we get a failed test: Apache Axis2 - OSGi Tests.
We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload 1.4, but we got the same failed test.
If we try the latest io 2.8, or even 2.7 it failes the compilation way faster.
Also we tried with io 2.6 and we get the same test failed as default (io 2.1) or as 2.2.
Are we doing something wrong or are needed other changes/upgrades?

I attached a file with the errors.

Thanks,
Stefan Jipa
"FINASTRA" is the trade name of the FINASTRA group of companies. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and FINASTRA. Please refer to the executed contract between you and the relevant member of the FINASTRA group for the identity of the contracting party with which you are dealing.

RE: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Posted by "Jipa, Alexandru-Stefan" <Al...@finastra.com>.
Hi,

Can you give any information about this issue? It is urgent for us to make a custom version with those
2 upgrades.

Thanks,
Stefan Jipa

From: Jipa, Alexandru-Stefan
Sent: Thursday, October 1, 2020 5:23 PM
To: java-dev@axis.apache.org
Subject: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Hi,

We are trying to upgrade xalan and commons fileupload to the latest version, so we are trying to make a custom
Axis2 (from 1.7.9) until it will be released a new axis2, but we encounter some problems generated by the commons fileupload 1.4.
First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in README, so is it outdated?), but it worked with Maven 3,
how it was reported in the error. We are using openjdk 1.8.0_252. So we can compile axis2 1.7.9 without changing anything.
When we try to compile with the sources of the new commons fileupload 1.4 we get a failed test: Apache Axis2 - OSGi Tests.
We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload 1.4, but we got the same failed test.
If we try the latest io 2.8, or even 2.7 it failes the compilation way faster.
Also we tried with io 2.6 and we get the same test failed as default (io 2.1) or as 2.2.
Are we doing something wrong or are needed other changes/upgrades?

I attached a file with the errors.

Thanks,
Stefan Jipa
"FINASTRA" is the trade name of the FINASTRA group of companies. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and FINASTRA. Please refer to the executed contract between you and the relevant member of the FINASTRA group for the identity of the contracting party with which you are dealing.

Re: Upgrading manually xalan 2.7.2 and commons fileupload 1.4 in axis2-1.7.9

Posted by robertlazarski <ro...@gmail.com>.
Yes this is a known issue as I ran into it myself a few weeks ago.

I never used the OSGI part of Axis2, but anyways we are planning a release
around the end of this year and we'll definitely update these deps.

In the meantime, we switched to Github earlier this year - see below. Feel
free to suggest a patch to fix the issue. Otherwise I'll get to it at some
point soon.

 git clone https://github.com/apache/axis-axis2-java-core.git

Robert

On Thu, Oct 1, 2020 at 4:32 AM Jipa, Alexandru-Stefan <
AlexandruStefan.Jipa@finastra.com> wrote:

> Hi,
>
>
>
> We are trying to upgrade xalan and commons fileupload to the latest
> version, so we are trying to make a custom
>
> Axis2 (from 1.7.9) until it will be released a new axis2, but we encounter
> some problems generated by the commons fileupload 1.4.
>
> First of all we cant compile axis2 1.7.9 with Maven 2 (how is written in
> README, so is it outdated?), but it worked with Maven 3,
>
> how it was reported in the error. We are using openjdk 1.8.0_252. So we
> can compile axis2 1.7.9 without changing anything.
>
> When we try to compile with the sources of the new commons fileupload 1.4
> we get a failed test: Apache Axis2 - OSGi Tests.
>
> We tried to upgrade commons io to 2.2, as it is a dependcy for fileuload
> 1.4, but we got the same failed test.
>
> If we try the latest io 2.8, or even 2.7 it failes the compilation way
> faster.
>
> Also we tried with io 2.6 and we get the same test failed as default (io
> 2.1) or as 2.2.
>
> Are we doing something wrong or are needed other changes/upgrades?
>
>
>
> I attached a file with the errors.
>
>
>
> Thanks,
>
> Stefan Jipa
> "FINASTRA" is the trade name of the FINASTRA group of companies. This
> email and any attachments have been scanned for known viruses using
> multiple scanners. This email message is intended for the named recipient
> only. It may be privileged and/or confidential. If you are not the named
> recipient of this email please notify us immediately and do not copy it or
> use it for any purpose, nor disclose its contents to any other person. This
> email does not constitute the commencement of legal relations between you
> and FINASTRA. Please refer to the executed contract between you and the
> relevant member of the FINASTRA group for the identity of the contracting
> party with which you are dealing.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org