Forums de discussion

Liferay 7 Orgs and Users are not deleting while using S3 as Repository

thumbnail
Sai Mohan Gadamsetty, modifié il y a 7 années.

Liferay 7 Orgs and Users are not deleting while using S3 as Repository

Junior Member Publications: 92 Date d'inscription: 06/02/13 Publications récentes
Hi All,

When I connect Liferay 7 CE (GA3) repo with s3 bucket then I am seeing some strange behavior while deleting orgs and users. It showing below message and following logs I can see

"Portlet Temporarly Unavailable"

18:01:11,214 ERROR [http-nio-8080-exec-4][PortletServlet:109] javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: Couldn't initialize a SAX driver to create an XMLReader
javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: Couldn't initialize a SAX driver to create an XMLReader
at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:69)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:354)
at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:93)
at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:249)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$PortletServletWrapper.service(ServletContextHelperRegistrationImpl.java:427)

18:01:11,218 ERROR [http-nio-8080-exec-4][render_portlet_jsp:131] null
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser cannot be found by com.liferay.users.admin.web_2.0.7
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:444)
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)


I've seen couple of bugs relates to this as below, since I've got same exceptions during mentioned operations.

https://issues.liferay.com/browse/LPS-65929


Is this issue similar to above or any thing I'm missing with setup or configurations. Please advise.
thumbnail
Jorge Díaz, modifié il y a 7 années.

RE: Liferay 7 Orgs and Users are not deleting while using S3 as Repository

Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
Which application server are you using? Tomcat? Wildfly? Other?

Classloader issues can be related to app server.
thumbnail
Sai Mohan Gadamsetty, modifié il y a 7 années.

RE: Liferay 7 Orgs and Users are not deleting while using S3 as Repository

Junior Member Publications: 92 Date d'inscription: 06/02/13 Publications récentes
Hi Jorge,

I'm using Tomcat as App server on our environment.
thumbnail
Sai Mohan Gadamsetty, modifié il y a 7 années.

RE: Liferay 7 Orgs and Users are not deleting while using S3 as Repository

Junior Member Publications: 92 Date d'inscription: 06/02/13 Publications récentes
Hi Jorge,

I did changes as below then its worked for me,

Added below property in ROOT/WEB-INF/classes/system.properties

org.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser

do we have any impact if we do changes as mentioned above? Please advise.