I tried to add the bea weblogic jndi namespace to the jndi namespace of my 
JBoss 4.0.2 server as external context for latter access of bea's jms queues. 
according to the documentation I tried this by deploying the following 
extjndi-service.xml within JBoss.


  | <server>
  | <classpath codebase="../" archives="wlclient.jar"/>
  | <mbean code="org.jboss.naming.ExternalContext"
  |       name="jboss.jndi:service=ExternalContext,jndiName=external/Bea">
  |   <attribute name="JndiName">external/Bea</attribute>
  |   <attribute name="CacheContext">true</attribute>
  |   <attribute name="Properties">
  |     java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
  |     java.naming.provider.url=t3://localhost:7001
  |     java.naming.factory.url.pkgs=org.jnp.interfaces
  |   </attribute>
  |   <attribute name="InitialContext">javax.naming.InitialContext</attribute>
  |   <attribute name="RemoteAccess">true</attribute>
  | </mbean>
  | </server>   

but when I try to even start the jmx console on localhost to test the 
deployment with JNDIView I get the following error output:

2005-05-06 10:41:17,240 ERROR [org.apache.commons.modeler.Registry] Error 
registering 
jboss.web:name=HttpRequest1,type=RequestProcessor,worker=http-0.0.0.0-8080
  | java.lang.SecurityException: MBeanTrustPermission(register) not implied by 
protection domain of mbean class: org.apache.commons.modeler.BaseModelMBean, 
pd: ProtectionDomain  
(file:/C:/work/jboss4_02/server/default/tmp/deploy/tmp21882commons-modeler.jar 
<no certificates>)
  |  [EMAIL PROTECTED] 
url=file:/C:/work/jboss4_02/server/default/deploy/jbossweb-tomcat55.sar/ 
,addedOrder=10}
  |  <no principals>
  |  [EMAIL PROTECTED] (
  |  (java.io.FilePermission 
C:\work\jboss4_02\server\default\tmp\deploy\tmp21882commons-modeler.jar read)
  |  (java.io.FilePermission 
C:\work\jboss4_02\server\default\deploy\jbossweb-tomcat55.sar read)        
  | ...
  | 

Any idea how I can get rid of that error and to federate the remote jndi 
namespace into jboss's jndi namespace? any information pointing me in the right 
direction is welcomed. 

regards,
chris 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876738#3876738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876738


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to