Re: Migrating axis2-1.8.2

Amit Patil <[email protected]> Mon, 27 May 2024 04:20:00 +0530
Newsgroups gmane.text.xml.axis.user
Message-ID <CAKHBusNDEdSyXWxeuZErWMtW2njdcjhRCm-yFZ8cL6D1QX4DKQ@mail.gmail.com>
--000000000000294f7e06196339b8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for the clarification,
Can you please confirm a couple of things, Can I officially take the master
branch of the axis2 repository and compile it to use in my code? and
I am getting the following error while building.

> [ERROR] Errors:
> [ERROR]   ServiceClientTest.testWSDLWithImportsFromZIP:50 =C2=BB AccessCo=
ntrol
> access denied ("java.io.FilePermission"
> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-a=
xis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
> "read")
> [ERROR]   URIResolverTest.testResolveEntity:33 =C2=BB AccessControl acces=
s
> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
> [ERROR]   WSDLLocatorTest.testGetInputSource:33 =C2=BB AccessControl acce=
ss
> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
> [INFO]
> [ERROR] Tests run: 380, Failures: 0, Errors: 3, Skipped: 0
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Axis2 - Kernel 1.8.3-SNAPSHOT:
> [INFO]
> [INFO] Apache Axis2 - Kernel .............................. FAILURE [
> 41.271 s]
>

This is because of Java Security Manager blocking access to certain
resources (files and URLs) required by the tests. I will try to solve this
but can you tell if I am missing anything here?


Thanks,
Amit Patil

On Mon, 27 May 2024 at 03:39, robertlazarski <[email protected]>
wrote:

> The license is open source via the Apache license at all times - the only
> difference with an official release of 1.8.3 is binaries that can be load=
ed
> via Maven and direct links.
>
> On Sun, May 26, 2024 at 12:06=E2=80=AFPM robertlazarski <robertlazarski@g=
mail.com>
> wrote:
>
>> This is the repo - only missing feature is OSGI as it may get dropped if
>> we don't get a volunteer.
>>
>> Beyond that, the only expected difference is httpclient4 instead of
>> httpclient5 ... which is going to be more stable for the next month or t=
wo.
>>
>> https://github.com/apache/axis-axis2-java-core
>>
>> On Sun, May 26, 2024 at 11:52=E2=80=AFAM Amit Patil <amitpatil12.ap67@gm=
ail.com>
>> wrote:
>>
>>> Hi,
>>> Thank you so much for the response. Can you please provide me with the
>>> link to the right branch or tag? I will try to compile from source as o=
f
>>> now. But we are not authorized to use the product which has not been
>>> released yet with a licence. Although it will be good for testing for n=
ow
>>> and communicating with the customer for future roadmap.
>>> Also is there any other workaround for this?
>>>
>>> Thanks for the help,
>>> Amit Patil
>>>
>>> On Mon, 27 May 2024 at 03:06, robertlazarski <[email protected]>
>>> wrote:
>>>
>>>> Tomcat 10 supports axis2 via the legacyAppBase folder - see the Tomcat
>>>> 10 docs for details.
>>>>
>>>> Axis 1.8.3 will support jakarta and the only thing holding up the
>>>> release is httpclient5 which isn't related to jakarta at all ... you c=
an
>>>> check out the Axis2 github repo and compile from source now if you are=
 so
>>>> inclined.
>>>>
>>>> The httpclient5 upgrade ended up being harder than expected due to som=
e
>>>> Axis2 quirks that goes deep into the architecture and the classic API
>>>> changing more that it would appear.
>>>>
>>>> Nevertheless, progress continues.
>>>>
>>>> On Sun, May 26, 2024 at 11:21=E2=80=AFAM Amit Patil <amitpatil12.ap67@=
gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>> I am a software developer in a MNC working on developing web
>>>>> applications in java. Currently I am in the middle of a task of migra=
ting
>>>>> my code from javax to jakarta because we are upgrading to tomcat 10. =
We use *axis2
>>>>> 1.8.2 *in our code which consists of some javax jars and code
>>>>> snippets with javax use in it.
>>>>> I want to know whether to upgrade the binaries used in axis2-1.8.2
>>>>> manually or is there any other way of doing it? Does tomcat 10 suppor=
t
>>>>> axis2-1.8.2?
>>>>> Can you please guide me what I should do in this situation?
>>>>>
>>>>>
>>>>> Kind regards,
>>>>> Amit Patil
>>>>>
>>>>

--000000000000294f7e06196339b8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the clarification,<br><div>Can you please confi=
rm a couple of things, Can I officially take the master branch of the axis2=
 repository and compile it to use in my code? and<br>I am getting the follo=
wing error while building.=C2=A0<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">[ERROR] Errors: <br>[ERROR] =C2=A0 ServiceClientTest.testWSDLWit=
hImportsFromZIP:50 =C2=BB AccessControl access denied (&quot;java.io.FilePe=
rmission&quot; &quot;jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-=
core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!=
\test.wsdl&quot; &quot;read&quot;)<br>[ERROR] =C2=A0 URIResolverTest.testRe=
solveEntity:33 =C2=BB AccessControl access denied (&quot;java.io.FilePermis=
sion&quot; &quot;http:\<a href=3D"http://www.test.org">www.test.org</a>\sch=
ema.xsd&quot; &quot;read&quot;)<br>[ERROR] =C2=A0 WSDLLocatorTest.testGetIn=
putSource:33 =C2=BB AccessControl access denied (&quot;java.io.FilePermissi=
on&quot; &quot;http:\<a href=3D"http://www.test.org">www.test.org</a>\schem=
a.xsd&quot; &quot;read&quot;)<br>[INFO]<br>[ERROR] Tests run: 380, Failures=
: 0, Errors: 3, Skipped: 0<br>[INFO]<br>[INFO] ----------------------------=
--------------------------------------------<br>[INFO] Reactor Summary for =
Apache Axis2 - Kernel 1.8.3-SNAPSHOT:<br>[INFO]<br>[INFO] Apache Axis2 - Ke=
rnel .............................. FAILURE [ 41.271 s]<br></blockquote><di=
v><br>This is because of Java Security Manager blocking access to certain r=
esources (files and URLs) required by the tests. I will try to solve this b=
ut can you tell if I am missing anything here?=C2=A0<br><br><br>Thanks,<br>=
Amit Patil</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"=
 class=3D"gmail_attr">On Mon, 27 May 2024 at 03:39, robertlazarski &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D=
"ltr">The license is open source via the Apache license at all times - the =
only difference with an official release of 1.8.3 is binaries that can be l=
oaded via Maven and direct links. <br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, May 26, 2024 at 12:06=E2=80=
=AFPM robertlazarski &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>This is the repo =
- only missing feature is OSGI as it may get dropped if we don&#39;t get a =
volunteer. <br></div><div><br></div><div>Beyond that, the only expected dif=
ference is httpclient4 instead of httpclient5 ... which is going to be more=
 stable for the next month or two. <br></div><div><br></div><div><a href=3D=
"https://github.com/apache/axis-axis2-java-core" target=3D"_blank">https://=
github.com/apache/axis-axis2-java-core</a></div></div><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, May 26, 2024 at 11:=
52=E2=80=AFAM Amit Patil &lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi,<div>Thank =
you so much for the response. Can you please provide me with the link to th=
e right branch or tag? I will try to compile from source as of now. But we =
are not authorized to use the product=C2=A0which has not been released yet =
with=C2=A0a licence. Although=C2=A0it will be good for testing for now and =
communicating with the customer for future=C2=A0roadmap.=C2=A0<br>Also is t=
here any other workaround for this?=C2=A0<br><br>Thanks for the=C2=A0help,<=
br>Amit Patil</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Mon, 27 May 2024 at 03:06, robertlazarski &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">robertlazarski@gmail=
.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><div dir=3D"ltr"><div>Tomcat 10 supports axis2 via the <span style=3D"f=
ont-family:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(=
255,255,255)">legacyAppBase folder - see the Tomcat 10 docs for details. <b=
r></span></span></div><div><span style=3D"font-family:monospace"><span styl=
e=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span>=
</div><div><span style=3D"font-family:monospace"><span style=3D"color:rgb(0=
,0,0);background-color:rgb(255,255,255)">Axis 1.8.3 will support jakarta an=
d the only thing holding up the release is httpclient5 which isn&#39;t rela=
ted to jakarta at all ... you can check out the Axis2 github repo and compi=
le from source now if you are so inclined. <br></span></span></div><div><sp=
an style=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);backgrou=
nd-color:rgb(255,255,255)"><br></span></span></div><div><span style=3D"font=
-family:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255=
,255,255)">The httpclient5 upgrade ended up being harder than expected due =
to some Axis2 quirks that goes deep into the architecture and the classic A=
PI changing more that it would appear. <br></span></span></div><div><span s=
tyle=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);background-c=
olor:rgb(255,255,255)"><br></span></span></div><div><span style=3D"font-fam=
ily:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255=
,255)">Nevertheless, progress continues. <br></span></span></div><div><span=
 style=3D"font-family:monospace"></span></div></div><br><div class=3D"gmail=
_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, May 26, 2024 at 11:21=
=E2=80=AFAM Amit Patil &lt;<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hello,=C2=A0<br>=
<div>I am a software developer in a MNC working on developing web applicati=
ons in java. Currently I am in the middle of a task of migrating my code fr=
om javax to jakarta because we are upgrading to tomcat 10. We use=C2=A0<b>a=
xis2 1.8.2=C2=A0</b>in our code which consists of some javax jars and code =
snippets with javax use in it.=C2=A0<br>I want to know whether to upgrade t=
he binaries used in axis2-1.8.2 manually or is there any other way of doing=
 it? Does tomcat 10 support axis2-1.8.2?=C2=A0<br>Can you please guide me w=
hat I should do in this situation?<br><br><br>Kind regards,<br>Amit Patil</=
div><div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--000000000000294f7e06196339b8--