[jboss-user] [JBoss Seam] - Re: Memory leak in SFSB in session scope in Seam 2.0.0 on JB

2007-12-26 Thread susnet
I have tried removing the method call to getNextTeaserRecipes() from pages.xml and the problem is still the same. The only solution is still setting the session timeout to 2 minutes. I discovered that the growth rate of number of instances is higher with a longer session timeout, like between

[jboss-user] [JBoss Seam] - Memory leak in SFSB in session scope in Seam 2.0.0 on JBoss

2007-12-25 Thread susnet
Hi! I upgraded to Seam 2.0.0.GA and it is running on JBoss 4.2.2. I have a SFSB in Session scope. The SFSB has an ObjectPool, which is really just a Collection of Entities. The entities in the collection are of type TeaserRecipe which just maps to a table in my database. For each httpRequest

[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database

2007-10-28 Thread susnet
It would be nice if someone would like to post a complete example for this including caching. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099654#4099654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099654

[jboss-user] [JBoss Seam] - Re: Nested ui:repeat fails

2007-10-28 Thread susnet
When I read the nabble forum for facelets there seems to still be bugs in this, but I didn't really get which version it concerns, only that there are open bugs. If the bug in ui:repeat is solved i want to use it but if it is not i have read in serveral places that you should use tomahawk

[jboss-user] [JBoss Seam] - Re: Nested ui:repeat fails

2007-10-28 Thread susnet
I found out the problem why it did not work using tomahawk dataList for me. The problem was that i use JBoss 4.2 in my new seam project and then you also have to include the commons-el.jar to your webapp lib. Here is a complete tutorial on how to use tomahawk dataList in a Seam project on

[jboss-user] [JBoss Seam] - Re: Dynamic navigation

2007-07-13 Thread susnet
Thank you very much! This code solved the problem: String page = /pages/articles/xyz.xhtml; | | RenderNavigationHandler navHandler = new RenderNavigationHandler(page, null, null); | navHandler.navigate (FacesContext.getCurrentInstance ()); View the original post :

[jboss-user] [JBoss Seam] - Dynamic navigation

2007-07-12 Thread susnet
I have an action method which gets which view i want to redirect to. I return this as a String. Then i get a browser redirect. I read in the manual: Note that when you use a view id as an outcome, Seam always performs a browser redirect. so this is the way it should be. My question is: How

[jboss-user] [JBoss Seam] - Re: seam email unwanted text in email

2007-07-12 Thread susnet
Well it's the same in outlook, gmail and squirrelmail. It is also the same whether i send it from my production server (Jboss 4.0.5. Linux, ) or my desktop (JBoss 4.0.5, Windows) which are using different smtp servers. If i don't use the m:headers I don't get this --=_Part..etc texts, but

[jboss-user] [JBoss Seam] - Re: Dynamic navigation

2007-07-12 Thread susnet
I almost succeeded in solving this problem with this code: | @In | private FacesContext facesContext; | | public void navigate () { | | String page = /pages/articles/xyz.xhtml; // This could be any page, collected from database | | UIViewRoot root =

[jboss-user] [JBoss Seam] - seam email unwanted text in email

2007-06-22 Thread susnet
I wonder why my emails look like this: --=_Part_8_21777063.1180128429593 Content-Type: multipart/alternative; boundary==_Part_9_28910288.1180128429609 --=_Part_9_28910288.1180128429609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit

[jboss-user] [JBoss Seam] - Re: Mail sending error

2007-05-21 Thread susnet
Have you configured mail-service.xml in /jboss/.../deploy ? Set debug = true in mail-service.xml and you will get some more debugging logs to help you. Have you included jboss-seam-mail.jar in both war-module /lib and ejb-module /lib ? View the original post :

[jboss-user] [JBoss Seam] - Re: Mail sending error

2007-05-18 Thread susnet
Do you have listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class in your web.xml ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046938#4046938 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Question on JBoss server using the JBoss Eclipse IDE

2007-05-16 Thread susnet
I had the same problem with Tomcat 5.5 running inside Eclipse. So it is not a JBoss specific problem. I think I remember it was some bug in Log4j. So I switched and used the built in java jdk logging: java.util.logging. View the original post :

[jboss-user] [JBoss Seam] - Exception handling with @HttpError not working

2007-05-15 Thread susnet
My Exception class: | @ApplicationException(rollback=true) | @HttpError (errorCode=HttpServletResponse.SC_NOT_FOUND) | public class PageNotFoundException extends Exception { | | | /** Creates a new instance of PageNotFoundException */ | public PageNotFoundException () {

[jboss-user] [JBoss Seam] - Re: Exception handling with @HttpError not working

2007-05-15 Thread susnet
In web.xml I also have: | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.web.SeamFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | When I

[jboss-user] [JBoss Seam] - Re: Parameter passing for page action

2007-05-15 Thread susnet
I think what you are looking for is the @Out annotation and also @Factory. Read more about these and look at the examples and I think you will figure out how to use seam in a nice and straightforward way. If you want to pass a param when you click on a button you could use s:button or s:link

[jboss-user] [JBoss Seam] - Re: Exception handling with @HttpError not working

2007-05-15 Thread susnet
If I put | exception | end-conversation/ | redirect view-id=/pages/error/error404.xhtml | messageUnexpected Failure. /message | /redirect | /exception | in pages.xml, it does not work either. The exception just falls through and an ugly error message

[jboss-user] [EJB 3.0] - Persistence LDAP server

2007-01-14 Thread susnet
I wonder if there is an EntityManager to use to get java persistence (EJB3) to work with an LDAP Directory, persisting directory objects. What is best practise for building an application to administrate data in an ldap directory server (e.g. Siemens DirX server, SunOne), using JBoss and EJB3

[jboss-user] [JBoss Eclipse IDE (users)] - Re: IDE2.0.0 packing and deployment

2006-11-26 Thread susnet
I also want to know when you think this feature will be available. I am really looking forward to it! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3988613#3988613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988613

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Hot code replacing in debugging?

2006-11-04 Thread susnet
But in the meantime i could use exploded deployment? Is there som changes to that approach with JBossIDE 2.0 than earlier versions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983200#3983200 Reply to the post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING

2006-08-10 Thread susnet
Well i found an explanation how to fix this in the meantime here: http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts But i'm still curious when the 2.0 final is planned to be released. Is it within a mounth, 3 month, 6 month, a year? View the original post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING

2006-08-09 Thread susnet
[EMAIL PROTECTED] wrote : Changing of jsp and css files and automatically deploying them to an exploded directory is not yet implemented, but is planned for the 2.0 final release. Sounds nice. When is it planned to be released? In the meantime, how do i fix this? I read somewhere that you

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING

2006-08-08 Thread susnet
When i use this jboss-as version and start jboss in debug mode and make a change in a jsp file or a css file then the changes does not fall through automatically. It seems i have to republish my project first. Is it really suppose to be like that? Is there som setting how to deploy in