[jboss-user] [JBoss Seam] - Re: CLUSTER wide EJBException: Invalid (i.e. remote) invocat

2007-11-22 Thread fguerzoni
Just forgot to set the @Clustered annotation on stateful bean. Everything works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107223#4107223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107223 _

[jboss-user] [JBoss Seam] - CLUSTER wide EJBException: Invalid (i.e. remote) invocation

2007-11-19 Thread fguerzoni
Seam 2.0.0.GA JBoss 4.2.2.GA Win xp Hi, I managed to run a cluster with 2 nodes using: - Apache (mod_jk) as load balancer - Tomcat and JBoss in bundle. All goes very well if I use session context Java beans which replicate their state in cluster. By the way: GREAT WORK! The problems arise when

[jboss-user] [JBoss Seam] - ConversionException on HashMap during Remoting

2007-06-13 Thread fguerzoni
Seam 1.2.1.GA jdk_5.0.12 win xp Hi, I get a ConversionException from MapWrapper when calling a @WebRemote method which accepts as parameter a HashMap. Caused by: org.jboss.seam.remoting.wrapper.ConversionException: Could not create value of type [java.util.LinkedHashMap< | java.lang.String, j

[jboss-user] [JBoss Seam] - Re: can't get it working: exception redirection

2007-05-29 Thread fguerzoni
Here is my web.xml org.jboss.seam.servlet.SeamListener org.apache.myfaces.webapp.StartupServletContextListener javax.faces.STATE_SAVING_METHOD c

[jboss-user] [JBoss Seam] - Re: can't get it working: exception redirection

2007-05-28 Thread fguerzoni
Did you remember to include seam filters in web.xml? It works for me. My use case is quite similar to your case even if I run it in a SE environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049160#4049160 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Re: sessionId cookie: man-in-the-middle attack

2007-05-28 Thread fguerzoni
DONE. I originally saw this mechanism implemented in jGuard: the best authentication/authorization library I've ever seen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049153#4049153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss Seam] - sessionId cookie: man-in-the-middle attack

2007-05-26 Thread fguerzoni
I noticed that sessionId cookie sent to client before authentication remains the same even after login succedeed. This could lead to a man-in-the-middle attack because pre-login sessionId could be easily sniffed. So, it would be very nice if it should be possible to do a session switching on se

[jboss-user] [JBoss Seam] - Re: Problema on jBPM and MicroContainer ManagedHibernateSess

2006-11-16 Thread fguerzoni
I managed to split hibernate.cfg.xml in two separate config file: one for the microcontainer and one for jbpm. >From jbpm user guide >http://docs.jboss.org/jbpm/v3/userguide/persistence.html#thedbpersistenceservicefactory it is possible to specify an alternate config file for hibernate in jbpm.

[jboss-user] [JBoss Seam] - Problema on jBPM and MicroContainer ManagedHibernateSession

2006-11-16 Thread fguerzoni
Hi to all, I'm trying to mixing and matching 'hibernate' and 'todo' seam samples to conform to my use case (on front end) where I have seam, hibernate and pojo (and I would like to have jbpm). I do have some troubles because even if every piece works well alone, the bundle is not working. I thin

[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-19 Thread fguerzoni
Added: JBSEAM-428 I reproduced the problem (very tricky) integrating 'Hibernate' example and posted to jira the 6 relative new/updated files. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979359#3979359 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread fguerzoni
Thanks Gavin. Sadly I get the following exception on the first call (webapp is deployed without errors): org.hibernate.SessionException: Session is closed! Code is the same, hibernate.cfg.xml is the same too, components.xml is | | | false | true |

[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion

2006-10-18 Thread fguerzoni
I thank you very much! Now I get an error using the latest cvs version. In fact I get a ClassNotFoundException on org.jboss.seam.core.Hibernate. Looking for that on Fisheye shows that this class was deleted 3 days ago. Could you suggest how to modify my components.xml in order to work with latest

[jboss-user] [JBoss Seam] - Remoting and java map to js map error conversion

2006-10-13 Thread fguerzoni
Hi, I found an error on interface produced by Seam remoting on JAVA MAP which is converted to BAG type. Here is an example of what is produced by Seam: Seam.Remoting.type.parent.__metadata = [ {field: "name", type: "str"}, {field: "children", type: "bag"}]; Javascript model downloaded from s

[jboss-user] [JBoss Seam] - Re: Seam Remoting and java.math.BigDecimal

2006-10-12 Thread fguerzoni
It works great. thanks for the fix (very very quick). you solved me lot of problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977824#3977824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977824 _

[jboss-user] [JBoss Seam] - Re: Seam Remoting and java.math.BigDecimal

2006-10-11 Thread fguerzoni
oops: xml not rendered the broken xml is: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977529#3977529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977529 ___ jboss-user

[jboss-user] [JBoss Seam] - Seam Remoting and java.math.BigDecimal

2006-10-11 Thread fguerzoni
Hello, my model needs the type DECIMAL(18,5) which is correctly managed by Hibernate. The problem is on Seam Remoting where this type is not correctly managed: in fact ajax response is not a well formed xml (it's clear that on server the processing has been interrupted: so ther's no member end

[jboss-user] [JBoss Seam] - Re: Seam on Tomcat without ejb3

2006-10-04 Thread fguerzoni
It works! Now libraries are 7.5 MB instead of default 20 MB. I wonder if it's possible to slim it down again to reach the size of 3-4 MB. Is there a plan to supply a truly minimal set of libraries along with the standard distribution which already has jboss-all.jar, hibernate-all.jar and so on?

[jboss-user] [JBoss Seam] - Re: Seam on Tomcat without ejb3

2006-10-03 Thread fguerzoni
Do you mean jboss-ejb3.jar (19 kB) jboss-annotations-ejb3.jar (31 kB) distributed with ejb3.deployer? I'll give it a try. thanks Gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975839#3975839 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Seam] - Seam on Tomcat without ejb3

2006-10-03 Thread fguerzoni
Is it possibile to not include jboss-ejb3-all.jar in the WAR deployed to Tomcat? If I don't include it, during Tomcat startup, I get an error because Seam is searching for javax/ejb/stateful. I noted that in hibernate example (only javabeans) this jar is included too. I would prefer to not include

[jboss-user] [JBoss Seam] - SINGLE_TABLE strategy: problem with remoting traslation to j

2006-09-26 Thread fguerzoni
Jboss seam 1.0.1 GA JBoss 4.0.4GA (ejb3 config) EJB-3.0_RC8-FD Hello, my java model has 6 entity beans which inherit from a parent class where I put all the pojo stuff. I followed the single table strategy with discriminator. So the relational model results in a single table that contains data f

[jboss-user] [EJB 3.0] - Re: Client access to Entity beans

2006-07-16 Thread fguerzoni
It's not MVC pattern, but FACADE pattern. You don't need an EM on client, because EM can't do anything for you on client for client-server applications. EM performs transactionally CRUD operations on server. You have two options: 1) passing detached object to client, let client work on them, and

[jboss-user] [EJB 3.0] - Re: Client access to Entity beans

2006-07-14 Thread fguerzoni
>From Entity Bean tutorial: Entity Beans have been given a complete overhaul in EJB 3.0. Entity beans are plain Java objects that can be allocated with new and attached/detached/reattached to persistence storage. Entity beans are not remotable and must be access through the new javax.persistenc