[JBoss Seam] - Removing timer
by twocoasttb
I was experimenting with a seam timer service and have since removed the classes from my application. Now, whenever I start the app I get following errors:
22:36:10,389 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web application
22:36:10,394 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web application
and the timer is still there and still running:
22:36:15,381 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,381 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,382 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,383 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,389 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,394 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
22:36:15,398 ERROR [TimerImpl] Error invoking ejbTimeout: java.lang.RuntimeException: java.lang.NullPointerException
(these errors show up at regular intervals- the same interval the original timer was created with)
So it's obvious that the timer is being stored somewhere and reinstated when the app starts. This leaves me with two questions:
(1) Where is this getting saved and how do I remove it?
(2) How do I prevent this in the future?
I'm using Seam 1.1.7 Patch 1 on JBoss 4.0.5.GA
Thanks...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026540#4026540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026540
19Â years, 1Â month
[JBoss Messaging] - Re: 1.2.0.GA transparent node failover does not always work
by timfox
I think the root of this problem is you are not using JBoss Messaging's transparent failover abilities but are catching exceptions yourself and recreating connections manually (which is unnecessary for JBM but necessary for other messaging systems which don't support transparent failover), and this is interacting badly with the transparent failover.
This is a somewhat unusual use case but I admit it should work. Actually we are grateful for these kinds of cases since they get to exercise the darker edge cases which wouldn't otherwise get excercised. Nevertheless I will try and get to the root of the problem to find out the cause.
BTW reconnecting to a failed server should work fine, so I am baffled what is going on there. In fact this is exactly what the message bridge does - if one of its servers goes down it retries at intervals and reconnects when the node is up - this works like a treat.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026536#4026536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026536
19Â years, 1Â month
[Security & JAAS/JBoss] - Re: Active Directory and LdapExtLoginModule?
by Neelixx
First and foremost, you need to work on authentication before working on authorization.
If you aren't authenticating, authorization won't do you any good.
Best suggestion I have, is to enable debugging on security in JBoss. Then, look at the logs to find out what's going on when you authenticate. It's too tough to tell why it's failing, since I don't know your AD Environment. You may want to get with your AD Engineers/Administrators.
You can also test LdapExtLoginModule by using the JUnit test published on the Wiki. That's how I tweaked my configuration for AD. I kept making changes to the config until my test passed. Then, I had a working config to put in my app.
I'd give you the link in the JBoss AS Wiki on how to set logging levels for JAAS and Security, as well as the JUnit test, but the wiki is down right now.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026532#4026532
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026532
19Â years, 1Â month