Thanks for your answers, Pete! And sorry for responding so late. However, I
can't get the jndi-name lookup working. Since I didn't find any information in
the docs, could you please tell me what exactly jndi-name expects?
I supposed that this would work.<core:init
jndi-pattern="wct-example/#{ejbName}/local" debug="true"/>
|
| <component name="shoppingCart"
jndi-name="wct-example/ShoppingCartBean/local" scope="session"
auto-create="true" />
But when I use this for injection, shoppingCart is always null.
Also, while I see 19:22:35,199 INFO [JmxKernelAbstraction] installing MBean:
jboss.j2ee:ear=wct-example.ear,jar=wct-commerce.jar,name=ShoppingCartBean,service=EJB3
with dependencies:
| 19:22:35,199 INFO [JmxKernelAbstraction]
jboss.j2ee:ear=wct-example.ear,jar=wct-commerce.jar,name=OrderManagerBean,service=EJB3
| 19:22:35,349 INFO [EJBContainer] STARTED EJB:
de.wct.commerce.service.ShoppingCartBean ejbName: ShoppingCartBean
...I don't see a seam component log message for shoppingCart.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071294#4071294
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071294
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user