[jboss-user] [Management, JMX/JBoss] - Re: JConsole remote not working with JBoss4.2.2GA

2008-04-25 Thread vlaugier
Hello all, I have just found that there is a run.conf in JBOSS_HOME/bin but also in JBOSS_HOME/server/production, JBOSS_HOME/serve/default, ... I have not yet understand how the choice is made between then in JBOSS_HOME/bin/run.sh # Read an optional running configuration file if [ "x$RUN_CONF"

[jboss-user] [JBoss Seam] - problem with https : tries to display the page and eventuall

2008-02-08 Thread vlaugier
Hello, I am trying to enforce for the first time some https redirection for some pages of my application. The EAP is 4.2.0.GA_CP01 and the application is a seam 1.2.1 application For the moment we only want the login page to be in https Here is an extract of pages.xml | | |

[jboss-user] [JBoss Seam] - Re: null pointer exception with fileUpload

2008-02-08 Thread vlaugier
SOLVED ! it was actually a dumb problem of malformed document neither Konqueror nor IE was warning about it but FF did I have corrected the page and it now works Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127932#4127932 Reply to t

[jboss-user] [JBoss Seam] - Re: null pointer exception with fileUpload

2008-01-15 Thread vlaugier
here is the interface, thanks for your help | package fr.helmet.bbpp.manager; | | import fr.helmet.bbpp.entity.Deal; | import fr.helmet.bbpp.entity.Forum; | import java.util.*; | | public interface ForumManager { | | public List getForums(); | | publi

[jboss-user] [JBoss Seam] - Re: null pointer exception with fileUpload

2008-01-15 Thread vlaugier
I had already tried this but it did not help much I have tried again though...but same result arg ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120187#4120187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120187 _

[jboss-user] [JBoss Seam] - null pointer exception with fileUpload

2008-01-14 Thread vlaugier
.getForum().getId()); | } | | | public void registerFile() { | | logger.info("IN registerFile"); | | System.out.println("name of file = " + this.fileName); | | //System.out.println("siz

[jboss-user] [JBoss Seam] - HibernateException: Javassist Enhancement failed ... with li

2007-12-04 Thread vlaugier
Hello, we have a problem that occurs randomly depending on the hour the user gets to a page on which he can view a list of cheques generated with the following command : | @Factory("cheques") | public void loadCheques() { | |Employee employ = entityManager.find(Employee.clas

[jboss-user] [JBoss Seam] - how to make a ejbql query from an entity bean ?

2007-12-02 Thread vlaugier
Hello, I would like to perform ejbql queries from the entity beans. This way I could customize my getters and add some very handy transient methods. Is there a way to do this ? I have tries to declare an entityManager in the different fashion : @PersistenceContext EntityManager em; @Pers

[jboss-user] [JBoss Seam] - unable to lazy load objects

2007-12-01 Thread vlaugier
Hello, we have a performance problem caused by an eager load of the objects we have put the annotations in this way : | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "manager") | public List getEmployees() { | | ... | but we cannot make lazy loading

[jboss-user] [JBoss Seam] - Re: application does not react as expected on production ser

2007-11-22 Thread vlaugier
oops ! sorry there is something wrong in the above description of my problem I descibe again the two ways it works in development environment : There are severall way to make this works in my developement environment (either when launched in the default configuration or production) remove the

[jboss-user] [JBoss Seam] - application does not react as expected on production server

2007-11-22 Thread vlaugier
Hello, this is a very, very byzarre thing the user is asked to select items in a selectManyMenu and then to validate its choice on another page. This validation associates these items to an attribute of type List, say : bulk Since the selected items are now associated to this attribute there a

[jboss-user] [JBoss Seam] - itext pdf in Firefox

2007-10-29 Thread vlaugier
Hi, I have a trouble visualizing pdfs with firefox even when I use : | | Firefox takes me to a page with the following source code | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; > | | I guess this is because I do not manage to use the useExtensions="true" pr

[jboss-user] [JBoss Seam] - Re: RuntimeException using @Pattern

2007-10-22 Thread vlaugier
just to be able to watch the forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097434#4097434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097434 ___ jboss-user mailing l

[jboss-user] [JBoss Seam] - Re: RuntimeException using @Pattern

2007-10-22 Thread vlaugier
Hello, my experience I have also meet the invalidStateException with a non required email field The field is an email field with a @Email annotation in the entityBean and a s:validateAll in the form If I submit the form with an invalid email pattern I receive a nice jsf error message as expec

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring virtual host in jboss-4.2.0.GA?

2007-10-16 Thread vlaugier
yes, I forgot to say that I also tried this | | | | / | orangeadomicile.fr | | But still, it does not work. About the web-console and the jmx-console, I also get the blank page : http://{IP_ADDRESS}/web-console/ http://{IP_ADDRESS}/jmx-console/ thanks for y

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring virtual host in jboss-4.2.0.GA?

2007-10-16 Thread vlaugier
Hello, I hope this discussion is not closed because I have the same problem with jboss_eap_4.2.0_CP1 I have followed instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts hoping that the configuration for jboss 4.0 also works for 4.2 (unlike Tom I do not know if my configurat

[jboss-user] [JBoss Seam] - no action called from a form because of selectOneMenu

2007-09-30 Thread vlaugier
Hello, we struggle with a very weird problem for a few days now we have a two step registering process in the application in the second form the user can specify his roles, his manager, his company from three selectOneMenu if we remove the company choice part from the form everything works fi

[jboss-user] [JBoss Seam] - rendering of UI component based on identity roles

2007-09-26 Thread vlaugier
Hello again, I want to apply rendering rules to UI components based on the identity roles ? for example only render a UI component if the user has role A only render a UI component if the user has role A or role B only render a UI component if the user has role A and role B I have tried the fo

[jboss-user] [JBoss Seam] - end conversation if unexpected navigation

2007-09-26 Thread vlaugier
Hello, I would like to close the current conversation if the user perform an action not expected in the jpdl flow typically, the user clicks on a menu link while in the process of creating an account what I did first was to replace the in the menu by some regular link the problem is that I

[jboss-user] [JBoss Seam] - Re: EntityConverter with patch for seam 1.2.0

2007-09-24 Thread vlaugier
thanks for your help pete this is a single page conversation and we use a statefull, isn't it sufficient ? I do not understand understand need for overriding the equals method and where ? does it have something to do with this line : | | if (this.selectedService != null) this.service.setP

[jboss-user] [JBoss Seam] - EntityConverter with patch for seam 1.2.0

2007-09-24 Thread vlaugier
Hello, we have been strugling all day trying to make the patch for EntityConverter work for seam_EAP 4.2 with integrated seam 1.2.0 we have followed http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityConverter but it doesn't work and we are short of ideas now we get the following error in fren

[jboss-user] [JBoss Seam] - Re: booking example

2007-09-23 Thread vlaugier
I had forgotten to put my datable (and so my commandbutton) in an form, so it was just the button that was not active ... arghh ! thank you for your answer though Actually I have tried something else that does not work : I would like to call functions returning strings at the loading of the pa

[jboss-user] [JBoss Seam] - booking example

2007-09-23 Thread vlaugier
Hello, I have a form that gives me a list of accounts, in the same way that main.xhtml presents a list of hotels in the booking example. I want to pass an account instance as an argument to a function (this function will assign the instance as the current account to be edited and redirect to t

[jboss-user] [JBoss Seam] - Re: cannot end conversation at end of pageflow

2007-09-21 Thread vlaugier
ok I have found the solution myself, it might interest other people though :: I had a one-to-one relation (defined on the primary key) between my Client class and my Account class the getId() of my Account had the annotation @GeneratedValue but I forgot to put the same annotation to Client whi

[jboss-user] [JBoss Seam] - Re: cannot end conversation at end of pageflow

2007-09-21 Thread vlaugier
I might be missing something in the conversation handling thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087391#4087391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087391 ___

[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException, problem with a EL-attribute

2007-09-19 Thread vlaugier
I had indeed not specified the getter and the setter in the interface. It works now thank you ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085898#4085898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085898

[jboss-user] [JBoss Seam] - PropertyNotFoundException, problem with a EL-attribute mapp

2007-09-18 Thread vlaugier
Hello, this surely is a very dumb mistake but I cannot find it I have a very simple entities model : one class Client In a first time, I am creating the clients (without defining the parentClient attribute) with an autogenerated CRUD form, this works I then want to list the generated clients

[jboss-user] [JBoss Seam] - Re: cannot deploy simple CRUD application

2007-09-13 Thread vlaugier
yes, that was the problem I am missing some experience, hopefully that might change. thank you Do you know how I can set this topic as [SOLVED] ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083968#4083968 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - Re: cannot deploy simple CRUD application

2007-09-12 Thread vlaugier
also, I have followed the crud example given by Michael Juntao on its website and I cannot see the difference thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083509#4083509 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Seam] - cannot deploy simple CRUD application

2007-09-12 Thread vlaugier
; | | import java.io.Serializable; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.Table; | | | | /** | * | * @author vlaugier | */ | @Entity | @Table(name="company") | public cla