Access permission exceptions when calling RMI from within Tomcat servlet.

2006-02-23 Thread Johnny Tolliver
I have a simple RMI server that I need a Tomcat servlet to access. A very simple command-line app accesses the RMI server just fine with the following code: registry = LocateRegistry.getRegistry (host); xxx = (XXX) registry.lookup (name); But when I move the same code into my servlet I get stran

RE: JULI ConsoleHandler custom formatter

2005-11-07 Thread Johnny Tolliver
[Sorry if this is posted twice. First try seems to have failed.] Remy Maucherat <[EMAIL PROTECTED]> wrote: > java.util.logging.ConsoleHandler will only load formatter classes from > the system classloader. Ahhh... now I remember that constraint. Thanks for reminding me. In a regular Java app, I

JULI ConsoleHandler custom formatter

2005-11-02 Thread Johnny Tolliver
I use JULI for my servlet logging and am having trouble defining a custom formatter for console handler output. An excerpt of my logging.properties file is this: handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler .level=INFO org.apache.juli.FileHandler.formatter = m