Is this visible through a JMX console?(jconsole) You could pick up
the URI to connect to the server from server.log.
-Sathyan
glassfish_at_javadesktop.org wrote:
> asadmin create-mbean --user admin --port 7070 <mbean name>
> WITH SUCCESS
>
> i did this i created mbean and server doesnt not recognize.
> when i try this:
> AdminConnectionFactory acf = new AdminConnectionFactory();
> JMXConnector jmxc = acf.createConnection();
> MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
> ObjectName name = new ObjectName("user:impl-class-name=<bean name>,name=<bean name>,server=server");
> ParametrizacaoAmbienteMBean mbean = JMX.newMBeanProxy(mbsc, name, ParametrizacaoAmbienteMBean.class);
> Map emailProperties = mbean.getEmailProperties();
>
>
> ITS NOT WORKS! WHY DO YOU LIE TO US SAYING THAT GLASSFISH WORKS WITH MBEAN?
> [Message sent by forum member 'josecarlosbarros' (josecarlos.barros_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384472
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>