Am Mittwoch, den 24.10.2007, 15:52 -0700 schrieb bastien.legras: > > Glen Mazza-2 wrote: > > > > Am Mittwoch, den 24.10.2007, 14:54 -0700 schrieb bastien.legras: > > > > Am Mittwoch, den 24.10.2007, 14:54 -0700 schrieb bastien.legras: > > But can the server access those Beans? It has to work with them too, > > correct? > > > > Yes, the JAXB beans reside in the AppEJBClient to be instanciable by both > the AppWeb and the AppEJB. > ... > > Just to make it very simple : when I move back the JAXB Beans from > EJBClient.jar to App.war and redeploy the EAR, everything works again. >
Where is your spring configuration file kept--is the basic issue that Spring configuration is not working when the beans are kept in EJBClient.jar? I may not be understanding the problem completely, but I'd like to see if we can separate CXF from the problem here. Let's have another test--can you modify your Spring configuration file to initialize any bean where (1) the class is within the same JAR as the context config file and (2) where the class is in a different JAR. If you can get a initialized bean from (1) but not from (2), you may have a question for the Spring forum instead of us. But before going to them, if you can get it working in (1) but not in (2), then I would test on another app server (Geronimo or Glassfish) to see if you can reproduce the problem. You may have a JBoss forum question instead of a Spring one if you can get both initialized on another app server. Glen
