That's strange. I would have expected a NamenotFoundException or NamingException if it
was a problem with the lookup. Can you post the output of the JNDI tree, which can be
accessed as follows:
- Go to http://< server>:< port>/jmx-console (Ex:
http://localhost:8080/jmx-console)
- Search for service=JNDIView on the jmx-console page
- Click on that link
- On the page that comes up click on the Invoke button beside the list() method
- The page that comes up will show the contents of the JNDI tree.
Post the output here.
Also, try removing the DOCTYPE declaration from your ds.xml file as follows and see if it
works:
<?xml version="1.0" encoding="UTF-8"?>
|
| <datasources>
| <local-tx-datasource>
| <jndi-name>FluxMonClockerDS</jndi-name>
|
| <connection-url>
| jdbc:postgresql://localhost:5432/fluxmon
| </connection-url>
| <driver-class>org.postgresql.Driver</driver-class>
| <user-name>fluxmon</user-name>
| <password>fluxmon</password>
| <metadata>
| <type-mapping>PostgreSQL 8.0</type-mapping>
| </metadata>
|
| </local-tx-datasource>
| </datasources>
Which version of JBoss are you using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122230#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...