Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Integrating Tomcat with Weblogic - AccessControlException

Reply
Thread Tools

Integrating Tomcat with Weblogic - AccessControlException

 
 
derek
Guest
Posts: n/a
 
      07-15-2004
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.SecurityMBeanServerInterce ptor.checkTrustRegistration(SecurityMBeanServerInt erceptor.java:156)
mx4j.server.interceptor.SecurityMBeanServerInterce ptor.registration(SecurityMBeanServerInterceptor.j ava:116)
mx4j.server.interceptor.DefaultMBeanServerIntercep tor.registration(DefaultMBeanServerInterceptor.jav a:113)
mx4j.server.interceptor.DefaultMBeanServerIntercep tor.registration(DefaultMBeanServerInterceptor.jav a:113)
mx4j.server.interceptor.ContextClassLoaderMBeanSer verInterceptor.registration(ContextClassLoaderMBea nServerInterceptor.java:10
mx4j.server.MBeanServerImpl.registerImpl(MBeanServ erImpl.java:1051)
..... <left out rest of stack trace>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help for integrating eclipse with tomcat nick Java 4 05-27-2008 10:58 PM
help for integrating eclipse with tomcat nick Java 0 05-26-2008 04:18 AM
help for integrating eclipse with Tomcat nick Java 0 05-26-2008 04:15 AM
help regarding integrating eclipse with Tomcat nek Java 0 05-26-2008 04:13 AM
AccessControlException with JMS, WebStart, and WebLogic JayDS Java 5 08-19-2003 07:28 PM



Advertisments