Hi,
I am trying to get the reference of spring bean by passing its name which is defined in the spring configuration file. Instead of getting the referece, I am ended up with null. I couldn't find out the actual cause of it.My spring applications are logically diveded into parts based on the product.
I have two stand alone pplications( but inter dependent), i.e Global Admin and Policy Star.
All the services related to Global app are defined in global-svc-spring.xml and global-cfg-spring.xml
All the services related to Policy star app are defined in ps-svc-spring.xml and ps-cfg-spring.xml
These two applications have their own independent databases.
Fro example When I try to invoke
gbl-svc-sysadmin service defined in the global-svc-spring.xml, I ended with Null instead of the reference. which is defiend as follows.
Which is internally depend on
gbl-sv (because it is parent of the above service)service which is defiend as follows.
Which is in turn depend on the beans
gbl-cfg-db and
gbl-rules which are defined in the
global-cfg-spring.xml as follows.
But If I invoke any service defiened in the
ps-svc-spring.xml, it is successfully gettting invoked. which also has the same structure. Only the global services cannot be invoked. They are ended up with null.
The server, I am using is
JBoss 4.2.2 GA.
Any help is highly appriciated.