You can not use the InitialContext with properties like this ATM.
Have a look to the AS7 documentation here.
You may use the ejb-client api direct.
Reply to this message by going to Community
Start a new discussion in JBoss AS 7 Development at Community