Error on Docker (win11 enterprise x64 22H2)

110 views
Skip to first unread message

virgosystems

unread,
Jun 15, 2023, 7:21:08 AM6/15/23
to dotCMS User Group
Immediate exit after start on Docker Desktop v4.20.1 

Output follows 

2023-06-14 21:52:05 Using default starter
2023-06-14 21:52:05
2023-06-14 21:52:05 Starting dotCMS ...
2023-06-14 21:52:05 -------------------
2023-06-14 21:52:05
2023-06-14 21:52:05 NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.920 WARNING [main] org.apache.tomcat.util.net.SSLHostConfigCertificate.setStoreType The property [Certificate.certificateKeystorePassword] was set on the SSLHostConfigCertificate named [_default_] and is for certificate storage type [KEYSTORE] but the certificate is being used with a storage of type [PEM]
2023-06-14 21:52:05 15-Jun-2023 01:52:05.949 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/9.0.60
2023-06-14 21:52:05 15-Jun-2023 01:52:05.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Mar 9 2022 14:52:25 UTC
2023-06-14 21:52:05 15-Jun-2023 01:52:05.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.60.0
2023-06-14 21:52:05 15-Jun-2023 01:52:05.950 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
2023-06-14 21:52:05 15-Jun-2023 01:52:05.951 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            5.15.90.1-microsoft-standard-WSL2
2023-06-14 21:52:05 15-Jun-2023 01:52:05.951 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
2023-06-14 21:52:05 15-Jun-2023 01:52:05.951 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /java
2023-06-14 21:52:05 15-Jun-2023 01:52:05.952 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.16+8-LTS
2023-06-14 21:52:05 15-Jun-2023 01:52:05.953 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Amazon.com Inc.
2023-06-14 21:52:05 15-Jun-2023 01:52:05.953 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /srv/dotserver/tomcat-9.0.60
2023-06-14 21:52:05 15-Jun-2023 01:52:05.953 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /srv/dotserver/tomcat-9.0.60
2023-06-14 21:52:05 15-Jun-2023 01:52:05.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2023-06-14 21:52:05 15-Jun-2023 01:52:05.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/srv/dotserver/tomcat/conf/logging.properties
2023-06-14 21:52:05 15-Jun-2023 01:52:05.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
2023-06-14 21:52:05 15-Jun-2023 01:52:05.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
2023-06-14 21:52:05 15-Jun-2023 01:52:05.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xverify:none
2023-06-14 21:52:05 15-Jun-2023 01:52:05.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF8
2023-06-14 21:52:05 15-Jun-2023 01:52:05.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dpdfbox.fontcache=/data/local/dotsecure
2023-06-14 21:52:05 15-Jun-2023 01:52:05.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dlog4j2.formatMsgNoLookups=true
2023-06-14 21:52:05 15-Jun-2023 01:52:05.975 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.library.path=/usr/lib/x86_64-linux-gnu/
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseShenandoahGC
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UnlockExperimentalVMOptions
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ShenandoahUncommitDelay=1000
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:ShenandoahGuaranteedGCInterval=10000
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1G
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
2023-06-14 21:52:05 15-Jun-2023 01:52:05.976 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/srv/dotserver/tomcat
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/srv/dotserver/tomcat
2023-06-14 21:52:05 15-Jun-2023 01:52:05.977 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/srv/dotserver/tomcat/temp
2023-06-14 21:52:05 15-Jun-2023 01:52:05.982 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.23] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.30]
2023-06-14 21:52:05 15-Jun-2023 01:52:05.983 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.23] using APR version [1.6.5].
2023-06-14 21:52:05 15-Jun-2023 01:52:05.983 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [false].
2023-06-14 21:52:05 15-Jun-2023 01:52:05.983 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
2023-06-14 21:52:05 15-Jun-2023 01:52:05.986 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f  31 Mar 2020]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.261 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-8080"]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.268 WARNING [main] org.apache.tomcat.util.net.Nio2Endpoint.bind The NIO2 connector requires an exclusive executor to operate properly on shutdown
2023-06-14 21:52:06 15-Jun-2023 01:52:06.302 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-8081"]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.302 WARNING [main] org.apache.tomcat.util.net.Nio2Endpoint.bind The NIO2 connector requires an exclusive executor to operate properly on shutdown
2023-06-14 21:52:06 15-Jun-2023 01:52:06.303 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-8082"]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.303 WARNING [main] org.apache.tomcat.util.net.Nio2Endpoint.bind The NIO2 connector requires an exclusive executor to operate properly on shutdown
2023-06-14 21:52:06 15-Jun-2023 01:52:06.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio2-8443"]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.305 WARNING [main] org.apache.tomcat.util.net.Nio2Endpoint.bind The NIO2 connector requires an exclusive executor to operate properly on shutdown
2023-06-14 21:52:06 15-Jun-2023 01:52:06.384 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [620] milliseconds
2023-06-14 21:52:06 15-Jun-2023 01:52:06.419 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.419 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.60]
2023-06-14 21:52:06 15-Jun-2023 01:52:06.427 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/srv/dotserver/tomcat-9.0.60/webapps/ROOT]
2023-06-14 21:52:10 01:52:10.644  INFO  loggers.Log4jUtil - Async Logger enabled: true
2023-06-14 21:52:10 01:52:10.649  INFO  listeners.ContextLifecycleListener - Installing the web socket
2023-06-14 21:52:11 01:52:11.582  INFO  business.CacheLocator - loading cache administrator: ChainableCacheAdministratorImpl
2023-06-14 21:52:11 SLF4J: No SLF4J providers were found.
2023-06-14 21:52:11 SLF4J: Defaulting to no-operation (NOP) logger implementation
2023-06-14 21:52:11 SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
2023-06-14 21:52:13 01:52:13.018  WARN  db.DataSourceStrategyProvider - Error initializing datasource. Reason: Failed to initialize pool: Connection to db.dotcms.site:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.Trying to load datasource from context.xml ...
2023-06-14 21:52:13 01:52:13.018  WARN  db.DataSourceStrategyProvider - Failed to initialize pool: Connection to db.dotcms.site:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2023-06-14 21:52:13 01:52:13.019  WARN  db.DataSourceStrategyProvider - com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:589)
2023-06-14 21:52:13 com.dotmarketing.exception.DotRuntimeException: javax.naming.NameNotFoundException: Name [jdbc/dotCMSPool] is not bound in this Context. Unable to find [jdbc].
2023-06-14 21:52:13 at com.dotmarketing.db.TomcatDataSourceStrategy.apply(TomcatDataSourceStrategy.java:43)
2023-06-14 21:52:13 at com.dotmarketing.db.DataSourceStrategyProvider.get(DataSourceStrategyProvider.java:108)
2023-06-14 21:52:13 at com.dotmarketing.db.DbConnectionFactory.getDataSource(DbConnectionFactory.java:111)
2023-06-14 21:52:13 at com.dotmarketing.db.DbConnectionFactory.getConnection(DbConnectionFactory.java:222)
2023-06-14 21:52:13 at com.dotmarketing.db.HibernateUtil.startLocalTransactionIfNeeded(HibernateUtil.java:1292)
2023-06-14 21:52:13 at com.dotcms.business.bytebuddy.WrapInTransactionAdvice.enter(WrapInTransactionAdvice.java:33)
2023-06-14 21:52:13 at com.dotcms.enterprise.license.LicenseManager.init(LicenseManager.java:106)
2023-06-14 21:52:13 at com.dotcms.enterprise.license.LicenseManager.<init>(LicenseManager.java:100)
2023-06-14 21:52:13 at com.dotcms.enterprise.license.LicenseManager.<clinit>(LicenseManager.java:265)
2023-06-14 21:52:13 at com.dotcms.enterprise.LicenseUtil.getLevel(LicenseUtil.java:206)
2023-06-14 21:52:13 at com.dotcms.enterprise.cache.provider.CacheProviderAPIImpl.isValidLicense(CacheProviderAPIImpl.java:220)
2023-06-14 21:52:13 at com.dotcms.enterprise.cache.provider.CacheProviderAPIImpl.getAllProviders(CacheProviderAPIImpl.java:236)
2023-06-14 21:52:13 at com.dotcms.enterprise.cache.provider.CacheProviderAPIImpl.init(CacheProviderAPIImpl.java:368)
2023-06-14 21:52:13 at com.dotmarketing.business.ChainableCacheAdministratorImpl.initProviders(ChainableCacheAdministratorImpl.java:70)
2023-06-14 21:52:13 at com.dotmarketing.business.CommitListenerCacheWrapper.initProviders(CommitListenerCacheWrapper.java:29)
2023-06-14 21:52:13 at com.dotmarketing.business.CacheLocator.init(CacheLocator.java:117)
2023-06-14 21:52:13 at com.dotmarketing.business.CacheLocator.getInstance(CacheLocator.java:375)
2023-06-14 21:52:13 at com.dotmarketing.business.CacheLocator.getUserCache(CacheLocator.java:191)
2023-06-14 21:52:13 at com.dotmarketing.business.UserFactoryImpl.<init>(UserFactoryImpl.java:51)
2023-06-14 21:52:13 at com.dotmarketing.business.FactoryIndex.create(FactoryLocator.java:345)
2023-06-14 21:52:13 at com.dotmarketing.business.FactoryLocator.createService(FactoryLocator.java:279)
2023-06-14 21:52:13 at com.dotmarketing.business.FactoryLocator.createService(FactoryLocator.java:77)
2023-06-14 21:52:13 at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
2023-06-14 21:52:13 at com.dotmarketing.business.FactoryLocator.getInstance(FactoryLocator.java:269)
2023-06-14 21:52:13 at com.dotmarketing.business.FactoryLocator.getUserFactory(FactoryLocator.java:124)
2023-06-14 21:52:13 at com.dotmarketing.business.UserAPIImpl.<init>(UserAPIImpl.java:69)
2023-06-14 21:52:13 at com.dotmarketing.business.web.UserWebAPIImpl.<init>(UserWebAPIImpl.java:16)
2023-06-14 21:52:13 at com.dotmarketing.business.web.WebAPIIndex.create(WebAPILocator.java:121)
2023-06-14 21:52:13 at com.dotmarketing.business.web.WebAPILocator.createService(WebAPILocator.java:96)
2023-06-14 21:52:13 at com.dotmarketing.business.web.WebAPILocator.createService(WebAPILocator.java:29)
2023-06-14 21:52:13 at com.dotmarketing.business.Locator.getServiceInstance(Locator.java:41)
2023-06-14 21:52:13 at com.dotmarketing.business.web.WebAPILocator.getInstance(WebAPILocator.java:86)
2023-06-14 21:52:13 at com.dotmarketing.business.web.WebAPILocator.getUserWebAPI(WebAPILocator.java:44)
2023-06-14 21:52:13 at com.dotcms.filters.interceptor.dotcms.DefaultBackEndLoginRequiredWebInterceptor.<init>(DefaultBackEndLoginRequiredWebInterceptor.java:46)
2023-06-14 21:52:13 at com.dotmarketing.filters.LoginRequiredFilter.addDefaultInterceptors(LoginRequiredFilter.java:43)
2023-06-14 21:52:13 at com.dotmarketing.filters.LoginRequiredFilter.init(LoginRequiredFilter.java:32)
2023-06-14 21:52:13 at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:272)
2023-06-14 21:52:13 at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:253)
2023-06-14 21:52:13 at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4613)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
2023-06-14 21:52:13 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
2023-06-14 21:52:13 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-06-14 21:52:13 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-06-14 21:52:13 at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
2023-06-14 21:52:13 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
2023-06-14 21:52:13 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2023-06-14 21:52:13 at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
2023-06-14 21:52:13 at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
2023-06-14 21:52:13 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-06-14 21:52:13 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
2023-06-14 21:52:13 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
2023-06-14 21:52:13 at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
2023-06-14 21:52:13 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-06-14 21:52:13 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2023-06-14 21:52:13 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-06-14 21:52:13 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2023-06-14 21:52:13 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
2023-06-14 21:52:13 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
2023-06-14 21:52:13 Caused by: javax.naming.NameNotFoundException: Name [jdbc/dotCMSPool] is not bound in this Context. Unable to find [jdbc].
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:840)
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:158)
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:850)
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:158)
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:850)
2023-06-14 21:52:13 at org.apache.naming.NamingContext.lookup(NamingContext.java:172)
2023-06-14 21:52:13 at org.apache.naming.SelectorContext.lookup(SelectorContext.java:161)
2023-06-14 21:52:13 at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
2023-06-14 21:52:13 at com.liferay.util.JNDIUtil.lookup(JNDIUtil.java:88)
2023-06-14 21:52:13 at com.dotmarketing.db.TomcatDataSourceStrategy.apply(TomcatDataSourceStrategy.java:36)
2023-06-14 21:52:13 ... 79 more

Todd Jacobsen

unread,
Aug 17, 2023, 4:12:58 PM8/17/23
to dotCMS User Group
DotCMS does not test or support containers on Docker Desktop for Windows - only Docker CE on Linux is supported. I do not know if your issue is related to running on Windows or not.
The error says dotCMS cannot connect to a postgres database.

DotCMS provide sample docker-compose.yml files that include postgres and opensearch containers:
https://github.com/dotCMS/core/tree/master/docker/docker-compose-examples 

While Docker Desktop on OS X is not officially supported, many developers run local development environments on OS X Docker without issue.
Reply all
Reply to author
Forward
0 new messages