Showing posts from February, 2009

Remote JConsole JBoss

Eclipse remote debugging

Local debugging is automatically enabled, for remote debugging, you have to configure the application.

-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n


DEBUG_OPTS = -Xdebug -Xrunjdwp:transport= dt_socket,address=1044,server=y,suspend=n

JPA Composit PKs

Java 7



To browse the JNDI contexts in JBoss

Goto http://localhost:8080/jmx-console
Under the 'jboss' section: click the link 'service=JNDIView'
Under List of MBean Operations, java.lang.String list(): click the Invoke button

Describes JNDI and how to connect to remote JNDI

use the -b option with the run.bat or file

When JBoss AS starts up, it binds to localhost by default. Older versions of JBoss would bind to the address Because of this change, you can’t access JBoss AS locally by using your machine name or For example, to verify the server is running, you can’t go to http://myhostname:8080; you have to go to http://localhost:8080 or

Properties props = new Properties();
props.setProperty("java.naming.provider.url", "jnp://server:1099");
props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");

Java Module System

Evils of montechnology