Re: Win10 installation progress

2024-05-19 Thread DdC
n82...@gmail.com
Dear Chuck Caldarale,
THANKS for your help/ rolling up the sleeves now.
      Some of us have just given up on Windows entirelySure.I have installed 
tomcat also on two unix boxes among which ubuntu,2019 before the transition now 
required.Dealing here with a legacy situation.[[[ For your chuckles:: j2ee.jar 
was used in tomcat4.04 ]]]
THANKS AGAIN.{{{ Purpose of life: helping other people  - you did it. }}}
dennis de champeaux
--
Home page:      rs6.risingnet.net/~ddccMarketing site:  www . OntoOO.comKindle 
books:   Side Effects: Impacts on the 21st 
Century::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09MHJ5W48   
Even if not 
true::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09Y4WR9J7   9/11:: 
They had the Sun in their 
Eyeshttps://www.amazon.com/11-They-had-their-Eyes-ebook/dp/B0CMQ2WSK9https://www.amazon.nl/dp/B0CMQ2WSK9


 

On Saturday, May 18, 2024 at 10:11:09 PM PDT, Chuck Caldarale 
 wrote:  
 
 
> On May 18, 2024, at 22:40, DdC  wrote:
> 
> Gave up on installing 9.0.88. on Win10. 


Some of us have just given up on Windows entirely…


> Succeeded with  10.1.23 andjdk-18.0.2.1.The lib directory has j2ee.jar, which 
> I have used in earliertomcat versions.


Not lately. I can’t recall when j2ee.jar was last useful, but I’m pretty sure 
it’s been well over a decade. You most likely need to delete it.


> Compilation of a system was OK apart from some warnings because Java 
> haschanged since the code was written.There is a web.xml file in 
> WEB-INF.Invoking a servlet gives a 500 error with the ominous complaint:    
> class su.SUlogin cannot be cast to jakarta.servlet.Servlet    (su.SUlogin is 
> in unnamed module of loader org.apache.catalina    ... )


First, look at the Tomcat migration guides: 
https://tomcat.apache.org/migration.html

You’ll need to review each one, starting with the last version of Tomcat you 
were using, up to the one for 10.1. In particular, when Oracle gave control of 
the Java EE spec to Eclipse, the classes were renamed from javax to jakarta for 
legal reasons, so all code using the old class names must be updated to the 
revised ones. This can be done with a migration tool supplied by Tomcat:

https://tomcat.apache.org/download-migration.cgi

or by placing old apps in the webapps-javaee directory rather than webapps and 
letting Tomcat convert them automatically. Look at the documentation for the 
legacyAppBase attribute of the  element:

https://tomcat.apache.org/tomcat-10.1-doc/config/host.html#Common_Attributes

  - Chuck

  

Win10 installation progress

2024-05-18 Thread DdC
Dear Tomcatters,
Gave up on installing 9.0.88. on Win10.  Succeeded with  10.1.23 
andjdk-18.0.2.1.The lib directory has j2ee.jar, which I have used in 
earliertomcat versions.Compilation of a system was OK apart from some warnings 
because Java haschanged since the code was written.There is a web.xml file in 
WEB-INF.Invoking a servlet gives a 500 error with the ominous complaint:    
class su.SUlogin cannot be cast to jakarta.servlet.Servlet    (su.SUlogin is in 
unnamed module of loader org.apache.catalina    ... )
Looks like that my code is quite out of date.Any suggestion for a fix?Going 
back to an earlier tomcat?
dennis de champeaux
--
Home page:      rs6.risingnet.net/~ddccMarketing site:  www . OntoOO.comKindle 
books:   Side Effects: Impacts on the 21st 
Century::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09MHJ5W48   
Even if not 
true::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09Y4WR9J7   9/11:: 
They had the Sun in their 
Eyeshttps://www.amazon.com/11-They-had-their-Eyes-ebook/dp/B0CMQ2WSK9https://www.amazon.nl/dp/B0CMQ2WSK9

Re: Installation on Win 10 failure.

2024-04-23 Thread DdC
(Connector.java:1012)---
I still suspect that win10 is messing things up; but what?
dennis de champeaux

--
Home page:      rs6.risingnet.net/~ddccMarketing site:  www . OntoOO.comKindle 
books:   Side Effects: Impacts on the 21st 
Century::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09MHJ5W48   
Even if not 
true::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09Y4WR9J7   9/11:: 
They had the Sun in their 
Eyeshttps://www.amazon.com/11-They-had-their-Eyes-ebook/dp/B0CMQ2WSK9https://www.amazon.nl/dp/B0CMQ2WSK9


 

On Tuesday, April 23, 2024 at 12:46:56 AM PDT, Mark Thomas 
 wrote:  
 
 

On 23/04/2024 03:31, DdC wrote:
> 
> I have installed tomcat originally with version 4.04 on winxp andlater on 
> win7, ubuntu, and another linux box - many times by now.Trouble now with 
> win10 and version 9.0.88.Yes, there is a jdk, CLASSPATH is set, j2ee.jar is 
> in lib.Running in a cmd window with bin startup triggers another cmd windowto 
> popup, shows errors flashing by and the 2nd window disappers.

Rather than running "startup.bat" use "catalina.bat run" which will keep 
the process in the same window and you'll be able to read any error message.

Alternatively, you could look in the logs directory. It is usually 
easiest if you empty the logs directory, attempt to start Tomcat and 
then check the log files for errors.

Mark



> Running subsequently shutdown gives: Tomcat may not be running.Thanks a lot 
>...
> Each next window version made installation more difficult - or i gotolder :-)
> Is win10 creating trouble? Or ?
> Thanks for help ...
> 
> --
> Home page:      rs6.risingnet.net/~ddccMarketing site:  www . 
> OntoOO.comKindle books:   Side Effects: Impacts on the 21st 
> Century::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09MHJ5W48   
> Even if not 
> true::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09Y4WR9J7   
> 9/11:: They had the Sun in their 
> Eyeshttps://www.amazon.com/11-They-had-their-Eyes-ebook/dp/B0CMQ2WSK9https://www.amazon.nl/dp/B0CMQ2WSK9
> 
> 
> 

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

  

Installation on Win 10 failure.

2024-04-22 Thread DdC

I have installed tomcat originally with version 4.04 on winxp andlater on win7, 
ubuntu, and another linux box - many times by now.Trouble now with win10 and 
version 9.0.88.Yes, there is a jdk, CLASSPATH is set, j2ee.jar is in 
lib.Running in a cmd window with bin startup triggers another cmd windowto 
popup, shows errors flashing by and the 2nd window disappers. Running 
subsequently shutdown gives: Tomcat may not be running.Thanks a lot ...
Each next window version made installation more difficult - or i gotolder :-)
Is win10 creating trouble? Or ?
Thanks for help ...

--
Home page:      rs6.risingnet.net/~ddccMarketing site:  www . OntoOO.comKindle 
books:   Side Effects: Impacts on the 21st 
Century::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09MHJ5W48   
Even if not 
true::https://www.amazon.com/-/es/Dennis-Champeaux-ebook/dp/B09Y4WR9J7   9/11:: 
They had the Sun in their 
Eyeshttps://www.amazon.com/11-They-had-their-Eyes-ebook/dp/B0CMQ2WSK9https://www.amazon.nl/dp/B0CMQ2WSK9