Solved

WSVR0501E Error creating component null

Posted on 2009-05-08
1
6,079 Views
Last Modified: 2013-12-14
WebSphere Platform 6.0 [ND 6.0.2.31 cf310840.03]  
Java version = J2RE 1.4.2
Host Operating System is AIX, version 5.3
we are using websphere 6.0 and we have installed a new JVM. When I try to deploy the war file, its gets installed fine. I do see any expections while the deployment of the application happens.

When I bring up the server i notice that the application fails to start during start up. I notice the following exception

[5/7/09 19:28:49:159 UTC] 0000002b RecoveryManag A   WTRN0028I: Transaction service recovering 0 transactions.
[5/7/09 19:28:49:339 UTC] 0000002d ApplicationMg A   WSVR0200I: Starting application: aahonline
[5/7/09 19:28:49:969 UTC] 0000002d ApplicationMg E   WSVR0101W: An error occurred starting, aahonline

[5/7/09 19:28:50:006 UTC] 0000002d ApplicationMg A   WSVR0217I: Stopping application: aahonline
[5/7/09 19:28:50:117 UTC] 0000002d ApplicationMg A   WSVR0220I: Application stopped: aahonline
[5/7/09 19:28:50:141 UTC] 0000000a ContainerImpl E   WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationMgrImpl]
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplications(ApplicationMgrImpl.java:797)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:544)
      at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
      at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
      at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
      at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
      at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
      at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:444)
      at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
      at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
      at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
      at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      at java.lang.reflect.Method.invoke(Method.java:391)
      at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
      at java.lang.Thread.run(Thread.java:571)
Caused by: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:944)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2105)
      at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:804)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:920)
      ... 3 more
Caused by: java.lang.NullPointerException
      at com.ibm.ws.webcontainer.webapp.WebAppConfigurationHelper.constructServletMappings(WebAppConfigurationHelper.java:392)
      at com.ibm.ws.webcontainer.webapp.WebAppConfigurationHelper.createConfiguration(WebAppConfigurationHelper.java:137)
      at com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.createMetaData(WebMetaDataFactory.java:167)
      at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaDataFromFactories(MetaDataMgrImpl.java:169)
      at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:303)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:541)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
      ... 4 more

[5/7/09 19:28:50:256 UTC] 0000000a TCPChannel    A   TCPC0001I: TCP Channel TCP_2 is listening on host us97uap209ampxb  (IPv4: 159.202.154.135) port 25021.
[5/7/09 19:28:50:286 UTC] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain WCInboundDefault.
[5/7/09 19:28:50:290 UTC] 0000000a WSChannelFram A   CHFW0019I: The Transport Channel Service has started chain SOAPAcceptorChain1.
[5/7/09 19:28:50:297 UTC] 0000002d SchedulerServ I   SCHD0077I: The Scheduler Service is starting the Schedulers.
[5/7/09 19:28:50:296 UTC] 0000000a ContainerImpl E   WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationServerImpl]
com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplications(ApplicationMgrImpl.java:797)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:544)
      at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
      at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
      at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
      at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
      at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
      at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:444)
      at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
      at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
      at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
      at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
      at java.lang.reflect.Method.invoke(Method.java:391)
      at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
      at java.lang.Thread.run(Thread.java:571)
Caused by: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:944)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2105)
      at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:804)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:920)
      ... 3 more
Caused by: java.lang.NullPointerException
      at com.ibm.ws.webcontainer.webapp.WebAppConfigurationHelper.constructServletMappings(WebAppConfigurationHelper.java:392)
      at com.ibm.ws.webcontainer.webapp.WebAppConfigurationHelper.createConfiguration(WebAppConfigurationHelper.java:137)
      at com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.createMetaData(WebMetaDataFactory.java:167)
      at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaDataFromFactories(MetaDataMgrImpl.java:169)
      at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:303)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:541)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
      ... 4 more

[5/7/09 19:28:50:300 UTC] 0000002d SchedulerServ I   SCHD0078I: The Scheduler Service has completed starting the Schedulers.
[5/7/09 19:28:50:384 UTC] 0000000a RMIConnectorC A   ADMC0026I: The RMI Connector is available at port 26021
[5/7/09 19:28:52:349 UTC] 00000032 CacheServiceI I   DYNA1001I: WebSphere Dynamic Cache instance named ws/WSSecureMap initialized successfully.
[5/7/09 19:28:52:699 UTC] 00000035 DiscoveryMBea I   ADMD0023I: The system discovered process (name: nodeagent, type: NodeAgent, pid: 70616)
[5/7/09 19:28:53:070 UTC] 0000000a WsServerImpl  A   WSVR0002I: Server AP02us97uap209ampxbaaahonlneServer open for e-business, problems occurred during startup


After I get the following Exception I try to access the URL of the application and it gives me a 404 File not found error.
and in the sysout logs I notice the following
[5/7/09 22:38:57:945 UTC] 0000002c WebContainer  E   SRVE0017W: A WebGroup/Virtual Host to handle /AAHOnline_INTER_WEB/homeonline/jsp/Sample.jsp has not been defined.

Can someone help me bring the Application fine?
0
Comment
Question by:Abishekn
[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
1 Comment
 

Accepted Solution

by:
Abishekn earned 0 total points
ID: 24339870
Thanks We resolved the problem by reconfiguring the virtual host files. and reinstalling the application.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Suggested Courses
Course of the Month3 days, 19 hours left to enroll

630 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