Help For Calling Method........!

I am confused about a problem. When I access the method of EJB A: such as UpdJob(),it works seccessfully,

also it is successful when access EJB B: insert(...).

But when I call the both methods at the same time in a method:

public void bothmethod(){

B.insert();..........(the method of EJB B)

A.UpdJob();........(the method of EJB A)

}

the result is that the B.insert() is success and the B.UpdJob failed with exception: No Resource Available,ejbStore failed,getConnection...

It looks failed to connect the database.

I don't know what's the matter,who can tell me?

Thanks in advance.

[667 byte] By [dragon_east] at [2007-9-26 1:37:44]
# 1
you may have closed some resources in calling the B.insert(), and then not establish that resource before calling A.UpdJob()
sujianqiang at 2007-6-29 2:24:51 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...