Solved

WSVR0501E Error creating component null

Posted on 2009-05-08
1
5,900 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
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now