Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat Error when deploying WAR file

Status
Not open for further replies.

Iamkar33m

Programmer
Aug 1, 2007
2
US
I'm trying to deploy a WAR file given to me by a co-worker (called SentryEC.war) and i'm getting the following error:

SEVERE: Error ListenerStart
Aug 1, 2007 7:30:25 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/SentryEC] startup failed due to previous errors

I find the following in my log file:

Aug 1, 2007 7:30:25 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org.apache.beehive.netui.pageflow.PageFlowContextListener
java.lang.ClassNotFoundException: org.apache.beehive.netui.pageflow.PageFlowContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3770)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Can someone offer me insight on to what the log is telling me?

Thanks,
Kareem

 
Ok, so I installed the beehive library. Now it looks like the war file deploys, but when I launch it in the browser I get this:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Filter execution threw an exception

root cause

java.lang.NoClassDefFoundError: com/bea/control/ServiceControl
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
java.lang.Class.getDeclaredFields0(Native Method)
java.lang.Class.privateGetDeclaredFields(Class.java:2259)
java.lang.Class.getDeclaredFields(Class.java:1715)
org.apache.beehive.netui.pageflow.internal.CachedSharedFlowRefInfo.initSharedFlowFields(CachedSharedFlowRefInfo.java:67)
org.apache.beehive.netui.pageflow.internal.CachedPageFlowInfo.<init>(CachedPageFlowInfo.java:48)
org.apache.beehive.netui.pageflow.PageFlowController.getCachedInfo(PageFlowController.java:1040)
org.apache.beehive.netui.pageflow.PageFlowController.getModulePath(PageFlowController.java:150)
org.apache.beehive.netui.pageflow.FlowController.getModuleConfig(FlowController.java:1029)
org.apache.beehive.netui.pageflow.FlowController.theModuleConfig(FlowController.java:1043)
org.apache.beehive.netui.pageflow.internal.InternalUtils.setCurrentActionResolver(InternalUtils.java:718)
org.apache.beehive.netui.pageflow.internal.InternalUtils.setCurrentPageFlow(InternalUtils.java:345)
org.apache.beehive.netui.pageflow.PageFlowController.persistInSession(PageFlowController.java:242)
org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:386)
org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:190)
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForPath(FlowControllerFactory.java:163)
org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRequest(FlowControllerFactory.java:127)
org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:244)
 
Looks like the beehive stuff has its own dependencies. What does their site say?

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top