I have two ear, One ear is having .jar files(For EJB) & other have .war(with .jar's having different .class files). If setting the visibility to server then during the start up of the server it says that Home not found & if removing a .jar file from .war & then putting this .jar it works properly. But this creates problem when starting the application since it(.war) does not find some classes(which is in .jar & now is on the server class path) & give other error like class not found. If I am putting the .jar file in the server class path & in the .war also then it gives some verify error(it says that the method signature does not match while the .class file & all is ok)