if (!sh.configure(100000))
{ System.err.println("Failed to configure within 100 secs");
System.exit(-1);
}
// Set the output content type and realize the processor
p.setContentDescriptor(new
FileTypeDescriptor(outputType));
if (!sh.realize(100000))
{
System.err.println("Failed to realize within 100 secs");
System.exit(-1);