• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Type is unrecognized or not yet supported: PUBLIC_ID=-//Sun Microsystems, Inc.//DTD W

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to install a war file into WebSphere 4.0 AES. I get the following error -"Exception:
com.ibm.etools.archive.exception.NotSupportedException: Type is unrecognized or not yet supported: PUBLIC_ID=-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN;SYSTEM_ID=http://java.sun.com/dtd/web-app_2_3.dtd".
I have this DTD defined in WEB-INF/web.xml file. What do i need to get it to work on WEbsphere 4.0 ?
Thanx,
Vijay
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your doctype tag looks a bit different than mine.
Mine looks like this:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">;

Also, make sure the box that runs ur WAS AEs is
hooked onto the internet. If thats not possible
and if you use NT or Win2000 try the loopback solution.

HTH,
PJ
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is happening is that you are trying to deploy a Servlet 2.3 web app into WebSphere 4.0. That won't work -- we only support the Servlet 2.2 spec. Servlet 2.3 will come in WebSphere 5.0.
Kyle
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to deploy Servlet 2.3 web app into WSAD 5.1 and I get exactly the same exception:
om.ibm.etools.j2ee.xml.NotSupportedException: IWAE0082E Type is unrecognized or not yet supported: PUBLIC_ID=-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN SYSTEM_ID=http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
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)
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic