[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Truncating the Timer table?

2008-04-04 Thread snarff
After a long period of experiments with the TimerService I discovered the Timer 
table and found several hundreds of records there, most for records that are 
several weeks old. Obviously, these are the result of server restarts and 
redeployments, and I don't think these are harmful in any way. However, aren't 
these supposed to be deleted at some point by the server? Is manual truncation 
of the Timer table the standard solution?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4141725#4141725

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Singleton TimedObjects?

2008-03-07 Thread snarff
A singleton MDB is triggered periodically by a timer. However, the timer thread 
which calls the ejbTimeout method seems to run concurrently with the thread 
which invokes the onMessage method, which destroys the singleton character of 
the MDB. Is there any means to guarantee that an MDB which runs on a timer 
behaves as a true singleton?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134956#4134956

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: TimerService in Transaction?

2008-03-04 Thread snarff
Also, I notice that my server.log is filled up with logging messages from  
com.arjuna.ats.arjuna etc. (level DEBUG) Could it be that crash recovery of a 
timer keeps my server busy?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134012#4134012

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - TimerService in Transaction?

2008-03-03 Thread snarff
I'm stuck on the following: I have two message-driven beans MDB1 and MDB2 
connected through two JMS queues (each MDB has its own queue). MDB uses a timer 
service to poll a database every now and then. Both beans have Container as its 
transaction type, with transaction attribute Required for their method 
onMessage.

Whenever I happen to erroneously create a second timer for MDB2, I see that new 
instances of MDB2 are created (I'm logging the ejbCreate method) which finally 
hog my server, bringing it to a grinding halt.

I suspect duplicate MDB2 beans are created though transaction rollback, but as 
I don't see any other error messages, I'm completely clueless. 

Also, I'd like to associate one single timer with MDB2, but I cannot seem to 
create it in the ejbCreate method. What is the standard approach here?

Any help is appreciated...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4133763#4133763

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4133763
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: PersistenceContext injection into a JSF-technology manag

2008-02-24 Thread snarff
I see that this thread is antique, so I hope a solution is available. 
Nevertheless, I'm having the same problem, so I'd really appreciate a pointer...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131693#4131693

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Packaging support?

2008-02-05 Thread snarff
[EMAIL PROTECTED] wrote : Are you using the Project Archives view? 
  | 
  | This view can deploy in an exploded or packaged format, and perform 
incremental updates automatically without you having to select and deploy each 
and every time. 

Hadn't discovered it yet: thanks for the hint. What do you mean by 'deploy in 
an exploded or packaged format'?

Also, I wonder why I have to write the jboss.xml myself. Am I overlooking 
something else?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126616#4126616

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Packaging support?

2008-02-04 Thread snarff
I've been playing around with the JBoss Tools in Eclipse, but I cannot seem to 
find anything about packaging support. I can export an EJB Jar file, I can 
deploy it, but I still need to manually choose a jar file name and location. 
That is, the tools don't seem to add anything to my ant scripts.

I'm missing the 'packaging configurations' item in the Project properties, 
which seems useful in this respect. Is the JBoss plugin just limited in its 
functionality, or am I overlooking something?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126357#4126357

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user