I figured out the problem I was having, and hopefully this may help you...
Make sure to put a try-catch around the entire body of code for your EJB interfaces. Basically I was having a problem with the SLSB.method, when it tried to invoke a SFSB.method2.
I my body of code for "SLSB.method" I had
lookup("SFSB"), and in Oracle this works fine, but for Jboss, I had to put "SFSB/local", and forgot to change the interface to Local as well, hense my SLSB.method was getting a ClassCastException, which propogated to the CLIENT as a null exception or ClassCastException with some sort of $Proxy cause...
Anyway once I straightened this out, my Client worked OK.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077038#4077038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077038
Hi,
when I try to inject some SessionBean with
@In( create=true )
MySessonBean mySessionBean
a "could not set field value" Exception is thrown.
The documentation states that "If the context variable is null, an instance of the component is instantiated by Seam.".
If I create a
@Factory( "mySessionBean" )
public MySessionBean makeMySessionBean(){ return new MySessionBean(); }
The whole stuff works.
Am I doing something wrong? Or is the documentation wrong. When exactly do I need a @Factory?
Thanks,
Florian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077036#4077036
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077036
Well all you're doing by increasing FC creds is pushing the threshold higher before you see a problem. This usually works since most network hiccups or temporary slowdowns correct themselves after some time and the cluster returns to full speed .
Either you still don't have enough credits, or, if you consistently and regularly see this problem, then maybe the issue is elsewhere. Do you see any other issues with the cache system that may shed some light?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077034#4077034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077034
All,
I am using SEAM 1.2.1 and have had extensive trouble adding custom filters to SEAM.
What is the correct way to add filters to SEAM? Is it best to use standard servlet filters? If so, how do I configure the servlet filters to have access to SEAM Objects, or enable those objects to be injected?
If it is best to have my filters implement seam's AbstractFilter Class, how do I go about configuring that AbstractFilter with url-patterns, and various other initialization data?
Any help will be greatly appreciated.
~Greg.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077027#4077027
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077027