[jboss-user] [EJB/JBoss] - Some entity instances are not updated after merge

2006-11-15 Thread galo.navarro
I have the following scenario: Users get into a web page, a HTTP session is created and depending on their properties they get a collecition of Entity Beans, details are displayed in the browser and they can do some updates to them. These updates are executed via a Servlet, that uses a

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to bind a datasource? It is not easy with Jboss

2006-10-30 Thread galo.navarro
Configure your -ds.xml file and deploy, that should be enough to bind the datasource. Can you post the -ds.xml file you're using and any output from the console? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981732#3981732 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: JMX Deployment error

2006-10-26 Thread galo.navarro
Thanks for answering. It seems the deployer tries to install it, but still doesn't work. Now my interface is public interface NOCManagerServiceMBean extends ServiceMBean and the class is public class NOCManagerService extends ServiceMBeanSupport implements NOCManagerServiceMBean It tries

[jboss-user] [Installation, Configuration Deployment] - Re: JMX Deployment error

2006-10-26 Thread galo.navarro
In case it matters, i've tried taking the static off the property but still doesn't work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980980#3980980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980980

[jboss-user] [Installation, Configuration Deployment] - JMX Deployment error

2006-10-25 Thread galo.navarro
I've been using an MBean with the @management and @service annotations but as I'm setting up a few services for that application in jboss-service.xml file I'm trying to take off annotations and use the xml descriptors to install it. I have this interface public interface NOCManagementService

[jboss-user] [Security JAAS/JBoss] - FORM auth. doesn't forward properly after login

2006-10-05 Thread galo.navarro
I'm trying to get a simple authentication on my webapp but i'm getting a weird problem. Everything works fine, I get into any page the server forwards to the login page, password is validated correctly against records in my db. At this point by other examples i've seen, the server would

[jboss-user] [JBoss Seam] - Re: Could not find Stateful bean

2006-09-28 Thread galo.navarro
I had the same exception in a different context but I think it might help. I was using a Stateful bean in a servlet. It was initialized in the init() method and the reference kept in a static variable. I was running my app normally, but i let my session expire and when i tried accessing the

[jboss-user] [Installation, Configuration Deployment] - org.jboss.util.Scheduler: in what JAR!?!?!?

2006-09-25 Thread galo.navarro
I can't get the Scheduler examples working and I can't find the JAR where this class is! help anybody? org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.util.Scheduler; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for:

[jboss-user] [EJB/JBoss] - Cached NamedQuery, how to disable?

2006-09-22 Thread galo.navarro
I have a couple of NamedQueries on an Entity EJB the retrieve a set of objects. I my Stateless EJB saves updates and saves the entity (merge, flush, data IS in updated in the database), and later the named query is executed again, the same entity is retrieved WITHOUT the changes. If i execute

[jboss-user] [EJB/JBoss] - Re: Cached NamedQuery, how to disable?

2006-09-22 Thread galo.navarro
Christ sorry about that paragraph.. it can barely be understood.. just to make it readable, there it goes again: I have a couple of NamedQueries on an Entity EJB the retrieve a set of objects. My Stateless EJB updates and saves the entity (merge, flush, data IS updated in the database), and

[jboss-user] [EJB 3.0] - Re: Entity EJBs, @Service Thread

2006-09-11 Thread galo.navarro
Any ideas please? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970685#3970685 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970685 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: Entity EJBs, @Service Thread

2006-09-11 Thread galo.navarro
wolfc wrote : How did you start the thread? | | I suspect that you're running a custom thread which has no transaction context. You could try using the EJB Timer Service, it starts business methods within the correct context. In the start() method of my service: | public void

[jboss-user] [EJB 3.0] - Entity EJBs, @Service Thread

2006-09-08 Thread galo.navarro
Hi, I'm trying to get a service running on my JBoss server that would awake every now and then, get a list of entity beans and throw a message to a JMS queue for each of those items, and sleep for a while. If I strip the bit loading Entity beans off, everything works, I send a test message to

[jboss-user] [JBoss Seam] - Re: JBoss Rules problem (where else to post?)

2006-09-05 Thread galo.navarro
Thanks for your replies. Petemuir, I know there's some support for rules on Seam but I need to stay away from Seam by now.. shame. dgallego, thanks, I'll copy that. The .drl file will be then packaged in my .jar file? (something like..) mypackage.jar | |_mypackage.bean | |_ ejb

[jboss-user] [JBoss Seam] - JBoss Rules problem (where else to post?)

2006-09-04 Thread galo.navarro
Sorry if this is not the appropiate forum but I can't find anything related to JBoss Rules. The examples from the livetrails work perfectly on standalone applications, now I'm trying to get an example running on Jboss 4.0.4GA so I created a simple drl file and an EJB that puts some objects in

[jboss-user] [EJB 3.0] - Recover timer after shutdown

2006-09-01 Thread galo.navarro
I have a simple EJB that creates a timer and handles the corresponding event when fired. public void startTimer() { | System.out.println(Fired); | ctx.getTimerService().createTimer(new Date(new Date().getTime() + 10*60*1000), It's me); | } | |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persistence Manager Exception

2006-08-24 Thread galo.navarro
Holy Joe wrote : Try replacing the PersistenceContext annotation with | | | | @PersistenceContext(unitName=BeanExamples) | | | | We had the same error message, and that made it go away, although I don't know why. | Thanks, that was the problem actually. As far as I've