I have some code which writes data to Queue and MDB reads from that Queue.
I don't have Queue entry in jbossmq-destinations-service.xml.
So when I start JBoss server I get following in log file.
anonymous wrote :
| WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not
found:
The issue was resolved.Didn't realized that it was case of EJB calling EJB.
The code was:
SomeEJB.someMethod() -- DAO.getCustomer() -- CustomerEJB
So I put ejb-local-ref element in ejb-jar.xml for SomeEJB and error was
gone.
Thanks for all replies.
View the original post :
I am getting this error when I started migrating my project from JBoss 3.2.5 to
4.0.2
All the EJBs in the application are local.
In JBoss 3.2.5
| JNDI name
| public static final String CUST_LOCAL_HOME = local/CustomerEJB;
|
| ejb-jar.xml
| entity
| descriptionCUSTOMER
I already have the chages mentioned in the link you sent.
Still no luck...
It just this one entity bean which is having problem, for the rest of the
Entity Session beans project is working fine.
Thanks is advance.
View the original post :
We migrated our application from Jboss 3.2.5 to 4.0.2.
All EJBs in application are local, Added ejb-local-ref in web.xml
and all JNDI names are java:comp/env/xyzEJB
For all other EJBs, application is working fine except following one and gives
error :
NameNotFoundException: CustomerEJB not
Few questions:
1. Where do I put cotext.xml file?
2. Where do I put the FormAuthValve class?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891459#3891459
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891459
I am using Form-Based authentication with DatabaseServerLoginModule.
After authentication I want to save the j_username in request/session
parameter.(has some business logic that needs to use this j_username)
Do I need to do similar to this?