CachePut does not work with TimeSpan attribute
Description
Environment
None
Attachments
1
- 13 Jun 2023, 09:47 am
Activity
Show:
Pothys - MitrahSoft 13 June 2023 at 10:31Edited
Stack Trace:
15:55:18.819 [ajp-nio-8009-exec-3] ERROR org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation - ISPN004007: Exception encountered. Retry 10 out of 10
org.infinispan.client.hotrod.exceptions.TransportException: Could not fetch transport
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:409) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.getTransport(TcpTransportFactory.java:249) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.operations.FaultTolerantPingOperation.getTransport(FaultTolerantPingOperation.java:26) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:53) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.ping(RemoteCacheImpl.java:673) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.resolveCompatibility(RemoteCacheImpl.java:734) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.RemoteCacheManager.createRemoteCache(RemoteCacheManager.java:666) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:552) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.RemoteCacheManager.getCache(RemoteCacheManager.java:547) [org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.lucee.extension.infinispan.client.InfinispanRemote.getCache(InfinispanRemote.java:87) [infinispan.extension-8.2.3.21.jar:?]
at org.lucee.extension.infinispan.client.InfinispanRemote.getCustomInfo(InfinispanRemote.java:78) [infinispan.extension-8.2.3.21.jar:?]
at lucee.runtime.tag.Admin.doVerifyCacheConnection(Admin.java:3864) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.tag.Admin._doStartTag(Admin.java:724) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.tag.Admin.doStartTag(Admin.java:365) [6.0.0.453-SNAPSHOT.lco:?]
at services_cache_create_cfm1104$cf.call(/admin/services.cache.create.cfm:73) [lucee-admin.lar:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1058) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:950) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:931) [6.0.0.453-SNAPSHOT.lco:?]
at services_cache_cfm414$cf.call(/admin/services.cache.cfm:41) [lucee-admin.lar:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1058) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:950) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:931) [6.0.0.453-SNAPSHOT.lco:?]
at web_cfm$cf.call(/admin/web.cfm:509) [lucee-admin.lar:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1058) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:950) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:931) [6.0.0.453-SNAPSHOT.lco:?]
at server_cfm$cf.call(/admin/server.cfm:7) [lucee-admin.lar:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1058) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:950) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:221) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:108) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2494) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2480) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2451) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.engine.Request.exe(Request.java:45) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1218) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1164) [6.0.0.453-SNAPSHOT.lco:?]
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97) [lucee.jar:?]
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) [lucee.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [servlet-api.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.11]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.11]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.11]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.11]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.11]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:9.0.11]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.11]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [catalina.jar:9.0.11]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.11]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.11]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.11]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.11]
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:394) [tomcat-coyote.jar:9.0.11]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.11]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) [tomcat-coyote.jar:9.0.11]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) [tomcat-coyote.jar:9.0.11]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.11]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_131]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.11]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: org.infinispan.client.hotrod.exceptions.TransportException: Could not connect to server: /127.0.0.1:11222
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.<init>(TcpTransport.java:78) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:37) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220) ~[org.apache.commons.pool-1.6.0.jar:1.6]
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:404) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
... 60 more
Caused by: java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.8.0_131]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[?:1.8.0_131]
at sun.nio.ch.SocketAdaptor.connect(Unknown Source) ~[?:1.8.0_131]
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.<init>(TcpTransport.java:68) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:37) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220) ~[org.apache.commons.pool-1.6.0.jar:1.6]
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.borrowTransportFromPool(TcpTransportFactory.java:404) ~[org.infinispan.client-hotrod-8.2.3.Final.jar:8.2.3.Final]
... 60 more
Zac Spitzer 13 June 2023 at 10:21
@Pothys - MitrahSoft got a stacktrace?
Pothys - MitrahSoft 13 June 2023 at 09:47
checked this issue with lucee version 6.0.0.453-SNAPSHOT and Infinispan Cache(Remote) extension version 8.2.3.21. when creating infinispan cache, it is created successfully. But trying to edit the cache, still it throws, Could not fetch transport error on the cache edit page.
Pothys - MitrahSoft 28 May 2020 at 15:23
I've checked this ticket with lucee latest version 5.3.7.34-SNAPSHOT also. And I got the "Could not fetch transpor" error thrown by infinispan cache. Other caches are working fine
Alexander Diedler 3 April 2019 at 07:36
Hello, it is with Remote InfiniSpan Cache used.
Details
Assignee
Michael OffnerMichael OffnerReporter
Alexander DiedlerAlexander DiedlerPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Alexander Diedler
Alexander DiedlerPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 4 March 2019 at 13:39
Updated 13 June 2023 at 10:43
Hello,
The usage of attribute timespan or idletime prevent the cacheput from submit data to the cache. Nothing to read inside.
Test:
timeSpan = createTimespan(180,0,0,0); REDLINE_CACHE_NAME = "Redline"; cacheId = "test123"; opened = "123,456,789"; cachePut(id=cacheId,value=opened,cacheName=REDLINE_CACHE_NAME,timespan=timeSpan); writeDump(var=cacheGet(id=cacheId,cacheName=REDLINE_CACHE_NAME),label="With CreateTimeSpan value"); //Returns null cachePut(id=cacheId,value=opened,cacheName=REDLINE_CACHE_NAME,timespan="90"); writeDump(var=cacheGet(id=cacheId,cacheName=REDLINE_CACHE_NAME),label="With numeric values days"); //Returns null cachePut(id=cacheId,value=opened,cacheName=REDLINE_CACHE_NAME); writeDump(var=cacheGet(id=cacheId,cacheName=REDLINE_CACHE_NAME),label="Without timespan"); //Returns String "123,456,789