[JBoss-user] [JNDI/Naming/Network] - Re: howto get BEA WEBLOGIC JNDI tree into JBOSS JNDI tree?

2005-05-31 Thread dinosaur_jr
no I didn't.  scott stark mentioned that maybe bea is doing some security stuff 
under the covers it shouldn't do, but as far as I can see bea doesnt't. so I'm 
still looking for a working solution for my problem.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: MBeanTrustPermission Error

2005-05-09 Thread dinosaur_jr
as far as I can see a security manager is running. also when I try to explicit 
activate the security manager according to the server guide within the run.bat 
I get an exception which means that there's already one running.  the 
server.policy file grants permission to everything.

...
  | 2005-05-09 16:53:55,791 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.security:service=JaasSecurityManager
  | 2005-05-09 16:53:55,791 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] Starting 
jboss.security:service=JaasSecurityManager
  | 2005-05-09 16:53:56,191 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] 
securityMgrCtxPath=java:/jaas
  | 2005-05-09 16:53:56,211 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] 
cachePolicyCtxPath=java:/timedCacheFactory
  | 2005-05-09 16:53:56,221 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] [EMAIL PROTECTED]
  | 2005-05-09 16:53:56,251 DEBUG 
[org.jboss.security.plugins.JaasSecurityManagerService] Started 
jboss.security:service=JaasSecurityManager
  | ...

nevertheless I'm going to check my bea weblogic environment. 
... any other ideas what could have went wrong?

is there anything I have to add to the descriptors of the jmx-console xmbean?

in the meantime I made the following changes to the login-config.xml
...
  | 
  |
  |   
  |props/jmx-console-users.properties
  |props/jmx-console-roles.properties
  |nobody
  |   
  |
  | 
  | ...
  | 
  |
  |   
  |  nobody
  |   
  |
  | 
  | ...

and within extjndi-service.xml I changed the "attributes" into:
...
  | 
  | java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
  | java.naming.provider.url=t3://localhost:7001
  | java.naming.security.principal=nobody
  | java.naming.security.authentication=simple
  | java.naming.security.credentials=weblogic
  |   
  | ...
I also changed the jmx-console-roles.properties to 
admin=JBossAdmin,HttpInvoker,nobody
and jmx-console-users.properties to  
admin=admin,nobody
to be sure, that "everthing" has permission granted,
but without success. the errormessage is still the same.

regards,
chris



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

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


---
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - MBeanTrustPermission Error

2005-05-06 Thread dinosaur_jr
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.


  | 
  | 
  | 
  |   external/Bea
  |   true
  |   
  | java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
  | java.naming.provider.url=t3://localhost:7001
  | java.naming.factory.url.pkgs=org.jnp.interfaces
  |   
  |   javax.naming.InitialContext
  |   true
  | 
  |

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 
)
  |  [EMAIL PROTECTED] 
url=file:/C:/work/jboss4_02/server/default/deploy/jbossweb-tomcat55.sar/ 
,addedOrder=10}
  |  
  |  [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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - howto get BEA WEBLOGIC JNDI tree into JBOSS JNDI tree?

2005-05-04 Thread dinosaur_jr
Hi,

the reason why I want to do this, is because I want to access several JMS 
queues which are located on a BEA Weblogic server.

the JBoss 4.0.2 server guide says to "Use the ExternalContext MBean to federate 
the foreign JMS providers managed objects into the JBoss JNDI tree"

Neither can I find more than that hint in the documentation nor have I found an 
usable answer within the articles of the forum.  

I tried that by adding the following mbean entry at the end of  the 
/conf/jboss-service.xml file but the result were just plenty of errormessages.
 

  | 
  |
  |external/Bea
  |true
  |
  |   
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
  |   java.naming.factory.host=t3://localhost
  |   java.naming.factory.port=7001
  |
  |javax.naming.InitialContext
  |true
  |

any information pointing me in the right direction is welcomed,
chris









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

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


---
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - external context needs certificate

2005-04-21 Thread dinosaur_jr
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.


  | 
  |   external/Bea
  |   true
  |   
  | 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
  |   
  |   javax.naming.InitialContext
  |   true
  | 
  | 
  | 

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 )
  |  [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar/ 
,addedOrder=10}
  |  
  |  [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