<%!
static String invLock = "lock";
static int invCount;
HttpSession session;
HttpServletRequest request;
JspWriter out;
String OK = "
OK
";
String FAIL = "
FAIL
";
/**
* The main method of this JSP
*/
public void main(HttpServletRequest request, HttpSession session, JspWriter out) throws Exception {
this.request = request;
this.session = session;
this.out = out;
try {
// The openejb.home must be set
out.print("
");
}
}
String NO_HOME = "The openejb.home is not set.";
String BAD_HOME = "Invalid openejb.home: ";
String NOT_THERE = "The path specified does not exist.";
String NOT_DIRECTORY = "The path specified is not a directory.";
String NO_LIB = "The path specified is not correct, it does not contain a 'lib' directory.";
String INSTRUCTIONS = "Please edit the web.xml of the openejb_loader webapp and set the openejb.home init-param to the full path where OpenEJB is installed.";
private void handleError(String m1, String m2, String m3) throws Exception {
String msg = " Please Fix: