JBoss 5

Browse the JNDI tree view

In a browser:
Connect to http://localhost:8080
or http://localhost:8080/web-console
or http://localhost:8080/jmx-console

In the Web Console:
Open: System : JMX MBeans : jboss : jboss:service=JNDIView
In the third/last table click the 'Invoke' button on the list row

Or in the JMX Console:
Under the jboss section click on the 'service=JNDIView' link
In the third/last table click the 'Invoke' button on the list row

DO NOT click on jboss.deployment
and select 'id="jboss:service=JNDIView",type=Component'
It does not have the facilities to list the JNDI tree view.

Admin Console
http://localhost:8080/admin-console
Default username: admin, password: admin

Converting to JBoss 5 info:

JBoss 5 is strict in validating xml.

The persistence.xml needs to be changed from:

<?xml version="1.0" encoding="UTF-8"?>
<persistence>
<persistence-unit name="titan">
. . .

TO:

<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="titan">
. . .

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout