[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
h:outputText value=#{myBean.myCollection.size}/

thanks


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040917#4040917

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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...



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039782#4039782

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-04-20 Thread holtak
hello

My .xhtml looks like this:

  | f:facet name=Criterion
  | h:panelGroup
  | h:commandLink action=input_rating  
actionListener=#{t.setNodeSelected}
  | t:graphicImage 
value=/img/icons/16x16/actions/jabber_online.png/
  | h:outputText value=#{node.description} 
styleClass=nodeFolder/
  | h:outputText value= #{node.rating}/
  | f:param name=ratingCriterionParId 
value=#{node.identifier}/
  | /h:commandLink
  | /h:panelGroup
  | /f:facet
  | 

navigation.xml contains:

  | navigation-case
  |  from-outcomeinput_rating/from-outcome
  |  to-view-id/rate/inputRating.xhtml/to-view-id
  |  redirect /
  | /navigation-case
  | 

then I have a file called inputRating.page.xml:
!DOCTYPE pages PUBLIC
  |   -//JBoss/Seam Pages Configuration DTD 1.2//EN
  |   http://jboss.com/products/seam/pages-1.2.dtd;
  | page 
action=#{inputRatingAction.loadRatingCriterion(param.ratingCriterionParId)}
  | descriptionRating category #{ratingCriterion.name}/description
  | begin-conversation join=true /
  | /page

and finaly InputRatingActionImpl.java which contains:
public RatingCriterion loadRatingCriterion(Object id) {
  | if(id!=null){
  | ratingCriterion = ratingCriterionHome.find(id);
  | }
  | return ratingCriterion;
  | }

My problem is, that the id - parameter of loadRatingCriterion always gets a 
null value and I trully don`t know why...

When I switch to s:link all works fine, but I must submit the form.

thanks...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039317#4039317

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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: [EMAIL PROTECTED]
  | java.lang.Throwable: STACKTRACE
  | at 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:94)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:218)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2289)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2242)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2542)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:515)
  | at 
org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491)
  | at 
org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110)
  | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
  | at org.jboss.tm.TxManager.commit(TxManager.java:240)
  | at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.commitOrRollback(AbstractSeamPhaseListener.java:324)
  | at 
org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsAfterPageActions(TransactionalSeamPhaseListener.java:52)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:285)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:214)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:56)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.proaut.servlet.filters.SmartHeadersFilter.doFilter(SmartHeadersFilter.java:30)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 

[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=bbop=viewtopicp=4038163#4038163

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038163
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 SeamEntityHomeSFSBE{
  | 
  | public void create();
  | public SCRatingProject initByFactory();
  | public boolean isManaged();
  | public String update();
  | public String persist();
  | public String remove();
  | public E find();
  | public void destroy();
  | }
  | 

but JBoss EJB3 thinks, its not good to have remove() with different return 
types...for what crazy reason ever...

Any workaround?

Also there should be a warning in seam documentation, stating that this feature 
is currently unusable or at least tricky under JBoss.

Juraj

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026480#4026480

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026480
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-03-07 Thread holtak
)
  | at 
org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
  | at org.jboss.cache.TreeCache.evict(TreeCache.java:3716)
  | 

the timeout of the SFSB is 
public 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=bbop=viewtopicp=4026077#4026077

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4025157#4025157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4024915#4024915

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 somewhat overcomplicated to me.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024916#4024916

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024916
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4024929#4024929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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. Maybe there is 
something common.
http://jira.jboss.com/jira/browse/JBAS-4052

Oh and it happened with Seam 1.1.5 and it happens with Seam 1.2PATCH1. I 
skipped 1.1.6.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024026#4024026

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4024032#4024032

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024032
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4024037#4024037

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024037
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 will take care...

Just to round things up...

I`ve got the following exception when JConsole shows this for PermGen:
Used: 
69.751 kbytes
Committed: 
   131.072 kbytes
Max: 
   262.144 kbytes

So I was currently at about 30% capacity of PermGen.


  | 02:40:00,926 ERROR [STDERR] 01.03.2007 02:40:00 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SCHWERWIEGEND: Error Rendering View[/centerOps/viewCenter.xhtml]
  | javax.faces.el.EvaluationException: /WEB-INF/include/tree.xhtml @12,212 
rendered=#{treeAction.showTree}: Exception getting value of property showTree 
of base of type : org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$9426a1
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
  | at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:241)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.faces.el.EvaluationException: Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$9426a1, property: showTree
  | at 
org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:442)
  | 

[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 somekind adapted the LazyLoading with approch from the tomahawk wiki and my 
tree works fine. As soon as s:link get an actionListener property, it shall 
rule ;-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024109#4024109

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024109
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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/...

but when I call the debug seam like this

http://localhost/MyProject/debug.seam

127.0.0.1 vs. localhost

it doesn`t show any conversations at all.

After going back to 127.0.0.1 for debug.seam, all was normal again.

Is this a bug or some /etc/hosts misconfiguration of my workstation?

thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020055#4020055

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020055
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 times out, but that 
should not be the case, because I configured the timeout with @CacheConfig to 
be more than the session timeout and as I said, i`m clicking around and not 
idling.


  | 16:08:47,158 ERROR [STDERR] 20.02.2007 16:08:47 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SCHWERWIEGEND: Error Rendering View[/settings/settings.xhtml]
  | javax.faces.el.EvaluationException: /WEB-INF/include/tree.xhtml @12,153 
value=#{treeAction.treeModel}: Exception getting value of property treeModel 
of base of type : 
org.proaut.scrating.ejb3.local.TreeAction$$EnhancerByCGLIB$$6e1e2e
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
  | at 
org.apache.myfaces.custom.tree2.UITreeData.getValue(UITreeData.java:267)
  | at 
org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(HtmlTreeRenderer.java:169)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.faces.el.EvaluationException: Bean: 
org.proaut.scrating.ejb3.local.TreeAction$$EnhancerByCGLIB$$6e1e2e, property: 
treeModel
  | at 

[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
  | PermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
  | 

thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019361#4019361

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 s: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 you

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014923#4014923

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4014923
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bbop=viewtopicp=4015012#4015012

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4015012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user