Two questions:
1) We are investigating sending JPA entities through WS. When the entity defines mappedBy, WS fails because mappedBy cause recursive when the engine tried to generate the XML. The most obvious way to resolve the problem, is to remove mappedBy, but is that the best way, any other ways?
2) A larger question, is it the best practice to send JPA entity over WS? Is there any risk of troubles? I see an logical argument against it: sending data object over WS is not the best practice, what should be send over is the business object.
Any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154454#4154454
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154454
I think you must configure you identity provider to acegi in order to make this work..
I can help you to do this integration but i think no one do this before...
I think the right way to do this.. is to make a new identity provider to use you user and credential from acegi and then inject it to other partner in you federation.. in order to auto login in your other site...
Please let me know what configuration do you have and what distribution of sites do you want..
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154452#4154452
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154452
Rajesh,
Looking at this I don't see the cause of the problem. Tried something similar myself and it worked fine. Only odd thing I saw was the ObjectName given to the deployment:
jboss.web:j2eeType=WebModule,name=//ssa/,J2EEApplication=none,J2EEServer=none
I would expect:
jboss.web:j2eeType=WebModule,name=//localhost/ssa/,J2EEApplication=none,J2EEServer=none
where 'localhost' is the name of the relevant Host element from server.xml.
Don't really see how that would matter. But it's slightly odd that there is no host name.
You can try enabling DEBUG logging for org.apache.catalina to see if that shows more, but I'm travelling and won't look at it until next week.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154451#4154451
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154451
Hmmm, Actual issue i have is We already have an application running using JPA and annotation driven hibernate classes. Now we need to plugin the JPDL to the existing application and use the exist transaction.
I get an exception org.hibernate.HibernateException: No CurrentSessionContext configured! when i try to call getCurrentSession() on the sessionfactory object. Not sure what is missing here.
Appreciate your help on this
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154447#4154447
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154447