[JBoss Messaging] - Re: Message is redelivered while the original transaction is
by timfox
"szhigunov" wrote : "gaohoward" wrote : IMO, unacknowledged messages may be sent twice. In this case after the client reconnects, first thing it should do is a transaction recovery.
|
| If that is correct, what would you recommend when two clients read from the same queue? When the first dies, the second will get the message right away and the first will recover later.
No, that's not how XA works with JMS.
If the first consumer has consumed a message and acknowledged it in an XA transaction and that transaction branch has successfully prepared, then the server fails, then on recovery the recovery manager (not part of JBM) will decide whether to commit or rollback that branch.
If the branch is rolled back the message will be redelivered, if that branch is committed it will not be redelivered.
The second one will not get the message right away.
If you're seeing something different, then, as I say, create a JIRA, attach a test case and someone will take a look.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185457#4185457
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185457
17 years, 6 months
[JBoss Portal] - Re: WSRP Exception with jboss-portal-2.7.0.CR1-bundled
by axelmotyka
I update JBoss WS 3.0.4.GA, i set proxy configuration. When starting JBoss no exceptions occure, but when accessing portal in my browser:
anonymous wrote : 15:16:30,968 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
| java.lang.NoClassDefFoundError: org/apache/catalina/authenticator/SavedRequest
| at org.apache.catalina.authenticator.FormAuthenticator.saveRequest(FormAuthenticator.java:464)
| at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:236)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.apache.catalina.authenticator.SavedRequest, msg=PermGen space
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:560)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| ... 13 more
I think the easiest thing is for now to delete the portal-wsrp.sar, then i run without errors. Dont know what went wrong, the ant-build of WS 3.0.4.GA was successfull, but i couldnt run the tests - everything failed. Maybe this is an network issue in my office, i don't know. I have not much knowledge about WSRP now, and i never used it. We have an old Tomcat/C++ application, this old application should now get a new web framework - and i want to try it with portal.
But you should update documentation for this and how to configure it.
Thank you for your quick help! This is a big point for JBoss and its tools.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185433#4185433
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185433
17 years, 6 months
[JBoss jBPM] - Re: BPEL Review
by pruna
"alex.guizar(a)jboss.com" wrote : Sure, go ahead and ask here.
Ok, here we go! :)
I found the documentation for the BPEL module to be a little short.
There are a lot of "enterprise level" features, that I didn't fin info about, like integration with ESBs, process versioning, transaction support, security, clustering, human tasks, and event management.
About development environment, if I understood correctly, I should use the Eclipse BPEL project, because GPD is for jBPM's specific language (jPDL).
The other big group of things where I couldn't find info, was the project health itself (history, roadmap, release plan, features expected, etc).
I found a lot of info about the whole jBPM project, and jPDL, but not so much about the BPEL module itself, so any other info will be appreciated.
Lastly, does JBoss provide "commercial" support for this product?
Regards,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185432#4185432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185432
17 years, 6 months