Just upgraded to JBoss 2.4.8 from 2.4.4. Under 2.4.4, we knew we had problems with connection pooling but did not receive the nice error, "No Managed Connections Available", that 2.4.8 gives.
We are using Oracle 9i with our jboss.jcml as follows:
Does anyone have a solution?
> So I've got a web app that needs to call a session
> bean depending on the message that comes in via a
> HTTP Post.
> i.e. a HashMap that contains "sayHi",Service
> if the webapp received
> request.getParameter("command)" = "sayHi" then it
> would take the service object and see which
> sessionBean to call and load. How do I do this? is
> it reflection? Introspection?
Right I did that at instill in california, basically it is called the "jfdi" pattern.
So you come in and you want to start a sayHi session to talk to it. So the call that retrieves the session
command = HTTPSession.getValue("command");
if (session == null)
then create it from EJB command = home.create();
and keep it in memory HTTPSession.putValue("command", command);
just delegate command.doStuff();
here you are assuming a signature from the aspect that has no type, it is necessary to detype the signature so that you always know what to call. There can be an adaptor between ISO standard CRUD commands like the javabeans pattern, or you simply map it to whatever CRUD you do, like the collections API of the JDK. In AOP CRUD is instrumentable (domain of application are persistence and cache)