0 Replies Latest reply on Jan 28, 2009 3:00 PM by William Anez

    Security Manager Issue

    William Anez Newbie

      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.