[JBoss Cache: Core Edition] - Transaction manager file not found
by fatboysuns
Hi,
I am using Jboss cache searchable in my application. I have a method which I use to cache all that I need. I have exposed this from the JMX-console. The method, creates a singleton "Cache" and "SearchableCache" object and uses this to perform the caching. The method works fine if I have no "Configuration" element attached to it, but when I try to use a Configuration for my cache, I am getting a
java.lang.ClassNotFoundException: org.jboss.cache.transaction.GenericTransactionManagerLookup
I have tried to create configurations via both Java and xml variants. The interesting part to the whole thing is, I get this exception only when accessing the method from JMX. If I access from the app, it seems to work absolutely fine.
I have tried using , the 3 transaction managers provided by jboss cache and also JTA.
My app runs on jboss 4.05 and uses Spring for service, transaction and configuring JMX.
Any help is appreciated.
Regards
Sundar S
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205374#4205374
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205374
17 years, 2 months
[JNDI/Naming/Network] - Security Manager Issue
by wecucho
Hi all, im using JBoss 4.2.3 and i am working with the Timer Service, im scheduling a recurrent timer, that timer performs a JNDI lookup for a Bean in the same project.. so, every minute (the timer awake time) the timer goes up and perform the lookup, get the answer and go, all works fine except for this, if i STOP the jboss while the timer is sleeped and turn the jboss on again, the next time the timer activate i get this exception:
2009-01-28 15:11:34,119 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.test.project.SomeBean (no security manager: RMI class loader disabled)]]
Im using TRUE for the CallByValue value in the jboss-service.xml because i needed that, i can't change that, but in some tests if i used FALSE there, this problem does not show... i really don't know how to fix this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205370#4205370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205370
17 years, 2 months