[jboss-user] [Management, JMX/JBoss] - UserTransaction not working inside jboss service

2009-05-26 Thread elgabo
Hi everyone, I'm heavily using JMX based services inside a JBoss 4.2.3 application server (.sar project). But I am not able to manage a JDBC transaction through UserTransaction. The statements get executed before I commit the transaction and when I rollback the changes are not undone. I use a

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Composite keys that includes a relationship

2008-10-15 Thread elgabo
Hi, Finally I found the solution ... this tutorials helped me very much http://beavercreekconsulting.com/blog/2008/10/hibernate-annotations-for-a-one-to-many-mapping/ http://boris.kirzner.info/blog/archives/2008/07/19/hibernate-annotations-the-many-to-many-association-with-composite-key/ Bas

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Composite keys that includes a relationship

2008-10-14 Thread elgabo
Hi everyone, I'm stuck with a legacy database with tables that use foreign keys also as part of a composite primary key, eg | TABLE A |a_id (PK) | | TABLE B |a_id (PK, FK) |b_id (PK, FK) | "Pro EJB3 Java Persistence API" tips me how to handle this kind of structure

[jboss-user] [JBossWS] - Re: setting context root for EJB based web services

2008-04-09 Thread elgabo
Yes I'm using JBoss 4.2.2, it seems that there is a bug on this version ... it will be fixed on 4.2.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142728#4142728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142728

[jboss-user] [JBossWS] - setting context root for EJB based web services

2008-03-01 Thread elgabo
Hello, I have a very simple web service annotated with @Stateless and @WebService @Stateless @WebService public class MyWebService { public void doSomething(){...} } when I deploy just the service.jar file the web service's endpoint is http://localhost:8080/service/MyService but if I put the j

[jboss-user] [Security & JAAS/JBoss] - Authentication on standalone client

2008-02-01 Thread elgabo
Hi, I have a little doubt about the ClientLoginModule. I am able to use this module on my standalone client, but it works in a different way than the expected. The AA is been done when a method from an EJB (properly configured) is called, but not when I call the LoginContext.login method. Ca