hi,
i have written an application in which a JSP page calls a session bean which in turn call an Entity bean which represent a database table(BMP).
session bean simple finds a row in a table based on primary key.
this works fine in JBoss, but after deploying it in Weblogic6.1 sp2, after writing appropriate weblogic-ejb-jar i am facing problem which id as follows:
on first invocation entity bean returns appropriate row but on subsequent call,it simply returns the row which it had returned on first invocation.
on checking i found that in ejbLoad, the entityContext.getPrimaryKey() always return the same primary key which it had returned for the first time even though in next invocation primary key used is different.
can any body tell what could be the reason of EntityContext not having the current primary key returned by findByPrimaryKey() of EntutyBean.
(it works perfectly fine in JBoss).
regards
pankaj.
-
Problem With Entity Beans in Weblogic6.1 (2 messages)
- Posted by: pankaj sinha
- Posted on: January 07 2002 08:36 EST
Threaded Messages (2)
- Problem With Entity Beans in Weblogic6.1 by manoj sharma on January 09 2002 07:18 EST
- Problem With Entity Beans in Weblogic6.1 by pankaj sinha on January 09 2002 08:54 EST
-
Problem With Entity Beans in Weblogic6.1[ Go to top ]
- Posted by: manoj sharma
- Posted on: January 09 2002 07:18 EST
- in response to pankaj sinha
Hi Pankaj
can u send me your deployment discriptors.
Cheers
Manoj -
Problem With Entity Beans in Weblogic6.1[ Go to top ]
- Posted by: pankaj sinha
- Posted on: January 09 2002 08:54 EST
- in response to manoj sharma
hi manoj
thanx for ur reply. i could have posted both ejb-jar.xml and weblogic-ejb-jar.xml but they are quite big,if u can tell me what part u r interested in i can post that part here.
regards
pankaj.