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

Webservice - Invalid values in request launch a infinite loop in JBoss bundle

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.2.3 CE GA4
    • Fix Version/s: None
    • Component/s: Calendar, Portal Services
    • Labels:
      None
    • JDK:
      Oracle Sun JDK 7
    • Application Servers:
      JBoss EAP 7.0
    • Databases:
      MySQL 5.7

      Description

      This error only occurs in JBoss bundle. (JBoss 7.1.1)

      Calendar Portlet:

      Request

      <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:http.service.calendar.liferay.com">
      <soapenv:Header/>
      <soapenv:Body>
      <urn:fetchCalendarResource soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <classNameId xsi:type="xsd:long">?</classNameId>
      <classPK xsi:type="xsd:long">?</classPK>
      </urn:fetchCalendarResource>
      </soapenv:Body>
      </soapenv:Envelope>

      Error:

      10:58:30,852 WARN [org.jboss.modules] (http--127.0.0.1-8080-1) Failed to define class com.liferay.util.axis.AxisServlet in Module "deployment.calendar-portlet.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/liferay/util/axis/AxisServlet (Module "deployment.calendar-portlet.war:main" from Service Module Loader)
      at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:396) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.1.1.GA]
      ...
      Caused by: java.lang.NoClassDefFoundError: org/apache/axis/transport/http/AxisServlet
      at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_79]

       

      My Webservice:

      <id xsi:type="xsd:long">AAAA3504</id>
      <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:http.service.database.<...>">
      <soapenv:Header/>
      <soapenv:Body>
      <urn:... soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <id xsi:type="xsd:long">AAAA3504</id>
      </urn:...>
      </soapenv:Body>
      </soapenv:Envelope>

      Getting this error:

      Failed to define class com.liferay.util.axis.AxisServlet in Module "deployment.database-portlet.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/liferay/util/axis/AxisServlet (Module "deployment.database-portlet.war:main" from Service Module Loader)
      Caused by: java.lang.NoClassDefFoundError: org/apache/axis/transport/http/AxisServlet

      Even try add;

      • portal-dependency-jars=axis.jar,jaxrpc.jar,commons-discovery.jar

      But getting:

      java.lang.ClassCastException: org.apache.axis.encoding.ser.BeanSerializerFactory cannot be cast to org.apache.axis.encoding.SerializerFactory
      
      

      ROOT Webservice:

      This error doesn't occur in ROOT web service.

       

      You can find more information about this in this post:

      https://web.liferay.com/pt/community/forums/-/message_boards/message/94343229

       

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package