Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66548

ClassNotFoundException for PortletPreferencesIds by com.liferay.portal.remote.axis.extender

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.1 CE GA2
    • Fix Version/s: 7.0.1 CE GA2
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Fix Priority:
      5

      Description

      Reproduced on:
      Tomcat 8.0.32 + HSQL. Portal ee-7.0.x GIT ID: 1d0653154cc522f530d35d3f6555116a7ae39adc

      1. Start up portal

      Expected result: Portal starts up with no errors
      Actual result: Console errors below
      Unable to deploy typemapping:

      {http://model.portal.liferay.com}

      PortletPreferencesIds
      java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2

      22:21:09,788 ERROR [Thread-187][WSDDDeployableItem:560] Unable to deploy typemapping: {http://model.portal.liferay.com}PortletPreferencesIds
      java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
              at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
              at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
              at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)
              at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
              at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)
              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:173)
              at org.apache.axis.AxisEngine.<init>(AxisEngine.java:157)
              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:158)
              at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:245)
              at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:340)
      22:21:09,820 INFO  [Thread-187][WSDDDeployment:196] Ignoring non-fatal exception
      org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2
      java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
              at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
              at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
              at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)
              at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
              at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)
              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:173)
              at org.apache.axis.AxisEngine.<init>(AxisEngine.java:157)
              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:158)
              at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:245)
              at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:340)
      
      org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2
      java.lang.ClassNotFoundException: com.liferay.portal.model.PortletPreferencesIds cannot be found by com.liferay.portal.remote.axis.extender_1.0.2
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
              at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
              at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)
              at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)
              at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
              at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)
              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:173)
              at org.apache.axis.AxisEngine.<init>(AxisEngine.java:157)
              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:158)
              at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:245)
              at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:340)
      
              at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:561)
              at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
              at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)
              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:173)
              at org.apache.axis.AxisEngine.<init>(AxisEngine.java:157)
              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:158)
              at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:245)
              at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:340)
      
              at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:561)
              at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)
              at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)
              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:173)
              at org.apache.axis.AxisEngine.<init>(AxisEngine.java:157)
              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:158)
              at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:245)
              at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:340)
      

      https://gist.github.com/nikki-pru/4128897cca8a1437030e01758fc707c5

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 18 weeks, 3 days ago

                Packages

                Version Package
                7.0.1 CE GA2