TOMCAT WAR DELOYMENT

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

TOMCAT WAR DELOYMENT

Postby dlclark6985 » Fri Sep 22, 2023 6:42 pm

Working on first deployment of WAR file on TOMCAT. Deployment fails, with the following error:

java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener


Daryl
dlclark6985
 
Posts: 9
Joined: Wed Aug 24, 2016 3:53 pm

Re: TOMCAT WAR DELOYMENT

Postby sean » Fri Sep 22, 2023 6:50 pm

Hi Daryl,

Which version of Tomcat do you use?

This looks similar to another ticket related to Tomcat 10+
viewtopic.php?f=5&t=23195

Hope this helps,

Sean
Software Engineer
Servoy USA
sean
 
Posts: 368
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: TOMCAT WAR DELOYMENT

Postby dlclark6985 » Fri Sep 22, 2023 6:59 pm

Tomcat 10
dlclark6985
 
Posts: 9
Joined: Wed Aug 24, 2016 3:53 pm

Re: TOMCAT WAR DELOYMENT

Postby dlclark6985 » Fri Sep 22, 2023 7:02 pm

I see the other thread now - great I will install the correct version ofTomcat
dlclark6985
 
Posts: 9
Joined: Wed Aug 24, 2016 3:53 pm

Re: TOMCAT WAR DELOYMENT

Postby dlclark6985 » Fri Sep 22, 2023 7:23 pm

Not sure where to get Java 8 for MAC OS M2
dlclark6985
 
Posts: 9
Joined: Wed Aug 24, 2016 3:53 pm

Re: TOMCAT WAR DELOYMENT

Postby dlclark6985 » Fri Sep 22, 2023 8:01 pm

Seems to run OK on the latest JDK 20.x - WAR Delayed...
dlclark6985
 
Posts: 9
Joined: Wed Aug 24, 2016 3:53 pm

Re: TOMCAT WAR DELOYMENT

Postby hovw » Fri Sep 22, 2023 8:18 pm

download jdk from azul. https://www.azul.com/downloads/#zulu
Java 17LTS. download as zip
extact zip
Tomcac/bin/setenv.sh
JAVA_HOME=path to java home
Tomcal/conf/context.xml
<Context>

<Resources
cachingAllowed="true"
cacheMaxSize="100000"
/>
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Re: TOMCAT WAR DELOYMENT

Postby sbutler » Thu Sep 28, 2023 6:38 pm

You may be interested in our DevOps tools to simplify and automate this: https://servoycomponents.com/devops
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 757
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 1 guest