This is an automated email from the ASF dual-hosted git repository. jgallimore pushed a commit to branch tomee-1.7.x in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 4b24fae3fbb63803b2df32ab39db334de3fd40e8 Author: Jonathan Gallimore <[email protected]> AuthorDate: Mon Feb 25 17:07:37 2019 +0000 Update JNDI --- examples/ejb-remote-call/src/test/java/org/superbiz/remote/App.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ejb-remote-call/src/test/java/org/superbiz/remote/App.java b/examples/ejb-remote-call/src/test/java/org/superbiz/remote/App.java index b60ce0f..8313128 100644 --- a/examples/ejb-remote-call/src/test/java/org/superbiz/remote/App.java +++ b/examples/ejb-remote-call/src/test/java/org/superbiz/remote/App.java @@ -29,7 +29,7 @@ public class App { properties.put(Context.PROVIDER_URL, "http://localhost:8080/tomee/ejb"); Context ctx = new InitialContext(properties); - Object ref = ctx.lookup("global/ejb-remote-call-8.0.0-SNAPSHOT/Calculator!org.superbiz.remote.Calculator"); + Object ref = ctx.lookup("global/ejb-remote-call-1.1.1-SNAPSHOT/Calculator!org.superbiz.remote.Calculator"); Calculator calculator = Calculator.class.cast(ref); System.out.println(calculator.sum(1, 2));
