Message Boards
LAR import
LAR import
Regular Member Posts: 111 Join Date: 5/22/08 Recent PostsHi All,
I am trying to import LAR file in my local environment. I get the below error while uploading the LAR
Caused by: com.liferay.portal.kernel.exception.SystemException:
com.liferay.portal.kernel.sanitizer.SanitizerException:
org.owasp.validator.html.ScanException: The input was too large. The
specified input was 352,031 bytes and the maximum is 200,000
bytes.
at
com.liferay.knowledge.base.service.persistence.impl.KBArticlePersistenceImpl.updateImpl(KBArticlePersistenceImpl.java:34160)
at
com.liferay.knowledge.base.service.persistence.impl.KBArticlePersistenceImpl.updateImpl(KBArticlePersistenceImpl.java:84)
at
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:544)
at
com.liferay.knowledge.base.service.impl.KBArticleLocalServiceImpl.addKBArticle(KBArticleLocalServiceImpl.java:205)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
at
com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
at com.sun.proxy.$Proxy618.addKBArticle(Unknown Source)
at
com.liferay.knowledge.base.internal.exportimport.data.handler.KBArticleStagedModelDataHandler._addKBArticle(KBArticleStagedModelDataHandler.java:393)
at
com.liferay.knowledge.base.internal.exportimport.data.handler.KBArticleStagedModelDataHandler.doImportStagedModel(KBArticleStagedModelDataHandler.java:238)
at
com.liferay.knowledge.base.internal.exportimport.data.handler.KBArticleStagedModelDataHandler.doImportStagedModel(KBArticleStagedModelDataHandler.java:64)
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:396)
... 41 more
Caused by:
com.liferay.portal.kernel.sanitizer.SanitizerException:
org.owasp.validator.html.ScanException: The input was too large. The
specified input was 352,031 bytes and the maximum is 200,000 bytes.
at
com.liferay.portal.security.antisamy.internal.AntiSamySanitizerImpl.sanitize(AntiSamySanitizerImpl.java:117)
at
com.liferay.portal.kernel.sanitizer.SanitizerUtil.sanitize(SanitizerUtil.java:56)
at
com.liferay.portal.kernel.sanitizer.SanitizerUtil.sanitize(SanitizerUtil.java:44)
at
com.liferay.knowledge.base.service.persistence.impl.KBArticlePersistenceImpl.updateImpl(KBArticlePersistenceImpl.java:34154)
... 59 more
Caused by: org.owasp.validator.html.ScanException: The input
was too large. The specified input was 352,031 bytes and the maximum
is 200,000 bytes.
at
org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(AntiSamyDOMScanner.java:120)
at
org.owasp.validator.html.AntiSamy.scan(AntiSamy.java:93)
at
com.liferay.portal.security.antisamy.internal.AntiSamySanitizerImpl.sanitize(AntiSamySanitizerImpl.java:110)
... 62 more
Can anyone please help me?
My environment is :
Tomcat
MySQL 5.7
Liferay DXP 7.2
Regards,
Hamidul Islam