<% out.print(""); %> <%@ page import="org.apache.tomee.installer.Installer" %> <%@ page import="java.io.File" %> <%@ page import="org.apache.tomee.installer.Paths" %> <%@ page import="java.util.List" %> <%@ page import="java.util.ArrayList" %> <% Installer installer = (Installer) request.getAttribute("installer"); Paths paths = (Paths) request.getAttribute("paths"); %> OpenEJB/Tomcat
OpenEJB Index JNDI EJB Class Invoke
   



OpenEJB Installer

<% if (installer != null) { if (installer.getStatus() == Installer.Status.REBOOT_REQUIRED) { %>
<% for (String info : installer.getAlerts().getInfos()) { %> <% } %>
<%= info %> DONE


The installer has completed successfully.
Please, restart Tomcat and reload this page to verify installation. <% } else { List errors = new ArrayList(paths.getErrors()); errors.addAll(installer.getAlerts().getErrors()); if (!errors.isEmpty()) { %> Installation Failed


<% for (String error : errors) { %> <% } %>
<%= error %>


<% } else { %>
<% if (installer.isListenerInstalled()) { %> <% } else { %> <% } %> <% if (installer.isAgentInstalled()) { %> <% } else { %> <% } %>
Tomcat Listener InstalledYESNO
JavaAgent InstalledYESNO


<% } %> <% if (installer.getStatus() == Installer.Status.NONE) { if (errors.isEmpty()) { %> Please verify the file paths are correct and click the install button. <% } else { %> Try again? <% } %>

Catalina Home:
Catalina Base:
Catalina server.xml:

<% } else { %> Installation Successful! <% } } %>



<% } %>
 
<%! private String safeGetAbsolutePath(File file) { if (file == null) return ""; return file.getAbsolutePath(); } %>