Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2848

Axis startup error -typeMappingVersion argument must be 1.1 or 1.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • None
    • Windows XP, Websphere 6.0

    Description

      In my server-config.wsdd file, I have <parameter name="typeMappingVersion" value="1.2" />.
      I am using Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT) and using websphere 6.0 JDK which is
      "J2RE 1.4.2 IBM Windows 32 build cn142sr1w-20041028"
      At the start of my web application, it is throwing following error:-
      org.apache.axis.ConfigurationException: java.lang.RuntimeException: The -typeMappingVersion argument must be 1.1 or 1.2
      java.lang.RuntimeException: The -typeMappingVersion argument must be 1.1 or 1.2
      at org.apache.axis.encoding.TypeMappingRegistryImpl.doRegisterFromVersion(TypeMappingRegistryImpl.java:308)
      at org.apache.axis.deployment.wsdd.WSDDService.createTMR(WSDDService.java:262)
      at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:251)
      at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java(Compiled Code))
      at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192)
      at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)
      at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)
      at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
      at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
      at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
      at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
      at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
      at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
      at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
      at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
      at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
      at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
      at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:262)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1319)
      at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)
      at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:745)
      at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:493)
      at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:379)
      at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
      at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
      at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
      at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
      at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
      at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
      at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

      at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:188)
      at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
      at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
      at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
      at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
      at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
      at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
      at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
      at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
      at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
      at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ag112 Ankur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: