This discussion is archived
2 Replies Latest reply: Jul 21, 2010 11:26 PM by 783241 RSS

ModuleException in running web app in Myeclipse on weblogic server

783241 Newbie
Currently Being Moderated
Hi,

I got following error while runing my web app in myeclipse using weblogic 9.2


<Jul 22, 2010 10:11:48 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n_common.jar;C:\Local\weblogic92\weblogic92\platform\lib\p13n\p13n_system.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_common.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\netuix_system.jar;C:\Local\weblogic92\weblogic92\platform\lib\wlp\wsrp-common.jar>
<Jul 22, 2010 10:11:49 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_10-b03 from Sun Microsystems Inc.>
<Jul 22, 2010 10:11:50 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
<Jul 22, 2010 10:11:53 AM IST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\Local\weblogic92\license.bea>
<Jul 22, 2010 10:11:53 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jul 22, 2010 10:11:53 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jul 22, 2010 10:11:54 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Local\weblogic92\user_projects\domains\base_domain2\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Jul 22, 2010 10:11:56 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jul 22, 2010 10:12:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Jul 22, 2010 10:12:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
*<Jul 22, 2010 10:12:19 AM IST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "web1".*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
*     at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
*     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
*     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
*     Truncated. see log file for complete stacktrace*
*>*

*<Jul 22, 2010 10:12:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_CostBasisReport_dir'.*
*weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "web1".*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
*     at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
*     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
*     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
*     at java.lang.Class.newInstance0(Class.java:350)*
*     at java.lang.Class.newInstance(Class.java:303)*
*     at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:252)*
*     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)*
*     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)*
*     at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)*
*     at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)*
*     at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)*
*     at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)*
*     at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1715)*
*     at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1692)*
*     at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1612)*
*     at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2750)*
*     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)*
*     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)*
*     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
*     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
*     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
*     at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)*
*     at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)*
*     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
*     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
*     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
*     at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)*
*     at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)*
*     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
*     at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)*
*     at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)*
*     at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)*
*     at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)*
*     at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)*
*     at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)*
*     at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)*
*     at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)*
*     at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)*
*     at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)*
*     at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)*
*     at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)*
*     at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)*
*     at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)*
*     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)*
*     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)*

*     at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)*
*     at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)*
*     at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)*
*     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)*
*     at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)*
*     Truncated. see log file for complete stacktrace*
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
*     at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:226)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
*     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
*     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
*     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
*     Truncated. see log file for complete stacktrace*
*>* <Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain2" running in Development Mode>
<Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jul 22, 2010 10:12:24 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points