0 Replies Latest reply on Apr 20, 2005 11:06 AM by Chetan Sanghi

    Exception while trying to talk Weblogic JMS from JBoss

    Chetan Sanghi Newbie

      Hi

      I have an application running in Jboss which can be configured to run in two modes:

      1. JMS talking to Weblogic
      2. Not using JMS

      The application works fine when I am not using JMS. But as soon as I try to send a message from my application to a JMS queue on a weblogic server I get exceptions related to Secuirty like:

      Caused by: java.lang.SecurityException: org.jboss.mx.loading.UnifiedClassLoader3 is not trusted, pd: ProtectionDomain (
      file:/C:/cp/ThirdParty/jboss-4.0.1sp1/lib/jboss-jmx.jar <no certificates>)
      org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2
      <no principals>
      java.security.Permissions@985016 (
      (java.util.PropertyPermission java.version read)
      (java.util.PropertyPermission java.vm.name read)
      (java.util.PropertyPermission java.vm.vendor read)
      (java.util.PropertyPermission os.name read)
      (java.util.PropertyPermission java.vendor.url read)
      (java.util.PropertyPermission java.vm.specification.vendor read)
      (java.util.PropertyPermission java.specification.vendor read)
      (java.util.PropertyPermission os.version read)
      (java.util.PropertyPermission java.specification.name read)
      (java.util.PropertyPermission java.class.version read)
      (java.util.PropertyPermission file.separator read)
      (java.util.PropertyPermission java.vm.version read)
      (java.util.PropertyPermission os.arch read)
      (java.util.PropertyPermission java.vm.specification.name read)
      (java.util.PropertyPermission java.vm.specification.version read)
      (java.util.PropertyPermission java.specification.version read)
      (java.util.PropertyPermission java.vendor read)
      (java.util.PropertyPermission path.separator read)
      (java.util.PropertyPermission line.separator read)
      (java.io.FilePermission \C:\cp\ThirdParty\jboss-4.0.1sp1\lib\jboss-jmx.jar read)
      (java.net.SocketPermission localhost:1024- listen,resolve)
      (java.lang.RuntimePermission stopThread)
      )


      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:203)
      ... 67 more

      Does anybody have an idea what might be causing this?

      Thanks.

      Regards
      Chetan