Created attachment 904617 [details] carmart-tx.war for testing CLI in library mode Description of problem: Version-Release number of selected component (if applicable):6.3.0.ER6 How reproducible: Steps to Reproduce: 1. Run EAP server 2. Deploy attached application 3. Try to connect with server with bin/cli.sh and put commands connect remoting://localhost:9999/DefaultCacheManager/carcache put key1 key1 put key2 100 put key3 4139l put key4 true put key5 {"org.jboss.as.quickstarts.datagrid.carmart.model.Car":{"brand":"UKRAINE_UAZ","displacement":0.0,"type":"HATCHBACK","color":"MODRA","numberPlate":"UA 2896","country":"CZECH_REPUBLIC"}} disconnect ~ Actual results: No such container: DefaultCacheManager! There are only 2 containers shown [standalone@localhost:9999 cache-container=hibernate] container hibernate web Expected results: DefaultCacheManager should be registered and shown as our custom cache container Additional info:
Probably cli.sh instead connecting to ISPN-CLI-SERVER is connecting to EAP-CLI-SERVER
Vitalii this works for me.
(In reply to Tristan Tarrant from comment #3) > Vitalii this works for me. Ok then provide Tristan me please how you build and run script to connect from cli/cli-client module, Maybe we should bundle JDG with library version of CLI client for connecting to ISPN server inside EAP/TOMCAT