0 Replies Latest reply on Oct 29, 2005 1:14 AM by muga_nishizawa

    How to use org.jboss.util.loading.Translator

    muga_nishizawa

      Hi,

      I'm trying to translate web application's classfile (bytecode) at
      load-time. I heard that org.jboss.util.loading.Translator allows
      changing the behavior of UCL and then implemented and attached the
      simple translator to UCL. But, JBoss displays the following message.

      Caused by: java.lang.SecurityException:
      class "javax.activation.DataSource"'s signer information does not
      match signer information of other classes in the same package
      at java.lang.ClassLoader.checkCerts(ClassLoader.java:599)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:532)
      at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:591)
      ... 30 more

      I think that the protection domain of the application causes the
      error but, I don't understand detail. Can someone give me the good
      solution?

      Thanks in advance,