Announcement Announcement Module
No announcement yet.
problem with loading the application context Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem with loading the application context

    I am using RAD, 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.

  • #2
    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