Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tomcat error: com.couchbase.client.vbucket.provider.BucketConfigurationProvider: Could not parse config, retrying bootstrap #446

Open
JeevanAleti opened this issue Jul 18, 2022 · 3 comments

Comments

@JeevanAleti
Copy link

Hi,

I have tomcat 9.0.64 running and connected to couchbase session bucket by adding below config in tomcat/conf/contexts.xml file:

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

When I try with couchbase 6.0.0 the tomcat has no problem in starting but when I try to upgrade couchbase docker image 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](http://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 .... .... INFO com.couchbase.client.vbucket.provider.BucketConfigurationProvider: Could not fetch config from http seed nodes. com.couchbase.client.vbucket.ConfigurationException: Configuration for bucket "session" was not found in server list ([http://dev.test.io:8091/pools]). ... .... Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not create memcached client .... .... Caused by: com.couchbase.client.vbucket.ConfigurationException: Could not fetch a valid Bucket configuration

I have the following jar files in tomcat/lib folder

memcached-session-manager-2.3.2.jar
memcached-session-manager-tc9-2.3.2.jar
netty-3.9.9.Final.jar
jettison-1.3.8.jar
spymemcached-2.12.3.jar
couchbase-client-1.4.12.jar
commons-codec-1.10.jar
httpcore-4.4.5.jar
httpcore-nio-4.4.5.jar

Please suggest whether do I have to update any jar files or any configuration setup, thank you.

@LLY-SC
Copy link

LLY-SC commented Jul 18, 2022 via email

@JeevanAleti
Copy link
Author

JeevanAleti commented Jul 19, 2022

@magro Can you please take a loot at this and confirm whether the memcached-session-manager supports for couchbase version after 6.5 or not, thank you

@LLY-SC
Copy link

LLY-SC commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants