Hi Santhosh,
it seems I forgot an important piece of configuration ;-): you need a "j2ee.clientName" property.
Take a look at this: http://community.jboss.org/wiki/J2EEClient
When initializing the properties, you have to add this one:
Properties props = new Properties();
...
props.setProperty("j2ee.clientName", "MyClientName");
And you have to add a file "jboss-client.xml" to your client app (in "META-INF"):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-client PUBLIC
"-//JBoss//DTD Application Client 4.2//EN"
"http://www.jboss.org/j2ee/dtd/jboss-client_4_2.dtd">
<jboss-client>
<jndi-name>MyClientName</jndi-name>
</jboss-client>
Hope this helps
Wolfgang