[jboss-user] [JBoss Seam] - how do i get the size of collection in .xhtml with facelets

2007-04-26 Thread holtak
hello how do I get the size of a collection in .xhtml when using facelets? what I want to do is something like this thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040917#4040917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBoss Seam] - Re: Out of Memory Leaks

2007-04-23 Thread holtak
we also had PermGen problems Can confirm that JRocket helps with PermGen problems. You could try SUN JVM 1.6.0 update1 - it suspiciously works here untill now but maybe the server wasn`t just stressed enough and there seams to be no significant change in the SUN changelog regarding this issue..

[jboss-user] [JBoss Seam] - trouble with h:commandLink and f:param...

2007-04-20 Thread holtak
hello My .xhtml looks like this: | | | | | | | | | | | navigation.xml contains: | | input_ra

[jboss-user] [JBoss Seam] - Problem Closing a connection for you. Please close them yo

2007-04-19 Thread holtak
After being inactive in with an open conversation presenting some values from an Entity in the view, after recontinuing work (saving something into the entity) I get this exception: | 16:49:40,565 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMA

[jboss-user] [EJB 3.0] - default value of a property

2007-04-17 Thread holtak
how can I set a default value on a property? what I want to do the SQL-way: CREATE TABLE mytable (myProperty text default 'myDefaultText'); even a non portable hibernate-backend way is fine... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038163#4038163 R

[jboss-user] [JBoss Seam] - Re: Conversation and Tree+Tab Layout with @End

2007-03-19 Thread holtak
hello, I`m in the same situation. I`m using tree2 from Tomahawk and the tree is all time visible on the page, so the user can click any node. The conversation will not be finished and must timeout. My conversation timeout is 2 minutes. My session timeout is 10 hours and my SFSB timeout is 10 ho

[jboss-user] [JBoss Seam] - Seam Framework and SFSB currently imposible because of name

2007-03-08 Thread holtak
Is there a known workaround to deliver what is stated by the Seam doumentation in Chapter 10? I`m talking about Bug http://jira.jboss.com/jira/browse/JBSEAM-474 and friends... I created have this Interface | public interface SeamEntityHomeSFSB{ | | public void create(); |

[jboss-user] [JBoss Seam] - Re: Seam & clustering

2007-03-08 Thread holtak
why not to have a configuration parameter, where we can explicitely set, if we want to use the workaround or not, defaulting to workaround=yes. Juraj Holtak View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026212#4026212 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam & clustering

2007-03-07 Thread holtak
ublic static final int SFSBTimeout=((600*60)+60); what exactly is going on? it looks like an EJB3 thing but I didn`t find nothing comparable in the EJB3 forum... thank you, Juraj Holtak View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026077#4026077 Repl

[jboss-user] [JBoss Seam] - Re: JSF Chart Creator in Seam

2007-03-05 Thread holtak
This dosn`t *look* (haven`t tried anything) bad at all. Maybe it just works out of the box with seam... http://www.jroller.com/page/cagataycivici?entry=jsf_chart_creator View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025157#4025157 Reply to the post : http

[jboss-user] [JBoss Seam] - Re: Classloading problem I think.

2007-03-04 Thread holtak
Problem never occured again when using JRockit JVM. Tested: 1.6.0classloading problems really often 1.5.0_10 less often but still there Jrockit 1.5.0_08 compatible No problems until now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024929#4024929 Re

[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i

2007-03-04 Thread holtak
Just loud thinking: you always get a new (not nested) conversation with seam 1.2PATCH1 and then @In can`t inject the old instance? And this is not so when you move back to 1.1.5, for some reason... Also, I don`t understand why do you return a String from #{acountBean.begin}? That makes things

[jboss-user] [JBoss Seam] - Re: Error when deploying to Tomcat

2007-03-04 Thread holtak
Just deploy to JBoss and it`ll work ;-) You need an EJB3 container for EntityManager to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024915#4024915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024915 ___

[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i

2007-03-03 Thread holtak
What is "userDomain"? (StatefullBean, StatelessBean,...) and what scope is it in? Use debug.seam to check if it is really there where you want it. I`ll check the @In (create=true) acting today when I come to coding but I`ve moved to 1.2PATCH1 from 1.1.5 and don`t have this problems. View the

[jboss-user] [JBoss Seam] - Re: Problem with tree2

2007-02-28 Thread holtak
I collapse the tree with giving the TreeModel a new instance of TreeState. instead the old one stored in a SFSB. I have no function for expanding all nodes of the tree at once because this would be the ultimate performance killer when you are lazy loading nodes from the database like me. I som

[jboss-user] [JBoss Seam] - Re: Classloading problem I think.

2007-02-28 Thread holtak
Nobody says this is Seam`s fault, I just got bitten while using Seam and thats why I`m ranting here first. I expect that you don`t have this troubles on the servers where the Seam Example Apps run for the public. What is the magic behind that? The bug is in JBossAS JIRA and hopefully somebody w

[jboss-user] [JBoss Seam] - Re: Classloading problem I think.

2007-02-28 Thread holtak
This isn`t about PermGen Space in my opinion. There is no PermGen.out.of.Space (or how it is called...) exception in the Stack. I`m also permanently watching JBoss with JConsole and PermGen isn`t at half the limit I set it up. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: Classloading problem I think.

2007-02-28 Thread holtak
forgot the mention that the proposed workaround in http://jira.jboss.com/jira/browse/JBAS-4052 restart the server seams to help me too, for some period of time... but this is for sure a production NO GO! :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40

[jboss-user] [JBoss Seam] - Re: Classloading problem I think.

2007-02-28 Thread holtak
After 3 weeks with seam and my app getting bigger I realise the same problems. Injection of components randomly fails. I still got no pattern, when this happens. Fast clicking seams somehow to force it, as somebody alredy mentioned. The NPE occurs at exactly the same place as in this bug report.

[jboss-user] [JBoss Seam] - possible bug in debug.seam?

2007-02-21 Thread holtak
Hello, I`ve wondered, where have all my conversations gone, because the debug.seam page has not showed any. Then I`ve spotted the little difference. I`m running the server on the same maschine as I`m testing stuff and I`m using an URL like this in the browser: http://127.0.0.1/MyProject/... b

[jboss-user] [JBoss Seam] - Re: Strange timeout problem with SFSB and Tomahawk Tree2

2007-02-20 Thread holtak
is this a possible source of error? I`m starting Jboss with this parameters to avoid Out.of.PermGen errors. | JAVA_OPTS="-Xms512m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.r | mi.dgc.server.gcInterval=360 -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+CMS | PermGenSweeping

[jboss-user] [JBoss Seam] - Strange timeout problem with SFSB and Tomahawk Tree2

2007-02-20 Thread holtak
Hi, after clicking (not idling) in my application a while I get the following Exception. By pressing back-button and continuing work, all is fine again for a while, until I get the same Exception. I`m confused, bcause I have no Idea, how it can come to this, except that my session-scoped SFSB t

[jboss-user] [JBoss Seam] - Re: Access pojoCache from java Code?

2007-02-12 Thread holtak
thanx! works perfect and my database finds it really Good Thing(tm) to not be consulted on every page request. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015012#4015012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Access pojoCache from java Code?

2007-02-12 Thread holtak
maybe a trivial question but... how do I access the cache is using from my Java Code (lets say Stateless Session Bean)? I`m sure I have to inject something but what and how exactly? I want to invalidate (evict) a cached page fragment, because it changed (happens not often but it does). thank