We help IT Professionals succeed at work.

WSVR0501E Error creating component null

Abishekn
Abishekn asked
on
6,633 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?
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.