In my application i want to see runtime errors in server log. For example when i'm missing a column in a table and database driver throws an sql exception.
I think this is equivelent to this: Server - side: @Remote public interface NewClassRemote { public void test(); } @Stateless public class NewClass implements NewClassRemote { @Override public void test() { throw new UnsupportedOperationException("user defined exception"); } } Client - side: public class TestClient { static InitialContext ctx; public static void main(String[] agrs) throws MalformedURLException, NamingException { Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, org.apache.openejb.client.RemoteInitialContextFactory"); p.put("java.naming.provider.url", "http://127.0.0.1:8080/tomee/ejb"); ctx = new InitialContext(p); ((NewClassRemote) ctx.lookup("NewClassRemote")).test(); } } -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663314.html Sent from the OpenEJB User mailing list archive at Nabble.com.