You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "mail@cvkimball.com" <ma...@cvkimball.com> on 2023/01/16 20:37:44 UTC

Tomcat for Apple silicon coming soon?

I'd like to run Tomcat on one of the new Apple products based on the 
Apple Mac silicon ARM64 architecture.

Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in 
the near future?

Thanks,

Chris Kimball

Redding, CT


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,

On 1/17/23 09:12, Mark Thomas wrote:
> On 17/01/2023 14:08, Christopher Schultz wrote:
>> Chris and Robert,
>>
>> On 1/16/23 17:08, Mark Thomas wrote:
>>> On 16/01/2023 20:40, Robert Turner wrote:
>>>> You can run an aarm64 version of the Java runtime (various 
>>>> distributions
>>>> exist) and run Tomcat on that -- it works well. No specific version of
>>>> Tomcat is required as it a Java package.
>>>
>>> +1
>>>
>>> I've been running the Tomcat unit tests on Apple silicon for a while 
>>> now.
>>>
>>> Generally, if there is a JRE that meets the minimum Java version 
>>> requirement for a platform, then Tomcat will run.
>>
>> The only missing component is tcnative.
>>
>> The Tomcat team provides binary releases of tcnative for Windows 
>> platforms because compilers and toolchains are generally unavailable, 
>> and Windows environments tend to be very uniform (only x86 and x86-86 
>> for example). We do not distribute binaries for UNIX-like systems.
>>
>> The last time I tried, I was able to build tcnative on MacOS 11.7.1 
>> (Big Sur) with only a few warnings, but that was on x86-84. I do not 
>> have an aarm86 MacOS environment to try, but I think others on the 
>> team do.
>>
>> If tcnative isn't building in your environment, please let us know and 
>> we can try to help.
> 
> I can confirm that Tomcat Native builds and the associated unit tests 
> pass on Apple silicon.

Excellent, thanks.

-chris

>>>> On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
>>>> wrote:
>>>>
>>>>>
>>>>> I'd like to run Tomcat on one of the new Apple products based on the
>>>>> Apple Mac silicon ARM64 architecture.
>>>>>
>>>>> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
>>>>> the near future?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Chris Kimball
>>>>>
>>>>> Redding, CT
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Mark Thomas <ma...@apache.org>.
On 17/01/2023 14:08, Christopher Schultz wrote:
> Chris and Robert,
> 
> On 1/16/23 17:08, Mark Thomas wrote:
>> On 16/01/2023 20:40, Robert Turner wrote:
>>> You can run an aarm64 version of the Java runtime (various distributions
>>> exist) and run Tomcat on that -- it works well. No specific version of
>>> Tomcat is required as it a Java package.
>>
>> +1
>>
>> I've been running the Tomcat unit tests on Apple silicon for a while now.
>>
>> Generally, if there is a JRE that meets the minimum Java version 
>> requirement for a platform, then Tomcat will run.
> 
> The only missing component is tcnative.
> 
> The Tomcat team provides binary releases of tcnative for Windows 
> platforms because compilers and toolchains are generally unavailable, 
> and Windows environments tend to be very uniform (only x86 and x86-86 
> for example). We do not distribute binaries for UNIX-like systems.
> 
> The last time I tried, I was able to build tcnative on MacOS 11.7.1 (Big 
> Sur) with only a few warnings, but that was on x86-84. I do not have an 
> aarm86 MacOS environment to try, but I think others on the team do.
> 
> If tcnative isn't building in your environment, please let us know and 
> we can try to help.

I can confirm that Tomcat Native builds and the associated unit tests 
pass on Apple silicon.

Mark


> 
> -chris
> 
>>> On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
>>> wrote:
>>>
>>>>
>>>> I'd like to run Tomcat on one of the new Apple products based on the
>>>> Apple Mac silicon ARM64 architecture.
>>>>
>>>> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
>>>> the near future?
>>>>
>>>> Thanks,
>>>>
>>>> Chris Kimball
>>>>
>>>> Redding, CT
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Pete,

On 1/19/23 12:50, Pete Helgren wrote:
> And, just to be clear, the referring to the platform as an AS/400 is 
> like calling an iPhone an Apple Newton...current implementation of the 
> IBM i operating system (used to be OS/400) is on Power (AKA PowerPC 
> 64bit).  There might be ancient machines running a RISC chipset or even 
> the CISC processor but it would only be as a museum piece.

I thought all Power architectures were RISC, including the current ones.

> My IBM i runs on a 4-core Power 9 chip.  My IBM i operating system hosts 
> a few Tomcat instances and a Liferay Application stack which runs on 
> Tomcat on one core.  It also runs OpenSUSE on one core and an additional 
> core is carved out for Redhat.

IIRC, James (GGP of this post) has had a hell of a time deploying and 
administrating Tomcat on OS/400/IBMi and ended up allocating (or 
whatever the AS/400 term is) a Linux instance and running Tomcat from 
within that.

I'm sure he can better-articulate his experiences, and maybe you two can 
compare notes on how best to deploy Tomcat directly on OS/400/IBMi. I 
would personally hate to have to run a shell OS just to run a single 
service...

-chris

> On 1/19/2023 7:10 AM, Christopher Schultz wrote:
>> James,
>>
>> On 1/18/23 20:05, James H. H. Lampert wrote:
>>> On 1/18/23 3:11 PM, Christopher Schultz wrote:
>>>> Tomcat is pure-Java (okay, except for tcnative, which you evidently 
>>>> don't need) and therefore should run on either x86-84 Java via 
>>>> Rosetta 2 or aarch64 Java natively. You do not need any special 
>>>> distribution of Tomcat to run on native aarch64.
>>>
>>> It also runs very nicely on AS/400s.
>>
>> Hah, right.
>>
>> I'm curious: which architecture are your machine actually running? 
>> AS/400 had multiple architectures.
>>
>> -chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Pete Helgren <pe...@valadd.com>.
And, just to be clear, the referring to the platform as an AS/400 is 
like calling an iPhone an Apple Newton...current implementation of the 
IBM i operating system (used to be OS/400) is on Power (AKA PowerPC 
64bit).  There might be ancient machines running a RISC chipset or even 
the CISC processor but it would only be as a museum piece.

My IBM i runs on a 4-core Power 9 chip.  My IBM i operating system hosts 
a few Tomcat instances and a Liferay Application stack which runs on 
Tomcat on one core.  It also runs OpenSUSE on one core and an additional 
core is carved out for Redhat.

Best computing platform on the planet (IMHO...)

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
GIAC Cloud Penetration Tester
AWS Certified Cloud Practitioner
Microsoft Certified: Azure Fundamentals

On 1/19/2023 7:10 AM, Christopher Schultz wrote:
> James,
>
> On 1/18/23 20:05, James H. H. Lampert wrote:
>> On 1/18/23 3:11 PM, Christopher Schultz wrote:
>>> Tomcat is pure-Java (okay, except for tcnative, which you evidently 
>>> don't need) and therefore should run on either x86-84 Java via 
>>> Rosetta 2 or aarch64 Java natively. You do not need any special 
>>> distribution of Tomcat to run on native aarch64.
>>
>> It also runs very nicely on AS/400s.
>
> Hah, right.
>
> I'm curious: which architecture are your machine actually running? 
> AS/400 had multiple architectures.
>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
James,

On 1/18/23 20:05, James H. H. Lampert wrote:
> On 1/18/23 3:11 PM, Christopher Schultz wrote:
>> Tomcat is pure-Java (okay, except for tcnative, which you evidently 
>> don't need) and therefore should run on either x86-84 Java via Rosetta 
>> 2 or aarch64 Java natively. You do not need any special distribution 
>> of Tomcat to run on native aarch64.
> 
> It also runs very nicely on AS/400s.

Hah, right.

I'm curious: which architecture are your machine actually running? 
AS/400 had multiple architectures.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by "James H. H. Lampert" <ja...@touchtonecorp.com.INVALID>.
On 1/18/23 3:11 PM, Christopher Schultz wrote:
> Tomcat is pure-Java (okay, except for tcnative, which you evidently 
> don't need) and therefore should run on either x86-84 Java via Rosetta 2 
> or aarch64 Java natively. You do not need any special distribution of 
> Tomcat to run on native aarch64.

It also runs very nicely on AS/400s.

--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Chris,

Bringing this back on-list. Please reply to the list and not to 
individual members. (See below...)

On 1/18/23 06:47, mail@cvkimball.com wrote:
> I have no idea what tcnative is and how to rebuild it.
> 
> Christopher Schultz, are you saying I must rebuild tcnative to run 
> Tomcat on AArm64/Apple silicon?

Nope! You only need tcnative if you need tcnative. If you have no idea 
what I'm talking about, then you can ignore it. :)

Tomcat is pure-Java (okay, except for tcnative, which you evidently 
don't need) and therefore should run on either x86-84 Java via Rosetta 2 
or aarch64 Java natively. You do not need any special distribution of 
Tomcat to run on native aarch64.

Give it a try and let us know if you have any issues.

-chris

> On 1/17/23 09:08, Christopher Schultz wrote:
>> Chris and Robert,
>>
>> On 1/16/23 17:08, Mark Thomas wrote:
>>> On 16/01/2023 20:40, Robert Turner wrote:
>>>> You can run an aarm64 version of the Java runtime (various 
>>>> distributions
>>>> exist) and run Tomcat on that -- it works well. No specific version of
>>>> Tomcat is required as it a Java package.
>>>
>>> +1
>>>
>>> I've been running the Tomcat unit tests on Apple silicon for a while 
>>> now.
>>>
>>> Generally, if there is a JRE that meets the minimum Java version 
>>> requirement for a platform, then Tomcat will run.
>>
>> The only missing component is tcnative.
>>
>> The Tomcat team provides binary releases of tcnative for Windows 
>> platforms because compilers and toolchains are generally unavailable, 
>> and Windows environments tend to be very uniform (only x86 and x86-86 
>> for example). We do not distribute binaries for UNIX-like systems.
>>
>> The last time I tried, I was able to build tcnative on MacOS 11.7.1 
>> (Big Sur) with only a few warnings, but that was on x86-84. I do not 
>> have an aarm86 MacOS environment to try, but I think others on the 
>> team do.
>>
>> If tcnative isn't building in your environment, please let us know and 
>> we can try to help.
>>
>> -chris
>>
>>>> On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
>>>> wrote:
>>>>
>>>>>
>>>>> I'd like to run Tomcat on one of the new Apple products based on the
>>>>> Apple Mac silicon ARM64 architecture.
>>>>>
>>>>> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
>>>>> the near future?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Chris Kimball
>>>>>
>>>>> Redding, CT
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Chris and Robert,

On 1/16/23 17:08, Mark Thomas wrote:
> On 16/01/2023 20:40, Robert Turner wrote:
>> You can run an aarm64 version of the Java runtime (various distributions
>> exist) and run Tomcat on that -- it works well. No specific version of
>> Tomcat is required as it a Java package.
> 
> +1
> 
> I've been running the Tomcat unit tests on Apple silicon for a while now.
> 
> Generally, if there is a JRE that meets the minimum Java version 
> requirement for a platform, then Tomcat will run.

The only missing component is tcnative.

The Tomcat team provides binary releases of tcnative for Windows 
platforms because compilers and toolchains are generally unavailable, 
and Windows environments tend to be very uniform (only x86 and x86-86 
for example). We do not distribute binaries for UNIX-like systems.

The last time I tried, I was able to build tcnative on MacOS 11.7.1 (Big 
Sur) with only a few warnings, but that was on x86-84. I do not have an 
aarm86 MacOS environment to try, but I think others on the team do.

If tcnative isn't building in your environment, please let us know and 
we can try to help.

-chris

>> On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
>> wrote:
>>
>>>
>>> I'd like to run Tomcat on one of the new Apple products based on the
>>> Apple Mac silicon ARM64 architecture.
>>>
>>> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
>>> the near future?
>>>
>>> Thanks,
>>>
>>> Chris Kimball
>>>
>>> Redding, CT
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Mark Thomas <ma...@apache.org>.
On 16/01/2023 20:40, Robert Turner wrote:
> You can run an aarm64 version of the Java runtime (various distributions
> exist) and run Tomcat on that -- it works well. No specific version of
> Tomcat is required as it a Java package.

+1

I've been running the Tomcat unit tests on Apple silicon for a while now.

Generally, if there is a JRE that meets the minimum Java version 
requirement for a platform, then Tomcat will run.

Mark

> 
> 
> 
> On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
> wrote:
> 
>>
>> I'd like to run Tomcat on one of the new Apple products based on the
>> Apple Mac silicon ARM64 architecture.
>>
>> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
>> the near future?
>>
>> Thanks,
>>
>> Chris Kimball
>>
>> Redding, CT
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat for Apple silicon coming soon?

Posted by Robert Turner <rt...@e-djuster.ca>.
You can run an aarm64 version of the Java runtime (various distributions
exist) and run Tomcat on that -- it works well. No specific version of
Tomcat is required as it a Java package.



On Mon, Jan 16, 2023 at 3:38 PM mail@cvkimball.com <ma...@cvkimball.com>
wrote:

>
> I'd like to run Tomcat on one of the new Apple products based on the
> Apple Mac silicon ARM64 architecture.
>
> Is a Tomcat release, preferably Tomcat 10.1, for Mac silicon likely in
> the near future?
>
> Thanks,
>
> Chris Kimball
>
> Redding, CT
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>