Hi
We have to create an EAR file that should have two WAR files. But these two WAR files share common application libraries. The two WAR files are build and added to EAR. When this EAR is deployed, the common classes are loaded twice resulting in duplicate schedulers. How can these common libraries be loaded only once? should they be removed from one WAR file?
This is for jboss. The actual problem is, there are some dao classes and quartz schedulers in those common jars. they are started when war is deployed. If they are common, when two wars are deployed, the schedulers, dao connections etc are loaded twice. I want to avoid that.