Skip to content

Instantly share code, notes, and snippets.

@nikki-pru
nikki-pru / gist:38fde180562f1a5980771d593a8a7280
Created Aug 12, 2020
7.1 FP18 + Punchout at 81f5c216d5a16b44c5c8951ad1dc62ec1a6c259f
View gist:38fde180562f1a5980771d593a8a7280
L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin>catalina run
Using CATALINA_BASE: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33"
Using CATALINA_HOME: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33"
Using CATALINA_TMPDIR: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_231"
Using CLASSPATH: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin\bootstrap.jar;L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin\tomcat-juli.jar"
12-Aug-2020 17:43:01.513 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,312] milliseconds
Loading jar:file:/L:/liferay-dxp-7.1.10-dxp-18/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/L:/liferay-dxp-7.1.10-dxp-18/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
@nikki-pru
nikki-pru / gist:6d892669f36d4491c96ad5994bfeffa3
Created Aug 11, 2020
7.1FP18 + Commerce 2.1.2 + (locally built punchout jars at Git ID 1fd8c599aa0476d377433759c763d02195bb0468, with edited headless-commerce-punchout-impl\bnd.bnd to 5.4.0,6.0.0)
View gist:6d892669f36d4491c96ad5994bfeffa3
L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin>catalina run
Using CATALINA_BASE: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33"
Using CATALINA_HOME: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33"
Using CATALINA_TMPDIR: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_231"
Using CLASSPATH: "L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin\bootstrap.jar;L:\liferay-dxp-7.1.10-dxp-18\tomcat-9.0.33\bin\tomcat-juli.jar"
11-Aug-2020 16:28:50.246 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,352] milliseconds
Loading jar:file:/L:/liferay-dxp-7.1.10-dxp-18/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/L:/liferay-dxp-7.1.10-dxp-18/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
View gist:c1c7f386a27000a1f2821d5547d0bf10
L:\>java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
L:\>ant -version
Apache Ant(TM) version 1.10.7 compiled on September 1 2019
L:\>echo %JAVA_OPTS%
-Xms1g -Xmx1g
View gist:82aad0d9920c94771ed51ebd1e8c09b6
L:\www\liferay>gradlew.bat up
> Task :deploy NO-SOURCE
:deploy took 0ms
> Task :downloadHotfixWebdav
Downloading liferay-hotfix-1574-7210.zip
:downloadHotfixWebdav took 77ms
> Task :copyHotfix SKIPPED
View gist:3b6785bfb2ad1370e53abcbedf9a71f6
2020-04-20 17:17:32.841 WARN [http-nio-8080-exec-1][PortalImpl:7011] javax.servlet.ServletException: A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable
javax.servlet.ServletException: A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable
at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.liferay.portal
View gist:f489a8759a9c5cce957021aba1ef7c22
O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33\bin>catalina run
Using CATALINA_BASE: "O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33"
Using CATALINA_HOME: "O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33"
Using CATALINA_TMPDIR: "O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_231"
Using CLASSPATH: "O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33\bin\bootstrap.jar;O:\liferay-ce-portal-7.3.1-ga2\tomcat-9.0.33\bin\tomcat-juli.jar"
26-Mar-2020 23:08:16.407 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,536] milliseconds
Loading jar:file:/O:/liferay-ce-portal-7.3.1-ga2/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/O:/liferay-ce-portal-7.3.1-ga2/tomcat-9.0.33/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
View gist:39361dcde7f074193f65f21609f44a75
13-Jan-2020 17:35:45.889 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.liferay.portal.spring.context.PortalContextLoaderListener]
java.lang.RuntimeException: java.lang.NullPointerException
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:305)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.jav
View gist:49c01235418849040aeed60e89e42392
# Create your commits (you can do this on Atom)
# On Terminal, check that your commits are there (git log -1)
# Push your branch to your origin (git push origin {branchName} | example: git push origin LRQA-54912)
# On your browser, go to your forked liferay-qa-docs repo (example: https://github.com/nikki-pru/liferay-qa-ee/tree/liferay-qa-docs)
# Select the branch you want to send in on the Branch dropdown (should be under where it says the number of commits)
View gist:95aaac35bf6283767f1f67be9d484553
2019-11-14 02:55:38.704 ERROR [http-nio-8080-exec-5][PortletRequestDispatcherImpl:304] Unable to dispatch request: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20101, name=com.liferay.commerce, primKey=com.liferay.commerce, scope=4}
2019-11-14 02:55:38.707 ERROR [http-nio-8080-exec-5][PortletServlet:119] javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20101, name=com.liferay.commerce, primKey=com.liferay.commerce, scope=4}
javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20101, name=com.liferay.commerce, primKey=com.liferay.commerce, scope=4}
at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:306)
at com.liferay.portlet.internal.PortletRequestDispa
View gist:9c473f34ad76e93ca25150373379d362
root@ubuntu:/usr/portal/master-portal# ant -f build-test.xml record-test-junit-csv-report
Buildfile: /usr/portal/master-portal/build-test.xml
[delete] Deleting: /usr/portal/master-portal/null369511875.properties
record-test-junit-csv-report:
[beanshell] Securing standard error and out
[beanshell] Executing commands: git remote -v
[beanshell] Found git remotes: origin, upstream
[beanshell] java.lang.RuntimeException: Invalid portal Git working directory
[beanshell] at com.liferay.jenkins.results.parser.PortalGitRepositoryJob.getPortalGitWorkingDirectory(PortalGitRepositoryJob.java:49)