By using java context:
16:40:16,964 ERROR [NewProject] project not bound
| com.test.ProjectException: project not bound
| at com.test.Project.getConnection(Project.java:208)
| at com.test.Project.getNextID(Project.java:177)
| at com.test.Project.create(Project.java:99)
Project DS is present in jndi namespace:
java: Namespace
|
| +- jaas (class: javax.naming.Context)
| | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
| | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
| | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
| +- TransactionPropagationContextImporter (class:
org.jboss.tm.TransactionPropagationContextImporter)
| +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
| +- comp.ejb3 (class: javax.naming.Context)
| | NonContext: null
| +- worksheet (class: javax.sql.DataSource)
| +- project (class: javax.sql.DataSource)
| +- JBossCorbaNaming (class: org.omg.CosNaming.NamingContextExt)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041429#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...