Solved

Tomcat  SEVERE: Error listenerStart

Posted on 2009-03-31
9
9,970 Views
Last Modified: 2013-12-02
I am trying to start tomcat instance which used to work proprely but now I am getting SEVERE: Error listenerStart. Nothing has been changed on the server but still I am getting this error. What could be the reason.

Here is the error log details.

catalina.out
Mar 31, 2009 5:04:35 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 31, 2009 5:04:35 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 510 ms
Mar 31, 2009 5:04:35 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 31, 2009 5:04:35 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
Mar 31, 2009 5:04:35 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 31, 2009 5:04:36 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /appl/tomcat0/webapps/portal inside the host appBase has been specified, and will be ignored
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/portal] startup failed due to previous errors
Mar 31, 2009 5:05:07 PM org.apache.catalina.startup.HostConfig deployWAR


localhost log file
********************************
Mar 31, 2009 5:01:50 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Mar 31, 2009 5:01:50 PM org.apache.catalina.core.StandardContext filterStop
FINE: Stopping filters
Mar 31, 2009 5:01:50 PM org.apache.catalina.core.StandardContext filterStop
FINE:  Stopping filter 'BalancerFilter'
Mar 31, 2009 5:01:50 PM org.apache.catalina.core.StandardContext filterStop
FINE: Stopping filters
Mar 31, 2009 5:01:50 PM org.apache.catalina.core.StandardContext filterStop
FINE: Stopping filters
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext listenerStart
FINE:  Configuring event listener class 'com.vignette.portal.website.internal.AppContextListener'
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext listenerStart
FINE:  Configuring event listener class 'com.vignette.webservices.toolkit.config.WebServiceToolkitConfiguration'
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext listenerStart
FINE: Sending application start events
Mar 31, 2009 5:04:37 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.vignette.portal.website.internal.AppContextListener
java.lang.NoClassDefFoundError: com/vignette/portal/config/PortalSystem
        at com.vignette.portal.config.PortalConfigUtils.<clinit>(PortalConfigUtils.java:38)
        at com.epicentric.system.SystemManager.loadProperties(SystemManager.java:132)
        at com.epicentric.system.SystemManager.startSystemInitialization(SystemManager.java:91)
        at com.epicentric.system.SystemManager.startSystemInitialization(SystemManager.java:79)
        at com.vignette.portal.website.internal.AppContextListener.startSystem(AppContextListener.java:34)
        at com.vignette.portal.website.internal.AppContextListener.contextInitialized(AppContextListener.java:38)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
0
Comment
Question by:Prajal_Sutaria
  • 5
  • 4
9 Comments
 
LVL 92

Expert Comment

by:objects
ID: 24034297
It cannot find the vignette classes, make sure they are available to the webapp

0
 
LVL 1

Author Comment

by:Prajal_Sutaria
ID: 24034375
They are available. Setup has been same . nothing has been changed.
0
 
LVL 92

Expert Comment

by:objects
ID: 24034395
where are the classes?
(something must have changed)

0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 1

Author Comment

by:Prajal_Sutaria
ID: 24034620
Those are in webapps/portal/WEB-INF/classes
0
 
LVL 92

Expert Comment

by:objects
ID: 24034638
Is the PortalSystem class there?

0
 
LVL 1

Author Comment

by:Prajal_Sutaria
ID: 24034665
Nope that class is not there but its not there in any other environment as well.

Other environemnt where same setup is working fine this is what I get in logs.



Mar 31, 2009 3:02:04 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 31, 2009 3:02:04 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 613 ms
Mar 31, 2009 3:02:04 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 31, 2009 3:02:04 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
Mar 31, 2009 3:02:04 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 31, 2009 3:02:05 AM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /appl/tomcat0/webapps/portal inside the host appBase has been specified, and will be ignored
Tue Mar 31 03:02:06 EDT 2009: Loading default properties from: /appl/vap/Portal/system/portalserver.properties
Tue Mar 31 03:02:06 EDT 2009: Loading custom properties from: /appl/vap/Portal/config/properties.txt
Tue Mar 31 03:02:06 EDT 2009: [RandomConfiguration] Creating random seed file: /appl/vap/Portal/system/random.dat
0
 
LVL 92

Expert Comment

by:objects
ID: 24034699
PortalConfigUtils is trying to load it. check there isn't another version of the classes in tomcats lib directories
0
 
LVL 92

Expert Comment

by:objects
ID: 24034709
> FINE:  Configuring event listener class 'com.vignette.portal.website.internal.AppContextListener'

and check your webapp config to why its loading that listener and the other working instances are not

0
 
LVL 1

Accepted Solution

by:
Prajal_Sutaria earned 0 total points
ID: 24045505
This is fixed. Issue over here was catalina.properties file was missing in tomcat/conf folder.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question