Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tomcat  SEVERE: Error listenerStart

Posted on 2009-03-31
9
Medium Priority
?
10,053 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

636 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