Greg Monroe wrote:
> Some additional quick thoughts...
>
> You will also see the Broker message if you are doing two calls to
> Torque init, e.g. Torque is being initialized in two different web
> apps. They should be wrapped in a check to see if Torque has already
> been initialized.
public void init(ServletConfig config) throws ServletException {
String path =
config.getServletContext().getRealPath("/WEB-INF/torque.properties");
try {
if( !Torque.isInit() ) {
Torque.init(path);
}
PropertyConfigurator.configure(path);
} ....
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]