Integrating Tomcat with Weblogic - AccessControlException

Discussion in 'Java' started by derek, Jul 15, 2004.

  1. derek

    derek Guest

    I am trying to deploy the web tier on tomcat v 5.0.25 and have it
    communicate with the EJB's on a weblogic 8.1 instance - everything
    works fine on a monolithic weblogic configuration.

    it starts deploying the .war file then barfs after the first
    successful JNDI when it tries to do something with the look'ed up
    object.

    the stubs/skeletons are generated by using weblogic's appc compiler.
    the jndi url is "iiop://localhost:7001" (i.e. weblogic's address
    using iiop). this part seems to work.



    questions?
    - do i have to sign the .war or any of the .jars that are used?
    - do i have to change the policy file to allow SocketPermission for
    the webapp?
    - is there a way to configure tomcat's jmx security policy/managment?
    - is there a special xdoclet option or weblogic appc option that must
    be used in conjunction with Tomcat? (this stuff worked with apache or
    weblogic web tiers)


    any help much appreciated.



    Jul 15, 2004 10:53:22 AM org.apache.commons.modeler.Registry
    registerComponent
    SEVERE: Error registering
    Catalina:j2eeType=WebModule,name=//localhost/tomcat-mint-web,J2EEApplication=none,J2EEServer=none
    java.security.AccessControlException: Access denied
    mx4j.server.MBeanTrustPermission register): MBean class
    org.apache.commons.modeler.BaseModelMBean is not trusted for
    registration

    mx4j.server.interceptor.SecurityMBeanServerInterceptor.checkTrustRegistration(SecurityMBeanServerInterceptor.java:156)
    mx4j.server.interceptor.SecurityMBeanServerInterceptor.registration(SecurityMBeanServerInterceptor.java:116)
    mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(DefaultMBeanServerInterceptor.java:113)
    mx4j.server.interceptor.DefaultMBeanServerInterceptor.registration(DefaultMBeanServerInterceptor.java:113)
    mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.registration(ContextClassLoaderMBeanServerInterceptor.java:108)
    mx4j.server.MBeanServerImpl.registerImpl(MBeanServerImpl.java:1051)
    ..... <left out rest of stack trace>
     
    derek, Jul 15, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JayDS
    Replies:
    5
    Views:
    4,723
    JayDS
    Aug 19, 2003
  2. nek
    Replies:
    0
    Views:
    296
  3. nick
    Replies:
    0
    Views:
    332
  4. nick
    Replies:
    4
    Views:
    545
    Andrew Thompson
    May 27, 2008
  5. nick
    Replies:
    0
    Views:
    285
Loading...

Share This Page