|
Looking for help w/ my configuration with the
following error output as shown below.
Any help much appreciated.
--- error output from jboss
----------------------
[Default]
java.lang.reflect.InvocationTargetException:
[Default] javax.naming.NameNotFoundException: DBaseListMaps not bound [Default] at org.jnp.server.NamingServer.getBinding(NamingServer.java:473) [Default] ... --- jboss.xml -----------------------
<jboss>
<resource-managers>
<resource-manager res-class="org.jboss.ejb.deployment.JDBCResource"> <res-name>jdbc/PostgresqlDB</res-name> <res-type>javax.sql.DataSource</res-type> <res-jndi-name>java:/access</res-jndi-name> </resource-manager> </resource-managers>
<enterprise-beans>
<session> <ejb-name>DBaseListMaps</ejb-name> <jndi-name>ejb/DBaseListMaps</jndi-name> <resource-ref> <res-ref-name>jdbc/PostgresqlDB</res-ref-name> <resource-name>java:/access</resource-name> </resource-ref> </session> ...
--- ejb-jar.xml
------------------------------
<session>
<ejb-name>DBaseListMaps</ejb-name> <home>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetchHome</home> <remote>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetch</remote> <ejb-class>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetchBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> <resource-ref> <res-ref-name>jdbc/PostgresqlDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </session> --- myServlet.java
-----------------------------------
Object result =
ctx.lookup("java:comp/env/ejb/DBaseListMaps");
--- jboss-web.xml
--------------------------------
<jboss-web>
<ejb-ref>
<ejb-ref-name>ejb/DBaseListMaps</ejb-ref-name> <jndi-name>DBaseListMaps</jndi-name> </ejb-ref> </jboss-web>
--- web.xml -----------------------------------
...
<ejb-ref>
<ejb-ref-name>ejb/DBaseListMaps</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetchHome</home> <remote>com.neuroquest.cais.ejb.session.dbaseFetch.DBaseFetch</remote> <ejb-link>DBaseListMaps</ejb-link> </ejb-ref> ... |
- RE: [JBoss-user] error 'xxx not bound' G.L. Grobe
- RE: [JBoss-user] error 'xxx not bound' marc fleury
- [JBoss-user] error 'mybean not bound' G.L. Grobe
