Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Cannot connect to server (Could not find Spring Shell library)

$
0
0

Hi all,

 

When I run: sqlf>connect client 'mysqlf:1527'; I get the following error:

Failed after trying all available servers: [], for control URL: UbuSQLFire01[1527]. (connection refused)

Failed after trying all available servers: [UbuSQLFire01[1527]], for control host[port]: UbuSQLFire01[1527]. (connection refused)

 

I've done the following tasks:

 

1) I start the locator with this line:

sqlf locator start -dir=locator -peer-discovery-address=mysqlf -peer-discovery-port=41111 -client-bind-address=mysqlf -client-port=1527 -J-Dsqlfire.properties=../locator.properties

locator.properties has the following sentences:

license-serial-number=XXXX-XXXX

log-level=config

statistic-sampling-enabled=true

statistic-sample-rate=1000

 

2) I start the server with this line:

sqlf server start -dir=server1 -client-bind-address=mysqlf -client-port=1528 -J-Dsqlfire.properties=../server.properties

server.properties has the same lines as locator.propertis plus:

locators=mysqlf[41111]

mcast-port=0

 

and seams to be ok becouse I get:

SQLFire Server pid: 1855 status: running

  Distributed system now has 2 members.

  Other members: UbuSQLFire01(1780:locator):63656

But in server.log I've found this:

Command Service could not be initialized. Could not find Spring Shell library which is needed for CLI/gfsh in classpath. Internal support for CLI & gfsh is not enabled.

 

Any ideas?

 

Thanks a lot,

Damián


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>