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 <amitpatil12.a...@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 <robertlazar...@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.a...@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 <amitpatil12.a...@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 <robertlazar...@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.a...@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 <
>>>>>> robertlazar...@gmail.com> wrote:
>>>>>>
>>>>>>> You need to compile with JDK 17.
>>>>>>>
>>>>>>> On Sun, May 26, 2024 at 12:50 PM Amit Patil <
>>>>>>> amitpatil12.a...@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 <
>>>>>>>> robertlazar...@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 <
>>>>>>>>> robertlazar...@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.a...@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 <
>>>>>>>>>>> robertlazar...@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.a...@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
>>>>>>>>>>>>>
>>>>>>>>>>>>

Reply via email to