[JBoss Messaging] - False negatives and jms
by sanne
Hi all,
I'm trying to get a clear picture of JMS messaging usage in the context of TCP/IP.
Durable messaging was designed with guaranteed delivery in mind. If a remote client delivers a durable message to theJMS server, then the client be sure the message will reach its destination if there are no exceptions during the posting of the message by the client to the server.
But if I am correct there is always a slight margin for error. This window appears after the message has been committed to the store and before the client returns from communication.
Is it possible that a client receives an error while the message was actually delivered?This would be a false negative. False positives are unaccpetable in the context of queueing, but in avoiding false positives the chance of false negatives remains/increases.
Is this correct?
Best regards,
Sanne
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095295#4095295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095295
18Â years, 9Â months
[JBoss Seam] - Remove variable from page context via Contexts.removeFromAll
by jbuechel
I'm trying to remove desperately a variable from the page context via the Contexts.removeFromAllContexts() method, but it didn't work.
This is the code:
| @Scope(ScopeType.PAGE)
| @Name("personAction")
| public class PersonActionImpl {
|
| @Logger
| Log log;
|
| @In(required = false)
| @Out(required = false)
| private Person personDataModelSelection;
| ...
|
| public void deletePerson() {
| log.debug("deletePerson() called");
| personService.removePerson();
| personDataModelManager.initializeModel();
| log.debug("personDataModelSelection: #0", Contexts
| .lookupInStatefulContexts("personDataModelSelection"));
| Contexts.removeFromAllContexts("personDataModelSelection");
| log.debug("personDataModelSelection: #0", Contexts
| .lookupInStatefulContexts("personDataModelSelection"));
|
| personDataModelSelection = null;
| }
| ...
|
Output:
17:31:25,460 DEBUG [PersonActionImpl] personDataModelSelection: [Person -> CoreId="99991234567812345678ABC123"; Firstname="Hansi 123"; Lastname="Meier123"]
| 17:31:25,460 DEBUG [PersonActionImpl] personDataModelSelection: [Person -> CoreId="99991234567812345678ABC123"; Firstname="Hansi 123"; Lastname="Meier123"]
|
Shouldn't it be removed at the 2nd output line?
Btw, it works if i declare the class in conversation scope..
I can't see what i'm doing wrong..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095294#4095294
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095294
18Â years, 9Â months
[JBossWS] - Problems with wstools
by abdujaparov
Hi, I've many problems with the tools in the bin directory of jbossws2.1, when I try to start wsprovide or wstools or wsconsume I receve an error message like this:
| C:\Documents and Settings\Angelo>wsprovide
| Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/too
| ls/cmd/WSProvide
|
But if I try to run
java org.jboss.wsf.spi.tools.cmd.WSProvide
manually it run, why?
Another question when I try to generate jax-ws artifacts I have this problem:
| C:\Documents and Settings\Angelo\workspace\WebServiceJbossWS>java org.jboss.wsf.
| spi.tools.cmd.WSProvide -w somma.Somma
| Error: Could not load class [somma.Somma]. Did you specify a valid --classpath?
|
In the directory somma there's the file Somma.class.
Thanks to all.
Bye Bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095291#4095291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095291
18Â years, 9Â months
[JBoss Seam] - Seam 2.0 / Tomahawk 1.1.6
by MSchmidke
Hello all,
the last few days I got completely stuck in using Tomahawk 1.1.6 with JBoss 4.2 and Seam 2.0 and Facelets.
The first steps seem simple - downloading tomahawk-1.1.6.jar, tomahawk-facelets-1.1.6.jar, modifying web.xml and so on. After a lot of try and error, the first page gets displayed, no errors in the server log, everything went well.
But then the problems begin. The page has a jscookmenu which needs a hidden field to post back the selected item. And this hidden field isn't rendered by JSF RI 1.2 Form Tag. As a consequence, I tried to get MyFaces 1.2.0 into it, but this does absolutely not work. WAR_BUNDES_JSF_IMPL in web.xml, agreed, but starting up shows errors in the different faces-config.xml in the different jars, for example, jsf-facelets.jar/META-INF/faces-config. Patched the jars, now getting a "SeamApplicationFactory is no ApplicationFactory" IllegalArgumentException.
Perhaps I would manage to correct this error message too, but the next error wouldn't be far away, I fear.
Perhaps I'm going the completely wrong way.
I do not really want to use MyFaces Core, but I have to migrate some sources which make use of Tomahawk components (keep frontend, rewrite business logic). So I thought it would be the simplest to make use of Tomahawk.
But it seems I'm spending days after days of setting up some environment which is not the one intended by Seam.
Do you have any suggestions for me?
Is Tomahawk / JSF RI an intended platform for Seam?
Or is Tomahawk / MyFaces core one?
Or shall I try to migrate from Tomahawk to RichFaces?
What shall I do??
Marcus.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095282#4095282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095282
18Â years, 9Â months