The documentation for the Liferay Docker images is available on the Docker Hub pages of each project:
If you have issues with the Docker Image scripts, please report an DOCKER ticket in Liferay's issue management system.
License: Other
The documentation for the Liferay Docker images is available on the Docker Hub pages of each project:
If you have issues with the Docker Image scripts, please report an DOCKER ticket in Liferay's issue management system.
Liferay subscribers can download the patching tool from the customer portal. Older versions were named patching-tool-x.y.zz.zip
, more recent ones (released during 2019) are named Patching Tool x.y.zz.zip
Container looks for a patching tool file in the bind mounted volume. If tool is found, then it is installed prior to patch Liferay,
Observed behavior
Only old naming files are recognized as valid patching tool. New names are ignored, so users need to know how to rename the .zip file to match old naming convention if they have to update the patching tool in the container
Solution
Either consider only new names or both
We use Liferay docker image with kubernetes.
Liferay version 7.3.2 : http://liferay-test.esa-maap.org/web/guest
We noticed that Liferay added a label to show node by default, and in our example we have something like: Node: liferay-5d8d6d44bc-7tlx6:8080
According to this documentation, just adding web.server.display.node=false should remove the alert with node name.
But it is not working. The property is correctly set in the running container but this alert is still there. Please, how could I remove it ?
Thanks
Hello,
I want to report a problem with all versions since 7.4.3-ga90. I am not able to run the docker images on k8s. When i start the container it stucks on the steps where it needs to run the Elasticsearch and hangs there.
I would like to use the official docker images but currently I am stuck because I cannot use newer versions.
May I ask you to check why this happens and apply fixes?
Thank you in advance!
Best regards,
Ali Nebi
Using Gradle wrapper docker scripts, getting core dumps errors when the server is trying to generate a video preview
Liferay 7.2
liferay.workspace.docker.image.liferay=liferay/dxp:7.2.10-dxp-4-202003280246
it is DXP but I suppose happens same with regular portal version
Otherwise, it always runs with 1024m
Same as here: https://github.com/mdelapenya/docker-liferay-portal/blob/master/configs/setenv.sh#L1
JVM_TUNING_MEMORY=${JVM_TUNING_MEMORY:-2048m}
CATALINA_OPTS="$CATALINA_OPTS -server -Dfile.encoding=UTF8 -Xms${JVM_TUNING_MEMORY} -Xmx${JVM_TUNING_MEMORY} -XX:MaxPermSize=512m -XX:NewSize=200m -XX:MaxNewSize=200m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=20 -XX:ParallelGCThreads=2 -Djava.net.preferIPv4Stack=true"
Trying to apply the script patch_liferay.sh
with both a fix pack and a hotfix (in general, more than one file with name liferay-*.zip
) will throw an error at line
This is because the bash operator -e
only admits one argument and doesn't play well with wildcards.
liferay7.4 | [LIFERAY] To SSH into this container, run: "docker exec -it cea218c801ad /bin/bash".
liferay7.4 |
liferay7.4 | [LIFERAY] Using zulu8 JDK. You can use another JDK by setting the "JAVA_VERSION" environment varible.
liferay7.4 |
liferay7.4 | [LIFERAY] The directory /mnt/liferay/deploy is ready. Copy files to $(pwd)/xyz123/deploy on the host operating system to deploy modules to Liferay DXP at runtime.
liferay7.4 |
liferay7.4 | [LIFERAY] Starting Liferay DXP. To stop the container with CTRL-C, run this container with the option "-it".
liferay7.4 |
liferay7.4 | 01-Mar-2022 14:38:09.689 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2743] milliseconds
liferay7.4 | Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib/portal-impl.jar!/system.properties
liferay7.4 | Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib/portal-impl.jar!/portal.properties
liferay7.4 | 2022-03-01 14:38:18.146 INFO [main][PortalContextLoaderListener:123] JVM arguments: -Djava.util.logging.config.file=/opt/liferay/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF-8 -Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=768m -XX:MetaspaceSize=768m -XX:NewSize=1536m -XX:SurvivorRatio=7 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/liferay/tomcat -Dcatalina.home=/opt/liferay/tomcat -Djava.io.tmpdir=/opt/liferay/tomcat/temp
liferay7.4 | 2022-03-01 14:38:52.050 WARN [main][DialectDetector:81] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
liferay7.4 | 2022-03-01 14:38:52.055 INFO [main][DialectDetector:148] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
liferay7.4 | 2022-03-01 14:39:01.606 INFO [main][ModuleFrameworkImpl:1238] Starting initial bundles
liferay7.4 | 2022-03-01 14:39:25.740 INFO [main][ModuleFrameworkImpl:1535] Started initial bundles
liferay7.4 | 2022-03-01 14:39:25.743 INFO [main][ModuleFrameworkImpl:1584] Starting dynamic bundles
liferay7.4 | 2022-03-01 14:39:47.539 INFO [Start Level: Equinox Container: 7b00679c-b403-4a9a-a700-700186b52812][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | 2022-03-01 14:39:47.948 INFO [CM Configuration Updater (ManagedServiceFactory Update: factoryPid=[com.liferay.portal.security.antisamy.configuration.AntiSamyClassNameConfiguration])][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | 2022-03-01 14:39:48.167 INFO [CM Configuration Updater (ManagedServiceFactory Update: factoryPid=[com.liferay.portal.security.antisamy.configuration.AntiSamyClassNameConfiguration])][Policy:289] Attempting to load AntiSamy policy from an input stream.
liferay7.4 | #
liferay7.4 | # A fatal error has been detected by the Java Runtime Environment:
liferay7.4 | #
liferay7.4 | # SIGSEGV (0xb) at pc=0x000000400d009ce0, pid=30, tid=0x00000040f76be700
liferay7.4 | #
liferay7.4 | # JRE version: OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (8.0_322-b06) (build 1.8.0_322-b06)
liferay7.4 | # Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64 compressed oops)
liferay7.4 | # Problematic frame:
liferay7.4 | # J 11701 C1 org.apache.xml.serialize.Printer.printText(C)V (65 bytes) @ 0x000000400d009ce0 [0x000000400d009cc0+0x20]
liferay7.4 | #
liferay7.4 | # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
liferay7.4 | #
liferay7.4 | # An error report file with more information is saved as:
liferay7.4 | # /opt/liferay/hs_err_pid30.log
liferay7.4 | Compiled method (c1) 111761 11701 ! 3 org.apache.xml.serialize.Printer::printText (65 bytes)
liferay7.4 | total in heap [0x000000400d009b50,0x000000400d00a1b0] = 1632
liferay7.4 | relocation [0x000000400d009c78,0x000000400d009cc0] = 72
liferay7.4 | main code [0x000000400d009cc0,0x000000400d009f80] = 704
liferay7.4 | stub code [0x000000400d009f80,0x000000400d00a028] = 168
liferay7.4 | oops [0x000000400d00a028,0x000000400d00a030] = 8
liferay7.4 | metadata [0x000000400d00a030,0x000000400d00a038] = 8
liferay7.4 | scopes data [0x000000400d00a038,0x000000400d00a090] = 88
liferay7.4 | scopes pcs [0x000000400d00a090,0x000000400d00a110] = 128
liferay7.4 | dependencies [0x000000400d00a110,0x000000400d00a118] = 8
liferay7.4 | handler table [0x000000400d00a118,0x000000400d00a190] = 120
liferay7.4 | nul chk table [0x000000400d00a190,0x000000400d00a1b0] = 32
liferay7.4 | #
liferay7.4 | # If you would like to submit a bug report, please visit:
liferay7.4 | # http://www.azul.com/support/
liferay7.4 | #
liferay7.4 | qemu: uncaught target signal 6 (Aborted) - core dumped
liferay7.4 | /usr/local/bin/liferay_entrypoint.sh: line 41: 30 Aborted start_liferay.sh
liferay7.4 exited with code 0
Building a new image on 7.3.10 EA2 using the build_local_image.sh
script gave me the following output:
...
Successfully tagged 7.3.10-ea2:20200327164108906
Starting container from image 7.3.10-ea2:20200327164108906-202004281138.
Waiting for health status.....................
[test_health_status] SUCCESS
[test_docker_image_files] SUCCESS
[test_docker_image_fix_pack_installed] SUCCESS
[test_docker_image_scripts_1] SUCCESS
[test_docker_image_scripts_2] SUCCESS
Stopping container.
./test_image.sh: line 25: [: -eq: unary operator expected
It seems that bash (at least on my machine, Ubuntu 18.04) expects TEST_RESULT
to be defined, and since it isn't defined in this case, then it errors out.
I think this should be solvable by either using quotes around both the variable and the test value (i.e. "0"
), or initializing the variable as =0
so that the equality test is evaluated properly.
I get this error when trying to pull docker image from Mac. It works fine on Windows
➜ ~ docker run -it -p 8080:8080 liferay/portal:7.3.4-ga5
Unable to find image 'liferay/portal:7.3.4-ga5' locally
7.3.4-ga5: Pulling from liferay/portal
89d9c30c1d48: Pull complete
cbbe517e65f1: Pull complete
21de56fc4430: Pull complete
84f7e350f0ea: Pull complete
88e27e8d13f4: Pull complete
5db8ec92ed92: Pull complete
3ac36da71c91: Pull complete
c4fc5feddab1: Pull complete
Digest: sha256:c44b51e0d562220339c98d770a4189d65b1daeeb0d6fefcc8609752bb21e04ff
Status: Downloaded newer image for liferay/portal:7.3.4-ga5
[LIFERAY] To SSH into this container, run: "docker exec -it 04390a42e7ec /bin/bash".
[LIFERAY] Using zulu8 JDK. You can use another JDK by setting the "JAVA_VERSION" environment varible.
[LIFERAY] Run this container with the option "-v
[LIFERAY] The directory /mnt/liferay/files does not exist. Create the directory $(pwd)/xyz123/files on the host operating system to create the directory /mnt/liferay/files on the container. Files in /mnt/liferay/files will be copied to /opt/liferay before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/scripts does not exist. Create the directory $(pwd)/xyz123/scripts on the host operating system to create the directory /mnt/liferay/scripts on the container. Files in /mnt/liferay/scripts will be executed, in alphabetical order, before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/deploy does not exist. Create the directory
[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".
Using CATALINA_BASE: /opt/liferay/tomcat
Using CATALINA_HOME: /opt/liferay/tomcat
Using CATALINA_TMPDIR: /opt/liferay/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/zulu8
Using CLASSPATH: /opt/liferay/tomcat/bin/bootstrap.jar:/opt/liferay/tomcat/bin/tomcat-juli.jar
17-Aug-2020 20:26:35.104 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2,582] milliseconds
Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
2020-08-17 20:26:40.705 INFO [main][PortalContextLoaderListener:139] JVM arguments: -Djava.util.logging.config.file=/opt/liferay/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF-8 -Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=768m -XX:MetaspaceSize=768m -XX:NewSize=1536m -XX:SurvivorRatio=7 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/liferay/tomcat -Dcatalina.home=/opt/liferay/tomcat -Djava.io.tmpdir=/opt/liferay/tomcat/temp
2020-08-17 20:27:12.264 WARN [main][DialectDetector:99] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
2020-08-17 20:27:12.276 INFO [main][DialectDetector:159] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
2020-08-17 20:27:23.063 INFO [main][ModuleFrameworkImpl:1585] Starting initial bundles
2020-08-17 20:28:16.626 INFO [main][ModuleFrameworkImpl:1871] Started initial bundles
2020-08-17 20:28:16.694 INFO [main][ModuleFrameworkImpl:1924] Starting dynamic bundles
2020-08-17 20:29:18.017 INFO [main][ModuleFrameworkImpl:1946] Started dynamic bundles
2020-08-17 20:29:18.024 INFO [main][ModuleFrameworkImpl:1953] Starting web bundles
2020-08-17 20:29:33.451 INFO [main][ModuleFrameworkImpl:2007] Started web bundles
2020-08-17 20:29:33.457 INFO [main][ModuleFrameworkImpl:407] Navigate to Control Panel > Configuration > Gogo Shell and enter "lb" to see all bundles
2020-08-17 20:31:00.694 WARN [HikariPool-1 housekeeper][HikariPool:686] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=46s515ms895µs800ns).
2020-08-17 20:33:04.945 WARN [main][SidecarManager:111] Liferay is configured to use Elasticsearch engine running in a child process of current process named as sidecar. Do NOT use sidecar in production. Sidecar is useful for development and demonstration purposes. Refer to the documentation for details on the limitations of sidecar. Remote Elasticsearch connections can be configured in the Control Panel.
2020-08-17 20:33:05.730 INFO [main][Sidecar:99] Starting sidecar Elasticsearch
2020-08-17 20:33:10.528 ERROR [main][ElasticsearchConnectionManager:84] Elasticsearch sidecar could not be started. Search will be unavailable. Manual installation of Elasticsearch and activation of remote mode is recommended.
java.lang.RuntimeException: Unable to start sidecar Elasticsearch process
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.executeSidecarMainProcess(Sidecar.java:243)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:105)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:134)
at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61)
at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:78)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:141)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.activate(SidecarManager.java:78)
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 org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228)
at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664)
at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510)
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317)
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:341)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:983)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:956)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:765)
at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1053)
at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1007)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1216)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1137)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:944)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:880)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1168)
at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:125)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:891)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl._registerService(ModuleFrameworkImpl.java:1552)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl.lambda$_registerApplicationContext$4(ModuleFrameworkImpl.java:1505)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl._registerApplicationContext(ModuleFrameworkImpl.java:1490)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl.registerContext(ModuleFrameworkImpl.java:321)
at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.registerContext(ModuleFrameworkUtilAdapter.java:72)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:367)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4690)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5151)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1831)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
Caused by: com.liferay.petra.process.ProcessException: java.io.IOException: Stream closed
at com.liferay.petra.process.local.LocalProcessExecutor.execute(LocalProcessExecutor.java:122)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.executeSidecarMainProcess(Sidecar.java:235)
... 83 more
Caused by: java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
at java.io.OutputStream.write(OutputStream.java:116)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
at java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1848)
at java.io.ObjectOutputStream.write(ObjectOutputStream.java:709)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1915)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1576)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351)
at com.liferay.petra.process.local.LocalProcessExecutor.execute(LocalProcessExecutor.java:97)
... 84 more
2020-08-17 20:33:13.753 ERROR [main][SidecarManager:93] bundle com.liferay.portal.search.elasticsearch7.impl:2.0.30 (655)[com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager(1769)] : The activate method has thrown an exception
java.lang.RuntimeException: Unable to start sidecar Elasticsearch process
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.executeSidecarMainProcess(Sidecar.java:243)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:105)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:134)
at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61)
at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:78)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:141)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.activate(SidecarManager.java:78)
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 org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228)
at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664)
at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510)
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317)
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:341)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:983)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:956)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:765)
at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1053)
at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1007)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1216)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1137)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:944)
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:880)
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1168)
at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:125)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:891)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:804)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:228)
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl._registerService(ModuleFrameworkImpl.java:1552)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl.lambda$_registerApplicationContext$4(ModuleFrameworkImpl.java:1505)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl._registerApplicationContext(ModuleFrameworkImpl.java:1490)
at com.liferay.portal.bootstrap.ModuleFrameworkImpl.registerContext(ModuleFrameworkImpl.java:321)
at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.registerContext(ModuleFrameworkUtilAdapter.java:72)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:367)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4690)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5151)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1831)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
Caused by: com.liferay.petra.process.ProcessException: java.io.IOException: Stream closed
at com.liferay.petra.process.local.LocalProcessExecutor.execute(LocalProcessExecutor.java:122)
at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.executeSidecarMainProcess(Sidecar.java:235)
... 83 more
Caused by: java.io.IOException: Stream closed
at java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:433)
at java.io.OutputStream.write(OutputStream.java:116)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
at java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1848)
at java.io.ObjectOutputStream.write(ObjectOutputStream.java:709)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1877)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1915)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1576)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:351)
at com.liferay.petra.process.local.LocalProcessExecutor.execute(LocalProcessExecutor.java:97)
... 84 more
/usr/local/bin/start_liferay.sh: line 3: 8 Killed ${LIFERAY_HOME}/tomcat/bin/catalina.sh run
➜ ~
Steps to reproduce:
releases.liferay.com/portal/7.1.1-ga2/liferay-ce-portal-tomcat-7.1.1-ga2-20181112144637000.7z
Image is built
Image is not built. When trying to get current date:
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: mkdir [-pv] [-m mode] directory ...
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
Command Line Error:
Too short switch:
-O
mv: rename /liferay-* to /liferay: No such file or directory
Unable to determine Tomcat version.
So any other command fails
Inform that 7z and unzip must be present in the OS
I pull the image of 6.2.5,and run it with docker run -itd --name liferay6.2 -p 8080:8080 -v ~/docker/data/liferay6.2:/etc/liferay/mount liferay/portal:6.2.5-ga6
,I can't init liferay successful,and it hit
"This instance is inactive. Please contact the administrator.",I get into the container,and find a log file "liferay.2019-02-22.log" in /opt/liferay/logs folder,please delete it and rebuild.
thx.
I am facing following issue while creating image. Logs shown below:-
C:\Code\docker\liferay-docker-master>docker build template -t liferay-portal
Sending build context to Docker daemon 13.82kB
Step 1/32 : FROM azul/zulu-openjdk-alpine:8u232
---> 97bb12e9b796
Step 2/32 : ARG LABEL_BUILD_DATE
---> Using cache
---> 937be184448d
Step 3/32 : ARG LABEL_NAME
---> Using cache
---> ef025e9c9c65
Step 4/32 : ARG LABEL_VCS_REF
---> Using cache
---> c0180ac9ff2a
Step 5/32 : ARG LABEL_VCS_URL
---> Using cache
---> 7909d196ecc1
Step 6/32 : ARG LABEL_VERSION
---> Using cache
---> cd5a454fbc37
Step 7/32 : RUN apk add bash curl nss tomcat-native tree ttf-dejavu
---> Using cache
---> f7f99bf256a5
Step 8/32 : COPY scripts/* /usr/local/bin/
---> Using cache
---> 8ebf7684f09f
Step 9/32 : RUN adduser -D -h /home/liferay liferay && addgroup liferay liferay
---> Using cache
---> 3fe4150cdfc8
Step 10/32 : COPY --chown=liferay:liferay home/.bashrc /home/liferay/
---> Using cache
---> 30b5cecd3287
Step 11/32 : COPY --chown=liferay:liferay liferay /opt/liferay
COPY failed: stat /var/lib/docker/tmp/docker-builder924338140/liferay: no such file or directory
Can anyone please help me resolve this issue. Thanks in advance.
I tried the image version:liferay/portal:6.2.5-ga6,and the image default jdk is openJDK,if upload a pciture and will throw exception just like:
Exception in thread "liferay/document_library_image_processor-1" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46) at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:140) at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:580) at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:424) at com.liferay.portal.kernel.image.ImageToolUtil.read(ImageToolUtil.java:183) at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl._generateImages(ImageProcessorImpl.java:283) at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.generateImages(ImageProcessorImpl.java:81) at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.generateImages(ImageProcessorUtil.java:53) at com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener.generate(ImageProcessorMessageListener.java:31) at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72) at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:67) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) ... 16 more Exception in thread "liferay/document_library_image_processor-2" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46) at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:140) at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:580) at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:424) at com.liferay.portal.kernel.image.ImageToolUtil.read(ImageToolUtil.java:183) at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl._generateImages(ImageProcessorImpl.java:283) at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.generateImages(ImageProcessorImpl.java:81) at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.generateImages(ImageProcessorUtil.java:53) at com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener.generate(ImageProcessorMessageListener.java:31) at com.liferay.portlet.documentlibrary.messaging.BaseProcessorMessageListener.doReceive(BaseProcessorMessageListener.java:36) at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26) at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72) at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:67) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682) at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) ... 16 more
yes,this is because liferay generate thumbnail used some oracle jdk features,and I can create a new image use oracle jdk to fix it.But is this the best practice?
For our own Liferay image in DXP Cloud we noticed that Japanese does not display correctly on the server administration page. We fixed this by installing fonts-takao-mincho
on top of the base debian
image, and you'll likely have to do something similar for alpine
.
Issue
It's not possible to connect the debugger from the host to the container. If I run the container like this:
docker run -it -e LIFERAY_JPDA_ENABLED=true -p 8080:8080 -p 8000:8000 {imageId}
And then I try to start a debug session from the IntelliJ, I'm getting:
Error running 'debug': Unable to open debugger port (localhost:8000): java.net.SocketException "Connection reset"
Research
According to this stackoverflow question, the address parameter may require some change in Java 9. Given that we use Java 8 in our images, I tried the suggested solution but it did not work. At least, it gave me the clue.
Workaround
After some other attempts, I was able to attach a debugger by skipping the "localhost" portion of the address parameter, leaving just the port. That led me to this workaround:
docker run -it -e LIFERAY_JPDA_ENABLED=true -e JPDA_ADDRESS=8000 -p 8080:8080 -p 8000:8000 {imageId}
Solution
Ensure we override JPDA_ADDRESS if container is started with the debug env variable set
Hello.
Since 07.01.2020 docker image build fails due to themes fail with following log:
> Task :themes:some-theme:createLiferayThemeJson
Task ':themes:some-theme:createLiferayThemeJson' is not up-to-date because:
Task has not declared any outputs despite executing actions.
:themes:some-theme:createLiferayThemeJson (Thread[Task worker for ':',5,main]) completed. Took 0.005 secs.
:downloadNode (Thread[Task worker for ':',5,main]) started.
[ant:get] Error opening connection java.io.IOException: Server returned HTTP response code: 403 for URL: http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
[ant:get] Error opening connection java.io.IOException: Server returned HTTP response code: 403 for URL: http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
[ant:get] Error opening connection java.io.IOException: Server returned HTTP response code: 403 for URL: http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
[ant:get] Can't get http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to /home/vsts/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
[ant:get] http://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz permanently moved to https://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
> Task :downloadNode FAILED
Task ':downloadNode' is not up-to-date because:
No history is available.
Trying to download http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to /home/vsts/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
[ant:get] Getting: http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
[ant:get] To: /home/vsts/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
Trying to download http://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to /home/vsts/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
[ant:get] Getting: http://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
[ant:get] To: /home/vsts/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
:downloadNode (Thread[Task worker for ':',5,main]) completed. Took 0.551 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':downloadNode'.
> Redirection detected from http to https. Protocol switch unsafe, not allowed.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Navigating to http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz does return 403.
Also fails to redirect from http://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to https://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz
Though there are many packages available for the Alpine distro through their package manager, I've run into problems with the fact that they do not use glibc. I admit I don't remember what those problems where because I haven't used Alpine since.
Could you please create a non-alpine based image (like openjdk:8-slim or openjdk:8-jdk)?
Alpine has several issues:
libc6-compat
required by tcnative
is not compatible with Alpine. See related issues:Currently, to solve the problem I have to use Liferay's official docker image as an intermediate image and write my own Dockerfile with multi-stage builds to switch to openjdk:8-slim. It is not very maintainable.
Reading tags for nightly builds, it seems that the nightly builds are manually pushed. It would be great for the Community and internal users to generate those nightly builds within the CI/CD build context.
$ lpn tags nightly
2019/05/09 18:09:34 There are 70 images, showing 25 elements in page 1 of 3
+-----------------------------+---------+
| IMAGE:TAG | SIZE |
+-----------------------------+---------+
| master | 1107 MB |
| master-20190501 | 1107 MB |
| 7.1.x | 621 MB |
| 7.1.x-20190501 | 621 MB |
| 7.1.x-201905011030-b5b63c2 | 621 MB |
| master-201905012059-56307b2 | 1107 MB |
| master-20190327 | 749 MB |
| 7.1.x-20190327 | 595 MB |
| 7.1.x-201903271714-94e15d8 | 595 MB |
| master-201903271747-b9bee14 | 749 MB |
| master-20190322 | 904 MB |
| master-201903221036-567e233 | 904 MB |
| 7.1.x-20190322 | 584 MB |
| 7.1.x-201903221001-96e20f8 | 584 MB |
| 7.1.x-20190313 | 608 MB |
| 7.1.x-201902130905-ee3cc2d | 608 MB |
| 7.1.x-20190312 | 577 MB |
| 7.1.x-201903121947-3352d8b | 577 MB |
| master-20190312 | 748 MB |
| master-201903122019-8568b5e | 748 MB |
| 7.1.x-20190227 | 609 MB |
| 7.1.x-201902272135-56a3303 | 609 MB |
| master-20190227 | 917 MB |
| master-201902261915-d12677e | 917 MB |
| master-20190222 | 901 MB |
+-----------------------------+---------+
| 1 OF 3 |
+-----------------------------+---------+
A Liferay employee needed Liferay 6.1.3 GA3
, so I added to my repo.
Same as here: https://github.com/mdelapenya/docker-liferay-portal/blob/master/configs/setenv.sh#L5
if [ ! -z $DEBUG_MODE ] ; then
DEBUG="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9000"
CATALINA_OPTS="${CATALINA_OPTS} ${DEBUG}"
fi
Hi
Is there any steps or environment variable to to run startup.sh as the first time docker ?
https://learn.liferay.com/dxp-7.x/installation-and-upgrades/installing-liferay/running-liferay-for-the-first-time.html#start-liferay-dxp
Hello,
Why use a zulu-openjdk-alpine:8u232 image and download a zulu11-jdk only to set java version back to 8?
Wouldn't be easier just use a zulu 11 docker image, and use jdk 11?
It would shrink the Liferay image also.
Edit: maybe provide 2 tags, one for JDK 11 and one for JDK 8..
Hi
I run 2 images and 2 of the does not have "basic configuration"
docker pull liferay/portal:7.3.0-ga1-202003272258
docker pull liferay/portal:7.3.0-ga1
What is username and password?
Running the following command:
docker run -it -p 8080:8080 liferay/portal:7.2.0-ga1
The portal starts but then is killed with the following log:
/ / / _/ ____/ ____/ __ \/ \ \/ /
/ / / // /_ / __/ / /_/ / /| |\ /
/ /____/ // __/ / /___/ _, _/ ___ |/ /
/_____/___/_/ /_____/_/ |_/_/ |_/_/
Starting Liferay Community Edition Portal 7.2.0 CE GA1 (Mueller / Build 7200 / June 4, 2019)
2019-08-22 15:38:41.214 INFO [main][StartupHelper:72] There are no patches installed
Loading jar:file:/opt/liferay/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
2019-08-22 15:38:50.821 INFO [main][AutoDeployDir:193] Auto deploy scanner started for /opt/liferay/deploy
2019-08-22 15:39:13.200 INFO [main][ThemeHotDeployListener:108] 1 theme for admin-theme is available for use
2019-08-22 15:39:14.184 INFO [main][ThemeHotDeployListener:108] 1 theme for classic-theme is available for use
2019-08-22 15:40:44.243 INFO [main][SystemCheckOSGiCommands:54] System check is enabled. You can run a system check with the command "system:check" in Gogo shell.
22-Aug-2019 15:40:48.541 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [221,845] milliseconds
/etc/liferay/entrypoint.sh: line 3: 6 Killed ${LIFERAY_HOME}/tomcat/bin/catalina.sh run```
it might be a simple problem but it is too hard for me, a green hand in docker ,to solve.
i use this docker-compose to run it:
version: '3.8'
services:
dxp:
image: liferay/dxp:latest
container_name: dxp
restart: unless-stopped
ports:
- 8889:8080
volumes:
- liferay:/opt/liferay
networks:
default:
name: websoft9
external: true
volumes:
liferay:
then it throws runtime exceptions :NullPointerException after print the icon of liferay:
2024-05-16 07:26:21.732 ERROR [http-nio-8080-exec-2][MainServlet:1141] java.lang.NullPointerException
com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException
at com.liferay.portal.events.ThemeServicePreAction.run(ThemeServicePreAction.java:40) ~[portal-impl.jar:?]
at com.liferay.portal.kernel.events.Action.processLifecycleEvent(Action.java:25) ~[portal-kernel.jar:?]
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:71) ~[portal-impl.jar:?]
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:43) ~[portal-impl.jar:?]
at com.liferay.portal.internal.servlet.MainServlet._processServicePre(MainServlet.java:1119) [portal-impl.jar:?]
at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:543) [portal-impl.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) [servlet-api.jar:4.0.FR]
at com.liferay.shielded.container.internal.proxy.ServletWrapper.service(ServletWrapper.java:103) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) [tomcat-websocket.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.init.servlet.filter.internal.InitFilter.processFilter(InitFilter.java:45) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:47) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.lockout.LockoutFilter.processFilter(LockoutFilter.java:49) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:330) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:116) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.4.jar:4.0.4]
at com.liferay.portal.url.rewrite.filter.internal.URLRewriteFilter.processFilter(URLRewriteFilter.java:86) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:95) [portal-kernel.jar:?]
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:69) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) [catalina.jar:9.0.87]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) [catalina.jar:9.0.87]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.87]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [catalina.jar:9.0.87]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-util.jar:9.0.87]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException
at com.liferay.portal.service.impl.ThemeLocalServiceImpl.getColorScheme(ThemeLocalServiceImpl.java:117) ~[portal-impl.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41) ~[portal-impl.jar:?]
at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40) ~[portal-impl.jar:?]
at com.sun.proxy.$Proxy177.getColorScheme(Unknown Source) ~[?:?]
at com.liferay.portal.kernel.service.ThemeLocalServiceUtil.getColorScheme(ThemeLocalServiceUtil.java:52) ~[portal-kernel.jar:?]
at com.liferay.portal.model.impl.LayoutSetImpl.getColorScheme(LayoutSetImpl.java:78) ~[portal-impl.jar:?]
at com.liferay.portal.model.impl.LayoutImpl.getColorScheme(LayoutImpl.java:393) ~[portal-impl.jar:?]
at com.liferay.portal.events.ThemeServicePreAction.servicePre(ThemeServicePreAction.java:68) ~[portal-impl.jar:?]
at com.liferay.portal.events.ThemeServicePreAction.run(ThemeServicePreAction.java:37) ~[portal-impl.jar:?]
... 74 more
2024-05-16 07:26:23.234 INFO [fileinstall-directory-watcher][BaseAutoDeployListener:34] Copying themes for /opt/liferay/tomcat/temp/20240516072623192GWSPYGME/classic-theme.war
2024-05-16 07:26:24.208 INFO [fileinstall-directory-watcher][BaseAutoDeployListener:41] Themes for /opt/liferay/tomcat/temp/20240516072623192GWSPYGME/classic-theme.war copied successfully
2024-05-16 07:26:24.907 ERROR [http-nio-8080-exec-2][error_jsp:551] User ID null, current URL /c/portal/layout, referer null, remote address 127.0.0.1, null exception
2024-05-16 07:26:25.670 WARN [http-nio-8080-exec-3][ThemeLocalServiceImpl:220] No theme found for specified theme id classic_WAR_classictheme. Returning the default theme.
2024-05-16 07:26:25.672 WARN [http-nio-8080-exec-3][ThemeLocalServiceImpl:220] No theme found for specified theme id classic_WAR_classictheme. Returning the default theme.
2024-05-16 07:26:25.672 ERROR [http-nio-8080-exec-3][MainServlet:1141] java.lang.NullPointerException
com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException
at com.liferay.portal.events.ThemeServicePreAction.run(ThemeServicePreAction.java:40) ~[portal-impl.jar:?]
at com.liferay.portal.kernel.events.Action.processLifecycleEvent(Action.java:25) ~[portal-kernel.jar:?]
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:71) ~[portal-impl.jar:?]
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:43) ~[portal-impl.jar:?]
at com.liferay.portal.internal.servlet.MainServlet._processServicePre(MainServlet.java:1119) [portal-impl.jar:?]
at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:543) [portal-impl.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) [servlet-api.jar:4.0.FR]
at com.liferay.shielded.container.internal.proxy.ServletWrapper.service(ServletWrapper.java:103) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) [tomcat-websocket.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:47) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.lockout.LockoutFilter.processFilter(LockoutFilter.java:49) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:330) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:116) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.4.jar:4.0.4]
at com.liferay.portal.url.rewrite.filter.internal.URLRewriteFilter.processFilter(URLRewriteFilter.java:86) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:95) [portal-kernel.jar:?]
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:69) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294) [catalina.jar:9.0.87]
at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:551) [bundleFile:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) [servlet-api.jar:4.0.FR]
at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:89) [portal-impl.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) [servlet-api.jar:4.0.FR]
at com.liferay.shielded.container.internal.proxy.ServletWrapper.service(ServletWrapper.java:103) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) [tomcat-websocket.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.init.servlet.filter.internal.InitFilter.processFilter(InitFilter.java:45) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.i18n.filter.internal.I18nFilter.processFilter(I18nFilter.java:371) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:47) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.lockout.LockoutFilter.processFilter(LockoutFilter.java:49) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:330) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:440) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:78) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:253) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:138) [portal-kernel.jar:?]
at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:116) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.4.jar:4.0.4]
at com.liferay.portal.url.rewrite.filter.internal.URLRewriteFilter.processFilter(URLRewriteFilter.java:86) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:95) [portal-kernel.jar:?]
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:69) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:661) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:425) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:357) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:294) [catalina.jar:9.0.87]
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:380) [portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [urlrewritefilter-4.0.4.jar:4.0.4]
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389) [urlrewritefilter-4.0.4.jar:4.0.4]
at com.liferay.portal.url.rewrite.filter.internal.URLRewriteFilter.processFilter(URLRewriteFilter.java:86) [bundleFile:?]
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:40) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:189) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) [portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:95) [portal-kernel.jar:?]
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:69) [com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) [catalina.jar:9.0.87]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) [catalina.jar:9.0.87]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.87]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [catalina.jar:9.0.87]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-util.jar:9.0.87]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException
at com.liferay.portal.service.impl.ThemeLocalServiceImpl.getColorScheme(ThemeLocalServiceImpl.java:117) ~[portal-impl.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41) ~[portal-impl.jar:?]
at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40) ~[portal-impl.jar:?]
at com.sun.proxy.$Proxy177.getColorScheme(Unknown Source) ~[?:?]
at com.liferay.portal.kernel.service.ThemeLocalServiceUtil.getColorScheme(ThemeLocalServiceUtil.java:52) ~[portal-kernel.jar:?]
at com.liferay.portal.model.impl.LayoutSetImpl.getColorScheme(LayoutSetImpl.java:78) ~[portal-impl.jar:?]
at com.liferay.portal.model.impl.LayoutImpl.getColorScheme(LayoutImpl.java:393) ~[portal-impl.jar:?]
at com.liferay.portal.events.ThemeServicePreAction.servicePre(ThemeServicePreAction.java:68) ~[portal-impl.jar:?]
at com.liferay.portal.events.ThemeServicePreAction.run(ThemeServicePreAction.java:37) ~[portal-impl.jar:?]
... 159 more
2024-05-16 07:26:25.683 ERROR [http-nio-8080-exec-3][error_jsp:551] User ID null, current URL /, referer null, remote address 127.0.0.1, null exception
and then it lock at:
2024-05-16 07:26:44.890 INFO [fileinstall-directory-watcher][LicenseManager:-1] DXP Development license validation passed
2024-05-16 07:26:44.891 INFO [fileinstall-directory-watcher][LicenseManager:-1] License registered for DXP Development
then i try to access it with myIp:myPort,i get code 500 and console print info:
2024-05-16 07:32:04.172 WARN [http-nio-8080-exec-4][code_jsp:161] {code="500", msg="", uri=/}
java.lang.RuntimeException: Invalid host name 119.8.25.33
at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:31) ~[portal-impl.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92) ~[portal-kernel.jar:?]
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:95) ~[portal-kernel.jar:?]
at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:69) ~[com.liferay.shielded.container.impl.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) ~[catalina.jar:9.0.87]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) ~[catalina.jar:9.0.87]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) ~[catalina.jar:9.0.87]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[catalina.jar:9.0.87]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) ~[catalina.jar:9.0.87]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) [catalina.jar:9.0.87]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [catalina.jar:9.0.87]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.87]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [catalina.jar:9.0.87]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-coyote.jar:9.0.87]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-coyote.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.87]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-util.jar:9.0.87]
at java.lang.Thread.run(Thread.java:829) [?:?]
2024-05-16 07:32:04.411 WARN [http-nio-8080-exec-4][PortalImpl:5507] Set the property "virtual.hosts.valid.hosts" in portal.properties to allow "119.8.25.33" as a domain
note that it hint me to specify env 'virtual.hosts.valid.hosts' in portal.properties,so i find the ENV in portal.properties on github,the specify it when i start docker-compose
-e LIFERAY_VIRTUAL_PERIOD_HOSTS_PERIOD_VALID_PERIOD_HOSTS=myIp
but the same problem occurd,even logs are same.
what can i do to solve this problem?
While installing liferay portal 7.4.3.19 on openshift in ibm cloud facing the below error message, has anyone faced the below issues on ibm cloud?
[LIFERAY] Using zulu8 JDK. You can use another JDK by setting the "JAVA_VERSION" environment varible.
[LIFERAY] Run this container with the option "-v
[LIFERAY] The directory /mnt/liferay/files does not exist. Create the directory $(pwd)/xyz123/files on the host operating system to create the directory /mnt/liferay/files on the container. Files in /mnt/liferay/files will be copied to /opt/liferay before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/scripts does not exist. Create the directory $(pwd)/xyz123/scripts on the host operating system to create the directory /mnt/liferay/scripts on the container. Files in /mnt/liferay/scripts will be executed, in alphabetical order, before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/deploy does not exist. Create the directory
/usr/local/bin/liferay_entrypoint.sh: line 39: /opt/liferay/liferay.pid: Permission denied
[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".
/usr/local/bin/start_liferay.sh: line 19: /opt/liferay/tomcat/bin/catalina.sh: Permission denied
/usr/local/bin/start_liferay.sh: line 19: exec: /opt/liferay/tomcat/bin/catalina.sh: cannot execute: Permission denied
getting this error while creating deployment config from the container image.
Would it be possible to add a tag for just the date in YYYYMMDD format, removing the timestamp and commit? Something like this: liferay/portal-snapshot:master-20190211
besides the liferay/portal-snapshot:master-201902110712-ef011e6
I'd like to deprecate my nightly builds in favour of these ones, and I create a tag for the day (https://hub.docker.com/r/mdelapenya/liferay-portal-nightlies/tags/)
This day tag is used by the entire Design team to check changes between days, with LPN.
Hi
I have an issue with 7.3.1 docker version in openshift 4.3.1
$oc new-app --docker-image=liferay/portal:7.3.1-ga2-202004031138
$oc logs portal2-2-lxn6k
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
I did not have any problem with 7.1.0 before
$oc new-app --docker-image=liferay/portal:7.1.0-ga1-201809012030
Is there any difference ?
Hello.
in Kubernetes I can mount a ConfigMap under /mnt/liferay/files (and subfolders) instead of mounting a volume.
These files are exposed as symbolic links to hidden folders, to manage updates on ConfigMaps.
As a result the automatic copy in configure_liferay.sh, creates links and not regular files in the destination folders, and this fact denies modifications of the files (for example to inject credentials or other env variables), because ConfigMaps are immutable inside the container.
At the moment I execute a script before starting the server with the following code:
cd ${LIFERAY_MOUNT_DIR}/files/
find . -not -path '*/\.*' -type d -exec mkdir -v -p ${LIFERAY_HOME}/{} \;
find . -not -path '*/\.*' -not -type d -exec cp -v -H {} ${LIFERAY_HOME}/{} \;
but it's only a workaround.
Is it possible to better support this situation?
thanks
Lorenzo
I'm using 7.3.7-ga8 and also tried 7.3.7-ga8-d1.6.2-20210628090302 (not sure what the difference is).
When trying to connect to smtp.office365.com to send an email I'm getting the following exception:
2021-06-30 23:15:34.640 ERROR [http-nio-8080-exec-3][MailEngine:128] Unable to send message: Could not connect to SMTP host: smtp.office365.com, port: 587
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:449)
at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
at sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1409)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1315)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:439)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:410)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:602)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:376)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:214)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2160)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)
at javax.mail.Service.connect(Service.java:342)
at com.liferay.petra.mail.MailEngine._send(MailEngine.java:613)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:389)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:192)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:179)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:424)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:144)
at com.liferay.petra.mail.MailEngine.send(MailEngine.java:478)
I think I have tied it down to an update in Microsoft side disabling some ciphering suites and enforcing TLS 1.2. I see that the last commits here in master refer the use of TLS 1.3. How can I get this images? The ones from docker hub published from 2 days ago are the ones I'm using but still getting this error. Any help will be welcome.
Container entrypoint attempts to patch liferay if the mounted volume includes a patching/
directory. This logic shall be run only if the image is a DXP one. For portal (CE) images, the existence of such directory must be ignored.
Observed behavior
Container tries to run the patching tool, which causes some errors as it does not come with the CE image:
/usr/local/bin/patch_liferay.sh: line 47: /opt/liferay/patching-tool/patching-tool.sh: No such file or directory
cp: can't create '/opt/liferay/patching-tool/patches': No such file or directory
/usr/local/bin/patch_liferay.sh: line 6: /opt/liferay/patching-tool/patching-tool.sh: No such file or directory
/usr/local/bin/patch_liferay.sh: line 8: /opt/liferay/patching-tool/patching-tool.sh: No such file or directory
If a patching tool is provided in the bind mount directory, container tries to install it, then patch liferay:
[LIFERAY] Updating Patching Tool.
mv: can't rename '/opt/liferay/patching-tool/patches': No such file or directory
Directory is not set in command line, using ../
Auto discovery looks for portal segments. The selected directory is "/opt/liferay".
Configuration has been written into the default.properties:patching.mode=binary
war.path=../tomcat/webapps/ROOT/
global.lib.path=../tomcat/lib/ext/
liferay.home=../mv: can't rename '/opt/liferay/patching-tool-upgrade-patches': No such file or directory
[LIFERAY] Patching Tool updated successfully.
Problem with the configuration: Couldn't find the patches folder: patches/
Problem with the configuration: Couldn't find the patches folder: patches/
Problem with the configuration: Couldn't find the patches folder: patches/
Solution
Check that image is a DXP one before attempting to patch
My command is $ docker run -it -p 8080:8080 liferay/portal:7.2.0-ga1
. But it blocked at the theme loading stage for over 4 min, then crashed with "system:check" quickly. Is there any configuration that I need to identify beforehand?
This is the error log.
[LIFERAY] To SSH into this container, run: "docker exec -it ada741dfe78f /bin/bash".
[LIFERAY] Run this container with the option "-v $(pwd)/xyz123:/mnt/liferay" to bridge $(pwd)/xyz123 in the host operating system to /mnt/liferay on the container.
[LIFERAY] The directory /mnt/liferay/files does not exist. Create the directory $(pwd)/xyz123/files on the host operating system to create the directory /mnt/liferay/files on the container. Files in /mnt/liferay/files will be copied to /opt/liferay before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/scripts does not exist. Create the directory $(pwd)/xyz123/scripts on the host operating system to create the directory /mnt/liferay/scripts on the container. Files in /mnt/liferay/scripts will be executed, in alphabetical order, before Liferay Portal starts.
[LIFERAY] The directory /mnt/liferay/deploy does not exist. Create the directory $(pwd)/xyz123/deploy on the host operating system to create the directory /mnt/liferay/deploy on the container. Copy files to $(pwd)/xyz123/deploy to deploy modules to Liferay Portal at runtime.
[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".
Using CATALINA_BASE: /opt/liferay/tomcat
Using CATALINA_HOME: /opt/liferay/tomcat
Using CATALINA_TMPDIR: /opt/liferay/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/zulu-8
Using CLASSPATH: /opt/liferay/tomcat/bin/bootstrap.jar:/opt/liferay/tomcat/bin/tomcat-juli.jar
13-Nov-2019 02:22:48.064 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [905] milliseconds
Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
2019-11-13 02:22:50.549 INFO [main][PortalContextLoaderListener:139] JVM arguments: -Djava.util.logging.config.file=/opt/liferay/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF8 -Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=512m -XX:MetaspaceSize=512m -XX:NewSize=1536m -XX:SurvivorRatio=7 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/liferay/tomcat -Dcatalina.home=/opt/liferay/tomcat -Djava.io.tmpdir=/opt/liferay/tomcat/temp
2019-11-13 02:22:58.278 WARN [main][DialectDetector:101] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
2019-11-13 02:22:58.292 INFO [main][DialectDetector:159] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
2019-11-13 02:23:01.689 INFO [main][ModuleFrameworkImpl:1319] Starting initial bundles
2019-11-13 02:23:01.716 INFO [main][ModuleFrameworkImpl:1415] Uninstalled orphan overriding static JAR bundle file:/opt/liferay/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/com.liferay.portal.osgi.web.jasper.plugins.taglib.jar?protocol=jar&static=true
2019-11-13 02:23:01.723 INFO [main][ModuleFrameworkImpl:1415] Uninstalled orphan overriding static JAR bundle file:/opt/liferay/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/util-taglib.jar?protocol=jar&static=true
2019-11-13 02:23:11.529 INFO [main][ModuleFrameworkImpl:1596] Started initial bundles
2019-11-13 02:23:11.531 INFO [main][ModuleFrameworkImpl:1631] Starting dynamic bundles
2019-11-13 02:23:29.206 INFO [main][ModuleFrameworkImpl:1728] Started dynamic bundles
2019-11-13 02:23:29.216 INFO [main][ModuleFrameworkImpl:398] Navigate to Control Panel > Configuration > Gogo Shell and enter "lb" to see all bundles
2019-11-13 02:23:45.938 WARN [Elasticsearch initialization thread][EmbeddedElasticsearchConnection:288] Liferay is configured to use embedded Elasticsearch as its search engine. Do NOT use embedded Elasticsearch in production. Embedded Elasticsearch is useful for development and demonstration purposes. Refer to the documentation for details on the limitations of embedded Elasticsearch. Remote Elasticsearch connections can be configured in the Control Panel.
__ ____________________ _____ __
/ / / _/ ____/ ____/ __ \/ \ \/ /
/ / / // /_ / __/ / /_/ / /| |\ /
/ /____/ // __/ / /___/ _, _/ ___ |/ /
/_____/___/_/ /_____/_/ |_/_/ |_/_/
Starting Liferay Community Edition Portal 7.2.0 CE GA1 (Mueller / Build 7200 / June 4, 2019)
2019-11-13 02:24:25.323 INFO [main][StartupHelper:72] There are no patches installed
Loading jar:file:/opt/liferay/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
2019-11-13 02:24:34.767 INFO [main][AutoDeployDir:193] Auto deploy scanner started for /opt/liferay/deploy
2019-11-13 02:25:11.545 INFO [main][ThemeHotDeployListener:108] 1 theme for admin-theme is available for use
2019-11-13 02:25:14.805 INFO [main][ThemeHotDeployListener:108] 1 theme for classic-theme is available for use
2019-11-13 02:28:05.128 INFO [main][SystemCheckOSGiCommands:54] System check is enabled. You can run a system check with the command "system:check" in Gogo shell.
/usr/local/bin/start_liferay.sh: line 3: 8 Killed ${LIFERAY_HOME}/tomcat/bin/catalina.sh run
Hi I deployed liferay docker to openshift and received an error :
$oc new-app --docker-image=liferay/portal:7.1.0-ga1-201809012030
[LIFERAY] To SSH into this container, run: "docker exec -it portal-1-dhkpr /bin/bash".
[LIFERAY] Run this container with the option "-v ${pwd}/xyz123:/etc/liferay/mount" to bridge ${pwd}/xyz123 in the host operating system to /etc/liferay/mount on the container.
[LIFERAY] The directory /etc/liferay/mount/files does not exist. Files in /etc/liferay/mount/files will be automatically copied to /opt/liferay before Liferay Portal starts.
[LIFERAY] The directory /etc/liferay/mount/scripts does not exist. Files in /etc/liferay/mount/scripts will be automatically executed, in alphabetical order, before Liferay Portal starts.
[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".
/etc/liferay/entrypoint.sh: line 52: /opt/liferay/tomcat/bin/catalina.sh: Permission denied
What is the solution to fix?
docker image liferay/portal:6.2.5-ga6
Memory usage dynamic images are not showing, tested with Firefox and Chrome:
Admin > Control Panel > Server Administration > Resources
Observed behavior
Dockerfile exposes ajp port. When you map port 8009 in the container, expectation is that pages can be served via ajp. However, tomcat will discard them.
Evidence
Here are the apache2 error logs when configured as reverse proxy with ajp in the host machine, then http://localhost:80 is hit from a browser running in the host:
[Tue Dec 17 18:06:19.375949 2019] [proxy_ajp:error] [pid 4337:tid 140133135910656] (104)Connection reset by peer: AH01030: ajp_ilink_receive() can't receive header
[Tue Dec 17 18:06:19.375982 2019] [proxy_ajp:error] [pid 4337:tid 140133135910656] [client ::1:43648] AH00992: ajp_read_header: ajp_ilink_receive failed
[Tue Dec 17 18:06:19.375992 2019] [proxy_ajp:error] [pid 4337:tid 140133135910656] (120006)APR does not understand this error code: [client ::1:43648] AH00878: read response failed from [::1]:8009 (localhost)
[Tue Dec 17 18:06:19.454898 2019] [proxy_ajp:error] [pid 4337:tid 140133127517952] (104)Connection reset by peer: AH01030: ajp_ilink_receive() can't receive header
[Tue Dec 17 18:06:19.454933 2019] [proxy_ajp:error] [pid 4337:tid 140133127517952] [client ::1:43650] AH00992: ajp_read_header: ajp_ilink_receive failed, referer: http://localhost/
[Tue Dec 17 18:06:19.454943 2019] [proxy_ajp:error] [pid 4337:tid 140133127517952] (120006)APR does not understand this error code: [client ::1:43650] AH00878: read response failed from [::1]:8009 (localhost), referer: http://localhost/
Analysis
Reason is that current images are not enabling the ajp connector in tomcat.
A workaround is to copy a new server.xml in /mnt/liferay/files/tomcat/conf/, where the ajp connector is uncommented, then start the container with a bind mount (-v):
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />
Default config comes with that one commented out.
Solution
Image builder should provide a properly configured tomcat
Hi, I just start with the dockerized version liferay.I followed the instruction to mount a volume in order to have all config files, tomcat, deploy, etc..
Start the container with the option -v
$(pwd)/xyz123:/mnt/liferay to bridge $ (pwd)/xyz123 in the host operating system to /mnt/liferay on the container.Files in the host directory $(pwd)/xyz123/files are also available in the container directory /mnt/liferay/files and will be copied to /opt/liferay before Liferay Portal starts.
In my case, I create a docker-compose file :
version: '3.5'
services:
postgres:
container_name: postgres_container
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-55JhATTpBzThxAWp}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
networks:
- postgres
restart: unless-stopped
pgadmin:
container_name: pgadmin_container
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-NZ5cM9727Bsz5JUy}
volumes:
- pgadmin:/root/.pgadmin
ports:
- "${PGADMIN_PORT:-5050}:80"
networks:
- postgres
restart: unless-stopped
liferay:
container_name: liferay_container
image: liferay/portal:7.2.1-ga2
volumes:
- liferay:/mnt/liferay/
ports:
- "80:8080"
networks:
- postgres
restart: unless-stopped
networks:
postgres:
driver: bridge
volumes:
postgres:
pgadmin:
liferay:
But when I go inside my folder liferay, I have nothing inside. I tried mounting my liferay host folder with /opt/liferay/ in the container without success.
Please, how could I do to mount my liferay folder in order to have folders contained in my container as if it was a standalone liferay ? Thanks in advance.
Ps : I notice that I don't have the wizard setup in the liferay 7.2 how could I activate it ? thanks in advance.
I tried to run this image by executing docker run -it -p 8080:8080 liferay/portal:7.1.2-ga3
, but after 20 minutes of waiting I stopped the container.
The logs:
[LIFERAY] To SSH into this container, run: "docker exec -it 8f7809e8ee59 /bin/bash".
[LIFERAY] Run this container with the option "-v $(pwd)/xyz123:/etc/liferay/mount" to bridge $(pwd)/xyz123 in the host operating system to /etc/liferay/mount on the container.
[LIFERAY] The directory /etc/liferay/mount/files does not exist. Create the directory $(pwd)/xyz123/files on the host operating system to create the directory /etc/liferay/mount/files on the container. Files in /etc/liferay/mount/files will be copied to /opt/liferay before Liferay Portal starts.
[LIFERAY] The directory /etc/liferay/mount/scripts does not exist. Create the directory $(pwd)/xyz123/scripts on the host operating system to create the directory /etc/liferay/mount/scripts on the container. Files in /etc/liferay/mount/scripts will be executed, in alphabetical order, before Liferay Portal starts.
[LIFERAY] The directory /etc/liferay/mount/deploy does not exist. Create the directory $(pwd)/xyz123/deploy on the host operating system to create the directory /etc/liferay/mount/deploy on the container. Copy files to $(pwd)/xyz123/deploy to deploy modules to Liferay Portal at runtime.
[LIFERAY] Starting Liferay Portal. To stop the container with CTRL-C, run this container with the option "-it".
Using CATALINA_BASE: /opt/liferay/tomcat
Using CATALINA_HOME: /opt/liferay/tomcat
Using CATALINA_TMPDIR: /opt/liferay/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8-openjdk
Using CLASSPATH: /opt/liferay/tomcat/bin/bootstrap.jar:/opt/liferay/tomcat/bin/tomcat-juli.jar
09-May-2019 13:09:26.335 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 920 ms
Loading jar:file:/opt/liferay/tomcat-9.0.10/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/opt/liferay/tomcat-9.0.10/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
2019-05-09 13:09:28.566 INFO [main][PortalContextLoaderListener:139] JVM arguments: -Djava.util.logging.config.file=/opt/liferay/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m -XX:MaxMetaspaceSize=384m -XX:MetaspaceSize=384m -XX:NewSize=1536m -XX:SurvivorRatio=7 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/liferay/tomcat -Dcatalina.home=/opt/liferay/tomcat -Djava.io.tmpdir=/opt/liferay/tomcat/temp
2019-05-09 13:09:50.185 WARN [main][DialectDetector:100] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demonstration purposes. The database settings can be changed in portal-ext.properties.
2019-05-09 13:09:50.194 INFO [main][DialectDetector:158] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.3
2019-05-09 13:09:54.729 INFO [main][ModuleFrameworkImpl:1326] Starting initial bundles
2019-05-09 13:11:00.138 INFO [main][ModuleFrameworkImpl:1601] Started initial bundles
2019-05-09 13:11:00.174 INFO [main][ModuleFrameworkImpl:1636] Starting dynamic bundles
2019-05-09 13:16:47.950 WARN [HikariPool-1 housekeeper][HikariPool:686] HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=57s885ms671µs900ns).
2019-05-09 13:18:54.321 INFO [main][ModuleFrameworkImpl:1725] Started dynamic bundles
2019-05-09 13:18:54.558 INFO [main][ModuleFrameworkImpl:413] Navigate to Control Panel > Configuration > Gogo Shell and enter "lb" to see all 'bundles'```
Since large files uploaded to the Documents and Media Portlet are not stored in the Database, where are they stored?
Starting the server with this option -v $(pwd)/xyz123:/mnt/liferay
doesn't seem to give access to Liferay's file system for the purposes of backing up the data in case of restart.
What is the recommended approach for backing up Liferay data to survive a Docker container restart?
When pulling and running the latest image liferay/portal:6.2.5-ga6 the portal will not work and print an error in the logs (note: the container is not stopping or crashing either):
Jul 01, 2021 12:44:22 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet Friendly URL Servlet - Public threw exception
java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255
[...]
After searching the web it seems that this is a known issue:
and related to the ICU4j library and/or the JVM minor version being greater than 255.
Any help or hints would be much appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.