cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot store files in local MongoDB server

02-17-2021 2:51 PM
334 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

We've been using MongoDB as our local (develop) service destination for years now (even though SAP has discontinued support for this). This has stopped working for me since a few weeks, but without any clear cause or reason. There have been no plugin or SDK updates.

Versions:

- Java Web Tomcat 8 Server

- Neo Java Web SDK: 3.121.8.1 (I've also tried 3.123.6.2 and

- MongoDB: 4.4

During startup of the Tomcat server, the following error is thrown:

[ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR c.s.c.r.k.persistence.client.pool.trace.PoolLogger - Unexpected close() in TraceableGenericObjectPool
java.lang.Throwable: null
	at com.sap.cloud.runtime.kotyo.persistence.client.pool.trace.TraceableGenericObjectPool.close(TraceableGenericObjectPool.java:105)
	at org.apache.commons.dbcp2.PoolingDataSource.close(PoolingDataSource.java:80)
	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.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1072)
	at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:1042)
	at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:1003)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5413)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
	at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3745)
	at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:297)
	at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5531)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
	at java.lang.Thread.run(Thread.java:748)

After the Tomcat server has started, our applications work just fine locally (including the connection to the SAP HANA DB). That is, until I try to upload a file from our application. The following error is thrown:

ERROR com.sap.ecm.api.EcmFactory - Could not create repository, document service responded with http 405 and error: <!doctype html><html lang="en"><head><title>HTTP Status 405 – Method Not Allowed</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 405 – Method Not Allowed</h1><hr /><p><b>Type</b> Status Report</p><p><b>Description</b> The method received in the request-line is known by the origin server but not supported by the target resource.</p><hr /></body></html>

All help is appreciated!

0 Likes

Accepted Solutions (0)

Answers (0)