Uploaded image for project: 'ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)'
  1. ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  2. LEP-3631

Class com.liferay.portal.security.pwd.PasswordPolicyToolkit not found when adding user with remote service

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      JBoss-4.2.0-GA

      Description

      When trying to add user with call to UserServiceUtil.addUser() have an exception (PasswordPolicyToolkit.class is present in portal-impl.jar):

      java.lang.ClassNotFoundException: com.liferay.portal.security.pwd.PasswordPolicyToolkit
      2 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
      3 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
      4 at com.liferay.portal.kernel.util.InstancePool._get(InstancePool.java:61)
      5 at com.liferay.portal.kernel.util.InstancePool.get(InstancePool.java:40)
      6 at com.liferay.portal.security.pwd.PwdToolkitUtil.<init>(PwdToolkitUtil.java:61)
      7 at com.liferay.portal.security.pwd.PwdToolkitUtil.<clinit>(PwdToolkitUtil.java:77)
      8 at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:227)
      9 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      11 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      12 at java.lang.reflect.Method.invoke(Method.java:585)
      13 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      14 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      15 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      16 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      17 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      18 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      19 at $Proxy80.addUser(Unknown Source)
      20 at com.liferay.portal.service.UserLocalServiceUtil.addUser(UserLocalServiceUtil.java:110)
      21 at com.liferay.portal.service.impl.UserServiceImpl.addUser(UserServiceImpl.java:126)
      22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      23 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      24 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      25 at java.lang.reflect.Method.invoke(Method.java:585)
      26 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      27 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
      28 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      29 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      30 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
      31 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      32 at $Proxy110.addUser(Unknown Source)
      33 at com.liferay.portal.service.UserServiceUtil.addUser(UserServiceUtil.java:94)

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            dkochelaev Dmitry Kochelaev (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                4.3.2