I have written Mbean , which makes a client RMI connection to external application . This
bean is configured in the conf/jboss-service.xml so when the jboss is started during the
start of my bean i get following error. Can anyone please tell me how to fix this
problem.
17:17:07,312 ERROR [Registry] Error registering
jboss.web:type=ProtocolHandler,port=28080,address=%2F0.0.0.0
java.lang.SecurityException: MBeanTrustPermission(register) not implied by protection
domain of mbean class: org.apache.commons.modeler.BaseModelMBean, pd: ProtectionDomain
(file:/opt/jboss-4.0.5.GA/server/coam/tmp/deploy/tmp61685commons-modeler.jar <no signer
certificates>)
org.jboss.mx.loading.UnifiedClassLoader3@1c8fb4b{
url=file:/opt/jboss-4.0.5.GA/server/coam/deploy/jbossweb-tomcat55.sar/ ,addedOrder=9}
<no principals>
java.security.Permissions@cfb11f (
(java.net.SocketPermission localhost:1024- listen,resolve)
(java.net.SocketPermission localhost:1024- listen,resolve)
(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)
(java.lang.RuntimePermission stopThread)
(java.io.FilePermission
/opt/jboss-4.0.5.GA/server/coam/tmp/deploy/tmp61685commons-modeler.jar read)
(java.io.FilePermission /opt/jboss-4.0.5.GA/server/coam/deploy/jbossweb-tomcat55.sar
read)
)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1398)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.apache.commons.modeler.Registry.registerComponent(Registry.java:871)
at org.apache.catalina.connector.Connector.start(Connector.java:1076)
at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:590)
at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:627)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy41.handleNotification(Unknown Source)
at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:908)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
17:17:07,314 ERROR [Connector] Protocol JMX registration failed
......
thanks in advance
Mallick
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041634#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...