I created a "jar" file using WinRAR -- but no go ---

Got the following error message...

"Error: Could not find or load main class
org.apache.catalina.util.ServerInfo"

Any ideas on HOW TO properly do this?




On Wed, May 17, 2023 at 9:58 PM Meltron Kendrick <meltronkendr...@gmail.com>
wrote:

> I was able to DECOMPRESS the .jar file -- using 7-zip -- and edited the
> org/apache/catalina/util/ServerInfo.properties file to the proper version
> and date info...
>
> Now I need to COMPRESS everything with the updated
> org/apache/catalina/util/ServerInfo.properties file added back into the
> .jar file...
>
>
> On Wed, May 17, 2023 at 1:43 AM Meltron Kendrick <
> meltronkendr...@gmail.com> wrote:
>
>> Thank you Chuck!
>>
>> What is the best way to go about updating the 3 lines to accurately
>> reflect the proper version details?
>>
>>
>>
>> On Tue, May 16, 2023 at 9:08 PM Chuck Caldarale <n82...@gmail.com> wrote:
>>
>>>
>>> > On 2023-05-16, at 17:02, Meltron Kendrick <meltronkendr...@gmail.com>
>>> wrote:
>>> >
>>> > I am trying to get these fields to UPDATE properly...
>>> >
>>> > ESPECIALLY THESE 3 -------
>>> > (but all of them would be nice)
>>> >
>>> > Server version:  Secure Web Server
>>> > Server built: Jan 01 2000 00:00:00 UTC
>>> > Server number: 1.0.0.0
>>>
>>> This information comes from this file inside lib/catalina.jar:
>>>         org/apache/catalina/util/ServerInfo.properties
>>>
>>> Whoever built your Tomcat distribution changed the contents of that file
>>> when constructing the package. Using an unadulterated download from
>>> tomcat.apache.org <http://tomcat.apache.org/> results in something
>>> similar to the following when running the version command:
>>>
>>> Server version: Apache Tomcat/11.0.0-M6
>>> Server built:   May 3 2023 17:28:15 UTC
>>> Server number:  11.0.0.0
>>> OS Name:        Mac OS X
>>> OS Version:     13.3.1
>>> Architecture:   aarch64
>>> JVM Version:    18.0.1.1+2-6
>>> JVM Vendor:     Oracle Corporation
>>>
>>>   - Chuck
>>>
>>> --
>> ==============================
>> Blessed Regards,
>>
>> Meltron Kendrick
>> Sr. Systems Engineer
>> Linux * Windows * Cloud Computing * Security
>>
>> LinkedIn: http://www.linkedin.com/in/meltronkendrick
>>
>> Mobile: (512) 233-9176
>> Email: meltronkendr...@gmail.com
>>
> --
> ==============================
> Blessed Regards,
>
> Meltron Kendrick
> Sr. Systems Engineer
> Linux * Windows * Cloud Computing * Security
>
> LinkedIn: http://www.linkedin.com/in/meltronkendrick
>
> Mobile: (512) 233-9176
> Email: meltronkendr...@gmail.com
>
-- 
==============================
Blessed Regards,

Meltron Kendrick
Sr. Systems Engineer
Linux * Windows * Cloud Computing * Security

LinkedIn: http://www.linkedin.com/in/meltronkendrick

Mobile: (512) 233-9176
Email: meltronkendr...@gmail.com

Reply via email to