I try to add the bea weblogic jndi namespace to jboss namespace as external context. according to the documentation I try this by deploying the following extjndi-service.xml within JBoss.
<server> | <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.factory.host=t3://localhost | java.naming.factory.port=7001 | java.naming.security.principal=weblogic | java.naming.security.credentials=weblogic | </attribute> | <attribute name="InitialContext">javax.naming.InitialContext</attribute> | <attribute name="RemoteAccess">true</attribute> | </mbean> | <mbean code="org.jboss.naming.JNDIView" name="DefaultDomain:service=JNDIView"/> | </server> according to the server.log the deployment seems to be ok: | ... | 2005-04-21 13:42:11,375 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: extjndi-service.xml | 2005-04-21 13:42:11,375 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml | 2005-04-21 13:42:11,375 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml -> file:/C:/jboss-4.0.1/server/default/deploy/jms/extjndi-service.xml but when I try to even start the jmx console on localhost to test the construction via JNDIView.list() I get the following error output: 2005-04-21 13:43:23,430 ERROR [org.apache.commons.modeler.Registry] Error registering jboss.web:name=HttpRequest1,type=RequestProcessor,worker=http-0.0.0.0-8080 | java.lang.SecurityException: org.apache.commons.modeler.BaseModelMBean is not trusted, pd: ProtectionDomain (file:/C:/jboss-4.0.1/server/default/tmp/deploy/tmp12114commons-modeler.jar <no certificates>) | [EMAIL PROTECTED] url=file:/C:/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ ,addedOrder=10} | <no principals> | [EMAIL PROTECTED] ( | (java.net.SocketPermission localhost:1024- listen,resolve) | (java.net.SocketPermission localhost:1024- listen,resolve) | (java.io.FilePermission C:\jboss-4.0.1\server\default\tmp\deploy\tmp12114commons-modeler.jar read) | (java.io.FilePermission C:\jboss-4.0.1\server\default\deploy\jbossweb-tomcat50.sar read) | (java.lang.RuntimePermission stopThread) | (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 os.version read) | (java.util.PropertyPermission java.specification.vendor read) | (java.util.PropertyPermission java.class.version read) | (java.util.PropertyPermission java.specification.name read) | (java.util.PropertyPermission file.separator read) | (java.util.PropertyPermission os.arch read) | (java.util.PropertyPermission java.vm.version read) | (java.util.PropertyPermission java.vendor read) | (java.util.PropertyPermission java.specification.version read) | (java.util.PropertyPermission java.vm.specification.version read) | (java.util.PropertyPermission java.vm.specification.name read) | (java.util.PropertyPermission path.separator read) | (java.util.PropertyPermission line.separator read) | ) | | | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1373) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359) | at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.init(Http11Protocol.java:670) | at org.apache.tomcat.util.net.TcpWorkerThread.getInitData(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:672) | at java.lang.Thread.run(Thread.java:534) | I read the available documentation and checked the forum but couldn't find the info to solve that problem. actually I have no idea where to set the principal to gain the needed certificates. any information is warmly welcomed. thanks in advance, Chris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874815#3874815 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874815 ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user