This content has been marked as final.
Show 3 replies
-
1. Re: Could not lookup Infinispan from JBoss
rpelisse Feb 26, 2014 8:18 AM (in response to ks.zealot)My guess is the JNDI name is not the right one (since JEE6 there is "several" options). I would remove the "jndi-name" attribute for now and simply go for the "natural" one which look like more/less like that: java:jboss/infinispan/container/<cache-name>
An other option, would be to use JBoss CLI to display the JNDI name and check if your cache is really registered under the name you set:
[standalone@localhost:9999 /] /subsystem=naming:jndi-view
-
2. Re: Could not lookup Infinispan from JBoss
ks.zealot Feb 26, 2014 8:45 AM (in response to rpelisse)I removed jndi-name paramatr and look into jndi tree. Nothing like infispan in cli and managment console.
[standalone@172.16.100.63:9999 /] /subsystem=naming:jndi-view { "outcome" => "success", "result" => { "java: contexts" => { "java:" => {"TransactionManager" => { "class-name" => "com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate", "value" => "com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@1d7e805e" }}, "java:jboss" => { "TransactionManager" => { "class-name" => "com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate", "value" => "com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate@1d7e805e" }, "TransactionSynchronizationRegistry" => { "class-name" => "com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple", "value" => "com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple@c5d4e0f" }, "UserTransaction" => { "class-name" => "org.jboss.tm.usertx.client.ServerVMClientUserTransaction", "value" => "org.jboss.tm.usertx.client.ServerVMClientUserTransaction@5104c8be" }, "jaas" => { "class-name" => "$Proxy9", "children" => { "jboss-ejb-policy" => { "class-name" => "org.jboss.as.security.plugins.SecurityDomainContext", "value" => "org.jboss.security.authentication.JBossCachedAuthenticationManager@33734d0b" }, "other" => { "class-name" => "org.jboss.as.security.plugins.SecurityDomainContext", "value" => "org.jboss.security.authentication.JBossCachedAuthenticationManager@56c72790" }, "jboss-web-policy" => { "class-name" => "org.jboss.as.security.plugins.SecurityDomainContext", "value" => "org.jboss.security.authentication.JBossCachedAuthenticationManager@2cf68b72" } } }, "mail" => { "class-name" => "javax.naming.Context", "children" => {"Default" => { "class-name" => "javax.mail.Session", "value" => "javax.mail.Session@2b0fb601" }} }, "datasources" => { "class-name" => "javax.naming.Context", "children" => {"ExampleDS" => { "class-name" => "org.jboss.jca.adapters.jdbc.WrapperDataSource", "value" => "org.jboss.jca.adapters.jdbc.WrapperDataSource@6f7c3b5d" }} } }, "java:global" => undefined }, "applications" => undefined } }
-
3. Re: Could not lookup Infinispan from JBoss
ks.zealot Feb 27, 2014 1:11 AM (in response to ks.zealot)I still could not found the solution