You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Amit Patil <am...@gmail.com> on 2024/05/26 21:19:36 UTC
Migrating axis2-1.8.2
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 migrating 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 support axis2-1.8.2?
Can you please guide me what I should do in this situation?
Kind regards,
Amit Patil
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
I recently compiled the current GitHub repo from source that will soon be
1.8.3 and it runs fine on Wildly 32 - which is Jakarta compliant on.the
latest standards.
Development is pretty much complete but we are short on volunteers and we
need to push out the current state of Rampart and Axiom first as
prerequisites.
So, the release of 1.8.3 is moving forward but not exactly quickly due to
that we are all volunteers and there isn't many of us.
On Sun, Jun 30, 2024, 17:40 Amir Razi <am...@yahoo.com> wrote:
> Is axis 1.8.3 ( which is expected to supports Java 17 and Jakarta) going
> to be released soon?
>
> I appreciate your support since we are migrating to EAP 8 and Java 17 and
> getting some runtime errors with Axis 2 1.8.2.
>
>
>
> On Sunday, May 26, 2024 at 08:22:57 PM EDT, robertlazarski <
> robertlazarski@gmail.com> wrote:
>
>
> Might want to use openjdk.
>
> On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com>
> wrote:
>
> Okay, I will also try with the latest version of jdk and try to compile.
>
> On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
> wrote:
>
> Your JDK is a little dated though I am unsure if that matters; mine comes
> with recent Ubuntu:
>
> openjdk version "17.0.10" 2024-01-16
> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
> sharing)
>
> On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com>
> wrote:
>
> No idea, I am not seeing these issues anywhere else - locally, on GitHub -
> however I don't doubt there is a problem as this is the unstable master
> branch and I run Ubuntu locally.
>
> We are moving to JDK 17 as jakarta requires it and at a glance it compiles
> ok on my local machine but I see the following locations that need compiler
> section changes.
>
> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
> ./modules/tool/axis2-java2w
> sdl-maven-plugin/target/it/test1/pom.xml
> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>
> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
> wrote:
>
> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
> issue with
>
> java.lang.NullPointerException: Cannot invoke
> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
> null
>
>
> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am
> facing the same issue as before with the access issue.
>
> Is this because of some configuration issue in my local machine? Because I
> can see that the build is passed in git.
>
> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
> wrote:
>
> Shoule source and target in parent pom.xml be 17?
>
> <configuration>
> <source>1.8</source>
> <target>1.8</target>
> </configuration>
>
> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
> wrote:
>
> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
> not then I suggest trying the command used to build with GitHub Actions:
>
> mvn -B -e -Papache-release -Dgpg.skip=true verify
>
>
> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>
> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
> wrote:
>
> Yes I am using jdk 17.
> permission java.io.FilePermission "C:\\Program Files\\Eclipse
> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>
> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
> wrote:
>
> You need to compile with JDK 17.
>
> On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
> wrote:
>
> 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 » AccessControl
> access denied ("java.io.FilePermission"
> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
> "read")
> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
> 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 <ro...@gmail.com>
> 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 loaded
> via Maven and direct links.
>
> On Sun, May 26, 2024 at 12:06 PM robertlazarski <ro...@gmail.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 two.
>
> https://github.com/apache/axis-axis2-java-core
>
> On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
> 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 now
> 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 <ro...@gmail.com>
> 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 can 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 some
> 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 AM Amit Patil <am...@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 migrating 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 support
> axis2-1.8.2?
> Can you please guide me what I should do in this situation?
>
>
> Kind regards,
> Amit Patil
>
>
Re: Migrating axis2-1.8.2
Posted by Amir Razi <am...@yahoo.com.INVALID>.
Is axis 1.8.3 ( which is expected to supports Java 17 and Jakarta) going to be released soon?
I appreciate your support since we are migrating to EAP 8 and Java 17 and getting some runtime errors with Axis 2 1.8.2.
On Sunday, May 26, 2024 at 08:22:57 PM EDT, robertlazarski <ro...@gmail.com> wrote:
Might want to use openjdk.
On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com> wrote:
Okay, I will also try with the latest version of jdk and try to compile.
On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com> wrote:
Your JDK is a little dated though I am unsure if that matters; mine comes with recent Ubuntu:
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode, sharing)
On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com> wrote:
No idea, I am not seeing these issues anywhere else - locally, on GitHub - however I don't doubt there is a problem as this is the unstable master branch and I run Ubuntu locally.
We are moving to JDK 17 as jakarta requires it and at a glance it compiles ok on my local machine but I see the following locations that need compiler section changes.
pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml ./modules/tool/axis2-java2w
sdl-maven-plugin/target/it/test1/pom.xml ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com> wrote:
By using this mvn -Dmaven.test.skip.exec clean install I am facing an issue with
java.lang.NullPointerException: Cannot invoke "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is null
And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am facing the same issue as before with the access issue.
Is this because of some configuration issue in my local machine? Because I can see that the build is passed in git.
On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com> wrote:
Shoule source and target in parent pom.xml be 17?
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com> wrote:
Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if not then I suggest trying the command used to build with GitHub Actions:
mvn -B -e -Papache-release -Dgpg.skip=true verify
https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com> wrote:
Yes I am using jdk 17.
permission java.io.FilePermission "C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com> wrote:
You need to compile with JDK 17.
On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com> wrote:
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 » AccessControl access denied ("java.io.FilePermission" "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl" "read")
[ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
[ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access 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 <ro...@gmail.com> 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 loaded via Maven and direct links.
On Sun, May 26, 2024 at 12:06 PM robertlazarski <ro...@gmail.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 two.
https://github.com/apache/axis-axis2-java-core
On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of 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 now 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 <ro...@gmail.com> 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 can 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 some 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 AM Amit Patil <am...@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 migrating 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 support axis2-1.8.2?
Can you please guide me what I should do in this situation?
Kind regards,
Amit Patil
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Got it. Thank you Robert.
On Mon, 27 May 2024 at 06:04, robertlazarski <ro...@gmail.com>
wrote:
> Absolutely you can, I recommend reading the Apache foundation license that
> comes with the code but anyways in effect you can use the code any way you
> like.
>
> On Sun, May 26, 2024 at 2:30 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> Okay sure, I will try to compile with the latest version of openjdk 17.
>> Thank you so much for the help and guidance. One last question, if I
>> successfully compile the current axis2-1.8.3, will it be officially ok to
>> use it in my code?
>>
>> On Mon, 27 May 2024 at 05:52, robertlazarski <ro...@gmail.com>
>> wrote:
>>
>>> Might want to use openjdk.
>>>
>>> On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> Okay, I will also try with the latest version of jdk and try to compile.
>>>>
>>>> On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
>>>> wrote:
>>>>
>>>>> Your JDK is a little dated though I am unsure if that matters; mine
>>>>> comes with recent Ubuntu:
>>>>>
>>>>> openjdk version "17.0.10" 2024-01-16
>>>>> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
>>>>> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
>>>>> sharing)
>>>>>
>>>>> On Sun, May 26, 2024 at 2:00 PM robertlazarski <
>>>>> robertlazarski@gmail.com> wrote:
>>>>>
>>>>>> No idea, I am not seeing these issues anywhere else - locally, on
>>>>>> GitHub - however I don't doubt there is a problem as this is the unstable
>>>>>> master branch and I run Ubuntu locally.
>>>>>>
>>>>>> We are moving to JDK 17 as jakarta requires it and at a glance it
>>>>>> compiles ok on my local machine but I see the following locations that need
>>>>>> compiler section changes.
>>>>>>
>>>>>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>>>>>> ./modules/tool/axis2-java2w
>>>>>> sdl-maven-plugin/target/it/test1/pom.xml
>>>>>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>>>>>
>>>>>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <
>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>
>>>>>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing
>>>>>>> an issue with
>>>>>>>>
>>>>>>>> java.lang.NullPointerException: Cannot invoke
>>>>>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>>>>>> null
>>>>>>>
>>>>>>>
>>>>>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>>> I am facing the same issue as before with the access issue.
>>>>>>>
>>>>>>> Is this because of some configuration issue in my local machine?
>>>>>>> Because I can see that the build is passed in git.
>>>>>>>
>>>>>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Shoule source and target in parent pom.xml be 17?
>>>>>>>>
>>>>>>>> <configuration>
>>>>>>>> <source>1.8</source>
>>>>>>>> <target>1.8</target>
>>>>>>>> </configuration>
>>>>>>>>
>>>>>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <
>>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work
>>>>>>>>> however if not then I suggest trying the command used to build with GitHub
>>>>>>>>> Actions:
>>>>>>>>>
>>>>>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Yes I am using jdk 17.
>>>>>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>>>>>
>>>>>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> You need to compile with JDK 17.
>>>>>>>>>>>
>>>>>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> 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 »
>>>>>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>>>>>> "read")
>>>>>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>>>>>> "read")
>>>>>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 »
>>>>>>>>>>>>> AccessControl access 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 <
>>>>>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>>>>>> robertlazarski@gmail.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 two.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now 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 <
>>>>>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>>>>>> can 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 some 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 AM 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
>>>>>>>>>>>>>>>>> migrating 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
>>>>>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
Absolutely you can, I recommend reading the Apache foundation license that
comes with the code but anyways in effect you can use the code any way you
like.
On Sun, May 26, 2024 at 2:30 PM Amit Patil <am...@gmail.com>
wrote:
> Okay sure, I will try to compile with the latest version of openjdk 17.
> Thank you so much for the help and guidance. One last question, if I
> successfully compile the current axis2-1.8.3, will it be officially ok to
> use it in my code?
>
> On Mon, 27 May 2024 at 05:52, robertlazarski <ro...@gmail.com>
> wrote:
>
>> Might want to use openjdk.
>>
>> On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> Okay, I will also try with the latest version of jdk and try to compile.
>>>
>>> On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
>>> wrote:
>>>
>>>> Your JDK is a little dated though I am unsure if that matters; mine
>>>> comes with recent Ubuntu:
>>>>
>>>> openjdk version "17.0.10" 2024-01-16
>>>> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
>>>> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
>>>> sharing)
>>>>
>>>> On Sun, May 26, 2024 at 2:00 PM robertlazarski <
>>>> robertlazarski@gmail.com> wrote:
>>>>
>>>>> No idea, I am not seeing these issues anywhere else - locally, on
>>>>> GitHub - however I don't doubt there is a problem as this is the unstable
>>>>> master branch and I run Ubuntu locally.
>>>>>
>>>>> We are moving to JDK 17 as jakarta requires it and at a glance it
>>>>> compiles ok on my local machine but I see the following locations that need
>>>>> compiler section changes.
>>>>>
>>>>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>>>>> ./modules/tool/axis2-java2w
>>>>> sdl-maven-plugin/target/it/test1/pom.xml
>>>>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>>>>
>>>>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing
>>>>>> an issue with
>>>>>>>
>>>>>>> java.lang.NullPointerException: Cannot invoke
>>>>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>>>>> null
>>>>>>
>>>>>>
>>>>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>> I am facing the same issue as before with the access issue.
>>>>>>
>>>>>> Is this because of some configuration issue in my local machine?
>>>>>> Because I can see that the build is passed in git.
>>>>>>
>>>>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Shoule source and target in parent pom.xml be 17?
>>>>>>>
>>>>>>> <configuration>
>>>>>>> <source>1.8</source>
>>>>>>> <target>1.8</target>
>>>>>>> </configuration>
>>>>>>>
>>>>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <
>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work
>>>>>>>> however if not then I suggest trying the command used to build with GitHub
>>>>>>>> Actions:
>>>>>>>>
>>>>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>>>>
>>>>>>>>
>>>>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>>>>
>>>>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Yes I am using jdk 17.
>>>>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>>>>
>>>>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> You need to compile with JDK 17.
>>>>>>>>>>
>>>>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> 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 »
>>>>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>>>>> "read")
>>>>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>>>>> "read")
>>>>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>>>>>> access 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 <
>>>>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>>>>> robertlazarski@gmail.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 two.
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>>>>> can 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 some 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 AM 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
>>>>>>>>>>>>>>>> migrating 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
>>>>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Okay sure, I will try to compile with the latest version of openjdk 17.
Thank you so much for the help and guidance. One last question, if I
successfully compile the current axis2-1.8.3, will it be officially ok to
use it in my code?
On Mon, 27 May 2024 at 05:52, robertlazarski <ro...@gmail.com>
wrote:
> Might want to use openjdk.
>
> On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> Okay, I will also try with the latest version of jdk and try to compile.
>>
>> On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
>> wrote:
>>
>>> Your JDK is a little dated though I am unsure if that matters; mine
>>> comes with recent Ubuntu:
>>>
>>> openjdk version "17.0.10" 2024-01-16
>>> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
>>> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
>>> sharing)
>>>
>>> On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com>
>>> wrote:
>>>
>>>> No idea, I am not seeing these issues anywhere else - locally, on
>>>> GitHub - however I don't doubt there is a problem as this is the unstable
>>>> master branch and I run Ubuntu locally.
>>>>
>>>> We are moving to JDK 17 as jakarta requires it and at a glance it
>>>> compiles ok on my local machine but I see the following locations that need
>>>> compiler section changes.
>>>>
>>>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>>>> ./modules/tool/axis2-java2w
>>>> sdl-maven-plugin/target/it/test1/pom.xml
>>>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>>>
>>>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
>>>> wrote:
>>>>
>>>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing
>>>>> an issue with
>>>>>>
>>>>>> java.lang.NullPointerException: Cannot invoke
>>>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>>>> null
>>>>>
>>>>>
>>>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I
>>>>> am facing the same issue as before with the access issue.
>>>>>
>>>>> Is this because of some configuration issue in my local machine?
>>>>> Because I can see that the build is passed in git.
>>>>>
>>>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Shoule source and target in parent pom.xml be 17?
>>>>>>
>>>>>> <configuration>
>>>>>> <source>1.8</source>
>>>>>> <target>1.8</target>
>>>>>> </configuration>
>>>>>>
>>>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <
>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>
>>>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however
>>>>>>> if not then I suggest trying the command used to build with GitHub Actions:
>>>>>>>
>>>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>
>>>>>>>> Yes I am using jdk 17.
>>>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>>>
>>>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> You need to compile with JDK 17.
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> 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 »
>>>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>>>> "read")
>>>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>>>> "read")
>>>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>>>>> access 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 <
>>>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>>>
>>>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>>>> robertlazarski@gmail.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 two.
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>>>>> 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 <
>>>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
Might want to use openjdk.
On Sun, May 26, 2024 at 2:14 PM Amit Patil <am...@gmail.com>
wrote:
> Okay, I will also try with the latest version of jdk and try to compile.
>
> On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
> wrote:
>
>> Your JDK is a little dated though I am unsure if that matters; mine comes
>> with recent Ubuntu:
>>
>> openjdk version "17.0.10" 2024-01-16
>> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
>> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
>> sharing)
>>
>> On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com>
>> wrote:
>>
>>> No idea, I am not seeing these issues anywhere else - locally, on GitHub
>>> - however I don't doubt there is a problem as this is the unstable master
>>> branch and I run Ubuntu locally.
>>>
>>> We are moving to JDK 17 as jakarta requires it and at a glance it
>>> compiles ok on my local machine but I see the following locations that need
>>> compiler section changes.
>>>
>>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>>> ./modules/tool/axis2-java2w
>>> sdl-maven-plugin/target/it/test1/pom.xml
>>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>>
>>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
>>>> issue with
>>>>>
>>>>> java.lang.NullPointerException: Cannot invoke
>>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>>> null
>>>>
>>>>
>>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I
>>>> am facing the same issue as before with the access issue.
>>>>
>>>> Is this because of some configuration issue in my local machine?
>>>> Because I can see that the build is passed in git.
>>>>
>>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>>> wrote:
>>>>
>>>>> Shoule source and target in parent pom.xml be 17?
>>>>>
>>>>> <configuration>
>>>>> <source>1.8</source>
>>>>> <target>1.8</target>
>>>>> </configuration>
>>>>>
>>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however
>>>>>> if not then I suggest trying the command used to build with GitHub Actions:
>>>>>>
>>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>>
>>>>>>
>>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>>
>>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>
>>>>>>> Yes I am using jdk 17.
>>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>>
>>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>>
>>>>>>>> You need to compile with JDK 17.
>>>>>>>>
>>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> 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 »
>>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>>> "read")
>>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>>> "read")
>>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>>>> access 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 <
>>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>>
>>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>>> robertlazarski@gmail.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
>>>>>>>>>>> two.
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>>
>>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>>>> 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 <
>>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Okay, I will also try with the latest version of jdk and try to compile.
On Mon, 27 May 2024 at 05:42, robertlazarski <ro...@gmail.com>
wrote:
> Your JDK is a little dated though I am unsure if that matters; mine comes
> with recent Ubuntu:
>
> openjdk version "17.0.10" 2024-01-16
> OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
> OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
> sharing)
>
> On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com>
> wrote:
>
>> No idea, I am not seeing these issues anywhere else - locally, on GitHub
>> - however I don't doubt there is a problem as this is the unstable master
>> branch and I run Ubuntu locally.
>>
>> We are moving to JDK 17 as jakarta requires it and at a glance it
>> compiles ok on my local machine but I see the following locations that need
>> compiler section changes.
>>
>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>> ./modules/tool/axis2-java2w
>> sdl-maven-plugin/target/it/test1/pom.xml
>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>
>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
>>> issue with
>>>>
>>>> java.lang.NullPointerException: Cannot invoke
>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>> null
>>>
>>>
>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I
>>> am facing the same issue as before with the access issue.
>>>
>>> Is this because of some configuration issue in my local machine? Because
>>> I can see that the build is passed in git.
>>>
>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> Shoule source and target in parent pom.xml be 17?
>>>>
>>>> <configuration>
>>>> <source>1.8</source>
>>>> <target>1.8</target>
>>>> </configuration>
>>>>
>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however
>>>>> if not then I suggest trying the command used to build with GitHub Actions:
>>>>>
>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>
>>>>>
>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>
>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>
>>>>>> Yes I am using jdk 17.
>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>
>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>
>>>>>>> You need to compile with JDK 17.
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>
>>>>>>>> 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 »
>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>> "read")
>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>> "read")
>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>>> access 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 <
>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>> robertlazarski@gmail.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
>>>>>>>>>> two.
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>
>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>>> 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 <
>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>>> 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
>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>
>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
Your JDK is a little dated though I am unsure if that matters; mine comes
with recent Ubuntu:
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-123.10.1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-123.10.1, mixed mode,
sharing)
On Sun, May 26, 2024 at 2:00 PM robertlazarski <ro...@gmail.com>
wrote:
> No idea, I am not seeing these issues anywhere else - locally, on GitHub -
> however I don't doubt there is a problem as this is the unstable master
> branch and I run Ubuntu locally.
>
> We are moving to JDK 17 as jakarta requires it and at a glance it compiles
> ok on my local machine but I see the following locations that need compiler
> section changes.
>
> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
> ./modules/tool/axis2-java2w
> sdl-maven-plugin/target/it/test1/pom.xml
> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>
> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
>> issue with
>>>
>>> java.lang.NullPointerException: Cannot invoke
>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>> null
>>
>>
>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am
>> facing the same issue as before with the access issue.
>>
>> Is this because of some configuration issue in my local machine? Because
>> I can see that the build is passed in git.
>>
>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> Shoule source and target in parent pom.xml be 17?
>>>
>>> <configuration>
>>> <source>1.8</source>
>>> <target>1.8</target>
>>> </configuration>
>>>
>>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>>> wrote:
>>>
>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
>>>> not then I suggest trying the command used to build with GitHub Actions:
>>>>
>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>
>>>>
>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>
>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
>>>> wrote:
>>>>
>>>>> Yes I am using jdk 17.
>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>
>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> You need to compile with JDK 17.
>>>>>>
>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>
>>>>>>> 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 »
>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>> "read")
>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>> "read")
>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>> access 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 <
>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>
>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>> robertlazarski@gmail.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
>>>>>>>>> two.
>>>>>>>>>
>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>> 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 <
>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>> 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
>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>
>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
You can't just replace 1.8.2 jars as there are literally hundreds of Java
source files that were changed to support jakarta.
On Sun, May 26, 2024 at 2:13 PM Amit Patil <am...@gmail.com>
wrote:
> Okay, I understand.
> So will it be ok if I replace the javax jars in the axis2-1.8.2 package we
> are using right now with the jakarta ones? Or will it be officially ok if I
> use the pre compiled axis2-1.8.3 package if I can find it somewhere to use
> in my code? We are already using JDK 17 in our code.
> Which approach should I use? Can you please suggest?
>
> On Mon, 27 May 2024 at 05:31, robertlazarski <ro...@gmail.com>
> wrote:
>
>> No idea, I am not seeing these issues anywhere else - locally, on GitHub
>> - however I don't doubt there is a problem as this is the unstable master
>> branch and I run Ubuntu locally.
>>
>> We are moving to JDK 17 as jakarta requires it and at a glance it
>> compiles ok on my local machine but I see the following locations that need
>> compiler section changes.
>>
>> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
>> ./modules/tool/axis2-java2w
>> sdl-maven-plugin/target/it/test1/pom.xml
>> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>>
>> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
>>> issue with
>>>>
>>>> java.lang.NullPointerException: Cannot invoke
>>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>>> null
>>>
>>>
>>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I
>>> am facing the same issue as before with the access issue.
>>>
>>> Is this because of some configuration issue in my local machine? Because
>>> I can see that the build is passed in git.
>>>
>>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> Shoule source and target in parent pom.xml be 17?
>>>>
>>>> <configuration>
>>>> <source>1.8</source>
>>>> <target>1.8</target>
>>>> </configuration>
>>>>
>>>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however
>>>>> if not then I suggest trying the command used to build with GitHub Actions:
>>>>>
>>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>>
>>>>>
>>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>>
>>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <
>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>
>>>>>> Yes I am using jdk 17.
>>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>>
>>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <
>>>>>> robertlazarski@gmail.com> wrote:
>>>>>>
>>>>>>> You need to compile with JDK 17.
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>>
>>>>>>>> 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 »
>>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>>> "read")
>>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>>> "read")
>>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>>> access 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 <
>>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>>> robertlazarski@gmail.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
>>>>>>>>>> two.
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>>
>>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>>> 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 <
>>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>>> 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
>>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>>
>>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Okay, I understand.
So will it be ok if I replace the javax jars in the axis2-1.8.2 package we
are using right now with the jakarta ones? Or will it be officially ok if I
use the pre compiled axis2-1.8.3 package if I can find it somewhere to use
in my code? We are already using JDK 17 in our code.
Which approach should I use? Can you please suggest?
On Mon, 27 May 2024 at 05:31, robertlazarski <ro...@gmail.com>
wrote:
> No idea, I am not seeing these issues anywhere else - locally, on GitHub -
> however I don't doubt there is a problem as this is the unstable master
> branch and I run Ubuntu locally.
>
> We are moving to JDK 17 as jakarta requires it and at a glance it compiles
> ok on my local machine but I see the following locations that need compiler
> section changes.
>
> pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
> ./modules/tool/axis2-java2w
> sdl-maven-plugin/target/it/test1/pom.xml
> ./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
>
> On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
>> issue with
>>>
>>> java.lang.NullPointerException: Cannot invoke
>>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>>> null
>>
>>
>> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am
>> facing the same issue as before with the access issue.
>>
>> Is this because of some configuration issue in my local machine? Because
>> I can see that the build is passed in git.
>>
>> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> Shoule source and target in parent pom.xml be 17?
>>>
>>> <configuration>
>>> <source>1.8</source>
>>> <target>1.8</target>
>>> </configuration>
>>>
>>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>>> wrote:
>>>
>>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
>>>> not then I suggest trying the command used to build with GitHub Actions:
>>>>
>>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>>
>>>>
>>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>>
>>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
>>>> wrote:
>>>>
>>>>> Yes I am using jdk 17.
>>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>>
>>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> You need to compile with JDK 17.
>>>>>>
>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>>
>>>>>>> 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 »
>>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>>> "read")
>>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>>> "read")
>>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>>> access 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 <
>>>>>>> robertlazarski@gmail.com> 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 loaded via Maven and direct links.
>>>>>>>>
>>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>>> robertlazarski@gmail.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
>>>>>>>>> two.
>>>>>>>>>
>>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>>
>>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>>> amitpatil12.ap67@gmail.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 of 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 now
>>>>>>>>>> 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 <
>>>>>>>>>> robertlazarski@gmail.com> 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
>>>>>>>>>>> can 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 some 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 AM 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 migrating
>>>>>>>>>>>> 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
>>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>> Amit Patil
>>>>>>>>>>>>
>>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
No idea, I am not seeing these issues anywhere else - locally, on GitHub -
however I don't doubt there is a problem as this is the unstable master
branch and I run Ubuntu locally.
We are moving to JDK 17 as jakarta requires it and at a glance it compiles
ok on my local machine but I see the following locations that need compiler
section changes.
pom.xml ./modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
./modules/tool/axis2-java2w
sdl-maven-plugin/target/it/test1/pom.xml
./modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
On Sun, May 26, 2024 at 1:56 PM Amit Patil <am...@gmail.com>
wrote:
> By using this mvn -Dmaven.test.skip.exec clean install I am facing an
> issue with
>>
>> java.lang.NullPointerException: Cannot invoke
>> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
>> null
>
>
> And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am
> facing the same issue as before with the access issue.
>
> Is this because of some configuration issue in my local machine? Because I
> can see that the build is passed in git.
>
> On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com>
> wrote:
>
>> Shoule source and target in parent pom.xml be 17?
>>
>> <configuration>
>> <source>1.8</source>
>> <target>1.8</target>
>> </configuration>
>>
>> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
>> wrote:
>>
>>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
>>> not then I suggest trying the command used to build with GitHub Actions:
>>>
>>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>>
>>>
>>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>>
>>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> Yes I am using jdk 17.
>>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>>
>>>> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
>>>> wrote:
>>>>
>>>>> You need to compile with JDK 17.
>>>>>
>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>> amitpatil12.ap67@gmail.com> wrote:
>>>>>
>>>>>> 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 »
>>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>>> "read")
>>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl
>>>>>>> access denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>>> "read")
>>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>>> access 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 <
>>>>>> robertlazarski@gmail.com> 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
>>>>>>> loaded via Maven and direct links.
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>>> robertlazarski@gmail.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 two.
>>>>>>>>
>>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>>
>>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>>> amitpatil12.ap67@gmail.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
>>>>>>>>> of 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 now
>>>>>>>>> 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 <
>>>>>>>>> robertlazarski@gmail.com> 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 can
>>>>>>>>>> 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 some 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 AM 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 migrating
>>>>>>>>>>> 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
>>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Kind regards,
>>>>>>>>>>> Amit Patil
>>>>>>>>>>>
>>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
By using this mvn -Dmaven.test.skip.exec clean install I am facing an
issue with
>
> java.lang.NullPointerException: Cannot invoke
> "org.slf4j.Logger.error(String, java.lang.Throwable)" because "logger" is
> null
And by using this mvn -B -e -Papache-release -Dgpg.skip=true verify I am
facing the same issue as before with the access issue.
Is this because of some configuration issue in my local machine? Because I
can see that the build is passed in git.
On Mon, 27 May 2024 at 05:02, Amit Patil <am...@gmail.com> wrote:
> Shoule source and target in parent pom.xml be 17?
>
> <configuration>
> <source>1.8</source>
> <target>1.8</target>
> </configuration>
>
> On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
> wrote:
>
>> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
>> not then I suggest trying the command used to build with GitHub Actions:
>>
>> mvn -B -e -Papache-release -Dgpg.skip=true verify
>>
>>
>> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>>
>> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> Yes I am using jdk 17.
>>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>>
>>> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
>>> wrote:
>>>
>>>> You need to compile with JDK 17.
>>>>
>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
>>>> wrote:
>>>>
>>>>> 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 »
>>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>>> "read")
>>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
>>>>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>>> "read")
>>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl
>>>>>> access 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 <ro...@gmail.com>
>>>>> 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
>>>>>> loaded via Maven and direct links.
>>>>>>
>>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>>> robertlazarski@gmail.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 two.
>>>>>>>
>>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>>> amitpatil12.ap67@gmail.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
>>>>>>>> of 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 now
>>>>>>>> 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 <
>>>>>>>> robertlazarski@gmail.com> 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 can
>>>>>>>>> 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
>>>>>>>>> some 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 AM 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 migrating
>>>>>>>>>> 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
>>>>>>>>>> support axis2-1.8.2?
>>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Kind regards,
>>>>>>>>>> Amit Patil
>>>>>>>>>>
>>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Shoule source and target in parent pom.xml be 17?
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
On Mon, 27 May 2024 at 04:45, robertlazarski <ro...@gmail.com>
wrote:
> Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if
> not then I suggest trying the command used to build with GitHub Actions:
>
> mvn -B -e -Papache-release -Dgpg.skip=true verify
>
>
> https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
>
> On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> Yes I am using jdk 17.
>> permission java.io.FilePermission "C:\\Program Files\\Eclipse
>> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>>
>> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
>> wrote:
>>
>>> You need to compile with JDK 17.
>>>
>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
>>> wrote:
>>>
>>>> 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 »
>>>>> AccessControl access denied ("java.io.FilePermission"
>>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>>> "read")
>>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
>>>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>>> "read")
>>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
>>>>> 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 <ro...@gmail.com>
>>>> 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
>>>>> loaded via Maven and direct links.
>>>>>
>>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>>> robertlazarski@gmail.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 two.
>>>>>>
>>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>>
>>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>>> amitpatil12.ap67@gmail.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
>>>>>>> of 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 now
>>>>>>> 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 <
>>>>>>> robertlazarski@gmail.com> 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 can
>>>>>>>> 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
>>>>>>>> some 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 AM 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 migrating
>>>>>>>>> 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 support
>>>>>>>>> axis2-1.8.2?
>>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Kind regards,
>>>>>>>>> Amit Patil
>>>>>>>>>
>>>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
Hmm, "mvn -Dmaven.test.skip.exec clean install" should work however if not
then I suggest trying the command used to build with GitHub Actions:
mvn -B -e -Papache-release -Dgpg.skip=true verify
https://github.com/apache/axis-axis2-java-core/actions/runs/9235500518/job/25410379970
On Sun, May 26, 2024 at 12:55 PM Amit Patil <am...@gmail.com>
wrote:
> Yes I am using jdk 17.
> permission java.io.FilePermission "C:\\Program Files\\Eclipse
> Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
>
> On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
> wrote:
>
>> You need to compile with JDK 17.
>>
>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
>> wrote:
>>
>>> 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 »
>>>> AccessControl access denied ("java.io.FilePermission"
>>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>>> "read")
>>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
>>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd"
>>>> "read")
>>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
>>>> 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 <ro...@gmail.com>
>>> 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
>>>> loaded via Maven and direct links.
>>>>
>>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>>> robertlazarski@gmail.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 two.
>>>>>
>>>>> https://github.com/apache/axis-axis2-java-core
>>>>>
>>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <
>>>>> amitpatil12.ap67@gmail.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
>>>>>> of 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 now
>>>>>> 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 <
>>>>>> robertlazarski@gmail.com> 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 can
>>>>>>> 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
>>>>>>> some 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 AM 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 migrating
>>>>>>>> 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 support
>>>>>>>> axis2-1.8.2?
>>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>>
>>>>>>>>
>>>>>>>> Kind regards,
>>>>>>>> Amit Patil
>>>>>>>>
>>>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
Yes I am using jdk 17.
permission java.io.FilePermission "C:\\Program Files\\Eclipse
Adoptium\\jdk-17.0.3.7-hotspot", "read,readlink";
On Mon, 27 May 2024 at 04:23, robertlazarski <ro...@gmail.com>
wrote:
> You need to compile with JDK 17.
>
> On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
> wrote:
>
>> 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 »
>>> AccessControl access denied ("java.io.FilePermission"
>>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>>> "read")
>>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
>>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
>>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
>>> 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 <ro...@gmail.com>
>> 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
>>> loaded via Maven and direct links.
>>>
>>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <
>>> robertlazarski@gmail.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 two.
>>>>
>>>> https://github.com/apache/axis-axis2-java-core
>>>>
>>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
>>>>> 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 now
>>>>> 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 <ro...@gmail.com>
>>>>> 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 can
>>>>>> 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
>>>>>> some 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 AM 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 migrating
>>>>>>> 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 support
>>>>>>> axis2-1.8.2?
>>>>>>> Can you please guide me what I should do in this situation?
>>>>>>>
>>>>>>>
>>>>>>> Kind regards,
>>>>>>> Amit Patil
>>>>>>>
>>>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
You need to compile with JDK 17.
On Sun, May 26, 2024 at 12:50 PM Amit Patil <am...@gmail.com>
wrote:
> 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 » AccessControl
>> access denied ("java.io.FilePermission"
>> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
>> "read")
>> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
>> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
>> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
>> 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 <ro...@gmail.com>
> 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 loaded
>> via Maven and direct links.
>>
>> On Sun, May 26, 2024 at 12:06 PM robertlazarski <ro...@gmail.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 two.
>>>
>>> https://github.com/apache/axis-axis2-java-core
>>>
>>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
>>>> 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 now
>>>> 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 <ro...@gmail.com>
>>>> 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 can
>>>>> 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
>>>>> some 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 AM 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 migrating
>>>>>> 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 support
>>>>>> axis2-1.8.2?
>>>>>> Can you please guide me what I should do in this situation?
>>>>>>
>>>>>>
>>>>>> Kind regards,
>>>>>> Amit Patil
>>>>>>
>>>>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
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 » AccessControl
> access denied ("java.io.FilePermission"
> "jar:file:\C:\Users\apatil56\Downloads\axis-axis2-java-core-master\axis-axis2-java-core-master\modules\kernel\target\test-zip.zip!\test.wsdl"
> "read")
> [ERROR] URIResolverTest.testResolveEntity:33 » AccessControl access
> denied ("java.io.FilePermission" "http:\www.test.org\schema.xsd" "read")
> [ERROR] WSDLLocatorTest.testGetInputSource:33 » AccessControl access
> 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 <ro...@gmail.com>
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 loaded
> via Maven and direct links.
>
> On Sun, May 26, 2024 at 12:06 PM robertlazarski <ro...@gmail.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 two.
>>
>> https://github.com/apache/axis-axis2-java-core
>>
>> On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
>>> 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 now
>>> 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 <ro...@gmail.com>
>>> 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 can
>>>> 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 some
>>>> 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 AM Amit Patil <am...@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 migrating
>>>>> 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 support
>>>>> axis2-1.8.2?
>>>>> Can you please guide me what I should do in this situation?
>>>>>
>>>>>
>>>>> Kind regards,
>>>>> Amit Patil
>>>>>
>>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
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 loaded
via Maven and direct links.
On Sun, May 26, 2024 at 12:06 PM robertlazarski <ro...@gmail.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 two.
>
> https://github.com/apache/axis-axis2-java-core
>
> On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
>> 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 now
>> 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 <ro...@gmail.com>
>> 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 can
>>> 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 some
>>> 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 AM Amit Patil <am...@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 migrating
>>>> 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 support
>>>> axis2-1.8.2?
>>>> Can you please guide me what I should do in this situation?
>>>>
>>>>
>>>> Kind regards,
>>>> Amit Patil
>>>>
>>>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
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 two.
https://github.com/apache/axis-axis2-java-core
On Sun, May 26, 2024 at 11:52 AM Amit Patil <am...@gmail.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 of
> 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 now
> 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 <ro...@gmail.com>
> 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 can 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 some
>> 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 AM Amit Patil <am...@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 migrating
>>> 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 support
>>> axis2-1.8.2?
>>> Can you please guide me what I should do in this situation?
>>>
>>>
>>> Kind regards,
>>> Amit Patil
>>>
>>
Re: Migrating axis2-1.8.2
Posted by Amit Patil <am...@gmail.com>.
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 of 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 now 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 <ro...@gmail.com>
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 can 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 some
> 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 AM Amit Patil <am...@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 migrating 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 support
>> axis2-1.8.2?
>> Can you please guide me what I should do in this situation?
>>
>>
>> Kind regards,
>> Amit Patil
>>
>
Re: Migrating axis2-1.8.2
Posted by robertlazarski <ro...@gmail.com>.
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 can 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 some
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 AM Amit Patil <am...@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 migrating 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 support
> axis2-1.8.2?
> Can you please guide me what I should do in this situation?
>
>
> Kind regards,
> Amit Patil
>