Solved

Tomcat  SEVERE: Error listenerStart

Posted on 2009-03-31
9
9,997 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 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