I am learning servelts and JSP trying out a sample application from head first series. Following is thew full console prints:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[11/29/08 8:46:24:086 GMT] 38edbb07 DeployedAppli W WSVR0205E: Module, TestListener.war, of application, DefaultEAR, failed to initialize [11/29/08 8:46:24:112 GMT] 38edbb07 ApplicationMg W WSVR0100W: An error occurred initializing, DefaultEAR com.ibm.ws.exception.ConfigurationWarning: Open failure at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:297) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:744) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:426) at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:154) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:221) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) Caused by: com.ibm.etools.archive.exception.ArchiveWrappedException at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:374) at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:122) at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:291) ... 18 more ---- Begin backtrace for nested exception com.ibm.etools.archive.exception.ArchiveWrappedException Stack trace of nested exception: com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml Stack trace of nested exception: com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 2 :Column #: 22 Stack trace of nested exception:org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:208) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:231) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.importFrom(DeploymentDescriptorImportExport.java:186) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.importFrom(DeploymentDescriptorImportExport.java:177) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.load(DeploymentDescriptorImportExport.java:220) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:135) at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:159) at com.ibm.etools.j2ee.common.impl.XMLResourceImpl.basicDoLoad(XMLResourceImpl.java:301) at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:152) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:881) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:755) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:220) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:286) at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:349) at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:764) at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:282) at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:33) at com.ibm.etools.archive.impl.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:71) at com.ibm.etools.archive.impl.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:66) at com.ibm.etools.commonarchive.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:206) at com.ibm.etools.commonarchive.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:469) at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:444) at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:372) at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:122) at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:291) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:744) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:426) at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:154) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:221) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)

[11/29/08 8:46:24:867 GMT] 38edbb07 HttpTransport A SRVE0171I: Transport http is listening on port 8,080. [11/29/08 8:46:25:145 GMT] 38edbb07 HttpTransport A SRVE0171I: Transport https is listening on port 9,443. [11/29/08 8:46:25:153 GMT] 38edbb07 ContainerImpl E WSVR0501E: Error creating component null [class com.ibm.ws.runtime.component.ApplicationServerImpl] com.ibm.ws.exception.RuntimeWarning: Open failure at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:237) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) Caused by: com.ibm.ws.exception.ConfigurationWarning: Open failure at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:297) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:744) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:426) at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:154) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:221) ... 14 more Caused by: com.ibm.etools.archive.exception.ArchiveWrappedException at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:374) at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:122) at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:291) ... 18 more ---- Begin backtrace for nested exception com.ibm.ws.exception.ConfigurationWarning: Open failure at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:297) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:744) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:426) at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:154) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:221) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97) Caused by: com.ibm.etools.archive.exception.ArchiveWrappedException at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:374) at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:122) at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:291) ... 18 more ---- Begin backtrace for nested exception com.ibm.etools.archive.exception.ArchiveWrappedException Stack trace of nested exception: com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml Stack trace of nested exception: com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 2 :Column #: 22 Stack trace of nested exception:org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTYPE root "null". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:208) at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:231) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.importFrom(DeploymentDescriptorImportExport.java:186) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.importFrom(DeploymentDescriptorImportExport.java:177) at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.load(DeploymentDescriptorImportExport.java:220) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:135) at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:159) at com.ibm.etools.j2ee.common.impl.XMLResourceImpl.basicDoLoad(XMLResourceImpl.java:301) at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:152) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:881) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:755) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:220) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:286) at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:349) at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:764) at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:282) at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:33) at com.ibm.etools.archive.impl.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java:71) at com.ibm.etools.archive.impl.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java:66) at com.ibm.etools.commonarchive.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:206) at com.ibm.etools.commonarchive.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java:469) at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:444) at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:372) at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:122) at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:291) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:744) at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:426) at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:154) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:221) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:125) at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536) at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413) at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183) at com.ibm.ws.runtime.WsServer.start(WsServer.java:128) at com.ibm.ws.runtime.WsServer.main(WsServer.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) at java.lang.reflect.Method.invoke(Method.java:386) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94) at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)