Hi there!!
I've a Session Bean say SB1 which will communicate with 3 more EBs
EB1, EB2 and EB3. The result(primary key value) from EB1 will be used
to call another userdefined method from EB2. And similary the other
methods are also accessed from these beans.
I've defined ejb-jar.xml, jboss.xml jaws.xml
In ejb-jar.xml the entry of the session bean SB1
has got <ejb-link> (of <ejb-ref> entry) to the other beans EB1 EB2 and EB3
And EB1 EB2 happens to be CMP and EB3 is a BMP.
Now the problem is I'm getting activation failure during
second action. ie., when i try to lookup and call the user
defined entry in the EB2...I'm getting this exception.
The userdefined method will return a databean.(Do we need to
specify databean details also in descriptors..I think i should not
have asked this question. But jboss has made me mad..very challenging!! (-8
2002-10-24 12:54:24,587 INFO [STDOUT] XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2002-10-24 12:54:24,679 ERROR [org.jboss.ejb.plugins.AbstractInstanceCache] Activation failure
javax.ejb.EJBException: null; CausedByException is:
null
The parameter which goes to EB2 is certainly not null.(I've checked it)
Then, what could be problem?
Further, in jaws.xml I've copied & Pasted the <container-configuration> part
available in standardjaws.xml of (JBOSS_HOME/server/default/conf/)
Do we need to change the Cache size or any other entries? Becoz
when beans deployed I find this entry in server.log
2002-10-24 12:49:54,218 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Resized cache for bean EB1: old capacity = 1000000, new capacity = 50
2002-10-24 12:49:57,788 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Resized cache for bean EB2: old capacity = 1000000, new capacity = 50
2002-10-24 12:50:00,448 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Resized cache for bean EB3: old capacity = 1000000, new capacity = 50
I'm using jboss3.0.2
Please help me! I'm struck now for a very very long time!!