[JBoss Seam] - ui:repeat only shows one item after some time
by raghinii
Earlier today i ran into a strange problem.
At one point all my <ui:repeat> tags stopped working
correctly and would only show the first element of the list
they were supposed to iterate over. (this was several unrelated lists
in two different backing beans one page scope, one event and all
behaved in the same way.) Some other lists that were in
forEach loops were not similarly affected.
At least one other person has seen this and he's traced it
to the sun server VM on linux , but i haven't seen many mentions of it and nothing definitive.
http://www.mail-archive.com/users@myfaces.apache.org/msg32984.html
Has anyone else heard /seen anything about it?
(most interesting would, of course be a fix or workaround)
my env is Fedora Core 6 32-bit w/ the latest 1.5 sun jdk. (_10, i think)
jboss 4.0.5.GA seam 1.1.5. (w/ whatever facelets and jsf version comes w/ this jboss)
The behavior was consistent through restarts of Jboss
(including clean recompilation and clearing out of server
temp files), but it didn't occur on Windows or OS X.
(only tested it on a single linux box, but unfortunately the
production env. is 32-bit linux w/ sun jvms so that's the most
important one.)
After a few hours the problem seems to have stopped happening. There's active development going on on the app so changes were made to some of the xhtml files and java classes involved but nothing fundamental.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013515#4013515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013515
19Â years, 2Â months
[EJB/JBoss] - Re: Need
by juhaï¼ jboss.org
"eharoldw" wrote : I was hoping that there was some configuration I could set so that if an invocation took more than a certain amount of time it would automatically throw an exception.
|
I'm not aware of it -- it doesn't mean some developer hasn't added it at some point but if they did, they didn't make a lot of noise about it ;-) It wouldn't change the underlying problem of having a timer thread on the server to measure the invocation times though.
"eharoldw" wrote :
| Could you say if I am reading your responses correctly?
|
Yes. I still think using the JBoss EJB3 async API might be the "cheapest" solution (in terms of development time) and you could hide the semantics behind a synchronous client API.
Alternatively, if EJB3 is not an option, and you worry about the thread count on the server, you can have the interceptor in the client proxy instead, and do the thread disconnect already on the client VM (so the additional thread management is distributed across client VMs). This is likely similar to the behavior of JBoss EJB3 async API with EJB2 proxies.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013511#4013511
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013511
19Â years, 2Â months
[Installation, Configuration & Deployment] - Problem with Struts 1.3.5 example struts-mailreader.war
by yamert
Hello!
Sorry, I'm a newbie in JBoss.
I don't know, what's the problem with this example, but I guess JBoss has some difficulties with the deployment of this package.
I have JBoss 4.0.5 GA installed on my workstation with Windows XP and J2EE 1.5_09.
I just renamed the WAR to "struts.war", put it into the C:\jboss405GA\server\default\deploy\ folder, and started JBoss.
When I've entered http://localhost:8080/struts/, the page shown was from the previous example WAR (also named struts.war), which was deleted ages ago. I also have cleared the C:\jboss405GA\server\default\tmp\deploy\ folder, but it doen't help: every time I start JBoss and go to http://localhost:8080/struts/, the old application resurrects.
Maybe it's somehow cached in memory, but I cannot understand, why the new application is not loaded! The logs are clear, no errors:
10:49:51,857 INFO [TomcatDeployer] deploy, ctxPath=/struts, warUrl=.../tmp/deploy/tmp17615struts-exp.war/
10:49:52,763 INFO [[/struts]] action: []: Verifying ModuleConfig for this module
10:49:52,763 INFO [[/struts]] action: []: Verification of ModuleConfig has been completed
10:49:52,779 INFO [MemoryDatabasePlugIn] Initializing memory database plug in from '/WEB-INF/database.xml'
10:49:52,810 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
10:49:52,810 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
If the same app gets deployed to Tomcat 5.0.28, there're no problems! Works fine.
Can someone help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013508#4013508
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013508
19Â years, 2Â months