[jboss-user] [JBoss/Spring Integration] - Re: BeanFactoryPostProcessors not called ?
"alesj" wrote : What it your actual deployer service? | Post the jboss-service.xml in .deployer archive. Well, wweiersmuller and I mispelled a few configuration files. Everything is OK and works well. Sorry for disturbating. Dom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038005#4038005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring module and war deployed separatly
It worked. Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036053#4036053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Yet another ClassCastException
forgot to mention I'm using JBoss 4.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031058#4031058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Yet another ClassCastException
may be related to http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104346 Hello, After many searches, many headaches, I've reached the end and I still doesn't find a way to achieve what I want. I have 2 wars containing the same lib. These 2 wars are deployed in default/deploy. They also use spring.jar that I want them to share, I put it in default/lib of my server. My deployment strategy is : - what is common but not made by me (hibernate, spring, jsf, ...) is put under default/lib - what is common but made by me is deployed within each of my wars. If I deploy only one war, my application works well. If I add the second one, then I get something that looks like classcastException : spring tells me it can't set a value to a property arguing they are not from the same type. I tried to use a specific class-loading in my jboss-web.xml : | | toto:loader=war1 | | for the first war, and | | toto:loader=war2 | | for the 2nd one. It doesn't change anything. So please someone help me. Regards, dom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030720#4030720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring module and war deployed separatly
Thank you for this answer. I'll try it, and give you feedback as soon as possible View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002327#4002327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Spring module and war deployed separatly
Hello, My question may be considered as off-topic, but let me expose my problem. I would like folks here to share their point of view on my issue. I have a spring module which holds my business implementation. This business implementation is shared between 2 webapps. So what I want to do is to deploy my spring module using spring deployer (what a great feature by the way), and use these beans in my webapps. Both of them are deployed in the deploy dir of jboss. As I also need the beans classes in my webapp, I also need them in the WEB-INF/lib. The classloading problem is approaching, isn't it ? ApplicationContext appContext = WebApplicationContextUtils | .getWebApplicationContext(servletContext); | Object o = appContext.getBean("service.global.idFonctionnel"); | ServiceIdFonctionnel serviceIdFonctionnel = (ServiceIdFonctionnel)o; This code leads me to a ClassCastException. I precise that the bean do implements the ServiceIdFonctionnel interface. My questions : Is spring deployer aimed at this kind of deployment scenario ? If so, how should I do to avoid this ClassCastException ? Do I have to play with classloading options of my jboss-web.xml ? If not, this means to me that I can't share spring modules between 2 webapp ? Thank you for your testimonials and answers. Best regards, Dom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002161#4002161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user