Tomcat error: com.couchbase.client.vbucket.ConfigurationProviderHTTP: Provided URI

16 views
Skip to first unread message

Jeevan Reddy

unread,
Jul 18, 2022, 3:59:04 PM7/18/22
to memcached-session-manager

Hi,

I have tomcat 9.0.64 running and connected to couchbase session bucket by adding details in tomcat/conf/contexts.xml file. When I try with couchbase 6.0.0 the tomcat has no problem in starting but when I try to upgrade couchbase from 6.0.0 to 6.5.2 then the tomcat wont even start

Please find the tomcat logs below:

INFO net.spy.memcached.auth.AuthThread: Authenticated to dev.test.io/192.168.66.51:11210
2022-07-17 12:23:39.403 WARN com.couchbase.client.vbucket.provider.BucketConfigurationProvider: Could not parse config, retrying bootstrap.
java.text.ParseException: JSONObject[“proxy”] not found.



WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Provided URI http://dev.test.io:8091/pools has an unparsable response…skipping
java.text.ParseException: JSONObject[“proxy”] not found

I have the following jar files in tomcat/lib folder
memcached-session-manager-1.9.5.jar
memcached-session-manager-tc8-1.9.5.jar
spymemcached-2.12.3.jar
couchbase-client-1.4.12.jar

This is what I have for couchbase session bucket in my tomcat/conf/context.xml file

WEB-INF/web.xml
WEB-INF/tomcat-web.xml
${catalina.base}/conf/web.xml

<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager" memcachedNodes="http://dev.test.io:8091/pools"
 memcachedProtocol="binary"
 username="session"
 password="password"
/>

So I am upgrading couchbase from 6.0.0 to 6.5 do I need to modify the above setup with something else or any other way, thank you

Reply all
Reply to author
Forward
0 new messages