Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to access application in one of the managed server of cluster.

 
kona krishnakumar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Iam not able to access the application on managed server MS1.

I found that MS1.out log file size of managed server is increased to 2.5 GB and is not updating since 3 days, but access logs are updating. So I taken the backup of log file and restarted the managed server. After restarting when I tried to access the application, getting 404 error.
While starting the managed server, I found the following error in logs

====================================================================================================
<Jan 26, 2013 10:22:33 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jan 26, 2013 10:23:14 AM GMT+05:30> <Warning> <EJB> <BEA-010212> <The EJB 'BundleUpdateMessageListener(Application: wsc, EJBComponent: enabling/core.jar)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of NotSupported will be used for the following methods: beanClass[onMessage(javax.jms.Message)] >
<Jan 26, 2013 10:23:15 AM GMT+05:30> <Warning> <EJB> <BEA-010212> <The EJB 'ManagementMDB(Application: wsc, EJBComponent: enabling/jmxmanagement.jar)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of NotSupported will be used for the following methods: beanClass[onMessage(javax.jms.Message)] >
getAllCorrelationIdwithWapPushStatusFalse(), getWapPushStatus(long), getAssociatedCorrelationIdWithMobile(java.lang.String), removeCorrelationData(long), updateWapPushStatus(java.lang.String,boolean), isCorrelationIdPresent(long), getWapPushStatus(java.lang.String), setProductNameOfUser(long,java.lang.String), getAllCorrelationIdWithWappushStatucFalseAndBeyondTimeLine(long), getTimeStampAssociatedWithMobileNumber(java.lang.String), registerCorrelationData(com.csam.wsc.projects.icici.download.CorrelationData), getMobileNumberAssociatedWithCorrelationId(long), updateWapPushStatusAndTimestamp(java.lang.String,boolean,java.util.Date)] >
<Jan 26, 2013 10:23:19 AM GMT+05:30> <Warning> <EJB> <BEA-010212> <The EJB 'DeviceJadInfoManager(Application: wsc, EJBComponent: SmsCampaign.jar)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local[getDeviceBySeriesAndMIDP(java.lang.String,java.lang.String), getDeviceBySeriesMIDPAndVendor(java.lang.String,java.lang.String,java.lang.String), createDeviceJadInfo(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String), getAll(), getDeviceByAllParameters(java.lang.String,java.lang.String,java.lang.String,java.lang.String)] >
<Jan 26, 2013 10:23:19 AM GMT+05:30> <Warning> <EJB> <BEA-010212> <The EJB 'DeviceJadInfoEJB(Application: wsc, EJBComponent: SmsCampaign.jar)' contains at least one method without an explicit transaction attribute setting. The default transaction attribute of Supports will be used for the following methods: local-home[findAll(), findDeviceByAllParameters(java.lang.String,java.lang.String,java.lang.String,java.lang.String), findByPrimaryKey(java.lang.Long), create(com.csam.wsc.projects.cms.slave.classes.DeviceJadInfo), createQuery(), remove(java.lang.Object), findDeviceBySeriesAndMIDP(java.lang.String,java.lang.String), findDeviceBySeriesMIDPAndVendor(java.lang.String,java.lang.String,java.lang.String)] local[setJadId(java.lang.Long), getJadId(), setJadName(java.lang.String), setSeries(java.lang.String), setDeviceModelName(java.lang.String), remove(), getMidpVersion(), setVendorName(java.lang.String), setMidpVersion(java.lang.String), getSeries(), getJadName(), getVendorName(), getDeviceModelName()] >
<Jan 26, 2013 10:23:33 AM GMT+05:30> <Notice> <Stdout> <BEA-000000> <10:23:33,563 ERROR ContextLoader:177 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DlCounterDao' defined in ServletContext resource [/WEB-INF/hibernateApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao]; constructor threw exception; nested exception is java.lang.NumberFormatException: null
org.springframework.beans.FatalBeanException: Could not instantiate class [com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao]; constructor threw exception; nested exception is java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.loadCounterDLPage(DownloadCounterHandler.java:36)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.<init>(DownloadCounterHandler.java:26)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.getInstance(DownloadCounterHandler.java:54)
at com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao.<init>(DlCounterDao.java:10)
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:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:76)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:49)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:326)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:315)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:135)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)>
<Jan 26, 2013 10:23:33 AM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DlCounterDao' defined in ServletContext resource [/WEB-INF/hibernateApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao]; constructor threw exception; nested exception is java.lang.NumberFormatException: null.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DlCounterDao' defined in ServletContext resource [/WEB-INF/hibernateApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao]; constructor threw exception; nested exception is java.lang.NumberFormatException: null
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:365)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:315)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.FatalBeanException: Could not instantiate class [com.csam.wsc.ri.user.web.dlScheduler.DlCounterDao]; constructor threw exception; nested exception is java.lang.NumberFormatException: null
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:76)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:49)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:326)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.loadCounterDLPage(DownloadCounterHandler.java:36)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.<init>(DownloadCounterHandler.java:26)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.getInstance(DownloadCounterHandler.java:54)
Truncated. see log file for complete stacktrace
>
<Jan 26, 2013 10:23:34 AM GMT+05:30> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'wsc'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:417)
at java.lang.Integer.parseInt(Integer.java:499)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.loadCounterDLPage(DownloadCounterHandler.java:36)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.<init>(DownloadCounterHandler.java:26)
at com.csam.wsc.ri.user.web.action.DownloadCounterHandler.getInstance(DownloadCounterHandler.java:54)
Truncated. see log file for complete stacktrace

<Jan 26, 2013 10:23:47 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 26, 2013 10:23:47 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jan 26, 2013 10:23:47 AM GMT+05:30> <Error> <HTTP Session> <BEA-100057> <This server does not have deployment for the Web application with context path: . The callback: becomeSecondary failed while replicating the session. Check your configuration; only uniform configurations in a cluster are supported.>
<Jan 26, 2013 10:23:47 AM GMT+05:30> <Error> <HTTP Session> <BEA-100057> <This server does not have deployment for the Web application with context path: . The callback: becomeSecondary failed while replicating the session. Check your configuration; only uniform configurations in a cluster are supported.>
<Jan 26, 2013 10:23:47 AM GMT+05:30> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.cluster.replication.ReplicationManager.create(Lweblogic.rmi.spi.HostID;ILweblogic.cluster.replication.ROID;Lweblogic.cluster.replication.Replicatable;)
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server.
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server
at weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(ReplicatedSessionData.java:276)
at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:45)
at weblogic.cluster.replication.ReplicationManager$wroManager.create(ReplicationManager.java:327)
at weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.java:1102)
at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown Source)
Truncated. see log file for complete stacktrace
>
<Jan 26, 2013 10:23:47 AM GMT+05:30> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.cluster.replication.ReplicationManager.create(Lweblogic.rmi.spi.HostID;ILweblogic.cluster.replication.ROID;Lweblogic.cluster.replication.Replicatable;)
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server.
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server
at weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(ReplicatedSessionData.java:276)
at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:45)
at weblogic.cluster.replication.ReplicationManager$wroManager.create(ReplicationManager.java:327)
at weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.java:1102)
at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown Source)
Truncated. see log file for complete stacktrace

===================================================================================


<Jan 26, 2013 10:23:47 AM GMT+05:30> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.cluster.replication.ReplicationManager.create(Lweblogic.rmi.spi.HostID;ILweblogic.cluster.replication.ROID;Lweblogic.cluster.replication.Replicatable;)
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server.
weblogic.cluster.replication.ApplicationUnavailableException: WebApp with contextPath: not found in the secondary server
at weblogic.servlet.internal.session.ReplicatedSessionData.becomeSecondary(ReplicatedSessionData.java:276)
at weblogic.cluster.replication.WrappedRO.<init>(WrappedRO.java:45)
at weblogic.cluster.replication.ReplicationManager$wroManager.create(ReplicationManager.java:327)
at weblogic.cluster.replication.ReplicationManager.create(ReplicationManager.java:1102)
at weblogic.cluster.replication.ReplicationManager_WLSkel.invoke(Unknown Source)
Truncated. see log file for complete stacktrace



Getting the above error continuously in logs.

Before restarting access log

========================================

172.16.64.128 - - [25/Jan/2013:16:13:51 +0530] "POST /tp300/tpdevic  srxrxpw. &weblogic.diagnostics.DiagnosticContext 2weblogic.diagnostics.context.DiagnosticContextImpl<1f2507255f40e1a4:48b5a" 200 283
172.16.64.128 - - [25/Jan/2013:16:13:55 +0530] "POST /tp300/tpdevice/mobilebanking.device.balanceQuery.1.action;jsessionid=yr7lRChXfdvpzdYvy5FYcSFyRNMTH8lZLFrzvvvZZv0yzplrS6GK!1569818474!496595629 HTTP/1.1" 200 283
172.16.64.128 - - [25/Jan/2013:16:13:51 +0530] "POST /tp300/tpdevice/mobilebanking.device.balanceQuery.1.action;jsessionid=CLT5RCfJwc6TcMXkY6CNHltpzDnxPYnH9vFlxrcpdVpg7mqvJKGT!1569818474!496595629 HTTP/1.1" 200 283
========================================

After restarting access log
========================================
172.16.64.128 - - [25/Jan/2013:23:26:29 +0530] "POST /tp300/tpdevice//mt.device.android.movieticketing.fetchcinemasforselectedevent.1.action;jsessionid=9Xv2RCGhyGGSLr6pkfGrTFV01smQ6HNB5wChlZJPPy2TB13gjf4h!1569818474!NONE HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:29 +0530] "GET /tp/applications/M20P2230ALL0.jad HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:29 +0530] "POST /tp300/tpdevice//sync.device.1.action;jsessionid=GszdRCHbFL3pJcpNrTLhfnBgp711cGDxMr1nz4h6rLLf2zJlYJjb!1569818474!NONE HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:30 +0530] "POST /tp300/tpdevice//mobilebanking.device.balanceQuery.1.action;jsessionid=t0GJRCHhTXyYTGvLXL1qJwyQJrH11yrnrL2lv4rJ67Sf1yv6JQV3!1569818474!NONE HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:31 +0530] "POST /tp300/tpdevice/WalletLogin.1.action HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:31 +0530] "POST /tp300/tpdevice/mobilebanking.device.balanceQuery.1.action;jsessionid=GRcxRCHF1Jnq9vsnDJZqC1CQLG2427vMlTpxvpKvHnt2D1nPQQGv!1569818474!NONE HTTP/1.1" 404 1164
172.16.64.128 - - [25/Jan/2013:23:26:31 +0530] "POST /tp300/tpdevice//AndriodWalletLogin.1.action HTTP/1.1" 404 1164

=========================================

Kindly share the suggestions. Thanks in Advance.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic