Expand my Community achievements bar.

SOLVED

ConnectionPoolTimeoutException error occurs when installing ServicePack in AEM 6.3 + AWS S3 environment.

Avatar

Former Community Member

I am trying to install SP1 on AEM 6.3. However, the following error occurs during installation and installation can not be completed.

After that I attempted to access AEM's login URL, but no HTTP response and no connection at all.

In the standalone configuration, I can successfully install SP1,

Using AWS S3 for DataStore seems to cause this error.

Please tell me the solution to this problem.

Thanks for the help!

AEM version: 6.3.0

ServicePack: 6.3.1.0

ErrorMessage

09.01.2018 19:50:07.191 *INFO* [FelixStartLevel] org.apache.sling.installer.provider.jcr.impl.WatchedFolder Watching folder /libs/granite/operations/config (priority 100)

09.01.2018 19:50:10.000 *INFO* [CommitStats] CommitStats 21 commits by user admin from location osgi-thread:osgi-installer [CommitStats overhead was 0ms = 0.0us / commit]

09.01.2018 19:50:14.049 *INFO* [oak-ds-cache-scheduled-thread-1] org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache Starting purge of uploaded files

09.01.2018 19:50:14.049 *INFO* [oak-ds-cache-scheduled-thread-1] org.apache.jackrabbit.oak.plugins.blob.UploadStagingCache Finished removal of [0] files

09.01.2018 19:51:06.927 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [807, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED

09.01.2018 19:52:13.289 *INFO* [FelixStartLevel] com.amazonaws.http.AmazonHttpClient Unable to execute HTTP request: Timeout waiting for connection from pool

org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool

at org.apache.http.impl.conn.PoolingClientConnectionManager.leaseConnection(PoolingClientConnectionManager.java:230)

at org.apache.http.impl.conn.PoolingClientConnectionManager$1.getConnection(PoolingClientConnectionManager.java:199)

at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.amazonaws.http.conn.ClientConnectionRequestFactory$Handler.invoke(ClientConnectionRequestFactory.java:70)

at com.amazonaws.http.conn.$Proxy9.getConnection(Unknown Source)

at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:424)

at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)

at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:837)

at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607)

at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376)

at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338)

at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287)

at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3826)

at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:1015)

at com.amazonaws.services.s3.AmazonS3Client.getObjectMetadata(AmazonS3Client.java:991)

at org.apache.jackrabbit.oak.blob.cloud.s3.S3Backend.getRecord(S3Backend.java:502)

at org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore.getRecordIfStored(AbstractSharedCachingDataStore.java:217)

at org.apache.jackrabbit.oak.plugins.blob.AbstractSharedCachingDataStore.getRecord(AbstractSharedCachingDataStore.java:194)

at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getDataRecord(DataStoreBlobStore.java:598)

at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:583)

at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getInputStream(DataStoreBlobStore.java:342)

at org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob.getNewStream(BlobStoreBlob.java:47)

at org.apache.jackrabbit.oak.segment.SegmentBlob.getNewStream(SegmentBlob.java:252)

at org.apache.jackrabbit.oak.segment.SegmentBlob.getNewStream(SegmentBlob.java:87)

at org.apache.jackrabbit.oak.plugins.value.ValueImpl.getStream(ValueImpl.java:297)

at org.apache.jackrabbit.oak.jcr.session.PropertyImpl.getStream(PropertyImpl.java:281)

at org.apache.sling.installer.provider.jcr.impl.FileNodeConverter.convert(FileNodeConverter.java:71)

at org.apache.sling.installer.provider.jcr.impl.FileNodeConverter.convertNode(FileNodeConverter.java:53)

at org.apache.sling.installer.provider.jcr.impl.WatchedFolder.scanNode(WatchedFolder.java:163)

at org.apache.sling.installer.provider.jcr.impl.WatchedFolder.scan(WatchedFolder.java:132)

at org.apache.sling.installer.provider.jcr.impl.InstallerConfig.scanWatchedFolders(InstallerConfig.java:180)

at org.apache.sling.installer.provider.jcr.impl.JcrInstaller$StoppableThread.<init>(JcrInstaller.java:242)

at org.apache.sling.installer.provider.jcr.impl.JcrInstaller.start(JcrInstaller.java:351)

at org.apache.sling.installer.provider.jcr.impl.JcrInstaller.activate(JcrInstaller.java:338)

at sun.reflect.NativeMethodAccessorImpl.invo

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

It solved it by applying cq-6.3.0-hotfix-16993-1.2.zip

View solution in original post

1 Reply

Avatar

Correct answer by
Former Community Member

It solved it by applying cq-6.3.0-hotfix-16993-1.2.zip

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----