[Management, JMX/JBoss] - Managing JBoss programmatically?
by BogusException
What config files can be managed programmatically, and which require file system access?
For example, in ./server/default/deploy/jms/jbossmq-destinations-service.xml there are the JMS queues and topics. Is the only way to add, edit or remove queues and topics to edit this file manually on the file system, or can I do this from an app running inside the same container?
In the ./server/default/deploy directory, files are automatically interpreted into the running configuration, but how can I add or remove files in the JBOSS_HOME directory structure from an application running within the app server itself?
Another example would be how to create an EJB JAR programmatically (that is, from an app running inside the container), then copy it to the deploy directory?
TIA!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044406#4044406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044406
19 years, 1 month
[JBoss Messaging] - Re: AccessControlException
by colomb
Removing the logger leaves me pretty much in the same spot:
| Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
| at java.security.AccessControlContext.checkPermission(Unknown Source)
| at java.security.AccessController.checkPermission(Unknown Source)
| at java.lang.SecurityManager.checkPermission(Unknown Source)
| at java.lang.SecurityManager.checkCreateClassLoader(Unknown Source)
| at java.lang.ClassLoader.<init>(Unknown Source)
| at org.jboss.remoting.loading.ClassByteClassLoader.<init>(ClassByteClassLoader.java:62)
| at org.jboss.remoting.AbstractInvoker.<init>(AbstractInvoker.java:76)
| at org.jboss.remoting.MicroRemoteClientInvoker.<init>(MicroRemoteClientInvoker.java:52)
| at org.jboss.remoting.RemoteClientInvoker.<init>(RemoteClientInvoker.java:45)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:217)
| at org.jboss.remoting.transport.socket.SocketClientInvoker.<init>(SocketClientInvoker.java:72)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.<init>(BisocketClientInvoker.java:133)
| at org.jboss.remoting.transport.bisocket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:44)
|
Is anyone using queues for communication between webstart applications? I can't imagine we are the only ones doing this. Any help would be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044404#4044404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044404
19 years, 1 month