Problem with remote JMX in Jboss5
by linux.il
I recently upgraded my Jboss from 4.2.1 to 5.0.1.
In Jboss 4 I used the following options for enabling remote JMX
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.port=12345"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="${JAVA_OPTS} -Djboss.platform.mbeanserver"
JAVA_OPTS="${JAVA_OPTS}
Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
Starting Jboss 5 with the same options produces this error:
javax.management.JMRuntimeException: Failed to load MBeanServerBuilder
class org.jboss.system.server.jmx.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:480)
at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at sun.management.jmxremote.ConnectorBootstrap.initialize(ConnectorBootstrap.java:392)
at sun.management.Agent.startAgent(Agent.java:127)
at sun.management.Agent.startAgent(Agent.java:239)
Caused by: java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
... 9 more
Exception thrown by the agent : javax.management.JMRuntimeException:
Failed to load MBeanServerBuilder class
org.jboss.system.server.jmx.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
I found a few threads about similar topics
(http://www.jboss.org/?module=bb&op=viewtopic&p=4026239 ,
http://www.jboss.org/community/docs/DOC-10521), but these don't help.
Any ideas?
Thank in advance,
Vitaly
15 years, 9 months
[JBoss jBPM] - Problem with Roles JBPM
by konstt2000
Hi,
I've two users: - Admin1 with role "ADMIN" and actorid "Admin1" and Admin2 with role "ADMIN" and actorid "Admin2"
I've the next definition process:
<start-state name="start">
| <transition to="estado1"></transition>
| </start-state>
|
| <task-node name="estado1">
| <task name="estado1" description="estado1">
| <assignment pooled-actors="ADMIN"/>
| </task>
| <transition to="estado2" />
| </task-node>
| <end-state name="done"/>
When I call to @CreateProcess it appears in the pooledTaskInstanceList of both users. But when it is called to @StartTask the ACTORID it is fixed and only it appears in the list taskInstanceList of the user who has begun the task.
If both users belong to the same role, there is no way of which they could see that each of the users are executing tasks?
Thanks and sorry for my english.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222364#4222364
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222364
15 years, 9 months