[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-20 Thread saxon747
I tried it out, but I get the same exception :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086850#4086850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086850 ___ jboss-u

[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-18 Thread saxon747
Yes, I see, but the generic issues are resolved in the non-abstract entity classes (UserRight, User), and I do not want the abstract classes (UserEntity, UserRightEntity) to be mapped. I hoped that using @Inheritance( strategy = InheritanceType.TABLE_PER_CLASS ) | could help but it did not so

[jboss-user] [EJB 3.0] - Re: mapping generic entities

2007-09-11 Thread saxon747
Sorry, if I was not clear. Of course all the four classes (UserEntity, UserRightEntity, UserRight, User ) are all annoted as @Entity classes. I just did not copy the whole code of them. Of course they also implement Serializable. View the original post : http://www.jboss.com/index.html?module=b

[jboss-user] [EJB 3.0] - mapping generic entities

2007-09-08 Thread saxon747
Hi! I'm trying to map the following: I have two abstract entities: | public abstract class UserEntity, R> implements Serializable { | | // ... | | @OneToMany( mappedBy = "user", fetch = FetchType.EAGER, cascade = CascadeType.ALL ) | private List userRights = new ArrayList()

[jboss-user] [Clustering/JBoss] - Re: Accessing singleton MBean from a cluster node

2007-05-22 Thread saxon747
Yes, that code part is uncommented in my config and I prefer this secured version of course, but I think it was uncommented by defalut. (I used the installer version of 4.0.5 with 'ejb3-clustered' settings) Anyway, thanks for the help! View the original post : http://www.jboss.com/index.html?

[jboss-user] [Clustering/JBoss] - Re: Accessing singleton MBean from a cluster node

2007-05-21 Thread saxon747
Thank you! This one works correctly! In the meantime I tried out the folloowing for the singleton-jmx-adaptor-service.xml: | | jboss:service=invoker,type=jrmp | jboss.jmx:type=adaptor,name=SingletonInvoker | jmx/invoker/SingletonRMIAdaptor | org.jboss.jmx.ad

[jboss-user] [Clustering/JBoss] - Accessing singleton MBean from a cluster node

2007-05-21 Thread saxon747
Hello! I have a cluster with 2 nodes (JBoss 4.0.5 GA) and a singleton MBean with name "kapart.mbean:service=ScheduleManager". The singleton works correctly, if the master fails it is started on the new master. The problem is, that I'd like to access this mbean from a session bean, which can run

[jboss-user] [EJB 3.0] - EJB3 webservice + OASIS

2007-04-18 Thread saxon747
Hi all! Is it possible to create a web service endpoint in a session bean with EJB3 annotations, and provide OASIS security features to it in a JBoss AS? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038258#4038258 Reply to the post : h

[jboss-user] [JBossWS] - redeploying on jboss 4.0.4.GA

2007-02-07 Thread saxon747
Hi all! I have an HTTP servlet, which reads the input on the doPost method and creates a SOAP Message from it, using the SAAJ API. It works correctly, but when the application (.war) is deployed again without restarting the jboss, the SOAP message creation fails with error: at org.jboss.util.x

[jboss-user] [Installation, Configuration & Deployment] - redeploying on jboss 4.0.4.GA

2007-02-07 Thread saxon747
Hi all! I have an HTTP servlet, which reads the input on the doPost method and creates a SOAP Message from it, using the SAAJ API. It works correctly, but when the application (.war) is deployed again without restarting the jboss, the SOAP message creation fails with error: at org.jbos