Bug 1106451

Summary: CLI connect to EAP server with deployed infinispan application fails
Product: [JBoss] JBoss Data Grid 6 Reporter: Vitalii Chepeliuk <vchepeli>
Component: ServerAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: jdg-bugs
Target Milestone: CR1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 14:05:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: Red Hat1104639    
Description Flags
carmart-tx.war for testing CLI in library mode none

Description Vitalii Chepeliuk 2014-06-09 11:45:00 UTC
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"}}
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:

Comment 2 Vitalii Chepeliuk 2014-06-11 08:39:54 UTC
Probably cli.sh instead connecting to ISPN-CLI-SERVER is connecting to EAP-CLI-SERVER

Comment 3 Tristan Tarrant 2014-06-25 14:19:00 UTC
Vitalii this works for me.

Comment 4 Vitalii Chepeliuk 2014-06-25 18:32:17 UTC
(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