Mark,

Points noted.  Thank you good sir.

I will try the weird path -- just to see if it solves the problem.  I am
investigating how it became like this.  I inherited this task.

Overall I absolutely concur with going with the an Official Tomcat release.

I want to bring over any / all customized configuration files.

Great share!




On Thu, May 18, 2023 at 4:55 AM Mark Thomas <ma...@apache.org> wrote:

>
> 18 May 2023 06:06:04 Meltron Kendrick <meltronkendr...@gmail.com>:
>
> > 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?
>
> Start with an official Tomcat release that doesn't have this problem. If
> the version numbers are broken, what else is?
>
> If you really want to continue down this path, then don't try editing the
> JAR. Rather, override the resource.
>
> Under $CATALINA_HOME/lib create the directory structure
> org/apache/catalina/util and then extract ServerInfo.properties to that
> directory. Edit the file. Start Tomcat. Tomcat will use the extracted
> file in preference to the one in the JAR.
>
> Mark
>
> >
> >
> >
> >
> > 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
> --
==============================
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