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

Unable to create web service in a hook project

    Details

      Description

      I am unable to generate a web service in a hook project.

      Step to reproduce the error:
      1. Unzip a new liferay instance using the liferay 6.1.1 GA2 bundle.
      2. Get a copy of the liferay plugins SDK
      3. Generate a hook using the cmd line (create.bat my-web-service "My Web Service")
      4. Generate a service.xml file with a remote service enabled
      5. Build services. (ant build-service)
      6. Implement services and rebuild services again.
      7. Build wsdd services (ant build-wsdd)
      9. Deploy (ant deploy)
      10. Restart server.
      11. Try to access the web service (http://localhost:8080/my-web-service-hook/api/axis

      Get the following exception:

      HTTP Status 500 -
      ________________________________________
      type Exception report
      message
      description The server encountered an internal error () that prevented it from fulfilling this request.
      exception
      java.lang.NullPointerException
      com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.getInvokerFilterChain(InvokerFilter.java:177)
      com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:64)
      note The full stack trace of the root cause is available in the Apache Tomcat/7.0.27 logs.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 26 weeks, 4 days ago

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.0 CE M5