I'm trying to test a component that uses long running conversation. Is it possible at all? Because assertation in method marked by @Begin annotations for long running conversation fails, and actually it looks like long-running conversation was not started.
| @Name("basket")
| @Scope(ScopeType.CONVERSATION)
| public class BasketComp {
|
| ...
|
| @Begin(join=true)
| public void createBasket() {
| assert Manager.instance().isLongRunningConversation();
|
| ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102520#4102520
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102520
Hi,
yes, depending on your system architecture. Basically using JBoss Cache as a 2nd level cache for Hibernate will mean that you reduce strain on your database backend, if that is in fact your bottleneck. If your bottleneck is elsewhere, e.g., in rendering parts of your application, depending on your specific logic JBoss Cache can potentially help here as well.
In terms of handling that kind of load (the article mentions 200k hits per second on a website) again, depending on your server hardware and architecture, you can build a cluster using JBoss Cache to cope with this.
Hope this helps.
- Manik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102513#4102513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102513
Hi,
I have having an issues using identity roles. I have previously used this:
<restrict>#{!s:hasRole('participant')}</restrict>
With no issues, but on my current development (using Seam 2.0.0.GA), this is not working. I did some investigtation, and tried the following in my authenticate method:
identity.addRole("test");
| log.info("Identity role #0: #1","test", identity.hasRole("test"));
Which produced
[...security.Authenticator] Identity role test: false
What could I be missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102511#4102511
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102511
This is by design. Eviction information is only about nodes which are in memory at any given time, so the eviction thread knows what can be evicted, or more specifically, the order in which to evict things.
This information is meaningless in a cache loader, or even when freshly loaded on startup. The eviction algorithm should monitor usage patterns after startup and then evict accordingly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102508#4102508
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102508
OK, this seems to work.
C:\e-workspace\jboss-4.2.1.GA\bin>run
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA
JAVA: C:\Sun\SDK-5\jdk\jre\bin\java
JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8787,suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djmx.invoke.getters=true
CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar
===============================================================================
Listening for transport dt_socket at address: 8787
12:11:40,509 INFO [Server] Starting JBoss (MX MicroKernel)...
I just moved server=y before the address. Otherwise, since the server default option is "n", it apparently tries to open the socket at the wrong address. See the Xrunjwdp options at http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html.
Cheers and thanks again.
t
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102506#4102506
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102506
Hello,
I am using JBoss 4.2.2 and JBossWS 2.0
I have to provide a patch for checking the EJBs exposed as Web Services in the SOAPFaultJAXRPC.java class.
I have downloaded the source code of JBossWS 2.0 from SVN Repository.
When I am building the complete code all jar/sar files are not created and size of some .jar files are reduced.
Can anyone suggest how to build the complete source and able to get all the jar files?
Thanks & Regards,
Kapil
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102500#4102500
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102500