File tree 2 files changed +0
-8
lines changed
instrumentation/spring/spring-rmi-4.0/javaagent
src/test/java/io/opentelemetry/javaagent/instrumentation/spring/rmi/v4_0
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ dependencies {
21
21
library(" org.springframework:spring-aop:4.0.0.RELEASE" )
22
22
testLibrary(" org.springframework.boot:spring-boot:1.1.0.RELEASE" )
23
23
testImplementation(" org.apache.tomee:openejb-core:8.0.16" )
24
- testImplementation(" org.apache.tomee:openejb-ejbd:8.0.16" )
25
- testImplementation(" org.apache.tomee:openejb-client:8.0.16" )
26
24
27
25
// rmi remoting was removed in spring 6
28
26
latestDepTestLibrary(" org.springframework:spring-context:5.+" ) // documented limitation
Original file line number Diff line number Diff line change 26
26
import java .util .function .Consumer ;
27
27
import javax .ejb .EJBException ;
28
28
import javax .ejb .embeddable .EJBContainer ;
29
- import javax .naming .spi .NamingManager ;
30
- import org .apache .openejb .OpenEjbContainer ;
31
- import org .apache .openejb .client .RemoteInitialContextFactory ;
32
29
import org .junit .jupiter .api .AfterAll ;
33
30
import org .junit .jupiter .api .BeforeAll ;
34
31
import org .junit .jupiter .api .extension .RegisterExtension ;
@@ -92,10 +89,7 @@ static void beforeAll() throws Exception {
92
89
Map <String , Object > map = new HashMap <>();
93
90
map .put (EJBContainer .APP_NAME , "test" );
94
91
map .put (EJBContainer .MODULES , new java .io .File ("build/classes/java/test" ));
95
- map .put (OpenEjbContainer .OPENEJB_EMBEDDED_REMOTABLE , "true" );
96
92
ejbContainer = EJBContainer .createEJBContainer (map );
97
- // needed to ensure that remote ejb call isn't optimized to a local call
98
- NamingManager .setInitialContextFactoryBuilder (environment -> new RemoteInitialContextFactory ());
99
93
100
94
Map <String , Object > props = new HashMap <>();
101
95
props .put ("spring.jmx.enabled" , false );
You can’t perform that action at this time.
0 commit comments