[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Newbie: Edit & resubmit Messages?

2004-09-15 Thread astehman
Well, no FAQ entry to delete 1 spec. message, based on message id. I thought it would be handy to browse a queue (since you can) and then based on contents, delete a message based on its ID. But it seems that if I want to do that, I'd have to actually create an MDB to persist the msgs on this q

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Newbie: No API to delete messages from queue?

2004-09-15 Thread astehman
It doesn't appear that any delete, dequeue, or remove methods exist anywhere to explictly remove messages from queues. So, is the easiest thing to do to create a queue specifically for consuming messages and doing nothing with them, essentially deleting them? And whenever one wishes to delete a

[JBoss-user] [Messaging, JMS & JBossMQ] - mbean already installed - problem of recursive atttribute +

2004-09-09 Thread astehman
I was curious why I could not put the queue mbean entry in the jboss-service.xml in my app's sar file. Is it because I have set "RecursiveSearch" to True in conf/jboss-service.xml? Could this be causing the problem, since then during deployment the mbean file gets copied to myapp/tmp/server/

[JBoss-user] [EJB/JBoss] - debate - what is "lib" truly for?

2004-09-03 Thread astehman
members of our dev team are having a debate. one side of the debate says $JBOSS_HOME/server/app/lib is only for 3-rd party jar files. the other says $JBOSS_HOME/server/app/lib is for classes to which access is required from both app (ear) and web (war) sides of the app. What does the rest of

[JBoss-user] [EJB/JBoss] - Re: ClassCastException on Session Bean - Classloader issue?

2004-08-27 Thread astehman
I included the jar file which contains the session bean in question in the WEB-INF/lib directory, but I am still encountering this problem. I'm not sure exactly why this ClassCastException is happening, but I found a post where the exact same problem was encountered with Inprise app server and

[JBoss-user] [EJB/JBoss] - ClassCastException on Session Bean - Classloader issue?

2004-08-27 Thread astehman
jboss/linux versions: Jboss 3.2.1 on Mandrake linux 2.4.21-199-default I'd be grateful if anyone can give me any clues what to check. When a Struts Action class attempts to lookup a Session bean, it gets a ClassCastException. I don't understand how - jboss.jar and ejb-jar.xml look good, and th

[JBoss-user] [EJB/JBoss] - refactoring private method from SSB to helper class solved p

2004-06-09 Thread astehman
The workaround to this makes 0 sense. I took the private method I'd added to the SSB and put it in a helper class the SSB called right before calling its own private method. So, it was originally (pseudocode here): ssb.execute { helper.callMethod(); this.callMyMethod(); } Changi

[JBoss-user] [EJB/JBoss] - spontaneous ejbRemove on SSB?

2004-06-08 Thread astehman
Hey y'all, Weird behavior - ejbRemove() suddenly being called in the midst of a SSB method execution (which includes a BMT). The only error I see (in server.log): Application error: BMT stateless bean PeerReviewProcess should complete transactions before returning (ejb1.1 spec, 11.6.1) But, t

[JBoss-user] [EJB/JBoss] - Periodic Database Connection Dumping? (Every 30 minutes)

2004-05-26 Thread astehman
Greetings, Our DBA graphed some unusual DB conxn activity from our app server. Every 30 minutes, all DB conxns are destroyed and recreated. Any ideas why, and if this should happen, and whether such destruction can be occurring on active conxns and thus corrupting data and impacting running tx