Re: Problem on JBoss: Max Dispatch Queue Depth exceeded...

Jacob Kjome <[email protected]> Sun, 01 Feb 2004 22:02:52 -0600
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
So, you say it worked perfectly fine under Enhydra but has this error under 
all other environments including Tomcat-4.1.27 standalone?  That's a tough 
one.  So, absolutely nothing changed between the .war you deploy under 
Enhydra and the .war you deploy under Tomcat (other than adding enhydra.jar 
to WEB-INF/lib)?

My first thought would be that you, somehow, have your events set up in a 
recursive fashion, but that doesn't explain it working under 
Enhydra.  Christian, any ideas on this?

Vladimir, if you can do some quick debugging, that would be good because 
Barracuda-1.2.6 is slated to happen any moment now.  If it is a bug in 
Barracuda, it would be good to get it squashed before release.  However, 
since I've never witnessed anything like this before, I don't think the 
release is going to be held up without more concrete information from you 
about why it is happening.

Jake

At 08:53 PM 1/31/2004 -0800, you wrote:
>Hi all,
>
>I am trying to port quite a large application from Enhydra to JBoss and I
>am hit by a major problem.  The biggest problem is that this problem
>appear/disapear without really doing anything special.
>
>The application loads normally but when I load the first page, I have the
>exception:
>
>Error dispatching request: Max Dispatch Queue Depth exceeded...could
>indicate a recursive dispatch problem
>
>Exception:
>
>org.enhydra.barracuda.core.event.UnhandledEventException: Max Dispatch
>Queue Depth exceeded...could indicate a recursive dispatch problem
>         at
>org.enhydra.barracuda.core.event.DefaultEventDispatcher.dispatch(DefaultEventDispatcher.java:250)
>         at
>org.enhydra.barracuda.core.event.DefaultEventDispatcher.dispatchEvent(DefaultEventDispatcher.java:122)
>         at
>org.enhydra.barracuda.core.event.DefaultEventBroker.dispatchEvent(DefaultEventBroker.java:494)
>         at
>org.enhydra.barracuda.core.event.ApplicationGateway.handleDefaultExt(ApplicationGateway.java:404)
>         at
>org.enhydra.barracuda.core.event.ApplicationGateway.handleDefault(ApplicationGateway.java:234)
>         at
>org.enhydra.barracuda.core.event.ApplicationGateway.doGet(ApplicationGateway.java:717)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
>I have the same result with JBoss 3.2.2 and Tomcat 4.1.27 (standalone).
>
>My configuration:
>
>- JDK 1.4.2 on Linux
>- JBoss 3.2.3 (vanilla)
>- Barracuda 1.2.5
>- DODS 5.1.6
>- Enhydra 5.1.6 (enhydra.jar, core.jar and util.jar)
>
>I am deploying several wars into one single ear and one of these applications
>is
>an Enhydra application => enhydra.jar is included into the war.
>
>My first guess is a classloader problem but I really don't know for sure.
>Did
>someone had a similar problem?
>
>Thanks for any suggestion.
>
>-Vladimir
>
>=====
>Vladimir Ritz Bossicard
>www.bossicard.com
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>http://webhosting.yahoo.com/ps/sb/
>_______________________________________________
>Barracuda mailing list
>[email protected]
>http://barracudamvc.org/lists/listinfo/barracuda