[JBoss/Spring Integration] - AnnotationBeanConfigurerAspect issue
by wspiteri
I have two EAR's deployed into my JBOSS server, each containing a single Stateless Session Bean. The SLSB in EAR 2 calls the other SLSB in EAR1 via use of Springs LocalStatelessSessionProxyBean.
The AnnotationBeanFactoryConfigurerAspect as defined in the Spring manual is a Singleton, and the manual states the you should use a separate Classloader per spring-aspects.jar. In both of my EAR's I therefore have spring-aspects.jar in the lib folder, and I DO NOT have one in the server lib folder.
The issue I am now facing is that when SLSB 2 calls SLSB 1, the AnnotationBeanFactoryConfigurerAspect loses all knowledge of the beans defined in application 2. Therefore for all the aop:spring-configured beans in application 2, I get a NoSuchBeanDefinitionException.
I am certain when EJB B invokes EJB A which inturn invokes its onEJBCreate method the bean definitions get refreshed due to a new set of applicationContexts being loaded. Once the call returns from that invocation, the AnnotationBeanFactoryConfigurerAspect no longer understands my application B's beans and therefore the exception occurs.
The other strange point to note is if I manually create EJB A first via a separate call, then invoke EJB B the AnnotationBeanFactoryConfigurerAspect is OK for application B.
Any help would be greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044667#4044667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044667
19 years, 1 month
[JBoss jBPM] - Re: Docbook-Support error even after setting System Path
by estaub
Meghanai,
The build goes out and CVS-fetches all of the libraries it uses into the "local repository", which is by default in $user_home/jbpm/repository.
Because there are so many external jars to fetch, from so many other places, in my experience, this rarely is completely successful.
Unfortunately, the checking mechanism for each "get" is to just see if a file exists that should have been gotten. Frequently the cvs get will fail half-way, resulting in half of a zip or jar file. (Yes, I have good connectivity!)
One way or another, I recommend filling a local repository till it's all correct, and then don't ever fetch remotely again. Frankly, I can't imagine how the current process is good for anyone.
Your particular problem is special... the cvs fetch for docbook support is just plain missing, I think. Go download docbook, figure out where it's supposed to go in your repository from build/build.properties (search for docbook, look at your repository to see how other directory trees are structured), and put it there yourself. Sorry, I don't remember the details of URL, etc.
-Ed Staub
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044657#4044657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044657
19 years, 1 month
[JBoss Seam] - Re: Seam remoting conversation - possible problem?
by nctrax
I have the same error in the version 1.2.1GA. Is this me or is this due to an error of versionning :
""
I currently study JBoss Seam 1.2.1GA in order to use it soon for an application in production.
I created a conversation based on a pageflow. The conversation proceeds perfectly. I can start and use at the same time several instance of this conversation by using the functionality of workspace management.
Here's my problem:
When I switch from one conversation to another, all functions well.
However, when I finish one of the conversations, the second pageflow does not function any more (I can only destroy it thanks to the workspace manager).
I tried to use different manner of starting and finishing the conversation (via a page or an action). I thought that that could be with a mechanism of hierarchy of the conversations but when I added nested=false to the @Begin, nothing changed.
I like the framework much and I would like to use it for a customer.
I thank you very much for any help !
""
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044656#4044656
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044656
19 years, 1 month