Jul 31st, 2008, 12:29 PM
problem with loading the application context
I am using RAD 126.96.36.199, websphere portal server (wps) 6.0 along with Spring. I have an applicationContext.xml which is configured in the web.xml.
applicationContext.xml has 2 entries, one for services1.xml and another for services2.xml.Both contains some java beans defenitions, which are our services.Both the services xml's are located in 2 different java projects and these two java projects are added to the War as module dependencies.
Now, when the Ear is published to wps6.0,the beans in the services2.xml are loaded. but the beans in the services1.xml are not getting loded. We put some junk characters in the services1.xml to get some parsing errors, but unfortunately, we did not get any. This indicates that the xml is not getting parsed by the spring.
Please tell me what I need to do to make it run.
Mar 17th, 2009, 09:24 PM
Application context file
Can u share your application-context.xml to view the entries. I doubt class loading mechanism of WPS. please check the wps class loading technique in the wps manual