Integrating Tomcat with Weblogic - AccessControlException

D

derek

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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Tomcat: Strange error 2

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top