Solved the problem. Removed @Local({FileServiceLocalBusiness.class, FileServiceWs.class}) from the implementing class and put it in each business interface instead.
public interface FileService {
...
}
@Local
public interface FileServiceLocalBusiness extends FileService {
...
}
@Local
@Path("file")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public interface FileServiceWs extends FileService {
...
}
@Stateless
public class FileServiceImpl implements FileServiceLocalBusiness, FileServiceWs {
...
}