Anda di halaman 1dari 5

Configure JBOSS on OEM,

Check point
1. Try to find from which script Jboss is running, It is either by run.sh or some
method server Script
Try this command
ps fauwx|less
here we discover the startup script of Jboss which is startmethodserver.sh

Here it start with Dctm Method server script.


Following are introduced in /apps/jboss-5.1.0.GA/bin/run.conf
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=9999"
JAVA_OPTS="$JAVA_OPTS
-Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"

-Djboss.platform.mbeanserver"
The above parameter should be incorporated in script from which we are starting
Jboss, either it is run.sh or startMethodServer.sh

After that restart Jboss and check below


bash-4.1$ pwd
/apps/jboss-5.1.0.GA/server/default/conf/bindingservice.beans/META-INF
bash-4.1$ ls

bindings-jboss-beans.xml
bash-4.1$ less bindings-jboss-beans.xml

Searchout this file bindings-jboss-beans.xml


Find for /remoting in this file

Find this parameter


<!-- ********************* deploy/jmx-remoting.sar **************** -->

<bean class="org.jboss.services.binding.ServiceBindingMetadata">
<property
name="serviceName">jboss.remoting:service=JMXConnectorServer,protocol=rmi</
property>
<property name="port">1090</property>
<property name="description">RMI/JRMP socket for connecting to the JMX
MBeanServer</property>
</bean>

Here port 1090 should be listening and we have add this port in OEM while
configuring

Now try to configure it (No username and password)

Anda mungkin juga menyukai