If there are two session beans with the same class name in one EAR archive, in separate JARs, then Weld only discovers one of them, randomly.
Example deployment scenario:
test.ear |-- ejb-jar1.jar |-- p1.MyEjb.class |-- ejb-jar2.jar |-- p2.MyEjb.class