diff --git a/.classpath b/.classpath index 6a1b0bdaca..a678b32e4f 100644 --- a/.classpath +++ b/.classpath @@ -1,6 +1,8 @@ + + @@ -29,15 +31,10 @@ - - - - - @@ -91,10 +88,6 @@ - - - - @@ -120,5 +113,9 @@ + + + + diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index de81d9952e..e2eeb33dc8 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -20,6 +20,8 @@ + + diff --git a/JasperReports/build.xml b/JasperReports/build.xml index 67275bbad5..a6329073be 100644 --- a/JasperReports/build.xml +++ b/JasperReports/build.xml @@ -73,7 +73,7 @@ - + diff --git a/JasperReports/src/org/compiere/interfaces/MD5.java b/JasperReports/src/org/compiere/interfaces/MD5.java index ae86e59f86..59a068ae39 100644 --- a/JasperReports/src/org/compiere/interfaces/MD5.java +++ b/JasperReports/src/org/compiere/interfaces/MD5.java @@ -3,24 +3,28 @@ */ package org.compiere.interfaces; +import javax.ejb.Remote; /** * Remote interface for compiere/MD5. - * @xdoclet-generated at Feb 27, 2006 1:18:49 PM */ +@Remote public interface MD5 - extends javax.ejb.EJBObject { + public final static String JNDI_NAME = "ejb/compiere/MD5"; + + public final static String EJB_NAME = "compiereMD5"; + /** * Business method * @param Filename * @return AbsolutePath on server */ - public java.lang.String getFileAsolutePath( java.lang.String Filename ) throws java.rmi.RemoteException; + public java.lang.String getFileAsolutePath( java.lang.String Filename ); /** * Business method * @param FileName * @return hash base64 encoded */ - public java.lang.String getFileMD5( java.lang.String FileName ) throws java.rmi.RemoteException; + public java.lang.String getFileMD5( java.lang.String FileName ); } diff --git a/JasperReports/src/org/compiere/interfaces/MD5Home.java b/JasperReports/src/org/compiere/interfaces/MD5Home.java deleted file mode 100644 index 699608c7b4..0000000000 --- a/JasperReports/src/org/compiere/interfaces/MD5Home.java +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Generated file - Do not edit! - */ -package org.compiere.interfaces; - - -/** - * Home interface for compiere/MD5. Lookup using {1} - * @xdoclet-generated at Feb 27, 2006 1:18:49 PM - */ -public interface MD5Home - extends javax.ejb.EJBHome -{ - public static final String COMP_NAME="java:comp/env/ejb/compiere/MD5"; - public static final String JNDI_NAME="ejb/compiere/MD5"; - - public org.compiere.interfaces.MD5 create() throws javax.ejb.CreateException, java.rmi.RemoteException; - -} diff --git a/JasperReports/src/org/compiere/report/ReportStarter.java b/JasperReports/src/org/compiere/report/ReportStarter.java index 2d9cb357b8..04def55275 100644 --- a/JasperReports/src/org/compiere/report/ReportStarter.java +++ b/JasperReports/src/org/compiere/report/ReportStarter.java @@ -17,7 +17,6 @@ import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.UnknownHostException; -import java.rmi.RemoteException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; @@ -31,8 +30,6 @@ import java.util.Map; import java.util.Properties; import java.util.PropertyResourceBundle; -import javax.ejb.CreateException; -import javax.ejb.RemoveException; import javax.naming.InitialContext; import javax.naming.NamingException; @@ -47,7 +44,6 @@ import net.sf.jasperreports.engine.util.JRLoader; import org.compiere.db.CConnection; import org.compiere.interfaces.MD5; -import org.compiere.interfaces.MD5Home; import org.compiere.model.MAttachment; import org.compiere.model.MAttachmentEntry; import org.compiere.model.MProcess; @@ -134,13 +130,13 @@ public class ReportStarter implements ProcessCall, ClientProcess { { try { - Class md5HomeClass = Class.forName("org.compiere.interfaces.MD5Home"); + Class md5Class = Class.forName("org.compiere.interfaces.MD5"); log.info("EJB client for MD5 remote hashing is present"); return true; } catch (ClassNotFoundException e) { - log.warning("EJB Client for MD5 remote hashing absent\nyou need the class org.compiere.interfaces.MD5Home - from webEJB-client.jar - in classpath"); + log.warning("EJB Client for MD5 remote hashing absent\nyou need the class org.compiere.interfaces.MD5 - from webEJB-client.jar - in classpath"); return false; } } @@ -164,11 +160,9 @@ public class ReportStarter implements ProcessCall, ClientProcess { context = new InitialContext(env); if (isRequestedonAS(requestURL) && isMD5HomeInterfaceAvailable()) { - MD5Home home = (MD5Home)context.lookup(MD5Home.JNDI_NAME); - MD5 md5 = home.create(); + MD5 md5 = (MD5) context.lookup(MD5.JNDI_NAME); md5Hash = md5.getFileMD5(requestedURLString); log.info("MD5 for " + requestedURLString + " is " + md5Hash); - md5.remove(); } } @@ -180,18 +174,6 @@ public class ReportStarter implements ProcessCall, ClientProcess { log.warning("Unable to create jndi context did you deployed webApp.ear package?\nRemote hashing is impossible"); return null; } - catch (RemoteException e){ - log.warning("Unknown remote error exception"); - return null; - } - catch(CreateException e){ - log.warning("Error in RemoteInterface creation"); - return null; - } - catch(RemoveException e){ - log.warning("Error in RemoteInterface removing"); - return null; - } return md5Hash; } diff --git a/JasperReportsWebApp/build.xml b/JasperReportsWebApp/build.xml index da22a6de0c..8bf13304d8 100644 --- a/JasperReportsWebApp/build.xml +++ b/JasperReportsWebApp/build.xml @@ -19,7 +19,7 @@ - + @@ -27,16 +27,11 @@ ------ Compiling webApp - + - - ------ Executing xdoclet - - - ------ packaging @@ -57,7 +52,7 @@ - + diff --git a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/application.xml b/JasperReportsWebApp/deploy/WebApp.ear/META-INF/application.xml index fa7c460f01..fba4920ffc 100644 --- a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/application.xml +++ b/JasperReportsWebApp/deploy/WebApp.ear/META-INF/application.xml @@ -1,9 +1,8 @@ - + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" + version="5"> Web App webAppEJB.jar diff --git a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/ejb-jar.xml b/JasperReportsWebApp/deploy/WebApp.ear/META-INF/ejb-jar.xml deleted file mode 100644 index 3f7e18a484..0000000000 --- a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/ejb-jar.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - No Description. - Generated by XDoclet - - - - - - - Compiere Server MD5 hash computation - - compiere/MD5 - - org.compiere.interfaces.MD5Home - org.compiere.interfaces.MD5 - org.compiere.ejb.MD5Bean - Stateless - Bean - - - ejb/compiere/MD5 - Session - org.compiere.interfaces.MD5Home - org.compiere.interfaces.MD5 - compiere/MD5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/jboss.xml b/JasperReportsWebApp/deploy/WebApp.ear/META-INF/jboss.xml index ff00bff041..832ffa1842 100644 --- a/JasperReportsWebApp/deploy/WebApp.ear/META-INF/jboss.xml +++ b/JasperReportsWebApp/deploy/WebApp.ear/META-INF/jboss.xml @@ -1,12 +1,14 @@ - + - compiere/MD5 + compiereMD5 ejb/compiere/MD5 diff --git a/JasperReportsWebApp/deploy/WebApp.ear/webApp.war/WEB-INF/web.xml b/JasperReportsWebApp/deploy/WebApp.ear/webApp.war/WEB-INF/web.xml index 046410ec5e..a1ab00da09 100644 --- a/JasperReportsWebApp/deploy/WebApp.ear/webApp.war/WEB-INF/web.xml +++ b/JasperReportsWebApp/deploy/WebApp.ear/webApp.war/WEB-INF/web.xml @@ -92,7 +92,6 @@ ejb/compiere/MD5 Session - org.compiere.interfaces.MD5Home org.compiere.interfaces.MD5 diff --git a/JasperReportsWebApp/src/META-INF/application.xml b/JasperReportsWebApp/src/META-INF/application.xml index fa7c460f01..43753dbb75 100644 --- a/JasperReportsWebApp/src/META-INF/application.xml +++ b/JasperReportsWebApp/src/META-INF/application.xml @@ -1,10 +1,9 @@ - - Web App + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" + version="5"> + JasperReport Web App webAppEJB.jar diff --git a/JasperReportsWebApp/src/META-INF/ejb-jar.xml b/JasperReportsWebApp/src/META-INF/ejb-jar.xml deleted file mode 100644 index 81ee087bde..0000000000 --- a/JasperReportsWebApp/src/META-INF/ejb-jar.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - No Description. - Generated by XDoclet - - - - - - - Compiere Server MD5 hash computation - - compiere/MD5 - - org.compiere.interfaces.MD5Home - org.compiere.interfaces.MD5 - org.compiere.ejb.MD5Bean - Stateless - Bean - - - ejb/compiere/MD5 - Session - org.compiere.interfaces.MD5Home - org.compiere.interfaces.MD5 - compiere/MD5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/JasperReportsWebApp/src/META-INF/jboss.xml b/JasperReportsWebApp/src/META-INF/jboss.xml index ca60ebc742..870e8150ee 100644 --- a/JasperReportsWebApp/src/META-INF/jboss.xml +++ b/JasperReportsWebApp/src/META-INF/jboss.xml @@ -1,12 +1,14 @@ - - + + - compiere/MD5 + compiereMD5 ejb/compiere/MD5 diff --git a/JasperReportsWebApp/src/WEB-INF/web.xml b/JasperReportsWebApp/src/WEB-INF/web.xml index 770301b2ea..6ebe8a1928 100644 --- a/JasperReportsWebApp/src/WEB-INF/web.xml +++ b/JasperReportsWebApp/src/WEB-INF/web.xml @@ -1,100 +1,98 @@ - - - - - - - - - - - - - - - GetMD5File - Name for GetMD5File - - org.compiere.web.GetMD5FileServlet - - - A parameter - A value - - - - - - - - GetMD5File - /GetMD5File - - - - - - - - - - - - ejb/compiere/MD5 - Session - org.compiere.interfaces.MD5Home - org.compiere.interfaces.MD5 - - - + + + + + + + + + + + + + GetMD5File + + org.compiere.web.GetMD5FileServlet + + + + A parameter + A value + + + + + + + + GetMD5File + /GetMD5File + + + + + + + + + + + + ejb/compiere/MD5 + Session + + + diff --git a/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java b/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java index 75fab01a3d..9b6f43407c 100644 --- a/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java +++ b/JasperReportsWebApp/src/org/compiere/ejb/MD5Bean.java @@ -7,28 +7,19 @@ package org.compiere.ejb; import java.net.URL; -import java.rmi.RemoteException; -import javax.ejb.CreateException; -import javax.ejb.EJBException; -import javax.ejb.SessionBean; -import javax.ejb.SessionContext; +import javax.ejb.Stateless; +import org.compiere.interfaces.MD5; import org.compiere.util.CLogger; import org.compiere.utils.DigestOfFile; /** - * @ejb:bean name="compiere/MD5" - * display-name="Compiere Server MD5 hash computation" - * type="Stateless" - * transaction-type="Bean" - * jndi-name="ejb/compiere/MD5" - * view-type="remote" - * * @ejb:ejb-ref ejb-name="compiere/MD5" * ref-name="compiere/MD5" */ -public class MD5Bean implements SessionBean { +@Stateless(mappedName=MD5.JNDI_NAME, name=MD5.EJB_NAME) +public class MD5Bean implements MD5 { private static final long serialVersionUID = 1L; /** @@ -41,53 +32,8 @@ public class MD5Bean implements SessionBean { log = CLogger.getCLogger(MD5Bean.class); } - /* (non-Javadoc) - * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) - */ - public void setSessionContext(SessionContext ctx) - throws EJBException, - RemoteException { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see javax.ejb.SessionBean#ejbRemove() - */ - public void ejbRemove() throws EJBException, RemoteException { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see javax.ejb.SessionBean#ejbActivate() - */ - public void ejbActivate() throws EJBException, RemoteException { - // TODO Auto-generated method stub - - } - - /* (non-Javadoc) - * @see javax.ejb.SessionBean#ejbPassivate() - */ - public void ejbPassivate() throws EJBException, RemoteException { - // TODO Auto-generated method stub - - } - - /** - * Default create method - * - * @throws CreateException - * @ejb.create-method - */ - public void ejbCreate() throws CreateException { - // TODO Auto-generated method stub - } - /** * Business method - * @ejb.interface-method view-type = "remote" * @param FileName * @return hash base64 encoded */ @@ -131,7 +77,6 @@ public class MD5Bean implements SessionBean { /** * Business method - * @ejb.interface-method view-type = "remote" * @param Filename * @return AbsolutePath on server */ diff --git a/JasperReportsWebApp/src/org/compiere/interfaces/MD5.java b/JasperReportsWebApp/src/org/compiere/interfaces/MD5.java index 7c936ca69c..59a068ae39 100644 --- a/JasperReportsWebApp/src/org/compiere/interfaces/MD5.java +++ b/JasperReportsWebApp/src/org/compiere/interfaces/MD5.java @@ -3,23 +3,28 @@ */ package org.compiere.interfaces; +import javax.ejb.Remote; + /** * Remote interface for compiere/MD5. - * @xdoclet-generated at Feb 27, 2006 1:18:49 PM */ +@Remote public interface MD5 - extends javax.ejb.EJBObject { + public final static String JNDI_NAME = "ejb/compiere/MD5"; + + public final static String EJB_NAME = "compiereMD5"; + /** * Business method * @param Filename * @return AbsolutePath on server */ - public java.lang.String getFileAsolutePath( java.lang.String Filename ) throws java.rmi.RemoteException; + public java.lang.String getFileAsolutePath( java.lang.String Filename ); /** * Business method * @param FileName * @return hash base64 encoded */ - public java.lang.String getFileMD5( java.lang.String FileName ) throws java.rmi.RemoteException; + public java.lang.String getFileMD5( java.lang.String FileName ); } diff --git a/JasperReportsWebApp/src/org/compiere/interfaces/MD5Home.java b/JasperReportsWebApp/src/org/compiere/interfaces/MD5Home.java deleted file mode 100644 index b5269330d8..0000000000 --- a/JasperReportsWebApp/src/org/compiere/interfaces/MD5Home.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Generated file - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Home interface for compiere/MD5. Lookup using {1} - * @xdoclet-generated at Feb 27, 2006 1:18:49 PM - */ -public interface MD5Home - extends javax.ejb.EJBHome -{ - public static final String COMP_NAME="java:comp/env/ejb/compiere/MD5"; - public static final String JNDI_NAME="ejb/compiere/MD5"; - - public org.compiere.interfaces.MD5 create() throws javax.ejb.CreateException, java.rmi.RemoteException; - -} diff --git a/JasperReportsWebApp/src/org/compiere/utils/MD5EjbTest.java b/JasperReportsWebApp/src/org/compiere/utils/MD5EjbTest.java index 7c564a705a..bd5262b1f9 100644 --- a/JasperReportsWebApp/src/org/compiere/utils/MD5EjbTest.java +++ b/JasperReportsWebApp/src/org/compiere/utils/MD5EjbTest.java @@ -12,7 +12,6 @@ import java.util.Hashtable; import javax.naming.InitialContext; import org.compiere.interfaces.MD5; -import org.compiere.interfaces.MD5Home; /** * @author rlemeill */ @@ -56,12 +55,10 @@ public class MD5EjbTest { public static void testEjb(String serverName, InitialContext context, String Filename) { try{ - System.out.println("MD5Home Creation at: "+MD5Home.JNDI_NAME); - MD5Home home = (MD5Home)context.lookup(MD5Home.JNDI_NAME); - MD5 md5 = home.create(); + System.out.println("MD5 Creation at: "+MD5.JNDI_NAME); + MD5 md5 = (MD5) context.lookup(MD5.JNDI_NAME); System.out.println("Creation OK"); System.out.println("MD5 for " + Filename + " is " +md5.getFileMD5(Filename)); - md5.remove(); } catch(Exception e) { diff --git a/JasperReportsWebApp/src/org/compiere/web/GetMD5FileServlet.java b/JasperReportsWebApp/src/org/compiere/web/GetMD5FileServlet.java index 4cf23390d2..fe7bb230a6 100644 --- a/JasperReportsWebApp/src/org/compiere/web/GetMD5FileServlet.java +++ b/JasperReportsWebApp/src/org/compiere/web/GetMD5FileServlet.java @@ -19,32 +19,16 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.compiere.interfaces.MD5; -import org.compiere.interfaces.MD5Home; - /** * Servlet Class - * - * @web.servlet name="GetMD5File" - * display-name="Name for GetMD5File" - * description="Description for GetMD5File" - * @web.servlet-mapping url-pattern="/GetMD5File" - * @web.servlet-init-param name="A parameter" - * value="A value" - * @web.ejb-ref name="ejb/compiere/MD5" - * type="Session" - * home = "org.compiere.interfaces.MD5Home" - * remote = "org.compiere.interfaces.MD5" - * - * @jboss.ejb-ref-jndi ref-name="ejb/compiere/MD5" - * jndi-name = "ejb/compiere/MD5" */ public class GetMD5FileServlet extends HttpServlet { /** * */ - private MD5Home home; + private MD5 md5; public GetMD5FileServlet() { super(); @@ -56,8 +40,7 @@ public class GetMD5FileServlet extends HttpServlet { try { Context context = new InitialContext(); - Object ref = context.lookup("java:/comp/env/ejb/compiere/MD5"); - home = (MD5Home)javax.rmi.PortableRemoteObject.narrow(ref,MD5Home.class); + md5 = (MD5) context.lookup("java:/comp/env/ejb/compiere/MD5"); } catch(Exception e) { @@ -69,20 +52,9 @@ public class GetMD5FileServlet extends HttpServlet { throws ServletException, IOException { // TODO Auto-generated method stub - MD5 md5=null; String file = req.getParameter("File"); PrintWriter out = resp.getWriter(); out.println("MD5 Hash"); - try - { - md5 = home.create(); - } - catch(javax.ejb.CreateException e) - { - out.println("

Error javax.ejb.CreateException home.create();

"); - out.println(""); - throw new ServletException("Error CreateException"); - } out.println("File is: "+ file + "
MD5 : "+ md5.getFileMD5(file)+"
"); //out.println(md5.getFileAsolutePath(file)); out.println(""); diff --git a/JasperReportsWebApp/xdoclet-build.xml b/JasperReportsWebApp/xdoclet-build.xml deleted file mode 100644 index 8b40e4696f..0000000000 --- a/JasperReportsWebApp/xdoclet-build.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------- -ATTENTION It needs xdoclet 1.2.3 in tools/lib$ -you can download it at http://xdoclet.sourceforge.net --------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/base/build.xml b/base/build.xml index 50a5b46696..fe54a34ffd 100644 --- a/base/build.xml +++ b/base/build.xml @@ -25,11 +25,12 @@ + - + @@ -51,7 +52,10 @@ - + + + + @@ -68,6 +72,13 @@
+ + + + + + + diff --git a/base/src/org/adempiere/as/IApplicationServer.java b/base/src/org/adempiere/as/IApplicationServer.java new file mode 100644 index 0000000000..e42b090445 --- /dev/null +++ b/base/src/org/adempiere/as/IApplicationServer.java @@ -0,0 +1,37 @@ +/****************************************************************************** + * Copyright (C) 2008 Low Heng Sin * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.as; + +import java.util.Hashtable; + +/** + * + * @author Low Heng Sin + * + */ +public interface IApplicationServer { + /** + * @param AppsHost + * @param AppsPort + * @param principal + * @param credential + * @return Environment to construct initial context + */ + public Hashtable getInitialContextEnvironment (String AppsHost, int AppsPort, String principal, + String credential); + + /** + * @return default naming service port + */ + public int getDefaultNamingServicePort(); +} diff --git a/base/src/org/compiere/db/CConnection.java b/base/src/org/compiere/db/CConnection.java index 7854fc60a3..05741340a6 100644 --- a/base/src/org/compiere/db/CConnection.java +++ b/base/src/org/compiere/db/CConnection.java @@ -24,6 +24,7 @@ import javax.naming.*; import javax.sql.*; import javax.swing.JOptionPane; +import org.adempiere.as.ASFactory; import org.compiere.*; import org.compiere.interfaces.*; import org.compiere.util.*; @@ -61,7 +62,12 @@ public class CConnection implements Serializable, Cloneable /** Connection Profile WAN */ @Deprecated public static final String PROFILE_WAN = "W"; - + + private final static String COMPONENT_NS = "java:comp/env"; + + /** Prefer component namespace when running at server **/ + private boolean useComponentNamespace = !Ini.isClient(); + /** * Get/Set default client/server Connection * @return Connection Descriptor @@ -89,7 +95,7 @@ public class CConnection implements Serializable, Cloneable { cc = new CConnection(apps_host); cc.setConnectionProfile(CConnection.PROFILE_LAN); - cc.setAppsPort(DEFAULT_APP_SERVER_PORT); + cc.setAppsPort(ASFactory.getApplicationServer().getDefaultNamingServicePort()); if (cc.testAppsServer() == null) { s_cc = cc; @@ -168,7 +174,7 @@ public class CConnection implements Serializable, Cloneable * Adempiere Connection * @param host optional application/db host */ - private CConnection (String host) + public CConnection (String host) { if (host != null) { @@ -177,17 +183,14 @@ public class CConnection implements Serializable, Cloneable } } // CConnection - /** Default jboss port **/ - private final static int DEFAULT_APP_SERVER_PORT = 1099; - /** Name of Connection */ private String m_name = "Standard"; /** Application Host */ private String m_apps_host = "MyAppsServer"; /** Application Port */ - private int m_apps_port = DEFAULT_APP_SERVER_PORT; - + private int m_apps_port = ASFactory.getApplicationServer().getDefaultNamingServicePort(); + /** Database Type */ private String m_type = ""; @@ -241,7 +244,7 @@ public class CConnection implements Serializable, Cloneable private String m_dbInfo = null; /** Had application server been query **/ - private boolean m_queryAppsServer = false; + private boolean m_queryAppsServer = false; private final static String SECURITY_PRINCIPAL = "org.adempiere.security.principal"; @@ -339,35 +342,45 @@ public class CConnection implements Serializable, Cloneable */ public boolean isAppsServerOK (boolean tryContactAgain) { - if (!tryContactAgain && m_queryAppsServer) + if (Ini.isClient() && !tryContactAgain && m_queryAppsServer) return m_okApps; + // Carlos Ruiz - globalqss - speed up when jnp://MyAppsServer:1099 is set + if (getAppsHost().equalsIgnoreCase("MyAppsServer")) { + log.warning (getAppsHost() + " ignored"); + return false; + } + m_queryAppsServer = true; - // Get Context - if (m_iContext == null) - { - getInitialContext (false); - if (!m_okApps) - return false; - } - // Contact it try { - StatusHome statusHome = (StatusHome)m_iContext.lookup (StatusHome.JNDI_NAME); - Status status = statusHome.create (); + Status status = (Status)lookup (Status.JNDI_NAME); m_version = status.getDateVersion (); - status.remove (); m_okApps = true; } catch (Exception ce) { m_okApps = false; + String connect = (String)m_env.get(Context.PROVIDER_URL); + if (connect == null || connect.trim().length() == 0) + connect = getAppsHost() + ":" + getAppsPort(); + log.warning (connect + + "\n - " + ce.toString () + + "\n - " + m_env); + ce.printStackTrace(); } catch (Throwable t) { m_okApps = false; + String connect = (String)m_env.get(Context.PROVIDER_URL); + if (connect == null || connect.trim().length() == 0) + connect = getAppsHost() + ":" + getAppsPort(); + log.warning (connect + + "\n - " + t.toString () + + "\n - " + m_env); + t.printStackTrace(); } return m_okApps; } // isAppsOK @@ -376,11 +389,9 @@ public class CConnection implements Serializable, Cloneable * Test ApplicationServer * @return Exception or null */ - public Exception testAppsServer () + public synchronized Exception testAppsServer () { - //if (queryAppsServerInfo ()) - // testDatabase (false); - queryAppsServerInfo (); + queryAppsServerInfo(); return getAppsServerException (); } // testAppsServer @@ -395,21 +406,18 @@ public class CConnection implements Serializable, Cloneable { try { - InitialContext ic = getInitialContext (Ini.isClient()); - if (ic != null) - { - ServerHome serverHome = (ServerHome)ic.lookup (ServerHome.JNDI_NAME); - if (serverHome != null) - if (Ini.isClient()) - m_server = serverHome.create(); - else - return serverHome.create(); - } + Server server = (Server)lookup (Server.JNDI_NAME); + if (server != null) + if (Ini.isClient()) + m_server = server; + else + return server; } catch (Exception ex) { log.log(Level.SEVERE, "", ex); m_iContext = null; + throw new RuntimeException(ex); } } return m_server; @@ -1375,8 +1383,10 @@ public class CConnection implements Serializable, Cloneable if (m_env == null || !useCache) { SecurityPrincipal sp = (SecurityPrincipal) Env.getCtx().get(SECURITY_PRINCIPAL); - m_env = getInitialEnvironment(getAppsHost(), getAppsPort(), isRMIoverHTTP(), - sp != null ? sp.principal : null, sp != null ? sp.credential : null); + String principal = sp != null ? sp.principal : null; + String credential = sp != null ? sp.credential : null; + m_env = getInitialEnvironment(getAppsHost(), getAppsPort(), false, + principal, credential); } String connect = (String)m_env.get(Context.PROVIDER_URL); Env.setContext(Env.getCtx(), Context.PROVIDER_URL, connect); @@ -1402,76 +1412,22 @@ public class CConnection implements Serializable, Cloneable return m_iContext; } // getInitialContext - public static Hashtable getInitialEnvironment (String AppsHost, int AppsPort, - boolean RMIoverHTTP) - { - return getInitialEnvironment(AppsHost, AppsPort, RMIoverHTTP, null, null); - } - /** * Get Initial Environment * @param AppsHost host * @param AppsPort port - * @param RMIoverHTTP ignore + * @param RMIoverHTTP ignore, retained for backward compatibility * @param principal * @param credential * @return environment */ - public static Hashtable getInitialEnvironment (String AppsHost, int AppsPort, + private Hashtable getInitialEnvironment (String AppsHost, int AppsPort, boolean RMIoverHTTP, String principal, String credential) { - // Set Environment - Hashtable env = new Hashtable(); - String connect = AppsHost; - if (AppsHost.indexOf("://") == -1) - connect = "jnp://" + AppsHost + ":" + AppsPort; - env.put (Context.PROVIDER_URL, connect); - env.put (Context.URL_PKG_PREFIXES, "org.jboss.naming.client"); - // HTTP - default timeout 0 - env.put (org.jnp.interfaces.TimedSocketFactory.JNP_TIMEOUT, "5000"); // timeout in ms - env.put (org.jnp.interfaces.TimedSocketFactory.JNP_SO_TIMEOUT, "5000"); - // JNP - default timeout 5 sec - env.put(org.jnp.interfaces.NamingContext.JNP_DISCOVERY_TIMEOUT, "5000"); - - if (principal != null && credential != null) - { - env.put (Context.INITIAL_CONTEXT_FACTORY,"org.jboss.security.jndi.JndiLoginInitialContextFactory"); - env.put(Context.SECURITY_PRINCIPAL, principal); - env.put(Context.SECURITY_CREDENTIALS, credential); - } - else - { - env.put (Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); - } - - return env; + return ASFactory.getApplicationServer() + .getInitialContextEnvironment(AppsHost, AppsPort, principal, credential); } // getInitialEnvironment - /** - * Get Initial Context - * @param env environment - * @return Initial Context - */ - public static InitialContext getInitialContext (Hashtable env) - { - InitialContext iContext = null; - try - { - iContext = new InitialContext (env); - } - catch (Exception ex) - { - log.warning ("URL=" + env.get(Context.PROVIDER_URL) - + "\n - " + ex.toString () - + "\n - " + env); - iContext = null; - if (CLogMgt.isLevelFinest()) - ex.printStackTrace(); - } - return iContext; - } // getInitialContext - - /** * Query Application Server Status. * update okApps @@ -1484,10 +1440,6 @@ public class CConnection implements Serializable, Cloneable m_okApps = false; m_queryAppsServer = true; m_appsException = null; - // - getInitialContext (false); - if (m_iContext == null) - return m_okApps; // false // Carlos Ruiz - globalqss - speed up when jnp://MyAppsServer:1099 is set if (getAppsHost().equalsIgnoreCase("MyAppsServer")) { @@ -1495,35 +1447,36 @@ public class CConnection implements Serializable, Cloneable return m_okApps; // false } - // Prevent error trace - // CLogMgtLog4J.enable(false); try { - StatusHome statusHome = (StatusHome)m_iContext.lookup (StatusHome.JNDI_NAME); - Status status = statusHome.create (); + Status status = (Status)lookup (Status.JNDI_NAME); // updateInfoFromServer(status); // - status.remove (); m_okApps = true; } catch (CommunicationException ce) // not a "real" error { m_appsException = ce; String connect = (String)m_env.get(Context.PROVIDER_URL); + if (connect == null || connect.trim().length() == 0) + connect = getAppsHost() + ":" + getAppsPort(); log.warning (connect + "\n - " + ce.toString () + "\n - " + m_env); + ce.printStackTrace(); } catch (Exception e) { m_appsException = e; String connect = (String)m_env.get(Context.PROVIDER_URL); + if (connect == null || connect.trim().length() == 0) + connect = getAppsHost() + ":" + getAppsPort(); log.warning (connect + "\n - " + e.toString () + "\n - " + m_env); + e.printStackTrace(); } - CLogMgtLog4J.enable(true); log.fine("Success=" + m_okApps + " - " + (System.currentTimeMillis()-start) + "ms"); return m_okApps; } // setAppsServerInfo @@ -1638,6 +1591,27 @@ public class CConnection implements Serializable, Cloneable return c; } + private Object lookup(String jndiName) throws NamingException { + InitialContext ctx = getInitialContext(Ini.isClient()); + + if (useComponentNamespace) + { + try + { + return ctx.lookup(COMPONENT_NS + "/" + jndiName); + } + catch (Exception e) + { + log.warning("Component name space not available - " + e.getLocalizedMessage()); + //not available + useComponentNamespace = false; + } + } + + //global jndi lookup + return ctx.lookup(jndiName); + } + /************************************************************************** * Testing * @param args ignored diff --git a/base/src/org/compiere/db/TestEJB.java b/base/src/org/compiere/db/TestEJB.java index 95bd82ac46..1bbcc0fef9 100644 --- a/base/src/org/compiere/db/TestEJB.java +++ b/base/src/org/compiere/db/TestEJB.java @@ -57,8 +57,7 @@ public class TestEJB // try { - StatusHome statusHome = (StatusHome)ic.lookup ("Status"); - Status status = statusHome.create (); + Status status = (Status)ic.lookup ("Status"); // } catch (CommunicationException ce) // not a "real" error diff --git a/base/src/org/compiere/interfaces/Server.java b/base/src/org/compiere/interfaces/Server.java index 5aa1609883..d9be4475c6 100644 --- a/base/src/org/compiere/interfaces/Server.java +++ b/base/src/org/compiere/interfaces/Server.java @@ -1,14 +1,20 @@ -/* - * Generated by XDoclet - Do not edit! - */ + package org.compiere.interfaces; +import java.util.Properties; + +import org.compiere.process.ProcessInfo; +import org.compiere.util.EMail; + /** - * Remote interface for adempiere/Server. + * Interface for adempiere/Server. */ public interface Server - extends javax.ejb.EJBObject { + public final static String JNDI_NAME = "adempiere/Server"; + + public final static String EJB_NAME = "adempiereServer"; + /** * Post Immediate * @param ctx Client Context @@ -16,18 +22,17 @@ public interface Server * @param AD_Table_ID Table ID of Document * @param Record_ID Record ID of this document * @param force force posting - * @param trxName transaction + * @param trxName ignore, retained for backward compatibility * @return null, if success or error message */ - public java.lang.String postImmediate( java.util.Properties ctx,int AD_Client_ID,int AD_Table_ID,int Record_ID,boolean force,java.lang.String trxName ) - throws java.rmi.RemoteException; + public String postImmediate( Properties ctx, int AD_Client_ID, int AD_Table_ID, + int Record_ID, boolean force, String trxName); /** * Process Remote * @param ctx Context * @param pi Process Info * @return resulting Process Info */ - public org.compiere.process.ProcessInfo process( java.util.Properties ctx,org.compiere.process.ProcessInfo pi ) - throws java.rmi.RemoteException; + public ProcessInfo process( Properties ctx, ProcessInfo pi ); /** * Run Workflow (and wait) on Server @@ -35,8 +40,7 @@ public interface Server * @param pi Process Info * @param AD_Workflow_ID id * @return process info */ - public org.compiere.process.ProcessInfo workflow( java.util.Properties ctx,org.compiere.process.ProcessInfo pi,int AD_Workflow_ID ) - throws java.rmi.RemoteException; + public ProcessInfo workflow( Properties ctx, ProcessInfo pi, int AD_Workflow_ID ); /** * Create EMail from Server (Request User) @@ -46,8 +50,8 @@ public interface Server * @param subject subject * @param message message * @return EMail */ - public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) - throws java.rmi.RemoteException; + public EMail createEMail( Properties ctx, int AD_Client_ID, String to, + String subject, String message ); /** * Create EMail from Server (Request User) @@ -58,36 +62,31 @@ public interface Server * @param subject subject * @param message message * @return EMail */ - public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,int AD_User_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) - throws java.rmi.RemoteException; - + public EMail createEMail( Properties ctx, int AD_Client_ID, int AD_User_ID, + String to, String subject, String message ); + /** * Execute task on server * @param AD_Task_ID task * @return execution trace */ - public java.lang.String executeTask( int AD_Task_ID ) - throws java.rmi.RemoteException; + public String executeTask( int AD_Task_ID ); /** * Cash Reset * @param tableName table name * @param Record_ID record or 0 for all * @return number of records reset */ - public int cacheReset( java.lang.String tableName,int Record_ID ) - throws java.rmi.RemoteException; + public int cacheReset( String tableName,int Record_ID ); /** * Describes the instance and its content for debugging purpose * @return Debugging information about the instance and its content */ - public java.lang.String getStatus( ) - throws java.rmi.RemoteException; + public String getStatus( ); /** * Execute db proces on server * @param processInfo * @param procedureName * @return ProcessInfo */ - public org.compiere.process.ProcessInfo dbProcess( org.compiere.process.ProcessInfo processInfo,java.lang.String procedureName ) - throws java.rmi.RemoteException; - + public ProcessInfo dbProcess( ProcessInfo processInfo, String procedureName ); } diff --git a/base/src/org/compiere/interfaces/ServerHome.java b/base/src/org/compiere/interfaces/ServerHome.java deleted file mode 100644 index e2eb962600..0000000000 --- a/base/src/org/compiere/interfaces/ServerHome.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Home interface for adempiere/Server. - */ -public interface ServerHome - extends javax.ejb.EJBHome -{ - public static final String COMP_NAME="java:comp/env/ejb/adempiere/Server"; - public static final String JNDI_NAME="adempiere/Server"; - - public org.compiere.interfaces.Server create() - throws javax.ejb.CreateException,java.rmi.RemoteException; - -} diff --git a/base/src/org/compiere/interfaces/ServerLocal.java b/base/src/org/compiere/interfaces/ServerLocal.java index c5b40927ba..aaec4e1313 100644 --- a/base/src/org/compiere/interfaces/ServerLocal.java +++ b/base/src/org/compiere/interfaces/ServerLocal.java @@ -1,84 +1,11 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Local interface for adempiere/Server. - */ -public interface ServerLocal - extends javax.ejb.EJBLocalObject -{ - /** - * Post Immediate - * @param ctx Client Context - * @param AD_Client_ID Client ID of Document - * @param AD_Table_ID Table ID of Document - * @param Record_ID Record ID of this document - * @param force force posting - * @param trxName transaction - * @return null, if success or error message */ - public java.lang.String postImmediate( java.util.Properties ctx,int AD_Client_ID,int AD_Table_ID,int Record_ID,boolean force,java.lang.String trxName ) ; - - /** - * Process Remote - * @param ctx Context - * @param pi Process Info - * @return resulting Process Info */ - public org.compiere.process.ProcessInfo process( java.util.Properties ctx,org.compiere.process.ProcessInfo pi ) ; - - /** - * Run Workflow (and wait) on Server - * @param ctx Context - * @param pi Process Info - * @param AD_Workflow_ID id - * @return process info */ - public org.compiere.process.ProcessInfo workflow( java.util.Properties ctx,org.compiere.process.ProcessInfo pi,int AD_Workflow_ID ) ; - - /** - * Create EMail from Server (Request User) - * @param ctx Context - * @param AD_Client_ID client - * @param to recipient email address - * @param subject subject - * @param message message - * @return EMail */ - public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) ; - - /** - * Create EMail from Server (Request User) - * @param ctx Context - * @param AD_Client_ID client - * @param AD_User_ID user to send email from - * @param to recipient email address - * @param subject subject - * @param message message - * @return EMail */ - public org.compiere.util.EMail createEMail( java.util.Properties ctx,int AD_Client_ID,int AD_User_ID,java.lang.String to,java.lang.String subject,java.lang.String message ) ; - - /** - * Execute task on server - * @param AD_Task_ID task - * @return execution trace */ - public java.lang.String executeTask( int AD_Task_ID ) ; - - /** - * Cash Reset - * @param tableName table name - * @param Record_ID record or 0 for all - * @return number of records reset */ - public int cacheReset( java.lang.String tableName,int Record_ID ) ; - - /** - * Describes the instance and its content for debugging purpose - * @return Debugging information about the instance and its content */ - public java.lang.String getStatus( ) ; - - /** - * Execute db proces on server - * @param processInfo - * @param procedureName - * @return ProcessInfo */ - public org.compiere.process.ProcessInfo dbProcess( org.compiere.process.ProcessInfo processInfo,java.lang.String procedureName ) ; - -} + +package org.compiere.interfaces; + +import javax.ejb.Local; + +/** + * Local interface for adempiere/Server. + */ +@Local +public interface ServerLocal extends Server{ +} diff --git a/base/src/org/compiere/interfaces/ServerLocalHome.java b/base/src/org/compiere/interfaces/ServerLocalHome.java deleted file mode 100644 index 7846e50f5d..0000000000 --- a/base/src/org/compiere/interfaces/ServerLocalHome.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Local home interface for adempiere/Server. - */ -public interface ServerLocalHome - extends javax.ejb.EJBLocalHome -{ - public static final String COMP_NAME="java:comp/env/ejb/adempiere/ServerLocal"; - public static final String JNDI_NAME="adempiere/ServerLocal"; - - public org.compiere.interfaces.ServerLocal create() - throws javax.ejb.CreateException; - -} diff --git a/base/src/org/compiere/interfaces/ServerRemote.java b/base/src/org/compiere/interfaces/ServerRemote.java new file mode 100644 index 0000000000..c6a407d514 --- /dev/null +++ b/base/src/org/compiere/interfaces/ServerRemote.java @@ -0,0 +1,13 @@ +package org.compiere.interfaces; + +import javax.ejb.Remote; + +/** + * Remote interface for adempiere/Server + * @author Low Heng Sin + * + */ +@Remote +public interface ServerRemote extends Server { + +} diff --git a/base/src/org/compiere/interfaces/Status.java b/base/src/org/compiere/interfaces/Status.java index 8a6fdb825f..69a819a9d1 100644 --- a/base/src/org/compiere/interfaces/Status.java +++ b/base/src/org/compiere/interfaces/Status.java @@ -1,96 +1,81 @@ -/* - * Generated by XDoclet - Do not edit! - */ package org.compiere.interfaces; /** - * Remote interface for adempiere/Status. + * Tnterface for adempiere/Status. */ public interface Status - extends javax.ejb.EJBObject { + public final static String JNDI_NAME="adempiere/Status"; + + public final static String EJB_NAME="adempiereStatus"; + /** * Get Version (Date) * @return version e.g. 2002-09-02 */ - public java.lang.String getDateVersion( ) - throws java.rmi.RemoteException; + public String getDateVersion( ); /** * Get Main Version * @return main version - e.g. Version 2.4.3b */ - public java.lang.String getMainVersion( ) - throws java.rmi.RemoteException; + public String getMainVersion( ); /** * Get Database Type * @return Database Type */ - public java.lang.String getDbType( ) - throws java.rmi.RemoteException; + public String getDbType( ); /** * Get Database Host * @return Database Host Name */ - public java.lang.String getDbHost( ) - throws java.rmi.RemoteException; + public String getDbHost( ); /** * Get Database Port * @return Database Port */ - public int getDbPort( ) - throws java.rmi.RemoteException; + public int getDbPort( ); /** * Get Database SID * @return Database SID */ - public java.lang.String getDbName( ) - throws java.rmi.RemoteException; + public String getDbName( ); /** * Get Database URL * @return Database URL */ - public java.lang.String getConnectionURL( ) - throws java.rmi.RemoteException; + public String getConnectionURL( ); /** * Get Database UID * @return Database User Name */ - public java.lang.String getDbUid( ) - throws java.rmi.RemoteException; + public String getDbUid( ); /** * Get Database PWD * @return Database User Password */ - public java.lang.String getDbPwd( ) - throws java.rmi.RemoteException; + public String getDbPwd( ); /** * Get Connection Manager Host * @return Connection Manager Host */ - public java.lang.String getFwHost( ) - throws java.rmi.RemoteException; + public String getFwHost( ); /** * Get Connection Manager Port * @return Connection Manager Port */ - public int getFwPort( ) - throws java.rmi.RemoteException; + public int getFwPort( ); /** * Get Version Count * @return number of version inquiries */ - public int getVersionCount( ) - throws java.rmi.RemoteException; + public int getVersionCount( ); /** * Get Database Count * @return number of database inquiries */ - public int getDatabaseCount( ) - throws java.rmi.RemoteException; + public int getDatabaseCount( ); /** * Describes the instance and its content for debugging purpose * @return Debugging information about the instance and its content */ - public java.lang.String getStatus( ) - throws java.rmi.RemoteException; - + public String getStatus( ); } diff --git a/base/src/org/compiere/interfaces/StatusHome.java b/base/src/org/compiere/interfaces/StatusHome.java deleted file mode 100644 index 1445170090..0000000000 --- a/base/src/org/compiere/interfaces/StatusHome.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Home interface for adempiere/Status. - */ -public interface StatusHome - extends javax.ejb.EJBHome -{ - public static final String COMP_NAME="java:comp/env/ejb/adempiere/Status"; - public static final String JNDI_NAME="adempiere/Status"; - - public org.compiere.interfaces.Status create() - throws javax.ejb.CreateException,java.rmi.RemoteException; - -} diff --git a/base/src/org/compiere/interfaces/StatusLocal.java b/base/src/org/compiere/interfaces/StatusLocal.java index a7a9a8cf59..d2ac817c1f 100644 --- a/base/src/org/compiere/interfaces/StatusLocal.java +++ b/base/src/org/compiere/interfaces/StatusLocal.java @@ -1,82 +1,10 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Local interface for adempiere/Status. - */ -public interface StatusLocal - extends javax.ejb.EJBLocalObject -{ - /** - * Get Version (Date) - * @return version e.g. 2002-09-02 */ - public java.lang.String getDateVersion( ) ; - - /** - * Get Main Version - * @return main version - e.g. Version 2.4.3b */ - public java.lang.String getMainVersion( ) ; - - /** - * Get Database Type - * @return Database Type */ - public java.lang.String getDbType( ) ; - - /** - * Get Database Host - * @return Database Host Name */ - public java.lang.String getDbHost( ) ; - - /** - * Get Database Port - * @return Database Port */ - public int getDbPort( ) ; - - /** - * Get Database SID - * @return Database SID */ - public java.lang.String getDbName( ) ; - - /** - * Get Database URL - * @return Database URL */ - public java.lang.String getConnectionURL( ) ; - - /** - * Get Database UID - * @return Database User Name */ - public java.lang.String getDbUid( ) ; - - /** - * Get Database PWD - * @return Database User Password */ - public java.lang.String getDbPwd( ) ; - - /** - * Get Connection Manager Host - * @return Connection Manager Host */ - public java.lang.String getFwHost( ) ; - - /** - * Get Connection Manager Port - * @return Connection Manager Port */ - public int getFwPort( ) ; - - /** - * Get Version Count - * @return number of version inquiries */ - public int getVersionCount( ) ; - - /** - * Get Database Count - * @return number of database inquiries */ - public int getDatabaseCount( ) ; - - /** - * Describes the instance and its content for debugging purpose - * @return Debugging information about the instance and its content */ - public java.lang.String getStatus( ) ; - -} +package org.compiere.interfaces; + +import javax.ejb.Local; + +/** + * Local interface for adempiere/Status. + */ +@Local +public interface StatusLocal extends Status { +} diff --git a/base/src/org/compiere/interfaces/StatusLocalHome.java b/base/src/org/compiere/interfaces/StatusLocalHome.java deleted file mode 100644 index 083787353a..0000000000 --- a/base/src/org/compiere/interfaces/StatusLocalHome.java +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Generated by XDoclet - Do not edit! - */ -package org.compiere.interfaces; - -/** - * Local home interface for adempiere/Status. - */ -public interface StatusLocalHome - extends javax.ejb.EJBLocalHome -{ - public static final String COMP_NAME="java:comp/env/ejb/adempiere/StatusLocal"; - public static final String JNDI_NAME="adempiere/StatusLocal"; - - public org.compiere.interfaces.StatusLocal create() - throws javax.ejb.CreateException; - -} diff --git a/base/src/org/compiere/interfaces/StatusRemote.java b/base/src/org/compiere/interfaces/StatusRemote.java new file mode 100644 index 0000000000..c3e58f74c0 --- /dev/null +++ b/base/src/org/compiere/interfaces/StatusRemote.java @@ -0,0 +1,12 @@ +package org.compiere.interfaces; + +import javax.ejb.Remote; + +/** + * Remote interface for adempiere/Status + * @author Low Heng Sin + * + */ +@Remote +public interface StatusRemote extends Status { +} diff --git a/base/src/org/compiere/model/MClient.java b/base/src/org/compiere/model/MClient.java index d3e753b768..0e064782b9 100644 --- a/base/src/org/compiere/model/MClient.java +++ b/base/src/org/compiere/model/MClient.java @@ -774,13 +774,13 @@ public class MClient extends X_AD_Client { // See ServerBean if (html && message != null) message = EMail.HTML_MAIL_MARKER + message; - email = server.createEMail(getCtx(), getAD_Client_ID(), + email = server.createEMail(Env.getRemoteCallCtx(getCtx()), getAD_Client_ID(), to, subject, message); } else log.log(Level.WARNING, "No AppsServer"); } - catch (RemoteException ex) + catch (Exception ex) { log.log(Level.SEVERE, getName() + " - AppsServer error", ex); } @@ -886,14 +886,14 @@ public class MClient extends X_AD_Client { // See ServerBean if (html && message != null) message = email.HTML_MAIL_MARKER + message; - email = server.createEMail(getCtx(), getAD_Client_ID(), + email = server.createEMail(Env.getRemoteCallCtx(getCtx()), getAD_Client_ID(), from.getAD_User_ID(), to, subject, message); } else log.log(Level.WARNING, "No AppsServer"); } - catch (RemoteException ex) + catch (Exception ex) { log.log(Level.SEVERE, getName() + " - AppsServer error", ex); } diff --git a/base/src/org/compiere/model/MStore.java b/base/src/org/compiere/model/MStore.java index b3d240a583..b771324920 100644 --- a/base/src/org/compiere/model/MStore.java +++ b/base/src/org/compiere/model/MStore.java @@ -16,7 +16,6 @@ *****************************************************************************/ package org.compiere.model; -import java.rmi.*; import java.sql.*; import java.util.*; import java.util.logging.*; @@ -347,13 +346,13 @@ public class MStore extends X_W_Store { if (server != null) { // See ServerBean - email = server.createEMail(getCtx(), getAD_Client_ID(), + email = server.createEMail(Env.getRemoteCallCtx(getCtx()), getAD_Client_ID(), to, subject, message); } else log.log(Level.WARNING, "No AppsServer"); } - catch (RemoteException ex) + catch (Exception ex) { log.log(Level.SEVERE, getName() + " - AppsServer error", ex); } diff --git a/base/src/org/compiere/process/DocumentEngine.java b/base/src/org/compiere/process/DocumentEngine.java index 387c741daf..e038bea738 100644 --- a/base/src/org/compiere/process/DocumentEngine.java +++ b/base/src/org/compiere/process/DocumentEngine.java @@ -464,10 +464,10 @@ public class DocumentEngine implements DocAction Server server = CConnection.get().getServer(); if (server != null) { - String error = server.postImmediate(Env.getCtx(), + String error = server.postImmediate(Env.getRemoteCallCtx(Env.getCtx()), m_document.getAD_Client_ID(), m_document.get_Table_ID(), m_document.get_ID(), - true, m_document.get_TrxName()); + true, null); m_document.get_Logger().config("Server: " + error == null ? "OK" : error); return error == null; } diff --git a/base/src/org/compiere/process/ReplicationLocal.java b/base/src/org/compiere/process/ReplicationLocal.java index f4ba0bd8b8..baf5915573 100644 --- a/base/src/org/compiere/process/ReplicationLocal.java +++ b/base/src/org/compiere/process/ReplicationLocal.java @@ -124,20 +124,17 @@ public class ReplicationLocal extends SvrProcess // String AppsHost = m_replication.getHostAddress(); int AppsPort = m_replication.getHostPort(); - boolean RMIoverHTTP = m_replication.isRMIoverHTTP(); - log.info (AppsHost + ":" + AppsPort + " - HTTP Tunnel=" + RMIoverHTTP); - InitialContext ic = CConnection.getInitialContext( - CConnection.getInitialEnvironment(AppsHost, AppsPort, RMIoverHTTP)); - if (ic == null) - throw new Exception ("NoInitialContext"); - + + CConnection connection = new CConnection(AppsHost); + connection.setAppsPort(AppsPort); + log.info (AppsHost + ":" + AppsPort); try { - ServerHome serverHome = (ServerHome)ic.lookup (ServerHome.JNDI_NAME); + Server server = connection.getServer(); // log.fine("- ServerHome: " + serverHome); - if (serverHome == null) + if (server == null) throw new Exception ("NoServer"); - m_serverRemote = serverHome.create(); + m_serverRemote = server; // log.fine("- Server: " + m_serverRemote); // log.fine("- Remote Status = " + m_serverRemote.getStatus()); } diff --git a/base/src/org/compiere/util/CLogMgt.java b/base/src/org/compiere/util/CLogMgt.java index 9f5e8e7cad..b6d1499b8c 100644 --- a/base/src/org/compiere/util/CLogMgt.java +++ b/base/src/org/compiere/util/CLogMgt.java @@ -44,20 +44,21 @@ public class CLogMgt if (s_handlers != null) return; - LogManager mgr = LogManager.getLogManager(); - try - { // Load Logging config from org.compiere.util.*properties - String fileName = "logClient.properties"; - if (!isClient) - fileName = "logServer.properties"; - InputStream in = CLogMgt.class.getResourceAsStream(fileName); - BufferedInputStream bin = new BufferedInputStream(in); - mgr.readConfiguration(bin); - in.close(); - } - catch (Exception e) + if (isClient) { - e.printStackTrace(); + LogManager mgr = LogManager.getLogManager(); + try + { // Load Logging config from org.compiere.util.*properties + String fileName = "logClient.properties"; + InputStream in = CLogMgt.class.getResourceAsStream(fileName); + BufferedInputStream bin = new BufferedInputStream(in); + mgr.readConfiguration(bin); + in.close(); + } + catch (Exception e) + { + e.printStackTrace(); + } } // Create Handler List @@ -136,7 +137,7 @@ public class CLogMgt // Check Loggers if (CLogErrorBuffer.get(false) == null) addHandler(CLogErrorBuffer.get(true)); - if (CLogConsole.get(false) == null && isClient) + if (CLogConsole.get(false) == null) addHandler(CLogConsole.get(true)); CLogFile fh = CLogFile.get (false, null, isClient); if (fh == null && !isClient) diff --git a/base/src/org/compiere/util/ConnectTest.java b/base/src/org/compiere/util/ConnectTest.java index 393e65cc92..153bba07e7 100644 --- a/base/src/org/compiere/util/ConnectTest.java +++ b/base/src/org/compiere/util/ConnectTest.java @@ -142,13 +142,10 @@ public class ConnectTest System.out.println ("Connecting to EJB server ..."); try { - System.out.println(" Name=" + StatusHome.JNDI_NAME); - StatusHome staHome = (StatusHome)context.lookup (StatusHome.JNDI_NAME); - System.out.println(" .. home created"); - Status sta = staHome.create(); + System.out.println(" Name=" + Status.JNDI_NAME); + Status sta = (Status)context.lookup (Status.JNDI_NAME); System.out.println(" .. bean created"); System.out.println(" ServerVersion=" + sta.getMainVersion() + " " + sta.getDateVersion()); - sta.remove(); System.out.println(" .. bean removed"); } catch (Exception e) diff --git a/base/src/org/compiere/util/Env.java b/base/src/org/compiere/util/Env.java index a3214c4fc3..beff42a028 100644 --- a/base/src/org/compiere/util/Env.java +++ b/base/src/org/compiere/util/Env.java @@ -1654,6 +1654,30 @@ public final class Env return updated; } + /** + * Prepare the context for calling remote server (for e.g, ejb), + * only default and global variables are pass over. + * It is too expensive and also can have serialization issue if + * every remote call to server is passing the whole client context. + * @param ctx + * @return Properties + */ + public static Properties getRemoteCallCtx(Properties ctx) + { + Properties p = new Properties(); + Set keys = ctx.keySet(); + for (Object key : keys) + { + String s = key.toString(); + if (s.startsWith("#") || s.startsWith("$")) + { + p.put(key, ctx.get(key)); + } + } + + return p; + } + /************************************************************************** * Static Variables diff --git a/base/src/org/compiere/wf/MWFActivity.java b/base/src/org/compiere/wf/MWFActivity.java index 48d01d262f..f9985997d0 100644 --- a/base/src/org/compiere/wf/MWFActivity.java +++ b/base/src/org/compiere/wf/MWFActivity.java @@ -1496,7 +1496,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable Server server = CConnection.get().getServer(); if (server != null) { - String error = server.postImmediate(Env.getCtx(), + String error = server.postImmediate(Env.getRemoteCallCtx(Env.getCtx()), m_postImmediate.getAD_Client_ID(), m_postImmediate.get_Table_ID(), m_postImmediate.get_ID(), true, null); @@ -1506,13 +1506,9 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable else m_postImmediate.get_Logger().config("NoAppsServer"); } - catch (RemoteException e) - { - m_postImmediate.get_Logger().config("(RE) " + e.getMessage()); - } catch (Exception e) { - m_postImmediate.get_Logger().config("(ex) " + e.getMessage()); + m_postImmediate.get_Logger().config("(RE) " + e.getMessage()); } } } // PostImmediate diff --git a/client/src/org/compiere/apps/AEnv.java b/client/src/org/compiere/apps/AEnv.java index 23f5221a2d..8474c56350 100644 --- a/client/src/org/compiere/apps/AEnv.java +++ b/client/src/org/compiere/apps/AEnv.java @@ -687,31 +687,11 @@ public final class AEnv */ public static void exit (int status) { - if (s_server != null) - { - try - { - s_server.remove(); - } - catch (Exception ex) - { - } - } Env.exitEnv(status); } // exit public static void logout() { - if (s_server != null) - { - try - { - s_server.remove(); - } - catch (Exception ex) - { - } - } Env.logout(); Splash.getSplash().setVisible(true); @@ -942,25 +922,9 @@ public final class AEnv return "NoAppsServer"; } } - catch (RemoteException e) - { - log.log(Level.WARNING, "(RE)", e); - error = e.getMessage(); - if (error == null) - error = "Exception: " + e.toString(); - s_server = null; - } - catch (UndeclaredThrowableException e) - { - log.log(Level.WARNING, "ex", e); - error = e.getCause().toString(); - if (error == null) - error = "Exception: " + e.toString(); - s_server = null; - } catch (Exception e) { - log.log(Level.WARNING, "ex", e); + log.log(Level.WARNING, "(RE)", e); error = e.getMessage(); if (error == null) error = "Exception: " + e.toString(); @@ -996,11 +960,6 @@ public final class AEnv server.cacheReset(tableName, Record_ID); } } - catch (RemoteException e) - { - log.log(Level.SEVERE, "(RE)", e); - s_server = null; - } catch (Exception e) { log.log(Level.SEVERE, "ex", e); diff --git a/client/src/org/compiere/apps/ProcessCtl.java b/client/src/org/compiere/apps/ProcessCtl.java index 203e333f03..024321d68c 100644 --- a/client/src/org/compiere/apps/ProcessCtl.java +++ b/client/src/org/compiere/apps/ProcessCtl.java @@ -22,6 +22,7 @@ import java.lang.reflect.UndeclaredThrowableException; import java.rmi.RemoteException; import java.sql.PreparedStatement; import java.sql.ResultSet; +import java.util.Properties; import java.util.logging.Level; import javax.swing.JFrame; @@ -557,12 +558,12 @@ public class ProcessCtl implements Runnable { if (server != null) { // See ServerBean - m_pi = server.workflow (Env.getCtx(), m_pi, AD_Workflow_ID); + m_pi = server.workflow (Env.getRemoteCallCtx(Env.getCtx()), m_pi, AD_Workflow_ID); log.finest("server => " + m_pi); started = true; } } - catch (RemoteException ex) + catch (Exception ex) { log.log(Level.SEVERE, "AppsServer error", ex); started = false; @@ -611,7 +612,7 @@ public class ProcessCtl implements Runnable if (server != null) { // See ServerBean - m_pi = server.process (Env.getCtx(), m_pi); + m_pi = server.process (Env.getRemoteCallCtx(Env.getCtx()), m_pi); log.finest("server => " + m_pi); started = true; } @@ -633,7 +634,7 @@ public class ProcessCtl implements Runnable + m_pi, ex); started = false; } - catch (RemoteException ex) + catch (Exception ex) { Throwable cause = ex.getCause(); if (cause == null) diff --git a/glassfishfacet/config/domain.xml b/glassfishfacet/config/domain.xml new file mode 100644 index 0000000000..9df158ce96 --- /dev/null +++ b/glassfishfacet/config/domain.xml @@ -0,0 +1,11 @@ + + + + + + + + + ... + -DADEMPIERE_HOME=YourAdempiereHome + diff --git a/glassfishfacet/config/login.conf b/glassfishfacet/config/login.conf new file mode 100644 index 0000000000..2f3f18a7bd --- /dev/null +++ b/glassfishfacet/config/login.conf @@ -0,0 +1,3 @@ +adempiere { + org.adempiere.as.glassfish.AdempiereLoginModule required; +}; diff --git a/glassfishfacet/config/readme.txt b/glassfishfacet/config/readme.txt new file mode 100644 index 0000000000..cfa87cb2c2 --- /dev/null +++ b/glassfishfacet/config/readme.txt @@ -0,0 +1,7 @@ +* merge contents from domain.xml and login.conf to the respective file of your glassfish instance. + e.g: c:\glassfish\domains\domain1\config\domain.xml, c:\glassfish\domains\domain1\config\login.conf +* copy Adempiere.jar and AdempiereSLib.jar to installRoot/lib folder + e.g: c:\glassfish\lib +* copy adempiere.ear to the domains/autodeploy folder + e.g: c:\glassfish\domains\domain1\autodeploy + diff --git a/glassfishfacet/config/sun-application.xml b/glassfishfacet/config/sun-application.xml new file mode 100644 index 0000000000..8708d5d88a --- /dev/null +++ b/glassfishfacet/config/sun-application.xml @@ -0,0 +1,12 @@ + + + + + + adempiereUsers + adempiereUsers + + adempiere + \ No newline at end of file diff --git a/glassfishfacet/src/org/adempiere/as/ASFactory.java b/glassfishfacet/src/org/adempiere/as/ASFactory.java new file mode 100644 index 0000000000..a6168731d7 --- /dev/null +++ b/glassfishfacet/src/org/adempiere/as/ASFactory.java @@ -0,0 +1,55 @@ +/****************************************************************************** + * Copyright (C) 2008 Low Heng Sin * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.as; + +/** + * + * @author Low Heng Sin + * + */ +public class ASFactory { + public final static String JBOSS = "JBoss"; + + public final static String GLASS_FISH = "GlassFish"; + + public final static String[] AS_Names = new String[] { + JBOSS, GLASS_FISH + }; + + private final static String[] AS_Classes = new String[] { + "org.adempiere.as.jboss.JBoss", + "org.adempiere.as.glassfish.GlassFish" + }; + + private static IApplicationServer applicationServer; + + static { + //detect the installed application server + for(String s : AS_Classes) { + try { + Class c = Class.forName(s); + IApplicationServer server = (IApplicationServer) c.newInstance(); + applicationServer = server; + break; + } catch (Throwable t) { + } + } + } + + /** + * @return IApplicationServer + */ + public static IApplicationServer getApplicationServer() { + return applicationServer; + } +} diff --git a/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereLoginModule.java b/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereLoginModule.java new file mode 100644 index 0000000000..ce20c8efee --- /dev/null +++ b/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereLoginModule.java @@ -0,0 +1,41 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2007 Adempiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * + * Copyright (C) 2007 Low Heng Sin hengsin@avantz.com + * _____________________________________________ + *****************************************************************************/ +package org.adempiere.as.glassfish; + +import javax.security.auth.login.LoginException; + +import com.sun.appserv.security.AppservPasswordLoginModule; + +/** + * JAAS login module for adempiere + * @author Low Heng Sin + */ +public class AdempiereLoginModule extends AppservPasswordLoginModule { + @Override + protected void authenticateUser() throws LoginException { + // Get the current realm and check whether it is instance of your realm + if (!(_currentRealm instanceof AdempiereRealm)) { + throw new LoginException("Realm must be of type AdempiereRealm. CurrentRealm=" + _currentRealm.getClass()); + } + + AdempiereRealm realm = (AdempiereRealm) _currentRealm; + + String[] groups = realm.authenticate(_username, _password); + + commitUserAuthentication(groups); + } +} diff --git a/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereRealm.java b/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereRealm.java new file mode 100644 index 0000000000..ef2f7dafb1 --- /dev/null +++ b/glassfishfacet/src/org/adempiere/as/glassfish/AdempiereRealm.java @@ -0,0 +1,76 @@ +package org.adempiere.as.glassfish; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Properties; + +import org.compiere.util.Env; +import org.compiere.util.KeyNamePair; +import org.compiere.util.Login; + +import com.sun.appserv.security.AppservRealm; +import com.sun.enterprise.security.auth.realm.BadRealmException; +import com.sun.enterprise.security.auth.realm.IASRealm; +import com.sun.enterprise.security.auth.realm.InvalidOperationException; +import com.sun.enterprise.security.auth.realm.NoSuchRealmException; +import com.sun.enterprise.security.auth.realm.NoSuchUserException; + +public class AdempiereRealm extends AppservRealm { + + private Map> groupCache = new HashMap>(); + + @Override + protected void init(Properties props) throws BadRealmException, + NoSuchRealmException { + String jaasCtx = props.getProperty(IASRealm.JAAS_CONTEXT_PARAM); + this.setProperty(IASRealm.JAAS_CONTEXT_PARAM, jaasCtx); + if (jaasCtx == null) { + throw new BadRealmException(IASRealm.JAAS_CONTEXT_PARAM + + " is null."); + } + } + + @Override + public String getAuthType() { + return "adempiere"; + } + + @Override + public Enumeration getGroupNames(String username) + throws InvalidOperationException, NoSuchUserException { + if (groupCache.containsKey(username)) + return Collections.enumeration(groupCache.get(username)); + else + return null; + } + + public String[] authenticate(String username, String password) { + KeyNamePair[] roles = null; + // do authentication + if (username != null && password != null) { + // perform db authentication + Login login = new Login(Env.getCtx()); + roles = login.getRoles(username, password); + } else { + // no username or password + roles = null; + } + + String[] groups = new String[0]; + List grpList = new ArrayList(); + if (roles != null && roles.length > 0) { + grpList.add("adempiereUsers"); + for (KeyNamePair knp : roles) { + grpList.add(knp.getName()); + } + groupCache.remove(username); + groupCache.put(username, grpList); + groups = grpList.toArray(groups); + } + return groups; + } +} diff --git a/glassfishfacet/src/org/adempiere/as/glassfish/GlassFish.java b/glassfishfacet/src/org/adempiere/as/glassfish/GlassFish.java new file mode 100644 index 0000000000..f91e723270 --- /dev/null +++ b/glassfishfacet/src/org/adempiere/as/glassfish/GlassFish.java @@ -0,0 +1,95 @@ +/****************************************************************************** + * Copyright (C) 2008 Low Heng Sin * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + *****************************************************************************/ +package org.adempiere.as.glassfish; + +import java.net.URL; +import java.util.Hashtable; + +import javax.naming.Context; + +import org.adempiere.as.IApplicationServer; + +import com.sun.appserv.security.ProgrammaticLogin; + +/** + * + * @author Low Heng Sin + * + */ +public class GlassFish implements IApplicationServer { + + private static final String LOGIN_CONFIG = "java.security.auth.login.config"; + + //ensure client library is installed + static { + try { + Class.forName("com.sun.enterprise.naming.SerialInitContextFactory"); + } catch (ClassNotFoundException e) { + throw new IllegalStateException(e); + } + } + + /** + * @see IApplicationServer#getInitialContextEnvironment(String, int, String, String) + */ + public Hashtable getInitialContextEnvironment( + String AppsHost, int AppsPort, String principal, String credential) { + if (principal != null && credential != null) + { + String property = System.getProperty(LOGIN_CONFIG); + if (property == null || property.trim().length() == 0) + { + try + { + URL configUrl = GlassFish.class.getResource("login.conf"); + if (configUrl == null) + configUrl = GlassFish.class.getClassLoader().getResource("/org/adempiere/as/glassfish/login.conf"); + System.setProperty(LOGIN_CONFIG, configUrl.toString()); + } + catch (Exception e) + { + throw new RuntimeException("Failed to load login.conf"); + } + ProgrammaticLogin login = new ProgrammaticLogin(); + try { + login.login(principal, credential); + } catch (Exception e) { + throw new RuntimeException(e); + } + } + else + { + ProgrammaticLogin login = new ProgrammaticLogin(); + try { + login.login(principal, credential, "adempiere", true); + } catch (Exception e) { + throw new RuntimeException(e); + } + } + } + + Hashtable env = new Hashtable(); + env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.enterprise.naming.SerialInitContextFactory"); + env.put(Context.URL_PKG_PREFIXES, "com.sun.enterprise.naming"); + env.put(Context.STATE_FACTORIES, "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"); + + env.put("org.omg.CORBA.ORBInitialHost", AppsHost); + env.put("org.omg.CORBA.ORBInitialPort", Integer.toString(AppsPort)); + return env; + } + + public int getDefaultNamingServicePort() { + return 3700; + } + +} diff --git a/glassfishfacet/src/org/adempiere/as/glassfish/login.conf b/glassfishfacet/src/org/adempiere/as/glassfish/login.conf new file mode 100644 index 0000000000..9e3e54eeec --- /dev/null +++ b/glassfishfacet/src/org/adempiere/as/glassfish/login.conf @@ -0,0 +1,10 @@ +/* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */ +/* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ + +default { + com.sun.enterprise.security.auth.login.ClientPasswordLoginModule required debug=false; +}; + +adempiere { + com.sun.enterprise.security.auth.login.ClientPasswordLoginModule required debug=false; +}; \ No newline at end of file diff --git a/install/Adempiere/build.xml b/install/Adempiere/build.xml index db4309d270..76b50534ee 100644 --- a/install/Adempiere/build.xml +++ b/install/Adempiere/build.xml @@ -52,13 +52,10 @@ - - - - + - + @@ -127,6 +124,13 @@ + + + + + + + @@ -140,9 +144,9 @@ - + - + @@ -189,7 +193,7 @@ - @@ -199,6 +203,9 @@ + + + @@ -207,10 +214,7 @@ - - - - + @@ -242,8 +246,9 @@ - + + @@ -359,17 +364,34 @@ + + + + + - - - - + + + + + + + + + + + + + + + + @@ -399,17 +421,9 @@ - - - - + + + @@ -422,11 +436,8 @@ GLASSFISH PROPERTY IS DETECTED. THEN MANUALLY DEPLOY THE APPLICATION - - - - - + + @@ -442,52 +453,6 @@ GLASSFISH PROPERTY IS DETECTED. THEN MANUALLY DEPLOY THE APPLICATION - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -499,7 +464,7 @@ GLASSFISH PROPERTY IS DETECTED. THEN MANUALLY DEPLOY THE APPLICATION - diff --git a/install/build.xml b/install/build.xml index 8ffc8f98de..ce84643a66 100644 --- a/install/build.xml +++ b/install/build.xml @@ -169,8 +169,7 @@ - - + AdempiereHome @@ -225,6 +224,12 @@ + + + + + + diff --git a/install/src/org/compiere/install/ConfigGlassfish.java b/install/src/org/compiere/install/ConfigGlassfish.java index 2abdf7c8c5..525f1f810a 100644 --- a/install/src/org/compiere/install/ConfigGlassfish.java +++ b/install/src/org/compiere/install/ConfigGlassfish.java @@ -59,7 +59,7 @@ public class ConfigGlassfish extends Config { p_data.setAppsServerDeployDir(getDeployDir()); p_data.setAppsServerDeployDir(false); // - p_data.setAppsServerJNPPort("1099"); + p_data.setAppsServerJNPPort("3700"); p_data.setAppsServerJNPPort(true); p_data.setAppsServerWebPort("8080"); p_data.setAppsServerWebPort(true); @@ -74,7 +74,7 @@ public class ConfigGlassfish extends Config { private String getDeployDir() { // TODO - check deployment directory - return p_data.getAdempiereHome(); + return p_data.getAdempiereHome() + File.separator + "glassfish"; /*Commented for now + File.separator + "glassfish" + File.separator + "domains" @@ -114,30 +114,10 @@ public class ConfigGlassfish extends Config { setProperty(ConfigurationData.ADEMPIERE_APPS_SERVER, appsServer.getHostName()); setProperty(ConfigurationData.ADEMPIERE_APPS_TYPE, p_data.getAppsServerType()); - // Deployment Dir - p_data.setAppsServerDeployDir(getDeployDir()); - File deploy = new File (p_data.getAppsServerDeployDir()); - pass = deploy.exists(); - error = "Not found: " + deploy; - if (getPanel() != null) - signalOK(getPanel().okDeployDir, "ErrorDeployDir", - pass, true, error); - if (!pass) - return error; setProperty(ConfigurationData.ADEMPIERE_APPS_DEPLOY, p_data.getAppsServerDeployDir()); - log.info("OK: Deploy Directory = " + deploy); // JNP Port int JNPPort = p_data.getAppsServerJNPPort(); - pass = !p_data.testPort (appsServer, JNPPort, false) - && p_data.testServerPort(JNPPort); - error = "Not correct: JNP Port = " + JNPPort; - if (getPanel() != null) - signalOK(getPanel().okJNPPort, "ErrorJNPPort", - pass, true, error); - if (!pass) - return error; - log.info("OK: JNPPort = " + JNPPort); setProperty(ConfigurationData.ADEMPIERE_JNP_PORT, String.valueOf(JNPPort)); // Web Port diff --git a/install/src/org/compiere/install/ConfigOracle.java b/install/src/org/compiere/install/ConfigOracle.java index d3fb4ca8ca..913285ef1b 100644 --- a/install/src/org/compiere/install/ConfigOracle.java +++ b/install/src/org/compiere/install/ConfigOracle.java @@ -377,21 +377,18 @@ public class ConfigOracle extends Config setProperty(ConfigurationData.ADEMPIERE_DB_USER, databaseUser); setProperty(ConfigurationData.ADEMPIERE_DB_PASSWORD, databasePassword); - // TNS Name Info via sqlplus - if not tomcat - if (!p_data.getAppsServerType().equals(ConfigurationData.APPSTYPE_TOMCAT)) - { - String sqlplus = "sqlplus system/" + systemPassword + "@" - + databaseServer.getHostName() + "/" + databaseName - + " @utils/oracle/Test.sql"; - log.config(sqlplus); - pass = testSQL(sqlplus); - error = "Error connecting via: " + sqlplus; - if (getPanel() != null) - signalOK(getPanel().okDatabaseSQL, "ErrorTNS", - pass, true, error); - if (pass) - log.info("OK: Database SQL Connection"); - } + // TNS Name Info via sqlplus + String sqlplus = "sqlplus system/" + systemPassword + "@" + + databaseServer.getHostName() + "/" + databaseName + + " @utils/oracle/Test.sql"; + log.config(sqlplus); + pass = testSQL(sqlplus); + error = "Error connecting via: " + sqlplus; + if (getPanel() != null) + signalOK(getPanel().okDatabaseSQL, "ErrorTNS", + pass, true, error); + if (pass) + log.info("OK: Database SQL Connection"); // OCI Test if (System.getProperty("TestOCI", "N").equals("Y")) diff --git a/install/src/org/compiere/install/ConfigTomcat.java b/install/src/org/compiere/install/ConfigTomcat.java deleted file mode 100644 index a1649d117a..0000000000 --- a/install/src/org/compiere/install/ConfigTomcat.java +++ /dev/null @@ -1,153 +0,0 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * For the text or an alternative of this public license, you may reach us * - * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * - * or via info@compiere.org or http://www.compiere.org/license.html * - *****************************************************************************/ -package org.compiere.install; - -import java.io.*; -import java.net.*; - -/** - * Tomcat 5.5.9 Configuration - * - * @author Jorg Janke - * @version $Id: ConfigTomcat.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $ - */ -public class ConfigTomcat extends Config -{ - /** - * ConfigJBoss - * @param data configuration - */ - public ConfigTomcat (ConfigurationData data) - { - super (data); - } // ConfigTomcat - - /** - * Initialize - */ - public void init() - { - p_data.setAppsServerDeployDir(getDeployDir()); - p_data.setAppsServerDeployDir(true); - // - p_data.setAppsServerJNPPort("1099"); - p_data.setAppsServerJNPPort(false); - // - p_data.setAppsServerWebPort("80"); - p_data.setAppsServerWebPort(true); - p_data.setAppsServerSSLPort("443"); - p_data.setAppsServerSSLPort(true); - } // init - - /** - * Get Notes - * @return notes - */ - public String getNotes() - { - return "Adempiere requires Tomcat 5.5.9" - + "\nPlease set the Web Port in $CATALINA_HOME//conf//server.xml" - // C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml - + "\n"; - } // getNotes - - - /** - * Get Deployment Dir - * @return deployment dir - */ - private String getDeployDir() - { - return "C:" - + File.separator + "Program Files" - + File.separator + "Apache Software Foundation" - + File.separator + "Tomcat 5.5"; - } // getDeployDir - - /** - * Test - * @return error message or null if OK - */ - public String test() - { - // AppsServer - String server = p_data.getAppsServer(); - boolean pass = server != null && server.length() > 0 - && server.toLowerCase().indexOf("localhost") == -1 - && !server.equals("127.0.0.1"); - InetAddress appsServer = null; - String error = "Not correct: AppsServer = " + server; - try - { - if (pass) - appsServer = InetAddress.getByName(server); - } - catch (Exception e) - { - error += " - " + e.getMessage(); - pass = false; - } - if (getPanel() != null) - signalOK(getPanel().okAppsServer, "ErrorAppsServer", - pass, true, error); - if (!pass) - return error; - log.info("OK: AppsServer = " + appsServer); - setProperty(ConfigurationData.ADEMPIERE_APPS_SERVER, appsServer.getHostName()); - setProperty(ConfigurationData.ADEMPIERE_APPS_TYPE, p_data.getAppsServerType()); - - // Deployment Dir - File deploy = new File (p_data.getAppsServerDeployDir()); - pass = deploy.exists(); - error = "CATALINA_HOME Not found: " + deploy; - if (getPanel() != null) - signalOK(getPanel().okDeployDir, "ErrorDeployDir", - pass, true, error); - if (!pass) - return error; - setProperty(ConfigurationData.ADEMPIERE_APPS_DEPLOY, p_data.getAppsServerDeployDir()); - log.info("OK: Deploy Directory = " + deploy); - - String baseDir = p_data.getAppsServerDeployDir(); - if (!baseDir.endsWith(File.separator)) - baseDir += File.separator; - // Need to have /shared/lib - String sharedLib = baseDir + "shared" + File.separator + "lib"; - File sharedLibDir = new File (sharedLib); - pass = sharedLibDir.exists(); - error = "Not found (shared library): " + sharedLib; - if (getPanel() != null) - signalOK(getPanel().okDeployDir, "ErrorDeployDir", - pass, true, error); - if (!pass) - return error; - - // Need to have /webapps - String webApps = baseDir + "webapps"; - File webAppsDir = new File (webApps); - pass = webAppsDir.exists(); - error = "Not found (webapps): " + sharedLib; - if (getPanel() != null) - signalOK(getPanel().okDeployDir, "ErrorDeployDir", - pass, true, error); - if (!pass) - return error; - // - return null; - } // test - -} // ConfigTomcat diff --git a/install/src/org/compiere/install/ConfigurationData.java b/install/src/org/compiere/install/ConfigurationData.java index fd09fb348b..1228688d13 100644 --- a/install/src/org/compiere/install/ConfigurationData.java +++ b/install/src/org/compiere/install/ConfigurationData.java @@ -827,6 +827,7 @@ public class ConfigurationData getDatabaseServer(), getDatabasePort(), getDatabaseName(), getDatabaseUser(), getDatabasePassword()); cc.setAppsHost(getAppsServer()); + cc.setAppsPort(getAppsServerJNPPort()); cc.setConnectionProfile(CConnection.PROFILE_LAN); } catch(Exception e) @@ -1024,29 +1025,17 @@ public class ConfigurationData /** JBoss (default) */ protected static String APPSTYPE_JBOSS = "jboss"; - /** Tomcat only */ - protected static String APPSTYPE_TOMCAT = "tomcatOnly"; /** GlassFish */ - protected static String APPSTYPE_GLASSFISH = "GlassFish"; - /** IBM WS */ - private static String APPSTYPE_IBM = ""; - /** Oracle */ - private static String APPSTYPE_ORACLE = ""; + protected static String APPSTYPE_GLASSFISH = "glassfish"; /** Application Server Type */ static String[] APPSTYPE = new String[] { APPSTYPE_JBOSS , APPSTYPE_GLASSFISH - , APPSTYPE_TOMCAT - , APPSTYPE_IBM - , APPSTYPE_ORACLE }; /** Database Configs */ private Config[] m_appsConfig = new Config[] { new ConfigJBoss(this) , new ConfigGlassfish( this ) - , new ConfigTomcat(this) - , null - , null }; /** diff --git a/jboss/JBossORG-EULA.txt b/jboss/JBossORG-EULA.txt new file mode 100644 index 0000000000..2dee291b7d --- /dev/null +++ b/jboss/JBossORG-EULA.txt @@ -0,0 +1,104 @@ +LICENSE AGREEMENT +JBOSS(r) + +This License Agreement governs the use of the Software Packages and any updates to the Software +Packages, regardless of the delivery mechanism. Each Software Package is a collective work +under U.S. Copyright Law. Subject to the following terms, Red Hat, Inc. ("Red Hat") grants to +the user ("Client") a license to the applicable collective work(s) pursuant to the +GNU Lesser General Public License v. 2.1 except for the following Software Packages: +(a) JBoss Portal Forums and JBoss Transactions JTS, each of which is licensed pursuant to the +GNU General Public License v.2; + +(b) JBoss Rules, which is licensed pursuant to the Apache License v.2.0; + +(c) an optional download for JBoss Cache for the Berkeley DB for Java database, which is licensed under the +(open source) Sleepycat License (if Client does not wish to use the open source version of this database, +it may purchase a license from Sleepycat Software); + +and (d) the BPEL extension for JBoss jBPM, which is licensed under the Common Public License v.1, +and, pursuant to the OASIS BPEL4WS standard, requires parties wishing to redistribute to enter various +royalty-free patent licenses. + +Each of the foregoing licenses is available at http://www.opensource.org/licenses/index.php. + +1. The Software. "Software Packages" refer to the various software modules that are created and made available +for distribution by the JBoss.org open source community at http://www.jboss.org. Each of the Software Packages +may be comprised of hundreds of software components. The end user license agreement for each component is located in +the component's source code. With the exception of certain image files identified in Section 2 below, +the license terms for the components permit Client to copy, modify, and redistribute the component, +in both source code and binary code forms. This agreement does not limit Client's rights under, +or grant Client rights that supersede, the license terms of any particular component. + +2. Intellectual Property Rights. The Software Packages are owned by Red Hat and others and are protected under copyright +and other laws. Title to the Software Packages and any component, or to any copy, modification, or merged portion shall +remain with the aforementioned, subject to the applicable license. The "JBoss" trademark, "Red Hat" trademark, the +individual Software Package trademarks, and the "Shadowman" logo are registered trademarks of Red Hat and its affiliates +in the U.S. and other countries. This agreement permits Client to distribute unmodified copies of the Software Packages +using the Red Hat trademarks that Red Hat has inserted in the Software Packages on the condition that Client follows Red Hat's +trademark guidelines for those trademarks located at http://www.redhat.com/about/corporate/trademark/. Client must abide by +these trademark guidelines when distributing the Software Packages, regardless of whether the Software Packages have been modified. +If Client modifies the Software Packages, then Client must replace all Red Hat trademarks and logos identified at +http://www.jboss.com/company/logos unless a separate agreement with Red Hat is executed or other permission granted. +Merely deleting the files containing the Red Hat trademarks may corrupt the Software Packages. + +3. Limited Warranty. Except as specifically stated in this Paragraph 3 or a license for a particular +component, to the maximum extent permitted under applicable law, the Software Packages and the +components are provided and licensed "as is" without warranty of any kind, expressed or implied, +including the implied warranties of merchantability, non-infringement or fitness for a particular purpose. +Red Hat warrants that the media on which Software Packages may be furnished will be free from defects in +materials and manufacture under normal use for a period of 30 days from the date of delivery to Client. +Red Hat does not warrant that the functions contained in the Software Packages will meet Client's requirements +or that the operation of the Software Packages will be entirely error free or appear precisely as described +in the accompanying documentation. This warranty extends only to the party that purchases the Services +pertaining to the Software Packages from Red Hat or a Red Hat authorized distributor. + +4. Limitation of Remedies and Liability. To the maximum extent permitted by applicable law, the remedies +described below are accepted by Client as its only remedies. Red Hat's entire liability, and Client's +exclusive remedies, shall be: If the Software media is defective, Client may return it within 30 days of +delivery along with a copy of Client's payment receipt and Red Hat, at its option, will replace it or +refund the money paid by Client for the Software. To the maximum extent permitted by applicable law, +Red Hat or any Red Hat authorized dealer will not be liable to Client for any incidental or consequential +damages, including lost profits or lost savings arising out of the use or inability to use the Software, +even if Red Hat or such dealer has been advised of the possibility of such damages. In no event shall +Red Hat's liability under this agreement exceed the amount that Client paid to Red Hat under this +Agreement during the twelve months preceding the action. + +5. Export Control. As required by U.S. law, Client represents and warrants that it: +(a) understands that the Software Packages are subject to export controls under the +U.S. Commerce Department's Export Administration Regulations ("EAR"); + +(b) is not located in a prohibited destination country under the EAR or U.S. sanctions regulations +(currently Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria); + +(c) will not export, re-export, or transfer the Software Packages to any prohibited destination, entity, +or individual without the necessary export license(s) or authorizations(s) from the U.S. Government; + +(d) will not use or transfer the Software Packages for use in any sensitive nuclear, chemical or +biological weapons, or missile technology end-uses unless authorized by the U.S. Government by +regulation or specific license; + +(e) understands and agrees that if it is in the United States and exports or transfers the Software +Packages to eligible end users, it will, as required by EAR Section 740.17(e), submit semi-annual +reports to the Commerce Department's Bureau of Industry & Security (BIS), which include the name and +address (including country) of each transferee; + +and (f) understands that countries other than the United States may restrict the import, use, or +export of encryption products and that it shall be solely responsible for compliance with any such +import, use, or export restrictions. + +6. Third Party Programs. Red Hat may distribute third party software programs with the Software Packages +that are not part of the Software Packages and which Client must install separately. These third party +programs are subject to their own license terms. The license terms either accompany the programs or +can be viewed at http://www.redhat.com/licenses/. If Client does not agree to abide by the applicable +license terms for such programs, then Client may not install them. If Client wishes to install the programs +on more than one system or transfer the programs to another party, then Client must contact the licensor +of the programs. + +7. General. If any provision of this agreement is held to be unenforceable, that shall not affect the +enforceability of the remaining provisions. This License Agreement shall be governed by the laws of the +State of North Carolina and of the United States, without regard to any conflict of laws provisions, +except that the United Nations Convention on the International Sale of Goods shall not apply. + +Copyright 2006-2007 Red Hat, Inc. All rights reserved. +"JBoss" and the JBoss logo are registered trademarks of Red Hat, Inc. +All other trademarks are the property of their respective owners. diff --git a/jboss/bin/classpath.sh b/jboss/bin/classpath.sh index 091a620f99..b79057cba4 100644 --- a/jboss/bin/classpath.sh +++ b/jboss/bin/classpath.sh @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: classpath.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ### +### $Id: classpath.sh 7809 2002-05-22 02:39:56Z user57 $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` diff --git a/jboss/bin/deployer.bat b/jboss/bin/deployer.bat deleted file mode 100644 index 306e9ee64d..0000000000 --- a/jboss/bin/deployer.bat +++ /dev/null @@ -1,60 +0,0 @@ -@echo off -rem ------------------------------------------------------------------------- -rem JBoss Bootstrap Script for Win32 -rem ------------------------------------------------------------------------- - -rem $Id: deployer.bat,v 1.3 2005/09/04 17:52:33 jjanke Exp $ - -@if not "%ECHO%" == "" echo %ECHO% -@if "%OS%" == "Windows_NT" setlocal - -set DIRNAME=.\ -if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% -set PROGNAME=run.bat -if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% - -rem Read all command line arguments - -set ARGS= -:loop -if [%1] == [] goto endloop - set ARGS=%ARGS% %1 - shift - goto loop -:endloop - -rem Find run.jar, or we can't continue - -set RUNJAR=%DIRNAME%\deployer.jar -if exist "%RUNJAR%" goto FOUND_RUN_JAR -echo Could not locate %RUNJAR%. Please check that you are in the -echo bin directory when running this script. -goto END - -:FOUND_RUN_JAR - -if not "%JAVA_HOME%" == "" goto ADD_TOOLS - -set JAVA=java - -echo JAVA_HOME is not set. Unexpected results may occur. -echo Set JAVA_HOME to the directory of your local JDK to avoid this message. -goto SKIP_TOOLS - -:ADD_TOOLS - -set JAVA=%JAVA_HOME%\bin\java - -rem Setup JBoss sepecific properties -set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -set JBOSS_HOME=%DIRNAME%\.. - -rem JPDA options. Uncomment and modify as appropriate to enable remote debugging. -rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% - -"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.jmx.service.RemoteDeployer %ARGS% - -:END -if "%NOPAUSE%" == "" pause - -:END_NO_PAUSE diff --git a/jboss/bin/deployer.sh b/jboss/bin/deployer.sh deleted file mode 100644 index f910251abd..0000000000 --- a/jboss/bin/deployer.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh -### ====================================================================== ### -## ## -## JBoss Bootstrap Script ## -## ## -### ====================================================================== ### - -### $Id: deployer.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ### - -DIRNAME=`dirname $0` -PROGNAME=`basename $0` -GREP="grep" - -# -# Helper to complain. -# -warn() { - echo "${PROGNAME}: $*" -} - -# -# Helper to puke. -# -die() { - warn $* - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false; -darwin=false; -case "`uname`" in - CYGWIN*) - cygwin=true - ;; - - Darwin*) - darwin=true - ;; -esac - -# For Cygwin, ensure paths are in UNIX format before anything is touched -if $cygwin ; then - [ -n "$JBOSS_HOME" ] && - JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` - [ -n "$JAVA_HOME" ] && - JAVA_HOME=`cygpath --unix "$JAVA_HOME"` - [ -n "$JAVAC_JAR" ] && - JAVAC_JAR=`cygpath --unix "$JAVAC_JAR"` -fi - -# Setup JBOSS_HOME -if [ "x$JBOSS_HOME" = "x" ]; then - # get the full path (without any relative bits) - JBOSS_HOME=`cd $DIRNAME/..; pwd` -fi -export JBOSS_HOME - -# Setup the JVM -if [ "x$JAVA_HOME" != "x" ]; then - JAVA="$JAVA_HOME/bin/java" -else - JAVA="java" -fi - -# Setup the classpath -programjar="$JBOSS_HOME/bin/deployer.jar" -if [ ! -f $programjar ]; then - die "Missing required file: $programjar" -fi -JBOSS_BOOT_CLASSPATH="$programjar" - -if [ "x$JBOSS_CLASSPATH" = "x" ]; then - JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR" -else - JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR" -fi - -# Check for SUN(tm) JVM w/ HotSpot support -if [ "x$HAS_HOTSPOT" = "x" ]; then - HAS_HOTSPOT=`$JAVA -version 2>&1 | $GREP HotSpot` -fi - -# If JAVA_OPTS is not set and the JVM is HOTSPOT enabled, then the server mode -if [ "x$JAVA_OPTS" = "x" -a "x$HAS_HOTSPOT" != "x" ]; then - # MacOS does not support -server flag - if [ "$darwin" != "true" ]; then - JAVA_OPTS="-server" - fi -fi - -# Setup JBoss sepecific properties -JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME" - -# For Cygwin, switch paths to Windows format before running java -if $cygwin; then - JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` - JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` - JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"` -fi - -# Execute the JVM -exec $JAVA $JAVA_OPTS \ - -classpath "$JBOSS_CLASSPATH" \ - org.jboss.jmx.service.RemoteDeployer "$@" diff --git a/jboss/bin/jboss_init_hpux.sh b/jboss/bin/jboss_init_hpux.sh new file mode 100644 index 0000000000..d53eda6578 --- /dev/null +++ b/jboss/bin/jboss_init_hpux.sh @@ -0,0 +1,257 @@ +#!/bin/sh +# +# $Id: jboss_init_hpux.sh 57105 2006-09-23 14:09:27Z dimitris@jboss.org $ +# +# JBoss Control Script for HP-UX +# +# description: JBoss Applicaton Server / EJB Container +# +# Run this script as the root user. This script will start +# as many instances of JBoss as there are array entries in a +# startup configuration file under /etc/rc.config.d/ as +# defined below. If no configuration file exists, the script +# will still attempt to start at least one server using default +# values. +# +# Installation Instructions: +# 1. Copy /bin/jboss_init_hpux.sh to/sbin/init.d/jboss +# 2. Create softlinks to the file from the various startup and shutdown +# directories: +# ln -s /sbin/init.d/jboss /sbin/rc2.d/K001jboss +# ln -s /sbin/init.d/jboss /sbin/rc3.d/S999jboss +# 3. Create /etc/rc.config.d/jboss with the variables defined below. For +# example if you have two servers at /opt/jboss1 and /opt/jboss2 that run +# as users jboss1 and jboss2 using the default instances, then you would +# create the following configuration entries: +############# +# JBOSS_HOME[0]=/opt/jboss1 +# JBOSS_USER[0]=jboss1 +# SERVER_NAME[0]=default +# JBOSS_START[0]=1 +## default console logging (you can also just omit the next line) +# JBOSS_CONSOLE[0]="" +############# +# JBOSS_HOME[1]=/opt/jboss2 +# JBOSS_USER[1]=jboss2 +# SERVER_NAME[1]=default +# JBOSS_START[1]=1 +## No Console logging +# JBOSS_CONSOLE[1]=/dev/null +# + +################################################################## +# +# This script will start as many instances of JBoss as there are +# consecutive array entries for the variables defined below. +# +# There may be a unique jboss server instance for each $JBOSS_HOME[i] +# and $SERVER_NAME[i] combination. +# +# The following variables should be defined in /etc/rc.config.d/jboss. +# If they are not, the variables are defaulted below: +# +# JBOSS_HOME[i] - root directory for jboss installation, like +# /opt/jboss-. +# The default for the 1st instance is /opt/jboss: JBOSS_HOME[0]=/opt/jboss. +# No default for any other instance. +# +# SERVER_NAME[i] - server instance name. Normally "all", "default", or +# "minimal". Maps to server instance at $JBOSS_HOME/server/$SERVER_NAME +# The default value is "default". +# +# JBOSS_START[i] - set to "0" to force JBOSS to not start when this script +# is run. Usefull when this script is run automatically at system +# startup time. Default is "1" to startup. +# +# JBOSS_USER[i] - it is username by which the jboss application server +# is started. The default user is jboss. +# +# JBOSS_CONSOLE[i] - file where jboss console logging will be written +# Use "/dev/null" if console logging is not desired. +# default is /var/opt/jboss/jboss__.log +# +# JAVA_HOME should also be defined in the target users environment, such +# as is the case when it is exported from ~/.profile. +# +# NOTE: The notation for array subscript [0] is optional. You can refer to +# JBOSS_HOME[0] as JBOSS_HOME. +# +# read config variables from files in /etc/rc.config.d +# by convention the config values should be in a file /etc/rc.config.d, +# such as /etc/rc.config.d/jboss. If these variables are not defined +# in a configuration file in rc.config.d, we will attempt to deal with it by +# setting defaults in the program + +if [ -f /etc/rc.config ] +then + . /etc/rc.config +else + print "ERROR: /etc/rc.config default file MISSING" 1>&2 +fi +umask 022 + +# +# Make sure variables are defined at least for the first instance of the +# array. Note that $SERVER_NAME is the same as ${SERVER_NAME[0]} + +JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"} + +PATH=/sbin:/usr/sbin:/usr/bin:$PATH +export PATH + +#Usage: isJBossRunning +# sets non zero return code if Jboss is not running +# sets global isJBossRunningPid with 1st process id if it is running +isJBossRunning() +{ + typeset JBossHome=$2 JBossUserId=$1 instance=$3 junk + ((isJBossRunningPid=0)) + # pipeline reads 1st jboss pid if it is running for user, jboss home, and instance + ps -xu $JBossUserId | + grep "$JBossHome.*org.jboss.Main.*\-c[ \t]*$instance" | grep -v "grep" | + read isJBossRunningPid junk +} + +#USAGE: isUserOK +# prints any problems on standard error and returns with a non-zero status +# returns a 0 status if all is OK +isUserOK() +{ + # check if the user exists + id ${JBOSS_USER[i]} >/dev/null 2>&1 + if (($?!=0)); then + echo "ERROR: The user ${JBOSS_USER[i]} does not exist." 1>&2 + return 1 + fi + + # check if the user has write permission on the jboss instance directory + su ${JBOSS_USER[i]} -c "test -w ${JBOSS_HOME[i]}/server/${SERVER_NAME[i]}" >/dev/null 2>&1 + if (($?!=0)); then + echo "ERROR: The user ${JBOSS_USER[i]} does not have write access to ${JBOSS_HOME[i]}/server/${SERVER_NAME[i]}" 1>&2 + return 2 + fi + + # user must have JAVA_HOME defined + su - ${JBOSS_USER[i]} -c 'whence java || [[ -d $JAVA_HOME ]]' >/dev/null 2>&1 + if (($?!=0)); then + echo "ERROR: The user \"${JBOSS_USER[i]}\" does not have \$JAVA_HOME defined; either define \$JAVA_HOME for this user or ensure that a path to \"java\" exists." 1>&2 + return 3 + fi + + # user looks good so far + return 0 +} + +# Usage: startJBoss +startJBoss() +{ + typeset -i i=$1 + + (( ${JBOSS_START[i]} != 1 )) && return 0 + + # make sure the console log exists with appropriate permissions for JBOSS_USER[i] + if [[ ! -d ${JBOSS_CONSOLE[i]%/*} ]]; then + mkdir -p ${JBOSS_CONSOLE[i]%/*} + chmod 0755 ${JBOSS_CONSOLE[i]%/*} + chown ${JBOSS_USER[i]} ${JBOSS_CONSOLE[i]%/*} + fi + + # do some basic error checking + if [[ ! -d ${JBOSS_HOME[i]} ]]; then + echo "ERROR: JBOSS_HOME[$i] is not a valid directory : ${JBOSS_HOME[i]}" 1>&2 + return 1 + fi + + isUserOK || return 2 + + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} + if (( $? == 0 )); then + echo "JBoss AS is already running for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}" 1>&2 + return 3 + fi + + # keep last version of the console log around + [[ -f ${JBOSS_CONSOLE[i]} ]] && mv ${JBOSS_CONSOLE[i]} ${JBOSS_CONSOLE[i]}.old + + # JBoss is not running, start it up + CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]}" + nohup su - ${JBOSS_USER[i]} -c "sh $CMD_START" >${JBOSS_CONSOLE[i]} 2>&1 & + echo "Starting JBoss AS for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}." + + # wait a few seconds then check if it started ok + #isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || sleep 2 || + #isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || sleep 3 || + #echo "... server not started yet. Check the log files for errors" +} + +# Usage: stopJBoss +stopJBoss() +{ + typeset -i i=$1 + + # return silently if JBoss AS is not running + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} || return 0 + + # JBoss is running and $isJBossRunningPid is set to the process id + # SIGTERM does a gracefull shutdown like ^C + echo "Stopping JBoss AS PID $isJBossRunningPid for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}" + kill -s SIGTERM $isJBossRunningPid + + # wait for up to 30 seconds for the process to terminate gracefully + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "please wait " && sleep 5 && + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "." && sleep 10 && + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && printf "." && sleep 15 && + isJBossRunning ${JBOSS_USER[i]} ${JBOSS_HOME[i]} ${SERVER_NAME[i]} && + echo "NOT Terminated! Wait a moment then check to see if the process has shut down gracefully, or terminate it now with\n \"kill -s SIGKILL $isJBossRunningPid\"" >&2 +} + +# Usage: doAll +doAll() +{ + typeset cmd=$1 + typeset -i rc=0 + shift + + # loop thru the configuration file for servers to start or stop as identified by JBOSS_HOME[i] and the + # other parameters + + ((i=0)) + while [[ ${JBOSS_HOME[i]} != "" ]] + do + + # set defaults for any missing values + SERVER_NAME[$i]=${SERVER_NAME[i]:-"default"} + JBOSS_USER[$i]=${JBOSS_USER[i]:-"jboss"} + JBOSS_CONSOLE[$i]=${JBOSS_CONSOLE[i]:-/var/opt/jboss/${JBOSS_USER[i]}/jboss_${SERVER_NAME[i]}.log} + JBOSS_START[$i]=${JBOSS_START[i]:-1} + + $cmd $i $* + (($? != 0)) && rc=$? + ((i=i+1)) + done + return $rc +} + +case "$1" in + start_msg) + echo "Starting JBoss" + ;; + start) + doAll startJBoss + ;; + stop_msg) + echo "Stopping JBoss" + ;; + stop) + doAll stopJBoss + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 (start|stop|restart|help)" 1>&2 + exit 1 +esac + +exit $? diff --git a/jboss/bin/jboss_init_redhat.sh b/jboss/bin/jboss_init_redhat.sh index 27a22fef04..bec0302275 100644 --- a/jboss/bin/jboss_init_redhat.sh +++ b/jboss/bin/jboss_init_redhat.sh @@ -1,42 +1,49 @@ #!/bin/sh # +# $Id: jboss_init_redhat.sh 71252 2008-03-25 17:52:00Z dbhole $ +# # JBoss Control Script # -# chkconfig: 3 80 20 -# description: JBoss EJB Container -# -# To use this script -# run it as root - it will switch to the specified user -# It loses all console output - use the log. +# To use this script run it as root - it will switch to the specified user # -# Here is a little (and extremely primitive) -# startup/shutdown script for RedHat systems. It assumes -# that JBoss lives in /usr/local/jboss, it's run by user -# 'jboss' and JDK binaries are in /usr/local/jdk/bin. All -# this can be changed in the script itself. -# Bojan +# Here is a little (and extremely primitive) startup/shutdown script +# for RedHat systems. It assumes that JBoss lives in /usr/local/jboss, +# it's run by user 'jboss' and JDK binaries are in /usr/local/jdk/bin. +# All this can be changed in the script itself. # -# Either amend this script for your requirements -# or just ensure that the following variables are set correctly -# before calling the script - -# [ #420297 ] JBoss startup/shutdown for RedHat +# Either modify this script for your requirements or just ensure that +# the following variables are set correctly before calling the script. #define where jboss is - this is the directory containing directories log, bin, conf etc JBOSS_HOME=${JBOSS_HOME:-"/usr/local/jboss"} -#make java is on your path +#define the user under which jboss will run, or use 'RUNASIS' to run as the current user +JBOSS_USER=${JBOSS_USER:-"jboss"} + +#make sure java is in your path JAVAPTH=${JAVAPTH:-"/usr/local/jdk/bin"} -#define the classpath for the shutdown class -JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"} +#configuration to use, usually one of 'minimal', 'default', 'all' +JBOSS_CONF=${JBOSS_CONF:-"default"} + +#if JBOSS_HOST specified, use -b to bind jboss services to that address +JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"} #define the script to use to start jboss -JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c all"} +JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"} + +if [ "$JBOSS_USER" = "RUNASIS" ]; then + SUBIT="" +else + SUBIT="su - $JBOSS_USER -c " +fi if [ -n "$JBOSS_CONSOLE" -a ! -d "$JBOSS_CONSOLE" ]; then # ensure the file exists touch $JBOSS_CONSOLE + if [ ! -z "$SUBIT" ]; then + chown $JBOSS_USER $JBOSS_CONSOLE + fi fi if [ -n "$JBOSS_CONSOLE" -a ! -f "$JBOSS_CONSOLE" ]; then @@ -48,17 +55,7 @@ fi #define what will be done with the console log JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/dev/null"} -#define the user under which jboss will run, or use RUNASIS to run as the current user -JBOSSUS=${JBOSSUS:-"jboss"} - -CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH" -CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown" - -if [ "$JBOSSUS" = "RUNASIS" ]; then - SUBIT="" -else - SUBIT="su - $JBOSSUS -c " -fi +JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH" if [ -z "`echo $PATH | grep $JAVAPTH`" ]; then export PATH=$PATH:$JAVAPTH @@ -69,25 +66,76 @@ if [ ! -d "$JBOSS_HOME" ]; then exit 1 fi +echo JBOSS_CMD_START = $JBOSS_CMD_START -echo CMD_START = $CMD_START +function procrunning() { + procid=0 + JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}' | sed 's/\//\\\//g') + for procid in `/sbin/pidof -x "$JBOSSSCRIPT"`; do + ps -fp $procid | grep "${JBOSSSH% *}" > /dev/null && pid=$procid + done +} +stop() { + pid=0 + procrunning + if [ $pid = '0' ]; then + echo -n -e "\nNo JBossas is currently running\n" + exit 1 + fi + + RETVAL=1 + + # If process is still running + + # First, try to kill it nicely + for id in `ps --ppid $pid | awk '{print $1}' | grep -v "^PID$"`; do + if [ -z "$SUBIT" ]; then + kill -15 $id + else + $SUBIT "kill -15 $id" + fi + done + + sleep=0 + while [ $sleep -lt 120 -a $RETVAL -eq 1 ]; do + echo -n -e "\nwaiting for processes to stop"; + sleep 10 + sleep=`expr $sleep + 10` + pid=0 + procrunning + if [ $pid == '0' ]; then + RETVAL=0 + fi + done + + # Still not dead... kill it + + count=0 + pid=0 + procrunning + + if [ $RETVAL != 0 ] ; then + echo -e "\nTimeout: Shutdown command was sent, but process is still running with PID $pid" + exit 1 + fi + + echo + exit 0 +} + case "$1" in start) cd $JBOSS_HOME/bin if [ -z "$SUBIT" ]; then - eval $CMD_START >${JBOSS_CONSOLE} 2>&1 & + eval $JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 & else - $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &" + $SUBIT "$JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &" fi ;; stop) - if [ -z "$SUBIT" ]; then - $CMD_STOP - else - $SUBIT "$CMD_STOP" - fi + stop ;; restart) $0 stop @@ -97,4 +145,3 @@ restart) echo "usage: $0 (start|stop|restart|help)" esac - diff --git a/jboss/bin/jboss_init_suse.sh b/jboss/bin/jboss_init_suse.sh index 3ce6978dd2..99ef483f9c 100644 --- a/jboss/bin/jboss_init_suse.sh +++ b/jboss/bin/jboss_init_suse.sh @@ -29,11 +29,8 @@ JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss"} #make java is on your path JAVAPTH=${JAVAPTH:-"/usr/java/j2sdk1.4.1/bin"} -#define the classpath for the shutdown class -JBOSSCP=${JBOSSCP:-"$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jnet.jar"} - #define the script to use to start jboss -JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c all"} +JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c default"} # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status @@ -80,7 +77,6 @@ JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/opt/jboss/log/jboss.log"} JBOSSUS=${JBOSSUS:-"jboss"} CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH" -CMD_STOP="java -classpath $JBOSSCP org.jboss.Shutdown --shutdown" if [ "$JBOSSUS" = "RUNASIS" ]; then SUBIT="" @@ -97,6 +93,64 @@ if [ ! -d "$JBOSS_HOME" ]; then exit 1 fi +function procrunning() { + procid=0 + JBOSSSCRIPT=$(echo $JBOSSSH | awk '{print $1}' | sed 's/\//\\\//g') + for procid in `/sbin/pidof -x "$JBOSSSCRIPT"`; do + ps -fp $procid | grep "${JBOSSSH% *}" > /dev/null && pid=$procid + done +} + + +stop() { + pid=0 + procrunning + if [ $pid = '0' ]; then + echo -n -e "\nNo JBossas is currently running\n" + exit 1 + fi + + RETVAL=1 + + # If process is still running + + # First, try to kill it nicely + for id in `ps --ppid $pid | awk '{print $1}' | grep -v "^PID$"`; do + if [ -z "$SUBIT" ]; then + kill -15 $id + else + $SUBIT "kill -15 $id" + fi + done + + sleep=0 + while [ $sleep -lt 120 -a $RETVAL -eq 1 ]; do + echo -n -e "\nwaiting for processes to stop"; + sleep 10 + sleep=`expr $sleep + 10` + pid=0 + procrunning + if [ $pid == '0' ]; then + RETVAL=0 + fi + done + + # Still not dead... kill it + + count=0 + pid=0 + procrunning + + if [ $RETVAL != 0 ] ; then + echo -e "\nTimeout: Shutdown command was sent, but process is still running with PID $pid" + exit 1 + fi + + echo + exit 0 +} + + case "$1" in start) echo -n "Starting JBoss application server: " @@ -112,11 +166,7 @@ start) ;; stop) echo -n "Shutting down JBoss application server: " - if [ -z "$SUBIT" ]; then - $CMD_STOP - else - $SUBIT "$CMD_STOP" - fi + stop # Remember status and be verbose rc_status -v diff --git a/jboss/bin/probe.bat b/jboss/bin/probe.bat new file mode 100644 index 0000000000..40a29e8725 --- /dev/null +++ b/jboss/bin/probe.bat @@ -0,0 +1,13 @@ +@echo off +rem ------------------------------------------------------------------------- +rem JGroups Cluster Discovery Script for Win32 +rem ------------------------------------------------------------------------- + +REM Discovers all UDP-based members running on a certain mcast address (use -help for help) +REM Probe [-help] [-addr ] [-port ] [-ttl ] [-timeout ] + +set CLASSPATH=..\lib\commons-logging.jar;..\server\all\lib\jgroups.jar + +set CP=%CLASSPATH% + +java -cp %CP% org.jgroups.tests.Probe %* diff --git a/jboss/bin/probe.sh b/jboss/bin/probe.sh new file mode 100644 index 0000000000..3198e44442 --- /dev/null +++ b/jboss/bin/probe.sh @@ -0,0 +1,27 @@ +#!/bin/sh +### ====================================================================== ### +## ## +## JGroups Cluster Discovery Script ## +## ## +### ====================================================================== ### + +# Discovers all UDP-based members running on a certain mcast address (use -help for help) +# Probe [-help] [-addr ] [-port ] [-ttl ] [-timeout ] + +CLASSPATH=.:../lib/commons-logging.jar:../server/all/lib/jgroups.jar:$CLASSPATH + +# OS specific support (must be 'true' or 'false'). +cygwin=false; +case "`uname`" in + CYGWIN*) + cygwin=true + ;; +esac + +if [ $cygwin = "true" ]; then + CP=`cygpath -wp $CLASSPATH` +else + CP=$CLASSPATH +fi + +java -cp $CP org.jgroups.tests.Probe $* diff --git a/jboss/bin/run.bat b/jboss/bin/run.bat index b324c39e03..677fce2ecc 100644 --- a/jboss/bin/run.bat +++ b/jboss/bin/run.bat @@ -3,7 +3,7 @@ rem ------------------------------------------------------------------------- rem JBoss Bootstrap Script for Win32 rem ------------------------------------------------------------------------- -rem $Id: run.bat,v 1.7 2005/09/04 17:52:33 jjanke Exp $ +rem $Id: run.bat 73584 2008-05-22 12:09:26Z dimitris@jboss.org $ @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal @@ -13,23 +13,17 @@ if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% set PROGNAME=run.bat if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% -rem Read all command line arguments +pushd %DIRNAME%.. +set JBOSS_HOME=%CD% +popd -REM -REM The %ARGS% env variable commented out in favor of using %* to include -REM all args in java command line. See bug #840239. [jpl] -REM -REM set ARGS= -REM :loop -REM if [%1] == [] goto endloop -REM set ARGS=%ARGS% %1 -REM shift -REM goto loop -REM :endloop +REM Add bin/native to the PATH if present +if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH% +if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%PATH%" rem Find run.jar, or we can't continue -set RUNJAR=%DIRNAME%\run.jar +set RUNJAR=%JBOSS_HOME%\bin\run.jar if exist "%RUNJAR%" goto FOUND_RUN_JAR echo Could not locate %RUNJAR%. Please check that you are in the echo bin directory when running this script. @@ -49,57 +43,66 @@ goto SKIP_TOOLS set JAVA=%JAVA_HOME%\bin\java -if exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS -echo Could not locate %JAVA_HOME%\lib\tools.jar. Unexpected results may occur. -echo Make sure that JAVA_HOME points to a JDK and not a JRE. +rem A full JDK with toos.jar is not required anymore since jboss web packages +rem the eclipse jdt compiler and javassist has its own internal compiler. +if not exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS + +rem If exists, point to the JDK javac compiler in case the user wants to +rem later override the eclipse jdt compiler for compiling JSP pages. +set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar :SKIP_TOOLS -rem Include the JDK javac compiler for JSP pages. The default is for a Sun JDK -rem compatible distribution to which JAVA_HOME points +rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will +rem result in including the local directory in the classpath, which makes +rem error tracking harder. +if not "%JAVAC_JAR%" == "" set RUNJAR=%JAVAC_JAR%;%RUNJAR% +if "%JBOSS_CLASSPATH%" == "" set RUN_CLASSPATH=%RUNJAR% +if "%RUN_CLASSPATH%" == "" set RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR% -set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar - -rem If JBOSS_CLASSPATH is empty, don't include it, as this will -rem result in including the local directory, which makes error tracking -rem harder. -if "%JBOSS_CLASSPATH%" == "" ( - set JBOSS_CLASSPATH=%JAVAC_JAR%;%RUNJAR% -) ELSE ( - set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR% -) +set JBOSS_CLASSPATH=%RUN_CLASSPATH% rem Setup JBoss specific properties set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -set JBOSS_HOME=%DIRNAME%\.. -rem Sun JVM memory allocation pool parameters. Modify as appropriate. +rem Add -server to the JVM options, if supported +"%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul +if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server) + +rem JVM memory allocation pool parameters. Modify as appropriate. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m +rem With Sun JVMs reduce the RMI GCs to once per hour +set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 + rem JPDA options. Uncomment and modify as appropriate to enable remote debugging. -rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% +rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% rem Setup the java endorsed dirs set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed echo =============================================================================== -echo . +echo. echo JBoss Bootstrap Environment -echo . +echo. echo JBOSS_HOME: %JBOSS_HOME% -echo . +echo. echo JAVA: %JAVA% -echo . +echo. echo JAVA_OPTS: %JAVA_OPTS% -echo . +echo. echo CLASSPATH: %JBOSS_CLASSPATH% -echo . +echo. echo =============================================================================== -echo . +echo. :RESTART -"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %* -IF ERRORLEVEL 10 GOTO RESTART +"%JAVA%" %JAVA_OPTS% ^ + -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^ + -classpath "%JBOSS_CLASSPATH%" ^ + org.jboss.Main %* + +if ERRORLEVEL 10 goto RESTART :END if "%NOPAUSE%" == "" pause diff --git a/jboss/bin/run.conf b/jboss/bin/run.conf index 4505c3101e..a40c81a368 100644 --- a/jboss/bin/run.conf +++ b/jboss/bin/run.conf @@ -4,7 +4,7 @@ ## ## ############################################################################## -### $Id: run.conf,v 1.3 2005/09/04 17:52:33 jjanke Exp $ +### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris@jboss.org $ # # This file is optional; it may be removed if not needed. @@ -40,12 +40,11 @@ # Specify options to pass to the Java VM. # if [ "x$JAVA_OPTS" = "x" ]; then - JAVA_OPTS="-server -Xms128m -Xmx128m" + JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" fi # Sample JPDA settings for remote socket debuging -#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y" +#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" # Sample JPDA settings for shared memory debugging -#JAVA_OPTS="$JAVA_OPTS -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss" - +#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss" diff --git a/jboss/bin/run.sh b/jboss/bin/run.sh index b12058aec9..ac4aed35b9 100644 --- a/jboss/bin/run.sh +++ b/jboss/bin/run.sh @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: run.sh,v 1.6 2005/09/04 17:52:33 jjanke Exp $ ### +### $Id: run.sh 75849 2008-07-15 18:43:17Z dimitris@jboss.org $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -32,6 +32,7 @@ die() { # OS specific support (must be 'true' or 'false'). cygwin=false; darwin=false; +linux=false; case "`uname`" in CYGWIN*) cygwin=true @@ -40,6 +41,10 @@ case "`uname`" in Darwin*) darwin=true ;; + + Linux) + linux=true + ;; esac # Read an optional running configuration file @@ -50,6 +55,11 @@ if [ -r "$RUN_CONF" ]; then . "$RUN_CONF" fi +# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower +if [ "$linux" = "true" ]; then + JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true" +fi + # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$JBOSS_HOME" ] && @@ -101,44 +111,72 @@ if [ ! -f "$runjar" ]; then fi JBOSS_BOOT_CLASSPATH="$runjar" -# Include the JDK javac compiler for JSP pages. The default is for a Sun JDK +# Tomcat uses the JDT Compiler +# Only include tools.jar if someone wants to use the JDK instead. # compatible distribution which JAVA_HOME points to if [ "x$JAVAC_JAR" = "x" ]; then - JAVAC_JAR="$JAVA_HOME/lib/tools.jar" + JAVAC_JAR_FILE="$JAVA_HOME/lib/tools.jar" +else + JAVAC_JAR_FILE="$JAVAC_JAR" fi -if [ ! -f "$JAVAC_JAR" ]; then +if [ ! -f "$JAVAC_JAR_FILE" ]; then # MacOSX does not have a seperate tools.jar - if [ "$darwin" != "true" ]; then - warn "Missing file: $JAVAC_JAR" - warn "Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE." + if [ "$darwin" != "true" -a "x$JAVAC_JAR" != "x" ]; then + warn "Missing file: JAVAC_JAR=$JAVAC_JAR" + warn "Unexpected results may occur." fi + JAVAC_JAR_FILE= fi if [ "x$JBOSS_CLASSPATH" = "x" ]; then - JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR" + JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH" else - JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR" + JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH" +fi +if [ "x$JAVAC_JAR_FILE" != "x" ]; then + JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JAVAC_JAR_FILE" fi -# If JAVA_OPTS is not set try check for Hotspot -if [ "x$JAVA_OPTS" = "x" ]; then +# If -server not set in JAVA_OPTS, set it, if supported +SERVER_SET=`echo $JAVA_OPTS | $GREP "\-server"` +if [ "x$SERVER_SET" = "x" ]; then # Check for SUN(tm) JVM w/ HotSpot support if [ "x$HAS_HOTSPOT" = "x" ]; then - HAS_HOTSPOT=`$JAVA -version 2>&1 | $GREP -i HotSpot` + HAS_HOTSPOT=`"$JAVA" -version 2>&1 | $GREP -i HotSpot` fi # Enable -server if we have Hotspot, unless we can't if [ "x$HAS_HOTSPOT" != "x" ]; then # MacOS does not support -server flag if [ "$darwin" != "true" ]; then - JAVA_OPTS="-server" + JAVA_OPTS="-server $JAVA_OPTS" fi fi fi -# Setup JBoss sepecific properties -JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME" +# Setup JBosst Native library path +JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native" +if [ -d "$JBOSS_NATIVE_DIR" ]; then + if $cygwin ; then + export PATH="$JBOSS_NATIVE_DIR:$PATH" + JBOSS_NATIVE_DIR=`cygpath --dos "$JBOSS_NATIVE_DIR"` + fi + if [ "x$LD_LIBRARY_PATH" = "x" ]; then + LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR" + else + LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH" + fi + export LD_LIBRARY_PATH + if [ "x$JAVA_OPTS" = "x" ]; then + JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR" + else + JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR" + fi +fi + +# Setup JBoss specific properties +JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS" # Setup the java endorsed dirs JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" @@ -167,16 +205,52 @@ echo "" echo "=========================================================================" echo "" -STATUS=10 -while [ $STATUS -eq 10 ] -do -# Execute the JVM - "$JAVA" $JAVA_OPTS \ - -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ - -classpath "$JBOSS_CLASSPATH" \ - org.jboss.Main "$@" - STATUS=$? - # if it doesn't work, you may want to take a look at this: - # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html +while true; do + if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then + # Execute the JVM in the foreground + "$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -classpath "$JBOSS_CLASSPATH" \ + org.jboss.Main "$@" + JBOSS_STATUS=$? + else + # Execute the JVM in the background + "$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -classpath "$JBOSS_CLASSPATH" \ + org.jboss.Main "$@" & + JBOSS_PID=$! + # Trap common signals and relay them to the jboss process + trap "kill -HUP $JBOSS_PID" HUP + trap "kill -TERM $JBOSS_PID" INT + trap "kill -QUIT $JBOSS_PID" QUIT + trap "kill -PIPE $JBOSS_PID" PIPE + trap "kill -TERM $JBOSS_PID" TERM + # Wait until the background process exits + WAIT_STATUS=128 + while [ "$WAIT_STATUS" -ge 128 ]; do + wait $JBOSS_PID 2>/dev/null + WAIT_STATUS=$? + if [ "${WAIT_STATUS}" -gt 128 ]; then + SIGNAL=`expr ${WAIT_STATUS} - 128` + SIGNAL_NAME=`kill -l ${SIGNAL}` + echo "*** JBossAS process (${JBOSS_PID}) received ${SIGNAL_NAME} signal ***" >&2 + fi + done + if [ "${WAIT_STATUS}" -lt 127 ]; then + JBOSS_STATUS=$WAIT_STATUS + else + JBOSS_STATUS=0 + fi + fi + # If restart doesn't work, check you are running JBossAS 4.0.4+ + # http://jira.jboss.com/jira/browse/JBAS-2483 + # or the following if you're running Red Hat 7.0 + # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html + if [ "$JBOSS_STATUS" -eq 10 ]; then + echo "Restarting JBoss..." + else + exit $JBOSS_STATUS + fi done diff --git a/jboss/bin/shutdown.bat b/jboss/bin/shutdown.bat index 65159ce856..f2245d4253 100644 --- a/jboss/bin/shutdown.bat +++ b/jboss/bin/shutdown.bat @@ -3,7 +3,7 @@ rem ------------------------------------------------------------------------- rem JBoss JVM Launcher rem ------------------------------------------------------------------------- -rem $Id: shutdown.bat,v 1.6 2005/09/04 17:52:33 jjanke Exp $ +rem $Id: shutdown.bat 72204 2008-04-15 09:34:39Z dimitris@jboss.org $ if not "%ECHO%" == "" echo %ECHO% if "%OS%" == "Windows_NT" setlocal @@ -16,16 +16,6 @@ if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% set PROGNAME=run.bat if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% -rem Read all command line arguments - -set ARGS= -:loop -if [%1] == [] goto end - set ARGS=%ARGS% %1 - shift - goto loop -:end - rem Find MAIN_JAR, or we can't continue set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME% @@ -58,7 +48,7 @@ set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME% rem JPDA options. Uncomment and modify as appropriate to enable remote debugging. rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% -"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS% +"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %* :END if "%NOPAUSE%" == "" pause diff --git a/jboss/bin/shutdown.sh b/jboss/bin/shutdown.sh index 0a3f91c730..b9fe93d368 100644 --- a/jboss/bin/shutdown.sh +++ b/jboss/bin/shutdown.sh @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: shutdown.sh,v 1.6 2005/09/04 17:52:33 jjanke Exp $ ### +### $Id: shutdown.sh 62718 2007-05-02 09:06:09Z dimitris@jboss.org $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -19,14 +19,6 @@ die() { exit 1 } -# Read an optional running configuration file -if [ "x$RUN_CONF" = "x" ]; then - RUN_CONF="$DIRNAME/run.conf" -fi -if [ -r $RUN_CONF ]; then - . $RUN_CONF -fi - # OS specific support (must be 'true' or 'false'). cygwin=false; case "`uname`" in @@ -50,10 +42,12 @@ fi export JBOSS_HOME # Setup the JVM -if [ "x$JAVA_HOME" != "x" ]; then - JAVA=$JAVA_HOME/bin/java -else - JAVA="java" +if [ "x$JAVA" = "x" ]; then + if [ "x$JAVA_HOME" != "x" ]; then + JAVA="$JAVA_HOME/bin/java" + else + JAVA="java" + fi fi # Setup the classpath @@ -73,7 +67,7 @@ if $cygwin; then fi # Execute the JVM -exec $JAVA \ +exec "$JAVA" \ $JAVA_OPTS \ -classpath $JBOSS_CLASSPATH \ org.jboss.Shutdown "$@" diff --git a/jboss/bin/twiddle.bat b/jboss/bin/twiddle.bat index fb4d3d19ba..96171b4879 100644 --- a/jboss/bin/twiddle.bat +++ b/jboss/bin/twiddle.bat @@ -3,7 +3,7 @@ rem ------------------------------------------------------------------------- rem JBoss JVM Launcher rem ------------------------------------------------------------------------- -rem $Id: twiddle.bat,v 1.3 2005/09/04 17:52:33 jjanke Exp $ +rem $Id: twiddle.bat 72204 2008-04-15 09:34:39Z dimitris@jboss.org $ if not "%ECHO%" == "" echo %ECHO% if "%OS%" == "Windows_NT" setlocal @@ -16,16 +16,6 @@ if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% set PROGNAME=run.bat if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% -rem Read all command line arguments - -set ARGS= -:loop -if [%1] == [] goto end - set ARGS=%ARGS% %1 - shift - goto loop -:end - rem Find MAIN_JAR, or we can't continue set MAIN_JAR=%DIRNAME%\%MAIN_JAR_NAME% @@ -57,16 +47,15 @@ set JBOSS_CLASSPATH=%DIRNAME%\..\client\jbossall-client.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\getopt.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\client\log4j.jar set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\jboss-jmx.jar -set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xml-apis.jar -set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\xercesImpl.jar -set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%DIRNAME%\..\lib\dom4j.jar :HAVE_JB_CP set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%MAIN_JAR% rem Setup JBoss sepecific properties +set JBOSS_HOME=%DIRNAME%\.. +set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed set JAVA_OPTS=%JAVA_OPTS% -Djboss.boot.loader.name=%PROGNAME% -%JAVA% %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %ARGS% +"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" %MAIN_CLASS% %* :END diff --git a/jboss/bin/twiddle.sh b/jboss/bin/twiddle.sh index b38fca7dd2..ded300eebb 100644 --- a/jboss/bin/twiddle.sh +++ b/jboss/bin/twiddle.sh @@ -5,7 +5,7 @@ ## ## ### ====================================================================== ### -### $Id: twiddle.sh,v 1.3 2005/09/04 17:52:33 jjanke Exp $ ### +### $Id: twiddle.sh 57032 2006-09-20 22:03:16Z dimitris@jboss.org $ ### DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -57,23 +57,25 @@ if [ "x$JBOSS_CLASSPATH" = "x" ]; then JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/getopt.jar" JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar" JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/jboss-jmx.jar" - JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/xml-apis.jar" - JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/xercesImpl.jar" - JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/lib/dom4j.jar" else JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH" fi +# Setup the java endorsed dirs +JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" + # For Cygwin, switch paths to Windows format before running java if $cygwin; then JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` JBOSS_CLASSPATH=`cygpath --path --windows "$JBOSS_CLASSPATH"` + JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` fi # Execute the JVM -exec $JAVA \ +exec "$JAVA" \ $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ -Dprogram.name="$PROGNAME" \ -classpath $JBOSS_CLASSPATH \ org.jboss.console.twiddle.Twiddle "$@" diff --git a/jboss/bin/wsconsume.bat b/jboss/bin/wsconsume.bat new file mode 100644 index 0000000000..804460d91a --- /dev/null +++ b/jboss/bin/wsconsume.bat @@ -0,0 +1,70 @@ +@echo off + +rem $Id: wsconsume.bat 2885 2008-03-22 23:05:16Z richard.opalka@jboss.com $ + +@if not "%ECHO%" == "" echo %ECHO% +@if "%OS%" == "Windows_NT" setlocal + +set DIRNAME=.\ +if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% +set PROGNAME=run.bat +if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% + +rem Read all command line arguments + +REM +REM The %ARGS% env variable commented out in favor of using %* to include +REM all args in java command line. See bug #840239. [jpl] +REM +REM set ARGS= +REM :loop +REM if [%1] == [] goto endloop +REM set ARGS=%ARGS% %1 +REM shift +REM goto loop +REM :endloop + +set JAVA=%JAVA_HOME%\bin\java +set JBOSS_HOME=%DIRNAME%\.. +rem Setup the java endorsed dirs +set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed + +rem shared libs +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JAVA_HOME%/lib/tools.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/activation.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/wstx.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/mail.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar + +rem shared jaxws libs +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-tools.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-rt.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/stax-api.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/streambuffer.jar +set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/stax-ex.jar + +rem stack specific dependencies +if exist %JBOSS_HOME%/client/jbossws-client.jar goto else + rem JBossWS-Metro stack libraries + echo JBossWS-Metro stack deployed + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-metro-client.jar + goto endif +:else + rem JBossWS-Native stack libraries + echo JBossWS-Native stack deployed + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar + set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar +:endif + +rem Execute the JVM +"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSCONSUME_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSConsume %* diff --git a/jboss/bin/wsconsume.sh b/jboss/bin/wsconsume.sh new file mode 100644 index 0000000000..92d4d52bc3 --- /dev/null +++ b/jboss/bin/wsconsume.sh @@ -0,0 +1,134 @@ +#!/bin/sh + +# +# Invoke wsconsume with dynamic classpath +# depending on the deployed stack and the location +# +# @author Heiko.Braun@jboss.com +# @version $Id: wsconsume.sh 2885 2008-03-22 23:05:16Z richard.opalka@jboss.com $ +# + +DIRNAME=`dirname $0` +PROGNAME=`basename $0` + +# OS specific support (must be 'true' or 'false'). +cygwin=false; +case "`uname`" in + CYGWIN*) + cygwin=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JBOSS_HOME" ] && + JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# Setup JBOSS_HOME +if [ "x$JBOSS_HOME" = "x" ]; then + # get the full path (without any relative bits) + JBOSS_HOME=`cd $DIRNAME/..; pwd` +fi +export JBOSS_HOME + +# Setup the JVM +if [ "x$JAVA" = "x" ]; then + if [ "x$JAVA_HOME" != "x" ]; then + JAVA="$JAVA_HOME/bin/java" + else + JAVA="java" + fi +fi + +#JPDA options. Uncomment and modify as appropriate to enable remote debugging . +#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS" + +# Setup JBoss sepecific properties +JAVA_OPTS="$JAVA_OPTS" + +# Setup the java endorsed dirs +JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" + +### +# Setup the LIBDIR +# This script maybe used form within the jbossws distribution +# or installed under JBOSS_HOME/bin +### + +PARENT=`cd $DIRNAME/..; pwd` +if [ -d $PARENT/client ]; then + LIBDIR=$JBOSS_HOME/client +else + LIBDIR=$PARENT/lib +fi + +# is it a JBossWS-native or SunRI installation? +if [ -f $LIBDIR/jbossws-client.jar ]; then + JBOSSWS_NATIVE="true" +fi + +### +# Setup the wsprovide classpath +# The classpath is dynamically build depending on the stack that +# is deployed. See $JBOSSWS_NATIVE above. +### + +# shared libs +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$JAVA_HOME/lib/tools.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/activation.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/getopt.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/wstx.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossall-client.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/log4j.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/mail.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-spi.jar" + +# shared jaxws libs +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxws-tools.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxws-rt.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/stax-api.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-api.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-impl.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jaxb-xjc.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/streambuffer.jar" +WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/stax-ex.jar" + +### +# Stack specific dependencies +### + +if [ "x$JBOSSWS_NATIVE" = "x" ]; then + # JBossWS-Metro stack libraries + echo "JBossWS-Metro stack deployed" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-metro-client.jar" +else + # JBossWS-Native stack libraries + echo "JBossWS-Native stack deployed" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/javassist.jar" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-xml-binding.jar" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jbossws-client.jar" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-jaxws.jar" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-jaxrpc.jar" + WSCONSUME_CLASSPATH="$WSCONSUME_CLASSPATH:$LIBDIR/jboss-saaj.jar" +fi + +### +# Execute the JVM +### + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + WSCONSUME_CLASSPATH=`cygpath --path --windows "$WSCONSUME_CLASSPATH"` + JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` +fi + +"$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -Dlog4j.configuration=wstools-log4j.xml \ + -classpath "$WSCONSUME_CLASSPATH" \ + org.jboss.wsf.spi.tools.cmd.WSConsume "$@" diff --git a/jboss/bin/wsprovide.bat b/jboss/bin/wsprovide.bat new file mode 100644 index 0000000000..ed2538898f --- /dev/null +++ b/jboss/bin/wsprovide.bat @@ -0,0 +1,75 @@ +@echo off + +rem $Id: wsprovide.bat 2885 2008-03-22 23:05:16Z richard.opalka@jboss.com $ + +@if not "%ECHO%" == "" echo %ECHO% +@if "%OS%" == "Windows_NT" setlocal + +set DIRNAME=.\ +if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% +set PROGNAME=run.bat +if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% + +rem Read all command line arguments + +REM +REM The %ARGS% env variable commented out in favor of using %* to include +REM all args in java command line. See bug #840239. [jpl] +REM +REM set ARGS= +REM :loop +REM if [%1] == [] goto endloop +REM set ARGS=%ARGS% %1 +REM shift +REM goto loop +REM :endloop + +set JAVA=%JAVA_HOME%\bin\java +set JBOSS_HOME=%DIRNAME%\.. +rem Setup the java endorsed dirs +set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed + +rem shared libs +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JAVA_HOME%/lib/tools.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/activation.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/mail.jar + +rem shared jaxws libs +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxws-tools.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxws-rt.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/streambuffer.jar +set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/stax-ex.jar + +rem stack specific dependencies +if exist %JBOSS_HOME%/client/jbossws-client.jar goto else + rem JBossWS-Metro stack libraries + echo JBossWS-Metro stack deployed + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossws-metro-client.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jaxws-api.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jsr181-api.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/saaj-api.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/saaj-impl.jar + goto endif +:else + rem JBossWS-Native stack libraries + echo JBossWS-Native stack deployed + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/policy.jar + set WSPROVIDE_CLASSPATH=%WSPROVIDE_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar +:endif + +rem Execute the JVM +"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSPROVIDE_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSProvide %* diff --git a/jboss/bin/wsprovide.sh b/jboss/bin/wsprovide.sh new file mode 100644 index 0000000000..14b1c362c1 --- /dev/null +++ b/jboss/bin/wsprovide.sh @@ -0,0 +1,139 @@ +#!/bin/sh + +# +# Invoke wsprovide with dynamic classpath +# depending on the deployed stack and the location +# +# @author Heiko.Braun@jboss.com +# @version $Id: wsprovide.sh 2885 2008-03-22 23:05:16Z richard.opalka@jboss.com $ +# + +DIRNAME=`dirname $0` +PROGNAME=`basename $0` + +# OS specific support (must be 'true' or 'false'). +cygwin=false; +case "`uname`" in + CYGWIN*) + cygwin=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JBOSS_HOME" ] && + JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# Setup JBOSS_HOME +if [ "x$JBOSS_HOME" = "x" ]; then + # get the full path (without any relative bits) + JBOSS_HOME=`cd $DIRNAME/..; pwd` +fi +export JBOSS_HOME + +# Setup the JVM +if [ "x$JAVA" = "x" ]; then + if [ "x$JAVA_HOME" != "x" ]; then + JAVA="$JAVA_HOME/bin/java" + else + JAVA="java" + fi +fi + +#JPDA options. Uncomment and modify as appropriate to enable remote debugging . +#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y $JAVA_OPTS" + +# Setup JBoss sepecific properties +JAVA_OPTS="$JAVA_OPTS" + +# Setup the java endorsed dirs +JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" + +### +# Setup the LIBDIR +# This script maybe used form within the jbossws distribution +# or installed under JBOSS_HOME/bin +### + +PARENT=`cd $DIRNAME/..; pwd` +if [ -d $PARENT/client ]; then + LIBDIR=$JBOSS_HOME/client +else + LIBDIR=$PARENT/lib +fi + +# is it a JBossWS-native or SunRI installation? +if [ -f $LIBDIR/jbossws-client.jar ]; then + JBOSSWS_NATIVE="true" +fi + +### +# Setup the wsprovide classpath +# The classpath is dynamically build depending on the stack that +# is deployed. See $JBOSSWS_NATIVE above. +### + +# shared libs +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$JAVA_HOME/lib/tools.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-spi.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/activation.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/getopt.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossall-client.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/log4j.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/mail.jar" + +# shared jaxws libs +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-api.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-impl.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxb-xjc.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-tools.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-rt.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/streambuffer.jar" +WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/stax-ex.jar" + +### +# stack specific dependencies +### + +if [ "x$JBOSSWS_NATIVE" = "x" ]; then + # JBossWS-Metro stack libraries + echo "JBossWS-Metro stack deployed" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-metro-client.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jaxws-api.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jsr181-api.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/saaj-api.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/saaj-impl.jar" +else + # JBossWS-Native stack libraries + echo "JBossWS-Native stack deployed" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-xml-binding.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/javassist.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossall-client.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jbossws-client.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-jaxws.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-jaxrpc.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/jboss-saaj.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/policy.jar" + WSPROVIDE_CLASSPATH="$WSPROVIDE_CLASSPATH:$LIBDIR/wsdl4j.jar" +fi + +### +# Execute the JVM +### + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + WSPROVIDE_CLASSPATH=`cygpath --path --windows "$WSPROVIDE_CLASSPATH"` + JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` +fi + +"$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -Dlog4j.configuration=wstools-log4j.xml \ + -classpath "$WSPROVIDE_CLASSPATH" \ + org.jboss.wsf.spi.tools.cmd.WSProvide "$@" diff --git a/jboss/bin/wsrunclient.bat b/jboss/bin/wsrunclient.bat new file mode 100644 index 0000000000..b11604cfe2 --- /dev/null +++ b/jboss/bin/wsrunclient.bat @@ -0,0 +1,58 @@ +@echo off + +rem $Id: wsrunclient.bat 3813 2008-03-31 12:03:40Z richard.opalka@jboss.com $ + +@if not "%ECHO%" == "" echo %ECHO% +@if "%OS%" == "Windows_NT" setlocal + +set DIRNAME=.\ +if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% +set PROGNAME=run.bat +if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% + + +if not [%1] == [] goto start + echo %PROGNAME% is a command line tool that invokes a JBossWS JAX-WS Web Service client. + echo It builds the correct classpath and endorsed libs for you. Feel free to use + echo the code for this script to make your own shell scripts. It is open source + echo after all. + echo. + echo usage: %PROGNAME% [-classpath ^] ^ [arguments...] + goto EOF +:start +set ARGS= +:loop +if [%1] == [] goto endloop + if not %1 == -classpath goto argset + set WSRUNCLIENT_CLASSPATH=%2 + shift + shift + goto loop + :argset + set ARGS=%ARGS% %1 + shift + goto loop +:endloop + +set JAVA=%JAVA_HOME%\bin\java +set JBOSS_HOME=%DIRNAME%\.. +rem Setup the java endorsed dirs + +rem Setup the java endorsed dirs +set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed + +rem Setup the client classpath +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/xmlsec.jar + +rem JBossAS-5.0 subset of jbossall-client.jar +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-logging-spi.jar +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-common-core.jar + +rem JBossAS-4.2 subset of jbossall-client.jar +set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-common-client.jar + +rem Execute the JVM +"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSRUNCLIENT_CLASSPATH%" %ARGS% +:EOF diff --git a/jboss/bin/wsrunclient.sh b/jboss/bin/wsrunclient.sh new file mode 100644 index 0000000000..4126ea615b --- /dev/null +++ b/jboss/bin/wsrunclient.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +# $Id: wsrunclient.sh 3813 2008-03-31 12:03:40Z richard.opalka@jboss.com $ +DIRNAME=`dirname $0` +PROGNAME=`basename $0` + +if [ $# -eq 0 ]; then + echo "$PROGNAME is a command line tool that invokes a JBossWS JAX-WS Web Service client." + echo "It builds the correct classpath and endorsed libs for you. Feel free to use" + echo "the code for this script to make your own shell scripts. It is open source" + echo "after all." + echo + echo "usage: $PROGNAME [-classpath ] [arguments...]" + exit 1; +fi + +# OS specific support (must be 'true' or 'false'). +cygwin=false; +case "`uname`" in + CYGWIN*) + cygwin=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JBOSS_HOME" ] && + JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +while [ $# -ge 1 ]; do + case $1 in + "-classpath") WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$2"; shift;; + *) args=$args" $1";; + esac + shift +done + +# Setup JBOSS_HOME +if [ "x$JBOSS_HOME" = "x" ]; then + # get the full path (without any relative bits) + JBOSS_HOME=`cd $DIRNAME/..; pwd` +fi +export JBOSS_HOME + +# Setup the JVM +if [ "x$JAVA" = "x" ]; then + if [ "x$JAVA_HOME" != "x" ]; then + JAVA="$JAVA_HOME/bin/java" + else + JAVA="java" + fi +fi + +#JPDA options. Uncomment and modify as appropriate to enable remote debugging . +#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS" + +# Setup JBoss sepecific properties +JAVA_OPTS="$JAVA_OPTS" + +# Setup the java endorsed dirs +JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" + +# Setup the client classpath +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/log4j.jar" +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar" +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/xmlsec.jar" + +# JBossAS-5.0 subset of jbossall-client.jar +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-logging-spi.jar" +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-core.jar" + +# JBossAS-4.2 subset of jbossall-client.jar +WSRUNCLIENT_CLASSPATH="$WSRUNCLIENT_CLASSPATH:$JBOSS_HOME/client/jboss-common-client.jar" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + WSRUNCLIENT_CLASSPATH=`cygpath --path --windows "$WSRUNCLIENT_CLASSPATH"` + JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` +fi + +# Execute the JVM +"$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -Dlog4j.configuration=wstools-log4j.xml \ + -classpath "$WSRUNCLIENT_CLASSPATH" \ + $args diff --git a/jboss/bin/wstools.bat b/jboss/bin/wstools.bat new file mode 100644 index 0000000000..741c03b15a --- /dev/null +++ b/jboss/bin/wstools.bat @@ -0,0 +1,69 @@ +@echo off + +rem $Id: wstools.bat 3813 2008-03-31 12:03:40Z richard.opalka@jboss.com $ + +@if not "%ECHO%" == "" echo %ECHO% +@if "%OS%" == "Windows_NT" setlocal + +set DIRNAME=.\ +if "%OS%" == "Windows_NT" set DIRNAME=%~dp0% +set PROGNAME=run.bat +if "%OS%" == "Windows_NT" set PROGNAME=%~nx0% + +rem Read all command line arguments + +REM +REM The %ARGS% env variable commented out in favor of using %* to include +REM all args in java command line. See bug #840239. [jpl] +REM +REM set ARGS= +REM :loop +REM if [%1] == [] goto endloop +REM set ARGS=%ARGS% %1 +REM shift +REM goto loop +REM :endloop + +set JAVA=%JAVA_HOME%\bin\java +set JBOSS_HOME=%DIRNAME%\.. +rem Setup the java endorsed dirs +set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed + +rem Setup the wstools classpath +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JAVA_HOME%/lib/tools.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/activation.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wstx.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/wsdl4j.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/mail.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/concurrent.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar + +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar +set WSTOOLS_CLASSPATH=%WSTOOLS_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar + +rem Display our environment +echo =========================================================================" +echo . +echo WSTools Environment +echo . +echo JBOSS_HOME: %JBOSS_HOME% +echo . +echo JAVA: %JAVA% +echo . +echo JAVA_OPTS: %JAVA_OPTS% +echo . +rem echo CLASSPATH: %WSTOOLS_CLASSPATH% +rem echo . +echo =========================================================================" +echo . + +rem Execute the JVM +"%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSTOOLS_CLASSPATH%" org.jboss.ws.tools.WSTools %* + diff --git a/jboss/bin/wstools.sh b/jboss/bin/wstools.sh new file mode 100644 index 0000000000..f4d847bcbf --- /dev/null +++ b/jboss/bin/wstools.sh @@ -0,0 +1,99 @@ +#!/bin/sh + +# $Id: wstools.sh 3813 2008-03-31 12:03:40Z richard.opalka@jboss.com $ + +DIRNAME=`dirname $0` +PROGNAME=`basename $0` + +# OS specific support (must be 'true' or 'false'). +cygwin=false; +case "`uname`" in + CYGWIN*) + cygwin=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$JBOSS_HOME" ] && + JBOSS_HOME=`cygpath --unix "$JBOSS_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# Setup JBOSS_HOME +if [ "x$JBOSS_HOME" = "x" ]; then + # get the full path (without any relative bits) + JBOSS_HOME=`cd $DIRNAME/..; pwd` +fi +export JBOSS_HOME + +# Setup the JVM +if [ "x$JAVA" = "x" ]; then + if [ "x$JAVA_HOME" != "x" ]; then + JAVA="$JAVA_HOME/bin/java" + else + JAVA="java" + fi +fi + +#JPDA options. Uncomment and modify as appropriate to enable remote debugging . +#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS" + +# Setup JBoss sepecific properties +JAVA_OPTS="$JAVA_OPTS" + +# Setup the java endorsed dirs +JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed" + +# Setup the wstools classpath +# shared libs +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JAVA_HOME/lib/tools.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/activation.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/getopt.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/wstx.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/wsdl4j.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossall-client.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/log4j.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/mail.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/concurrent.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossws-spi.jar" + +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/javassist.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-xml-binding.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jbossws-client.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-jaxws.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-jaxrpc.jar" +WSTOOLS_CLASSPATH="$WSTOOLS_CLASSPATH:$JBOSS_HOME/client/jboss-saaj.jar" + + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"` + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + WSTOOLS_CLASSPATH=`cygpath --path --windows "$WSTOOLS_CLASSPATH"` + JBOSS_ENDORSED_DIRS=`cygpath --path --windows "$JBOSS_ENDORSED_DIRS"` +fi + +# Display our environment +echo "=========================================================================" +echo "" +echo " WSTools Environment" +echo "" +echo " JBOSS_HOME: $JBOSS_HOME" +echo "" +echo " JAVA: $JAVA" +echo "" +echo " JAVA_OPTS: $JAVA_OPTS" +echo "" +#echo " CLASSPATH: $WSTOOLS_CLASSPATH" +#echo "" +echo "=========================================================================" +echo "" + +# Execute the JVM +"$JAVA" $JAVA_OPTS \ + -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ + -Dlog4j.configuration=wstools-log4j.xml \ + -classpath "$WSTOOLS_CLASSPATH" \ + org.jboss.ws.tools.WSTools "$@" diff --git a/jboss/client/auth.conf b/jboss/client/auth.conf new file mode 100644 index 0000000000..94361d2192 --- /dev/null +++ b/jboss/client/auth.conf @@ -0,0 +1,25 @@ +srp-client { + // Example client auth.conf for using the SRPLoginModule + org.jboss.security.srp.jaas.SRPLoginModule required + password-stacking="useFirstPass" + principalClassName="org.jboss.security.SimplePrincipal" + srpServerJndiName="SRPServerInterface" + debug=true + ; + + // jBoss LoginModule + org.jboss.security.ClientLoginModule required + password-stacking="useFirstPass" + ; + + // Put your login modules that need jBoss here +}; + +other { + // jBoss LoginModule + org.jboss.security.ClientLoginModule required + ; + + // Put your login modules that need jBoss here +}; + diff --git a/jboss/copyright.txt b/jboss/copyright.txt new file mode 100644 index 0000000000..4e7172662d --- /dev/null +++ b/jboss/copyright.txt @@ -0,0 +1,159 @@ +The JBoss(R)* app server is Copyright 2000-2007, Red Hat Middleware LLC +and individual contributors, and is licensed under the GNU LGPL. + +A summary of the individual contributors is given below. +Any omission should be sent to scott.stark@jboss.org. + +CVS Login(s) Name +------------------------------------------------------------------------------- +adrian,ejort Adrian Brock +aloubyansky,loubyansky Alex Loubyansky +asaldhana,osdchicago Anil Saldhana +csuconic,clebert Clebert Suconic +dimitris,andd Dimitris Andreadis +kkhan,kabkhan Kabir Khan +ovidiu,ovidiuf Ovidiu Feodorov +starksm,stark Scott M Stark +tdiesler Thomas Diesler +timfox Tim Fox +bstansberry Brian Stansberry +jgreene,nihility Jason Greene +rloehr Ruel Loehr +reverbel Francisco Reverbel +alesj Ales Justin +bdecoste Bill DeCoste +bill,patriot1burke Bill Burke +telrod Tom Elrod +schrouf Ulf Schroeter +rrajasekaran Rajesh Rajasekaran +genman Elias Ross +clin Chi Lin +ssilvert Stan Silvert +peterj Peter Johnson +rcampbell,recampbell Ryan Cambell +acoliver,acoliver2 Andy Oliver +walkerrl49 Bob Walker +bwang,bwang00 Ben Wang +pilhuhn Heiko W. Rupp +jerrygauth Jerry Gauthier +ltexier Luc Texier +jchang Jack Chang +nrichards,orb Norman Richards +remm Remy Maucherat +nrocher,noelrocher Noel Rocher +ccrouch Charles Crouch +sacha,slaboure Sacha Labourey +bela,belaan Bela Ban +jmoran Jim Moran +gavin,oneovthafew Gavin King +msurtani Manik Surtani +sebersole,steveebersole Steve Ebersole +smarlow Scott Marlow +hbarlas Haroon Barlas +rawb Robert Stryker +flaviarnn Flavia Rainone +cazzius Claudio Vesco +russo,royrusso Roy Russo +theute Thomas Heute +mnf999,fleury Marc Fleury +aveitas Algirdas Veitas +deb Deborah Hooker +karan_malhi Karan Singh +pharaohh Les A. Hazlewood +ricardoarguello Ricardo Arguello +rauschuber Chris Rauschuber +jhaynie Jeff Haynie +vietj,cooperfbi Julien Viet +richarzk Klaus Richarz +chussenet Claude Hussenet +aclute Andrew Clute +juntao Juntao Yuan +kevconner Kevin Conner +mlavergn Marc Lavergne +triathlon98 Joachim Van der Auwera +ivelin Ivelin Atanasoff Ivanov +kimptoc,kimptonc Chris Kimpton +marshall_law,mculpepper Marshall Culpepper +tpeuss Thomas Peuss +essington Jason Essington +posselt Dietmar Posselt +juhalindfors,juha Juha Lindfors +lqd Christian Riege +scoy Stephen Coy +cgjung Christoph Georg Jung +rnjn5 Neil Dattani +luke_t,negaton Luke Taylor +sreich Stefan Reich +thomasra Thomas Roka-Aardal +mikefinn Mike Finn +d_jencks David Jencks +jules_gosnell Jules Gosnell +dsundstrom Dain Sundstrom +gregwilkins Greg Wilkins +janb Jan Bartel +eli201 Eli Tilevich +harald_gliebe Harald Gliebe +mnewcomb Michael Newcomb +andygodwin Andy Godwin +chirino,hiram Hiram Chirino +user57 Jason Dillon +nphelps Nathan W. Phelps +sasp Spyridon Samothrakis +igorfie Igor Fedorenko +jboynes Jeremy Boynes +kbirch Kevin Birch +yanikc Yanik Crepeau +alindsey Aaron Lindsey +mclaugs Scott McLaughlin +austinchau Austin Chau +binaryfeed Jeffrey Wescott +pra Peter Antman +jcooley James Cooley +gropi Tobias Frech +mattmunz Matthew Munz +stormy_sky,schaefera Andreas Schaefer +peter_f Peter Fagerlunds +sparre,osh Ole Husgaard +bartmann Michael Bartmann +lsanders Larry Sanderson +thesitesman Seth Sites +azakkerman Anatoly Akkerman +sgturner Greg Turner +fbrier Frederick N. Brier +biorn_steedom,simone Simone Bordet +yarrumretep Peter M. Murray +peterbraswell Peter Braswell +jwalters Jay Walters +danch Dan Christopherson +fhanik Filip Hanik +squirest Trevor Squires +olegnitz,oleg Oleg Nitz +neales Neale Swinnerton +mikesr Mike Swainston-Rainford +dbudworth David Budworth +weave Brian Weaver +vharcq Vincent Harcq +dmaplesden David Maplesden +boissier Guillaume Boissiere +plevart Peter Levart +thedug Doug Ferguson +lepe,lennart Lennart Petersson +charles_chan Charles Chan +pkendall Paul Kendall +vlada Vladimir Blagojevic +rickardoberg,oberg Rickard Öberg +jayeshpk Jayesh Parayali +deerwood Georg Rehfeld +tobyallsopp,allsopp Toby Allsopp +kvvinaymenon KV Vinay Menon +docodan Daniel OConnor +stacycurl Stacy Curl +phox Fulco Muriglio +dmcnair Dewayne McNair +vladimir Vladimir Ivanovic +joel Joel Phillips +Luc Boudreau(JIRA) Luc Boudreau + +------------------------------------------------------------------------------- +* JBoss is a registered trademark of Red Hat Middleware LLC. + diff --git a/jboss/jar-versions.xml b/jboss/jar-versions.xml index 7870130fc8..4aa2a275b8 100644 --- a/jboss/jar-versions.xml +++ b/jboss/jar-versions.xml @@ -1,141 +1,171 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/lgpl.html b/jboss/lgpl.html new file mode 100644 index 0000000000..0e0676cb37 --- /dev/null +++ b/jboss/lgpl.html @@ -0,0 +1,350 @@ + + + + Appendix A. GNU Lesser General Public License

GNU Lesser General Public License

This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.

+

Free Software Foundation, Inc.
+   51 Franklin Street, Fifth Floor,
+   Boston,
+   MA
+   02110-1301
+   USA
+

+

Everyone is permitted to copy and distribute verbatim + copies of this license document, but changing it is not + allowed.

Version 2.1, February 1999

+

Preamble

The licenses for most software are designed to take away your + freedom to share and change it. By contrast, the GNU General Public + Licenses are intended to guarantee your freedom to share and change + free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some + specially designated software packages--typically libraries--of the + Free Software Foundation and other authors who decide to use it. You + can use it too, but we suggest you first think carefully about whether + this license or the ordinary General Public License is the better + strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use, + not price. Our General Public Licenses are designed to make sure that + you have the freedom to distribute copies of free software (and charge + for this service if you wish); that you receive source code or can get + it if you want it; that you can change the software and use pieces of + it in new free programs; and that you are informed that you can do + these things.

To protect your rights, we need to make restrictions that forbid + distributors to deny you these rights or to ask you to surrender these + rights. These restrictions translate to certain responsibilities for + you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis + or for a fee, you must give the recipients all the rights that we gave + you. You must make sure that they, too, receive or can get the source + code. If you link other code with the library, you must provide + complete object files to the recipients, so that they can relink them + with the library after making changes to the library and recompiling + it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: +

  1. we copyright the library, and

  2. we offer you this license, which gives you legal + permission to copy, distribute and/or modify the library.

+

To protect each distributor, we want to make it very clear that + there is no warranty for the free library. Also, if the library is + modified by someone else and passed on, the recipients should know + that what they have is not the original version, so that the original + author's reputation will not be affected by problems that might be + introduced by others.

Finally, software patents pose a constant threat to the existence of + any free program. We wish to make sure that a company cannot + effectively restrict the users of a free program by obtaining a + restrictive license from a patent holder. Therefore, we insist that + any patent license obtained for a version of the library must be + consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the + ordinary GNU General Public License. This license, the GNU Lesser + General Public License, applies to certain designated libraries, and + is quite different from the ordinary General Public License. We use + this license for certain libraries in order to permit linking those + libraries into non-free programs.

When a program is linked with a library, whether statically or using + a shared library, the combination of the two is legally speaking a + combined work, a derivative of the original library. The ordinary + General Public License therefore permits such linking only if the + entire combination fits its criteria of freedom. The Lesser General + Public License permits more lax criteria for linking other code with + the library.

We call this license the Lesser General Public License because it + does Less to protect the user's freedom than the ordinary General + Public License. It also provides other free software developers Less + of an advantage over competing non-free programs. These disadvantages + are the reason we use the ordinary General Public License for many + libraries. However, the Lesser license provides advantages in certain + special circumstances.

For example, on rare occasions, there may be a special need to + encourage the widest possible use of a certain library, so that it becomes + a de-facto standard. To achieve this, non-free programs must be + allowed to use the library. A more frequent case is that a free + library does the same job as widely used non-free libraries. In this + case, there is little to gain by limiting the free library to free + software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free + programs enables a greater number of people to use a large body of + free software. For example, permission to use the GNU C Library in + non-free programs enables many more people to use the whole GNU + operating system, as well as its variant, the GNU/Linux operating + system.

Although the Lesser General Public License is Less protective of the + users' freedom, it does ensure that the user of a program that is + linked with the Library has the freedom and the wherewithal to run + that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and + modification follow. Pay close attention to the difference between a + “work based on the library” and a “work that uses the library”. The + former contains code derived from the library, whereas the latter must + be combined with the library in order to run.

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

Section 0

This License Agreement applies to any software library or other + program which contains a notice placed by the copyright holder or + other authorized party saying it may be distributed under the terms of + this Lesser General Public License (also called “this License”). + Each licensee is addressed as “you”.

A “library” means a collection of software functions and/or data + prepared so as to be conveniently linked with application programs + (which use some of those functions and data) to form executables.

The “Library”, below, refers to any such software library or work + which has been distributed under these terms. A “work based on the + Library” means either the Library or any derivative work under + copyright law: that is to say, a work containing the Library or a + portion of it, either verbatim or with modifications and/or translated + straightforwardly into another language. (Hereinafter, translation is + included without limitation in the term “modification”.)

Source code” for a work means the preferred form of the work for + making modifications to it. For a library, complete source code means + all the source code for all modules it contains, plus any associated + interface definition files, plus the scripts used to control compilation + and installation of the library.

Activities other than copying, distribution and modification are not + covered by this License; they are outside its scope. The act of + running a program using the Library is not restricted, and output from + such a program is covered only if its contents constitute a work based + on the Library (independent of the use of the Library in a tool for + writing it). Whether that is true depends on what the Library does + and what the program that uses the Library does.

Section 1

You may copy and distribute verbatim copies of the Library's + complete source code as you receive it, in any medium, provided that + you conspicuously and appropriately publish on each copy an + appropriate copyright notice and disclaimer of warranty; keep intact + all the notices that refer to this License and to the absence of any + warranty; and distribute a copy of this License along with the + Library.

You may charge a fee for the physical act of transferring a copy, + and you may at your option offer warranty protection in exchange for a + fee.

Section 2

You may modify your copy or copies of the Library or any portion + of it, thus forming a work based on the Library, and copy and + distribute such modifications or work under the terms of Section 1 + above, provided that you also meet all of these conditions: +

  1. The modified work must itself be a software library.

  2. You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change.

  3. You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License.

  4. If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful.

    (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.)

+

These requirements apply to the modified work as a whole. If + identifiable sections of that work are not derived from the Library, + and can be reasonably considered independent and separate works in + themselves, then this License, and its terms, do not apply to those + sections when you distribute them as separate works. But when you + distribute the same sections as part of a whole which is a work based + on the Library, the distribution of the whole must be on the terms of + this License, whose permissions for other licensees extend to the + entire whole, and thus to each and every part regardless of who wrote + it.

Thus, it is not the intent of this section to claim rights or contest + your rights to work written entirely by you; rather, the intent is to + exercise the right to control the distribution of derivative or + collective works based on the Library.

In addition, mere aggregation of another work not based on the Library + with the Library (or with a work based on the Library) on a volume of + a storage or distribution medium does not bring the other work under + the scope of this License.

Section 3

You may opt to apply the terms of the ordinary GNU General Public + License instead of this License to a given copy of the Library. To do + this, you must alter all the notices that refer to this License, so + that they refer to the ordinary GNU General Public License, version 2, + instead of to this License. (If a newer version than version 2 of the + ordinary GNU General Public License has appeared, then you can specify + that version instead if you wish.) Do not make any other change in + these notices.

Once this change is made in a given copy, it is irreversible for + that copy, so the ordinary GNU General Public License applies to all + subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of + the Library into a program that is not a library.

Section 4

You may copy and distribute the Library (or a portion or + derivative of it, under Section 2) in object code or executable form + under the terms of Sections 1 and 2 above provided that you accompany + it with the complete corresponding machine-readable source code, which + must be distributed under the terms of Sections 1 and 2 above on a + medium customarily used for software interchange.

If distribution of object code is made by offering access to copy + from a designated place, then offering equivalent access to copy the + source code from the same place satisfies the requirement to + distribute the source code, even though third parties are not + compelled to copy the source along with the object code.

Section 5

A program that contains no derivative of any portion of the + Library, but is designed to work with the Library by being compiled or + linked with it, is called a “work that uses the Library”. Such a + work, in isolation, is not a derivative work of the Library, and + therefore falls outside the scope of this License.

However, linking a “work that uses the Library” with the Library + creates an executable that is a derivative of the Library (because it + contains portions of the Library), rather than a “work that uses the + library”. The executable is therefore covered by this License. + Section 6 states terms for distribution of such executables.

When a “work that uses the Library” uses material from a header file + that is part of the Library, the object code for the work may be a + derivative work of the Library even though the source code is not. + Whether this is true is especially significant if the work can be + linked without the Library, or if the work is itself a library. The + threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data + structure layouts and accessors, and small macros and small inline + functions (ten lines or less in length), then the use of the object + file is unrestricted, regardless of whether it is legally a derivative + work. (Executables containing this object code plus portions of the + Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may + distribute the object code for the work under the terms of Section 6. + Any executables containing that work also fall under Section 6, + whether or not they are linked directly with the Library itself.

Section 6

As an exception to the Sections above, you may also combine or + link a “work that uses the Library” with the Library to produce a + work containing portions of the Library, and distribute that work + under terms of your choice, provided that the terms permit + modification of the work for the customer's own use and reverse + engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the + Library is used in it and that the Library and its use are covered by + this License. You must supply a copy of this License. If the work + during execution displays copyright notices, you must include the + copyright notice for the Library among them, as well as a reference + directing the user to the copy of this License. Also, you must do one + of these things: +

  1. Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable “work that + uses the Library”, as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.)

  2. Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with.

  3. Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution.

  4. If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place.

  5. Verify that the user has already received a copy of these + materials or that you have already sent this user a copy.

+

For an executable, the required form of the “work that uses the + Library” must include any data and utility programs needed for + reproducing the executable from it. However, as a special exception, + the materials to be distributed need not include anything that is + normally distributed (in either source or binary form) with the major + components (compiler, kernel, and so on) of the operating system on + which the executable runs, unless that component itself accompanies + the executable.

It may happen that this requirement contradicts the license + restrictions of other proprietary libraries that do not normally + accompany the operating system. Such a contradiction means you cannot + use both them and the Library together in an executable that you + distribute.

Section 7

You may place library facilities that are a work based on the + Library side-by-side in a single library together with other library + facilities not covered by this License, and distribute such a combined + library, provided that the separate distribution of the work based on + the Library and of the other library facilities is otherwise + permitted, and provided that you do these two things: +

  1. Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above.

  2. Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work.

+

Section 8

You may not copy, modify, sublicense, link with, or distribute + the Library except as expressly provided under this License. Any + attempt otherwise to copy, modify, sublicense, link with, or + distribute the Library is void, and will automatically terminate your + rights under this License. However, parties who have received copies, + or rights, from you under this License will not have their licenses + terminated so long as such parties remain in full compliance.

Section 9

You are not required to accept this License, since you have not + signed it. However, nothing else grants you permission to modify or + distribute the Library or its derivative works. These actions are + prohibited by law if you do not accept this License. Therefore, by + modifying or distributing the Library (or any work based on the + Library), you indicate your acceptance of this License to do so, and + all its terms and conditions for copying, distributing or modifying + the Library or works based on it.

Section 10

Each time you redistribute the Library (or any work based on the + Library), the recipient automatically receives a license from the + original licensor to copy, distribute, link with or modify the Library + subject to these terms and conditions. You may not impose any further + restrictions on the recipients' exercise of the rights granted herein. + You are not responsible for enforcing compliance by third parties with + this License.

Section 11

If, as a consequence of a court judgment or allegation of patent + infringement or for any other reason (not limited to patent issues), + conditions are imposed on you (whether by court order, agreement or + otherwise) that contradict the conditions of this License, they do not + excuse you from the conditions of this License. If you cannot + distribute so as to satisfy simultaneously your obligations under this + License and any other pertinent obligations, then as a consequence you + may not distribute the Library at all. For example, if a patent + license would not permit royalty-free redistribution of the Library by + all those who receive copies directly or indirectly through you, then + the only way you could satisfy both it and this License would be to + refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any + particular circumstance, the balance of the section is intended to apply, + and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any + patents or other property right claims or to contest validity of any + such claims; this section has the sole purpose of protecting the + integrity of the free software distribution system which is + implemented by public license practices. Many people have made + generous contributions to the wide range of software distributed + through that system in reliance on consistent application of that + system; it is up to the author/donor to decide if he or she is willing + to distribute software through any other system and a licensee cannot + impose that choice.

This section is intended to make thoroughly clear what is believed to + be a consequence of the rest of this License.

Section 12

If the distribution and/or use of the Library is restricted in + certain countries either by patents or by copyrighted interfaces, the + original copyright holder who places the Library under this License may add + an explicit geographical distribution limitation excluding those countries, + so that distribution is permitted only in or among countries not thus + excluded. In such case, this License incorporates the limitation as if + written in the body of this License.

Section 13

The Free Software Foundation may publish revised and/or new + versions of the Lesser General Public License from time to time. + Such new versions will be similar in spirit to the present version, + but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library + specifies a version number of this License which applies to it and + “any later version”, you have the option of following the terms and + conditions either of that version or of any later version published by + the Free Software Foundation. If the Library does not specify a + license version number, you may choose any version ever published by + the Free Software Foundation.

Section 14

If you wish to incorporate parts of the Library into other free + programs whose distribution conditions are incompatible with these, + write to the author to ask for permission. For software which is + copyrighted by the Free Software Foundation, write to the Free + Software Foundation; we sometimes make exceptions for this. Our + decision will be guided by the two goals of preserving the free status + of all derivatives of our free software and of promoting the sharing + and reuse of software generally.

NO WARRANTY Section 15

BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. + EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR + OTHER PARTIES PROVIDE THE LIBRARY “AS IS” WITHOUT WARRANTY OF ANY + KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE + LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME + THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

Section 16

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY + AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU + FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR + CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE + LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING + RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A + FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF + SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest + possible use to the public, we recommend making it free software that + everyone can redistribute and change. You can do so by permitting + redistribution under these terms (or, alternatively, under the terms of the + ordinary General Public License).

To apply these terms, attach the following notices to the library. It is + safest to attach them to the start of each source file to most effectively + convey the exclusion of warranty; and each file should have at least the + “copyright” line and a pointer to where the full notice is found.

<one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your + school, if any, to sign a “copyright disclaimer” for the library, if + necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice

That's all there is to it!

diff --git a/jboss/mod_jk.conf b/jboss/mod_jk.conf deleted file mode 100644 index dabd03ba59..0000000000 --- a/jboss/mod_jk.conf +++ /dev/null @@ -1,60 +0,0 @@ -# Example Apache Link via mod_jk -# ------------------------------ -# $Id: mod_jk.conf,v 1.1 2005/09/04 18:20:16 jjanke Exp $ - -# This applies to mod_jk (not mod_jk2) -# http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/quickhowto.html -# Download http://apache.tarchive.com/jakarta/tomcat-connectors/jk/binaries/ - -# Update http.conf with something like: -# Include $ADEMPIERE_HOME/jboss/mod.jk .. or directly: - -LoadModule jk_module modules/mod_jk.so -AddModule mod_jk.c - -# Worker File Link -JkWorkersFile /etc/httpd/conf/workers.properties -#JkWorkersFile $ADEMPIERE_HOME/jboss/workers.properties - -# Log -JkLogFile /var/log/httpd/mod_jk.log -JkLogLevel info -JkLogStampFormat "[%a %b %d %H:%M:%S %Y] -# JkOptions indicate to send SSL KEY SIZE, -JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories -# JkRequestLogFormat set the request format -JkRequestLogFormat "%w %V %T" - -# General mapping - send *.jsp to mod_jk -JkMount /*.jsp ajp13 -JkMount /*/servlet/ ajp13 - -# Example host - - DocumentRoot /var/www/html - ServerName www.adempiere.com - ErrorLog /var/log/httpd/com_error_log - CustomLog /var/log/httpd/com_access_log combined - JkMount *.jsp ajp13 - JkMount /wstore/* ajp13 - JkMount /adempiere/* ajp13 - JkMount /invoker/* ajp13 - - -# Prevent External Access to RMI_HTTP tunnel - - order deny,allow - deny from all - allow from localhost 192.168.168 - -# Prevent External Access to Management Console - - order deny,allow - deny from all - allow from localhost 192.168.168 - -# Prevent Access - - AllowOverride None - deny from all - diff --git a/jboss/readme.html b/jboss/readme.html index c9e122dd0e..a37d70fd08 100644 --- a/jboss/readme.html +++ b/jboss/readme.html @@ -1,260 +1,872 @@ - - - - - JBoss 4.0.2 Readme - - - -JBoss Inc. -

JBoss 4.0.2

-

The jboss-4.0.2 release for the J2EE™ 1.4 codebase. For information on the APIs -that make up J2EE 1.4, see J2EE v1.4 Documentation. -For a comprehensive tutorial on J2EE 1.4, see The J2EE™ 1.4 Tutorial. -A jboss-4.0.x getting started guide that is based on contents from the tutorial can be found on the JBoss web site -documentation section, 4.0 Getting Started Guide. -

- - -

Release Notes

- -

Highlights

-
    -
  • The default class loading model in the web container has been changed to - use the standard servlet model that isolates the wars from other deployments, - and loads classes/resources preferentially from the war. In addition the, - classes from packages that cannot be overriden due to their use in the web - container are simply ignored. An example is the commons logging packages. - Prior to 4.0.2 a removal of such packages had to be removed from the war. - The changes are detailed in JBAS-1691 -
  • - -
  • Several improvements to the JACC support to work better with thirdparty - providers has been made. -
  • - -
  • The embedded tomcat version has been upgraded to 5.5.9 -
  • - -
  • The Hibernate deployer version has been upgraded to use the hibernate - 3.0.3 release (tagged jboss_4_0_2 in the hibernate cvs tree as its not - quite 3.0.3). For info on switching back to the 2.1.x based deployer, see: - JBossHibernate. -
  • - -
  • Numerous bug fixes and feature enhancements as listed below -
  • -
- - + + +JBoss +4.2.3.GA Readme +JBoss - A Division of Red Hat

JBoss +AS 4.2.3.GA +Release Notes

+

This is the 3rd bug fixing release of the JBoss Application +Server v4.2 series. The aim of this release is to +provide fixes for bugs reported by the +community against previous JBossAS +v4.2.x releases. There were some backwards compatible component +upgrades so switching to AS 4.2.3.GA from a previous +4.2.0/4.2.1/4.2.2 release should not present any problems. Please check +out the Detailed +Release Notes section for the full details.

+

A secondary target for this release was to +improve support for Java 6. JBossAS 4.2.3.GA can be build with +both JDK5 and JDK6. +The JDK5 compiled binaries have undergone more rigorous testing, they +constitute our certified version and can run under both Java 5 +& 6 VMs (with a few configuration changes for JDK6, see the +configuration section below). The JDK6 compiled binaries include +support for the JDBC 4 APIs, but this should be considered experimental +at this point.

JBoss AS 4.2 +is a stepping stone from JBoss 4.0 to JBoss 5.0. It combines a lot (but +not all) of the exciting new features of JBoss 5, but based on the +stable 4.x MicroKernel architecture.

+

JBoss AS 4.2 is also used as the basis for the +JBoss Enterprise Application Platform. The Application +Platform bundles JBoss AS and +JBoss Seam  +in a software package for which commercial support +is offered +by JBoss/Red Hat. Please read +Sacha's +blog if you are interested to learn more about the new +development, distribution and support model for JBoss.

+

For information on the APIs that make up Java EE 1.4, see Java EE +v1.4 Documentation. For a comprehensive tutorial on Java EE +1.4, see +The Java EE™ 1.4 Tutorial. A jboss-4.2.x getting +started guide that is based on contents from the tutorial can be found +in JBoss +Application Server Documentation Library

+

Note: The 4.2.x release of the JBoss Application +Server provides support for certain JavaEE5 features, such as EJB3, but +it is not Java EE5 certified.

+

Overview

+

Highlights of +JBoss AS 4.2 +series

+
  • JBoss +EJB3 is now deployed *by default* in JBossAS 4.2.x The fact +that we base on JDK5 makes our life easier in this regard, meaning we +don't have to maintain jdk5 code retro-weaved for jdk1.4 runtimes, and +we can include by default components that require jdk5 to run.
  • JBoss +Web v2.x is the web container in JBossAS 4.2, an +implementation based on Apache Tomcat that includes the Apache Portable +Runtime (APR) and Tomcat native technologies to achieve scalability and +performance characteristics that match and exceed the Apache Http +server. In the absence of the native libraries, +JBoss Web falls back to the standard non-native connector mode. The +native libraries need to be downloaded +and installed separately in JBOSS_HOME/bin/native.
  • +
  • JBoss +Transactions v4.2 is the default transaction manager for +JBossAS 4.2. JBoss Transactions is founded on industry proven +technology and 18 year history as a leader in distributed transactions, +and is one of the most interoperable implementations available. The JTA +version of JBoss Transactions included with the server provides for +fully recoverable transactions. For distributed transaction support the +JTS version of JBoss Transactions will need to be used. Furthermore, it +is always possible to fall back to the legacy JBossTM fast in-memory +transaction manager implementation, although it should be noted +that JBoss TM will not be supported in future JBossAS versions.
  • +
  • JBoss +WS +is the web services stack for JBoss 4.2 providing Java EE compatible +web services.
  • +
  • JGroups/JBossCache +is already configured +to support channel multiplexing, when it becomes available.
  • +
  • JBoss +Remoting was upgraded to the latest stable 2.2.x version. +This was done in order to align dependencies with the thirdparty +libraries required by the new JBoss Messaging, +which means that, if you want, you can replace the default JBossMQ +messaging provider with JBoss Messaging, without having to revert to a +scoped deployment.
  • +

Compatibility +Issues

+This lists the changes that could affect compatibility.
+
According to our product +versioning rules, JBossAS 4.2.3 should be fully compatible +with previous JBossAS 4.2.x releases. However you may want to check the +release notes of +the individual JBoss +and Thirdparty libraries updated with this release. Some +related issues from previous JBoss releases that you should be aware of +are listed below:
+

JBossAS 4.2.2.GA

  • JBossWS 1.2.1 +supported JAX-WS only as +a technology preview while JBossWS 2.0.1 used in AS 4.2.2 +provides +full JAX-WS support. If you have used in your code +the annotation org.jboss.ws.annotation.WebContext this +must be replaced by org.jboss.wsf.spi.annotation.WebContext.
  • JBoss +WS 1.0.x due to a deployer limitation used a proprietary .jse +extension for deploying WS endpoints nested in .sar +files. +This was deprecated with JBoss WS 1.2.x. and with JBoss WS 2.x this +proprietary extension is not supported anymore as it is possible to use +the standard .war extension for deploying nested WS endpoints. +If +you see: INIT_WAITING_DEPLOYER error messages for .jse files, +re-package them using a .war extension, JBWS-1854.
  • Another +known limitation is that EJB3 web service endpoints can only +be +specified using annotations and not metadata in jboss.xml. This is +something that will be addressed in a future release, JBAS-4852, +JBWS-1813.
  • Finding +the default local business interface on a ejb3 bean may not work in +certain inheritance scenarios. You may workaround this known +problem by annotating the local business interface. +Read more +about this at EJBTHREE-1062.
  • EJB +Timer +related fixes, JBAS-3379, +JBAS-4053.
  • JBossMQ +related fixes, JBAS-4525, JBAS-4555, JBAS-4559, JBAS-4607, JBAS-4625, +JBAS-4699
  • JSP compiler now set to compile JDK 1.5 +source code by default, JBAS-4605.
  • The +mail-ra.rar resource adapter was missing from the distro, JBAS-4659.
  • HSQLDB +(which shouldn't be used in production) v1.8.0.8 has a known bug when +used in server mode, JBAS-4694. +This doesn't affect the default jboss installation where HSQLDB is used +in in-process mode.
  • Serialization +of HomeHandleImplIIOP has changed. In the unlikely case of a +compatibility problem, define the system property +-Dorg.jboss.proxy.ejb.old.homehandle.serialization=true to fall back to +the legacy serialization mode, JBAS-4801. +

JBossAS +4.2.1.GA +

  • JBoss TS, the new default transaction +manager will not let +you enlist multiple 1-phase participants in the same transaction. This +was *not* the default behavior with the legacy JBoss TM that would log +a warning and continue. There are good reasons for this change, mainly +to avoid heuristic outcomes in the case of system crashes, which is the +primary reason of using a transaction manager anyway! If your come +across this problem you should try to fix it by switching to XA +resources or implementing some form of compensating transactions. +However, if this is not option and you are fully aware of the +consequences you can override this behavior by setting +com.arjuna.ats.jta.allowMultipleLastResources to true in +conf/jbossjta-properties.xml. For more details read the wiki on Multiple1PC, +or consult the JBoss +Transactions documentation.
  • +
  • A major problem related to the cleaning up of threads after +user transaction timeouts was corrected in JBAS-4481. +If you happen to be using User Transactions make sure you follow the correct +pattern for committing or rolling them back.
  • +
  • Another serious classloading issue that could lead to a +hanging JBoss with a 100% CPU utilization was fixed with JBAS-4441.
  • +

JBossAS 4.2.0.GA

+
  • A JavaSE 5 runtime is required +to run JBossAS 4.2. A full +JDK with tools.jar support is no longer needed by jboss, since JBoss +Web packages the eclipse JDT compiler for compiling JSP pages and +javassist has its own internal compiler. JAVA_HOME can point to a JRE, JBAS-4161.
  • +
  • When compared to previous 4.0.x releases, the various JBoss +APIs should be stable but backwards +compatibility for individual component implementations may not be +guaranteed, e.g. interoperating with another JBoss instance that uses +an older version of JGroups.
  • +
  • Tomcat 6 is now bundled as part of JBoss Web. +deploy/jbossweb-tomcat55.sar has been replaced by +deploy/jboss-web.deployer.
  • +
  • conf/log4j.xml has been renamed to conf/jboss-log4j.xml, to +allow log4j.properties override from scoped deployments, JBAS-1853.
  • +
  • log4j and commons-logging have both been upgraded. +commons-logging is patched in addition, JBAS-2823.
  • +
  • Since the latest log4j includes a trace level, there is no +need to reference the custom jboss TRACE level in conf/jboss-log4j.xml +configs, JBAS-4163.
    +Instead of: <category +name="org.jboss.system"><priority value="TRACE" +class="org.jboss.logging.XLevel"/></category>
    +you can use: <category +name="org.jboss.system"><priority +value="TRACE"/></category>
  • +
  • Better integration with WebSphere MQ 5.x, JBAS-3183.
  • +
  • The MyFaces JSF implementation has been replaced by the +Glassfish JSF 1.2 one, JBAS-3897.
  • +
  • Hibernate, hibernate-annotations and +hibernate-entity-manager have all been upgraded. to v3.2.1.
  • +
  • The default invoker for EJBs has been changed from the +rmi-invoker to the unified-invoker, provided by JBoss Remoting, JBAS-3950.
  • +
  • Apache commons http-client and apache-codec were removed +from jbossall-client.jar, JBAS-4365.
  • +
  • The address that is stored in the host portion of the RMI +codebase URL can now be set correctly, JBAS-3325.
  • +
  • The java2ClassLoadingCompliance setting in jboss-web.xml +was ignored; this has been fixed, JBAS-3047.
  • +
  • In JBoss 4.2 the unified invokers based on JBoss Remoting +are the default transport for accessing EJBs. Using the unified +invokers JBoss 4.2 can interoperate safely with JBoss AS +4.0.4.GA/4.0.5.GA, using the flag +-Djboss.remoting.pre_2_0_compatible=true on the JBoss 4.2.x side. For +interoperating with older JBoss AS versions (3.2.8.SP1 to 4.0.3.SP1) +the legacy rmi or pooled invokers need to be used. See JBAS-4407 +and the wiki page on +JBoss Version Compatibility.
  • +

Configuration +Issues

+This lists the changes that could affect configuration.
+

JBossAS 4.2.3.GA

  • JBossAS +4.2.3.GA can be compiled with both Java5 & Java6. The Java5 +compiled binary is our primary/recommended binary distribution. It has +undergone rigorous testing and can run under both a Java 5 and a Java 6 +runtime. When running under Java 6 you need to manually copy the +following libraries from the JBOSS_HOME/client directory to the +JBOSS_HOME/lib/endorsed directory, so that the JAX-WS 2.0 apis +supported by JBossWS are used:
    • jboss-jaxrpc.jar
    • jboss-jaxws.jar
    • jboss-jaxws-ext.jar
    • jboss-saaj.jar
    • jaxb-api.jar
  • If +you still have problems using JBoss with a Sun Java 6 +runtime, you may want to set  -Dsun.lang.ClassLoader.allowArraySyntax=true, +as described in JBAS-4491. +Other potential problems under a Java 6 runtime include:
    • ORB +getting prematurely destroyed when using Sun JDK 6 (see Sun Bug ID: 6520484)
    • Unimplemented +methods in Hibernate for JDK6 interfaces.
  • When JBossAS +4.2.3 is compiled with Java 6, support for the extended JDBC 4 API is +included in the binary, however this can only be used under a +Java 6 runtime. In this case no manual configuration steps are +necessary. It should be noted however that the Java 6 compiled +distribution of JBoss AS 4.2.3.GA is still in experimental stage.

JBossAS +4.2.2.GA

  • Extensions to +LdapExtLoginModule, JBAS-4619.
  • Escape +syntax for mysql and postgresql in jboss CMP, JBAS-4463.
  • Introduced +a new system +property org.jboss.mx.loading.UnifiedLoaderRepository.notifyMode to +provide fine-grained control over the emission of notifications +whenever Unified Classloaders are created. Classloader leaks +can +appear if those notifications are send to remote jmx agents, so the +usage of the flag can avoid this problem, JBAS-4953. +

JBossAS 4.2.1.GA

+
  • %PATH% is not removed from java.library.path in the +presence of JAVA_HOME/bin/native, so e.g. native jdbc drivers can be +loaded, JBAS-4418.
  • +

JBossAS 4.2.0.GA +

  • JBossAS now binds its services to +localhost (127.0.0.1) *by +default*, instead of binding to all available interfaces (0.0.0.0). +This was primarily done for security reasons because of concerns of +users going to production without having secured +their servers properly. +To enable remote access by binding +JBoss services to a particular interface, simply run jboss with the -b +option. To bind to all available interfaces and re-enable the legacy +behaviour use -b 0.0.0.0. In any case, be aware you still need +to secure +you server properly.
  • +
  • There now distinct properties to configure the various +mcast ports, JBAS-4021.
  • +
  • When running under Linux, run.sh forces the use of IPv4, +due to a jdk bug, JBAS-4332.
  • +
  • JBoss EJB3 is now included by default. If you don't +need/want EJB3 support, simply remove deploy/ejb3.deployer.
  • +
  • When using native libraries for JBoss Web store them in +JBOSS_HOME/bin/native, which is automatically included in the +classpath, JBAS-4162.
  • +
  • JBoss Transactions is the new default transaction manager +in JBoss. It is configured in conf/jboss-service.xml and has additional +properties defined in conf/jbossjta-properties.xml. The transaction log +is stored by default at server/default/data/tx-object-store.
  • +
  • If you are on Red Hat Linux, check out the changes in +bin/jboss_init_redhat.sh, JBAS-4041.
  • +
  • The JBossAS distributions usually include the installer +(.jar), the sources (.tar.gz) and the canonical binary release (.zip). +Unzipping the binary distribution (.zip) with a native unzip utility +will restore correctly the executable permission in the /bin/*.sh +files. However, unzipping using the JDK jar utility ignores the +executable bit, so this need to be set manually.
  • +
  • bin/shutdown.sh no longer sources run.conf, JBAS-4155.
  • +

Library Updates

+For a full list of the JBoss and thirdparty libraries used +with JBoss AS 4.2.3 see  build-thirdparty.xml. +

JBossAS 4.2.3.GA

JBoss Library Updates

  • javassist +upgraded to v3.8.0.GA (from v3.6.0.GA)
  • jboss cache +upgraded to v1.4.1.SP9 (from v1.4.1.SP5)
  • jboss jaxr +upgraded to v1.2.0.SP1 (from v1.2.0.GA)
  • jboss +transactions upgraded to v4.2.3.SP7 (from v4.2.3.SP6)
  • jboss +ws upgraded to v3.0.1 / native v2.0.4 (from v2.0.1.SP2)
  • jboss +xb upgraded to v1.0.0.SP3 (from v1.0.0.SP1)
  • jboss +remoting upgraded to v2.2.2.SP8 (from v2.2.2.SP1)

Thirdparty +Library Updates

  • jfreechart upgraded to +v1.0.2 (from v0.9.20)
  • oswego-concurrent upgraded to +v1.3.4-jboss-update1 (from v1.3.4-jboss)
  • sun-jsf +upgraded to v1.2_09-b01 (from v1.2_04_P02)
  • codehaus-jettison +was introduced at v1.0-RC2

JBossAS +4.2.2.GA

JBoss Library Updates +
  • javassist upgraded to v3.6.0.GA (from v3.5.0.GA)
  • jboss +aop upgraded to v1.5.6.GA (from 1.5.5.GA)
  • jboss +cache upgraded to v1.4.1.SP5 (from 1.4.1.SP3)
  • jboss +common upgraded to v1.2.1.GA (from v1.2.0.GA)
  • jboss +remoting upgraded to v2.2.2.SP1 (from v2.2.1.GA)
  • jboss +ts upgraded to v4.2.3.SP6 (from v4.2.3.SP5)
  • jboss +web upgraded to v2.0.1.GA (from v2.0.0.GA)
  • jboss ws +upgraded to v2.0.1.SP2 (from v1.2.1.GA)
  • jboss xb +upgraded to v1.0.0.SP1 (from v1.0.0.GA)
  • jgroups +upgraded to v2.4.1.SP4 (from v2.4.1.SP3)
Thirdparty +Library Updates +
  • hsqldb upgraded to v1.8.0.8 (from v1.8.0.2)
  • jacorb +upgraded to v2.3.0jboss.patch5 (from v2.3.0jboss.patch4)
  • oswego-concurrent +upgraded to v1.3.4-jboss (from v1.3.4)

JBossAS +4.2.1.GA

+JBoss Library Updates +
  • hibernate, upgraded to v3.2.4.SP1_CP01 +(from v3.2.3.GA)
  • +
  • jboss-ts14, upgraded to v4.2.3.SP5 +(from v4.2.3.SP3)
  • +
  • jboss-remoting, upgraded to v2.2.1.GA (from v2.2.0.SP4)
  • +
Thirdparty Library Updates +
  • jacorb, upgraded to v2.3.0jboss.patch4 (from +v2.2.4jboss.patch1)
  • +
  • sun-jsf, upgraded to v1.2_04_P02 (from v1.2_04_P01)
  • +

Detailed Release Notes +

JBossAS-4.2.3.GA

Feature +Request

  • [ JBAS-3051 +] change jmx console title to display the name of the jboss server +configuration with the machine name
  • [ JBAS-4156 +] [jmx-console] Add additional informatin to page header
  • +[ JBAS-4455 +] LoadBalancePolicy that tries to pin all requests associated with a tx +to one server
  • [ JBAS-4501 +] JBoss AS 4.2 won't build with JDK 1.6
  • [ JBAS-4804 +] GenericHeaderAuthenticator injection of ssoid, sessioncookie name
  • +
  • [ JBAS-4986 +] Remove compile-time dependency on Debugger from ClusterPartition
  • +
  • [ JBAS-5035 +] MySQLValidConnectionChecker has driver name com.mysql.jdbc.Driver +hard coded
  • [ JBAS-5139 +] Support injection-target properties within service-ref declarations
  • +
  • [ JBAS-5704 +] Provide JAAS credentials in org.jboss.ant.JMX task so that calls can +be made to security protected MBeans
+

Bug

  • [ JBAS-1901 +] web-console shows dead archives after redeploy
  • +[ JBAS-2477 +] Exception in web-console j2ee domain after undeploy of application
  • +
  • [ JBAS-3402 +] Web Console and Firefox
  • [ JBAS-3406 +] JMX Console throws 500 exception on regular expressions
  • +[ JBAS-3637 +] twiddle ignores environment properties when creating its +InitialContext
  • [ JBAS-4246 +] JBoss logo not displayed for web status when accessed from web +console
  • [ JBAS-4287 +] run.sh can consume 100% single CPU resources on Solaris
  • +[ JBAS-4343 +] NullPointerException causing bad password exception in +LdapLoginModule when the role attribute is not set for a given entry
  • +
  • [ JBAS-4453 +] SerializableResultSetMetaData did not have the classname for the +column set.
  • [ JBAS-4662 +] XADatasource property names are not using the javabean convention
  • +
  • [ JBAS-4673 +] SARDeployer should throw an error if there is more than one loader +repository
  • [ JBAS-4753 +] ExternalContext can pass duplicate interfaces to +Proxy.newProxyInstance(loader, interfaces, handler)
  • +[ JBAS-4766 +] HTTP session replication failover failures with async buddy +replication
  • [ JBAS-4805 +] InitialContextFactory.getHAContext() should not use hardcoded +localhost for lookup
  • [ JBAS-4815 +] UnifiedInvokerProxyHA - Client instance check and assignment should +be atomic
  • [ JBAS-4870 +] Redelivery flags not updated in case of JBossMQ node failure
  • +
  • [ JBAS-4892 +] WebService ignores java.rmi.server.codebase system property
  • +
  • [ JBAS-4897 +] CVE-2007-5461: Information Leak in Tomcat Webdav Servlet
  • +
  • [ JBAS-4911 +] MSSQLValidConnectionChecker throws exception with MS SQL Server 2005 +JDBC driver
  • [ JBAS-4921 +] Web service deployment: web.xml modified to web.xml.org - Subsequent +runs fail
  • [ JBAS-4927 +] Code added in 4.2.1 breaks web app that works in 4.2.0
  • +[ JBAS-4934 +] JBossCacheWrapper should not re-use data gravitation option
  • +
  • [ JBAS-4938 +] source tarball contains non free code
  • [ JBAS-4943 +] jboss-ds_1_5.dtd is wrong
  • [ JBAS-4945 +] Messages transfered from DLQ to working queue will never be resent to +DLQ
  • [ JBAS-4950 +] Transaction failover authorisation is broken within +UnifiedInvokerHAProxy
  • [ JBAS-4964 +] txFailoverAuthorizations should be keyed on transaction propagation +context
  • [ JBAS-4969 +] Security-domain name entry in options map causing exception in custom +login modules
  • [ JBAS-4975 +] Usage of read-ahead on-find with entity beans containing binary +attributes (mapped to BLOB, VARBINAR, ...) breaks eager loading.
  • +
  • [ JBAS-4994 +] ReplyHeaderFilter reports old versions: Servlet 2.4, Tomcat-5.5
  • +
  • [ JBAS-5014 +] EJBMethodPermission implies should check for null methodname and +methodSig==""
  • [ JBAS-5015 +] Deploy entity beans in Oracle 11g on JBoss 4.2.1 and JBoss 4.2.1
  • +
  • [ JBAS-5020 +] Incorrect system property usage in JMX console clustering service
  • +
  • [ JBAS-5026 +] NPE in JvmRouteValve.handleJvmRoute
  • [ JBAS-5049 +] NoInitialContextException on deployment of EAR that contains MDB and +persistence.xml
  • [ JBAS-5063 +] JBoss 4.2.2 doesn't work with JSF RI 1.2_07
  • +[ JBAS-5068 +] Possible NullPointerException in DistributedReplicantManager#_add()
  • +
  • [ JBAS-5072 +] Fix null pointer exception when getting keys, values, or entry's in +the ConcurrentHashmap
  • [ JBAS-5080 +] Need to check transaction status on SQL operations
  • +[ JBAS-5091 +] BuddyCommunicationTimeout is too low
  • [ JBAS-5105 +] PostgreSQL Entity Command for jdbc2pm is Not Working Properly
  • +
  • [ JBAS-5108 +] Twiddle should print out 'invoke' results, even when no +propertyeditor for the returned object is found
  • +[ JBAS-5109 +] Web context and servlet paramters not available in WebMetaData
  • +
  • [ JBAS-5112 +] WebXMLRewriter leaks input stream
  • [ JBAS-5127 +] Hardcoded partition name in cluster-examples-service.xml
  • +
  • [ JBAS-5142 +] cmp2.x jdbc2 pm: missing a join in a collection path translating +"member of"
  • [ JBAS-5149 +] 'webservices' meta data (jboss.xml) not available for ejb3 web +service endpoints
  • [ JBAS-5189 +] Txn-Manager arjuna commits data after timeout in long transactions
  • +
  • [ JBAS-5206 +] Can't start JBoss 5 with a pure JRE installation
  • +[ JBAS-5220 +] twiddle not displaying info regarding java.lang:* beans when +-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl +is used .
  • [ JBAS-5228 +] Race condition maintaining acknowledgements when pushing messages to +the client
  • [ JBAS-5275 +] org.jboss.test.security.test.XMLLoginModulesUnitTestCase failing on +Z-servers
  • [ JBAS-5317 +] org.jboss.test.security.test.HttpsUnitTestCase failing with the IBM +jvm
  • [ JBAS-5354 +] Need to improve error handling around thread pool errors
  • +
  • [ JBAS-5364 +] UnifiedInvokerHAProxy can throw NullPointerException under load
  • +
  • [ JBAS-5428 +] Addition of undocumented feature has caused a bug in normal behaviour +
  • [ JBAS-5431 +] PooledInvokerProxy is not using the TPC factory setup by the +UserTransaction client
  • [ JBAS-5444 +] remove twiddle.bat/shutdown.bat %ARGS% processing in favour of %*
  • +
  • [ JBAS-5459 +] JDBCStartCommand fails with index already exists
  • +[ JBAS-5475 +] NullPointerException when no invoker proxy bindings configured
  • +
  • [ JBAS-5479 +] SSLSessionInterceptor has a copy/paste error in invokeHome method
  • +
  • [ JBAS-5492 +] ClusteredSingleSignOn dead member cleaner throws NPE
  • +[ JBAS-5502 +] Enabling JBossMQ XA recovery fails
  • [ JBAS-5526 +] DB Connections established which fail check-valid-connection-sql do +not immediatly close their connection
  • [ JBAS-5528 +] If SingletonStatelessSessionInstancePool is used for a SLSB, +container MBean state is reported incorrectly
  • +[ JBAS-5568 +] sample-binding.xml does not work for jboss-messaging-1.4
  • +
  • [ JBAS-5571 +] When JBossMQ does XA recovery it should always write the XID to the +log
  • [ JBAS-5574 +] Don't log an error for BMT Stateful not completing their transactions +
  • [ JBAS-5608 +] Removing a session from a clustered sso entry removes all sessions
  • +
  • [ JBAS-5612 +] MySQLValidConnectionChecker is not serializable
  • +[ JBAS-5613 +] OracleValidConnectionChecker is not serializable
  • +[ JBAS-5623 +] JMS ActivationSpec 'acknowledgeMode' does not follow spec +recommendation
  • [ JBAS-5639 +] org.jboss.test.util.test.PropertyEditorsUnitTestCase failing on +Z-systems
  • [ JBAS-5644 +] Incorrect containerName attribute setting in valves
  • +[ JBAS-5657 +] JSP source code exposure in jmx-console
  • [ JBAS-5670 +] Using MessageConsumers with Message Selector make messages stuck in +queue
  • [ JBAS-5678 +] closed jdbc connection before transaction rollback is called
  • +
  • [ JBAS-5696 +] removal of entity with self-referencing CMR and fk-constraint
  • +
  • [ JBAS-5706 +] Default session metadata replication too infrequent
  • +[ JBAS-5735 +] Session not reliably bound to SessionReplicationContext if +SecurityAssocationValve not present

Task

+
  • [ JBAS-4148 +] Replace Gjt code used in the ejb 2.x validation phase
  • +[ JBAS-4424 +] WebAuthentication:Generate a SSOID
  • [ JBAS-4811 +] Integrate the JBossWS core testsuite in the release QA
  • +[ JBAS-4874 +] Track JBoss and thirdparty dependencies for JBossAS 4.2.3
  • +
  • [ JBAS-4876 +] Re-enable JGroups message bundling
  • [ JBAS-4918 +] replace ${jboss.server.home.dir}/log references with +${jboss.server.log.dir}
  • [ JBAS-5057 +] testsuite regression +org.jboss.test.security.test.EJBPermissionUnitTestCase
  • +[ JBAS-5059 +] Update Service Binding configuration for JBossMessaging
  • +[ JBAS-5060 +] Upgrade jfreechart to v1.0.2
  • [ JBAS-5088 +] Failing +org.jboss.test.jbossmq.test.ConnectionConsumerErrorFiredUnitTestCase.testExceptionListenerFiredOnError +(jrockit)
  • [ JBAS-5094 +] org.jboss.test.jaxr.scout failures
  • [ JBAS-5101 +] Re-enable JGroups message bundling
  • [ JBAS-5210 +] Expose sub-pool statistics for Improved Management.
  • +[ JBAS-5226 +] ClientUserTransaction should be configured with Unified invoker
  • +
  • [ JBAS-5331 +] AOP deployer should include pluggable instrumentor jar(s)
  • +
  • [ JBAS-5402 +] Keep JBoss Cache jars out of default
  • [ JBAS-5485 +] Add mdbsessionpoolclear testcase from EJB3
  • [ +JBAS-5648 +] Upgrade to jboss-jaxr-1.0.2.SP1
  • [ JBAS-5650 +] Merge clustering fixes from EAP branch
  • [ JBAS-5677 +] Add discussion of usage of FC to Clustering Guide
  • +[ JBAS-5702 +] Add JDBC4 support to DataSourceInterceptor
  • [ +JBAS-5710 +] Get the JBoss-AS-4.2.x-TestSuite-sun15 passing
  • +[ JBAS-5711 +] Get the JBoss-AS-4.2.x-TestSuite-jrockit15 passing
  • +[ JBAS-5712 +] Add JDBC4 support to Branch_4_2
  • [ JBAS-5720 +] Get a JBoss-AS-4.2.x-TestSuite-sun15-sun16 going
  • +[ JBAS-5721 +] Get a JBoss-AS-4.2.x-TestSuite-sun16-sun16 going
  • +[ JBAS-5722 +] Get all the testsuites passing
  • [ JBAS-5723 +] Verify JBoss-AS-4.2.x-CompatibilityMatrix
  • [ JBAS-5724 +] Verify TCK1.4 tests are passing
  • [ JBAS-5725 +] Verify EJB3 tests are passing
  • [ JBAS-5726 +] Verify JBossWS testsuite
  • [ JBAS-5731 +] JaxWS 2.0 / JaxWS 2.1 support for Branch_4_2
  • +[ JBAS-5748 +] Update links in ROOT.war/index.html
  • [ JBAS-5750 +] Update the interoperability tests matrix with 4.2.2.GA client libs
  • +
  • [ JBAS-5765 +] Make release notes for 4.2.3.GA

Sub-task

+
  • [ JBAS-4875 +] Upgrade jboss transactions to 4.2.3.SP7 (from 4.2.3.SP6)
  • +
  • [ JBAS-4877 +] Upgrade JSF to 1.2_08
  • [ JBAS-4925 +] Upgrade jboss cache to 1.4.1.SP7 (from 1.4.1.SP5)
  • +[ JBAS-4933 +] Upgrade to jbossxb 1.0.0.SP3 (from 1.0.0.SP1)
  • +[ JBAS-4955 +] All the known bind address properties should be set to the default +bind address
  • [ JBAS-4962 +] Upgrade jboss remoting to v2.2.2.SP5 (from v2.2.2.SP1)
  • +[ JBAS-4981 +] Transaction variable is not reset in ejb2 inflow interceptor
  • +
  • [ JBAS-4996 +] Upgrade jbossws to 2.0.4.GA (from 2.0.1.SP2)
  • +[ JBAS-5082 +] Add a transaction status interface for the connection manager and +implement it in TxConnectionManager
  • [ JBAS-5083 +] Add the transaction active check to the jdbc resource adapter
  • +
  • [ JBAS-5084 +] Add the transaction active check to the jms resource adapter
  • +
  • [ JBAS-5170 +] 4.2.x fix to get HA Singleton election policies working in +heterogeneous topologies
  • [ JBAS-5498 +] JDK6: org.jboss.test.security.test.LoginModulesUnitTestCase
  • +
  • [ JBAS-5727 +] Upgrade javassist to 3.8.0.GA
  • [ JBAS-5729 +] Upgrade jboss remoting to v2.2.2.SP8 (from v2.2.2.SP5)
  • +[ JBAS-5753 +] fix org.jboss.test.jbossmx.compliance.objectname.MalformedTestCase
  • +
  • [ JBAS-5754 +] Get tests-webservice passing
  • [ JBAS-5755 +] +org.jboss.test.jca.test.StatisticsFormatterUnitTestCase.testXmlFormatterStatistics +
  • [ JBAS-5758 +] fix iiop tests
  • [ JBAS-5764 +] Upgrade to the latest JSF implementation 1.2_09 (from 1.2_08)
  • +
  • [ JBAS-5768 +] Upgrade JBoss Cache to 1.4.1.SP9
  • [ JBAS-5769 +] Fix +org.jboss.test.jca.test.BackgroundValidationUnitTestCase.testDeployedBackgroundValidationFailure +
  • [ JBAS-5770 +] fix 3 +org.jboss.test.jca.test.JDBCStatementTestsConnectionUnitTestCase +failures
  • [ JBAS-5772 +] +org.jboss.test.cluster.test/FamilyClusterInfoUnitTestCase(Default-TCP)/testSynchronization +

Patch

  • +[ JBAS-4478 +] ignore local ant options when building
  • [ JBAS-5073 +] fix build authenticated proxy (there seems to have been a cut and +paste error at some point)
  • [ JBAS-5527 +] jboss_4_0.dtd should include support for +SingletonStatelessSessionInstancePool

+

JBossAS-4.2.2.GA

+

Feature Request

  • [ JBAS-4093 +] Example XA datasource configuration for Sybase
  • +[ JBAS-4465 +] Rename hsqldb-jdbc-state-service.xml to jdbc-state-service.xml
  • +
  • [ JBAS-4479 +] It'd be nice for listThreadDump() to return a timestamp as well
  • +
  • [ JBAS-4490 +] Update and document all HA Failover features for the jca datasources
  • +
  • [ JBAS-4595 +] Inconclusive exception thrown by HttpNamingContextFactory
  • +
  • [ JBAS-4619 +] Add parseRoleNameFromDN option to LdapExtLoginModule
  • +[ JBAS-4752 +] Session Expiration should also flush the JBoss Authentication Cache
  • +

Bug

  • [ JBAS-3379 +] BigIntegerTimerIdGenerator may create dupplicate timer IDs after +server crash
  • [ JBAS-4000 +] should come before +in standardjboss.xml
  • +
  • [ JBAS-4053 +] EJB TimerService createTimer swallows underlying exception
  • +
  • [ JBAS-4404 +] Tests testJdbc and testControlFlags in +org.jboss.test.security.test.LoginModulesUnitTestCase may fail +incorrectly
  • [ JBAS-4422 +] org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host
  • +
  • [ JBAS-4463 +] escape syntax
  • [ JBAS-4464 +] NPE on shutdown in jacorb connection layer
  • [ +JBAS-4492 +] NullPointerException in org.jboss.util.propertyeditor.DateEditor +setValue(...)
  • [ JBAS-4525 +] JBossMQ WriteTask in UIL2 could block forever
  • +[ JBAS-4528 +] jboss-ds-1.5.dtd is not up-to-date
  • [ JBAS-4536 +] Isolated classloading is incorrectly isolating java.* classes
  • +
  • [ JBAS-4540 +] Port 8083, HTTP request revealing installation directory
  • +
  • [ JBAS-4541 +] Authentication Service (AS) Context stored in CSIv2 encoded IORs +shouldn't indicate EstablishTrustInClient supported when +AUTH_METHOD_NONE
  • [ JBAS-4546 +] Fix RunAsSecurityInterceptor
  • [ JBAS-4555 +] Connection.close() taking 2 minutes in JBossMQ
  • +[ JBAS-4559 +] JBossMQ security manager should have a dependency on the Jaas service +
  • [ JBAS-4575 +] resourceadapter-class should be optional
  • [ JBAS-4593 +] Leak in org/jboss/mx/loading/UnifiedClassLoader3
  • +[ JBAS-4597 +] CacheInvalidator.areInvalid doesn't lock partitions
  • +[ JBAS-4605 +] JSP compiler won't compile JDK 1.5 source
  • [ JBAS-4607 +] Transaction timeout is not raising a JMSException in the JBossMQ +Persistence manager or StateManager
  • [ JBAS-4611 +] HTTP Session Repl Cache configured with CacheLoader can cause slow AS +shutdowns
  • [ JBAS-4614 +] UnifiedInvokerHAProxy does not implement InvokerProxyHA
  • +[ JBAS-4615 +] NamingContext caches stale Naming stub
  • [ JBAS-4622 +] Can't flush bad naming stub if no java.naming.provider.url specified
  • +
  • [ JBAS-4623 +] org.jboss.web.tomcat.service.session.JBossCacheCluster creates +MBeanServer with incorrent domain name
  • [ JBAS-4625 +] Connection leak if failure to setup connection in jms inbound +resource adapter
  • [ JBAS-4655 +] HandleImplIIOP not retrieving EJBObject correctly
  • +[ JBAS-4659 +] jboss-4.2.1.GA.zip distribution doesn't include mail-ra.rar
  • +
  • [ JBAS-4667 +] Wrong logic in +CachedConnectionManager.getCloseConnectionSynchronization()
  • +
  • [ JBAS-4680 +] Update example for JBossWS Message TRACE in jboss-log4j.xml
  • +
  • [ JBAS-4681 +] Generated Corba stub throws BAD_OPERATION on toString() when not +connected to the ORB
  • [ JBAS-4691 +] JACC: Unchecked WebUserDataPermission(s) for excluded and transport +guarantee use cases
  • [ JBAS-4697 +] Use of EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.toArray() +is not thread safe and should be replace with +java.util.concurrent.ConcurrentHashMap when using MQ transactions.
  • +
  • [ JBAS-4701 +] JaasSecurityDomain doesn't handle encrypted truststore passwords +properly
  • [ JBAS-4719 +] Implementations of Invoker should implement equals as an equality +check rather than relying on Object.equals, this is important for +cluster fail-over support
  • [ JBAS-4729 +] HARMIClient fails over on UnmarshalException
  • +[ JBAS-4748 +] TransactionLocal.get() not sufficiently pluggable
  • [ +JBAS-4801 +] HomeHandleImplIIOP not using the HandleDelegate
+

Task

  • [ JBAS-3142 +] Add UnifiedInvoker (JBSer and JavaSer) into Version MatrixTestSuite
  • +
  • [ JBAS-4092 +] Clean up the tests-webservice-ssl target
  • [ JBAS-4523 +] Verify installation of jbossws tools jars
  • [ JBAS-4526 +] JBossMQ UIL2 Read/Write Tasks should not be doing initialization
  • +
  • [ JBAS-4549 +] Track JBoss and thirdparty dependencies for JBossAS 4.2.2
  • +
  • [ JBAS-4572 +] EJB 3 testsuite 100%
  • [ JBAS-4600 +] Rename JBossMQ variables from jboss-messaging to +jboss.messaging-mq.lib
  • [ JBAS-4601 +] Add example sybase-xa-ds.xml from the forums
  • +[ JBAS-4638 +] fix org.jboss.test.web.test.ssl.SSLUnitTestCase caused by upgrade to +JBoss Web 2.0.1.CR6.
  • [ JBAS-4640 +] JmsActivation reconnection could start multiple threads
  • +[ JBAS-4641 +] Move XMLJUnitMultipleResultFormatter from testsuite module to test +module
  • [ JBAS-4649 +] Upgrade to JBoss Cache 1.4.1.SP4
  • [ JBAS-4695 +] Update the release notes for JBossAS 4.2.2.GA
  • +[ JBAS-4696 +] Arrange community documents for 4.2.2.GA
  • [ JBAS-4698 +] Oswego Concurrent needs checking for bug fixes
  • +[ JBAS-4699 +] JBossMQ should use XA_RMFAIL as the default XA error code
  • +
  • [ JBAS-4737 +] Include the CSIv2-patched JacORB
  • [ JBAS-4754 +] Do a full CTS1.4 run to check for regressions.
+

Sub-task

  • [ JBAS-3572 +] Fix the NPEs (better error handling) identified by the new +ServiceController testsuite
  • [ JBAS-3613 +] failing test in +org.jboss.test.iiop.test.ParameterPassingStressTestCase
  • +[ JBAS-4152 +] Upgrade to hsql 1.8.0.8 causes +org.jboss.test.cmp2.idxandusersql.test.IdxAndUsersqlUnitTestCase::testCMRmn2 +to fail
  • [ JBAS-4550 +] Upgrade to JBossWeb 2.0.1 (from 2.0.0.GA)
  • [ JBAS-4578 +] Upgrade jboss remoting to v2.2.2.SP1 (from v2.2.1.GA)
  • +[ JBAS-4663 +] Replace JBossClusteredTestCase usage of RMIAdaptor
  • +[ JBAS-4664 +] Move JBossClusteredTestCase to test module in Branch_4_2
  • +
  • [ JBAS-4675 +] TransactionLocal cannot be locked when transaction is marked rollback +only
  • [ JBAS-4690 +] TransactionLocal tests are not run against the proper transaction +manager
  • [ JBAS-4694 +] Upgrade hsqldb to v1.8.0.8 (from 1.8.0.2)
  • [ JBAS-4715 +] Upgrade jboss common to 1.2.1.GA (from 1.2.0.GA)
  • +[ JBAS-4723 +] Upgrade JGroups to 2.4.1.SP4
  • [ JBAS-4731 +] Upgrade to JBoss Cache 1.4.1.SP5
  • [ JBAS-4740 +] HARMIClient to give preference to wrapping NoSuchObjectException
  • +
  • [ JBAS-4759 +] Upgrade jboss transactions to 4.2.3.SP6 (from 4.2.3.SP5)
  • +
  • [ JBAS-4760 +] Upgrade to javassist 3.6.0.GA (from 3.5.0.GA)
  • +[ JBAS-4761 +] Upgrade to JBoss AOP 1.5.6.GA (from 1.5.5.GA)
  • +[ JBAS-4767 +] Upgrade jbossws to 2.0.1 (from 1.2.1.GA)
+

JBossAS-4.2.1.GA

Feature Request

-
    -
  • [JBAS-1365] - Allow arbitrary creation of filters in ListenerServiceMBeanSupport
  • -
  • [JBAS-1391] - Add support for datasource failover
  • -
  • [JBAS-1401] - Tomcat 5.5.9 integration
  • -
  • [JBAS-1448] - Update the ServerInfo listThreadDump to use the jdk 5 stack traces
  • -
  • [JBAS-1449] - Update the ServerInfo memory ops to use the jdk 5 mbeans
  • -
  • [JBAS-1460] - Add an option to relax the JaasSecurityDomain certificate validation
  • -
  • [JBAS-1468] - Add support for IP address reporting inside a Login Module
  • -
  • [JBAS-1473] - Add support for customization of the login module password hash mechanism
  • -
  • [JBAS-1508] - JBoss AS needs JSF
  • -
  • [JBAS-1509] - CMT EJB should throw an exception if transaction marked rollback
  • -
  • [JBAS-1562] - Expose getEntityLockMonitor in the MBean EntityLockMonitorMBean
  • -
  • [JBAS-1604] - Add detailed logging to the jms resource adapter
  • -
  • [JBAS-1610] - Integrate jdk5 MXBeans (platform MBeans) to JBoss
  • -
  • [JBAS-1645] - The MDB should not automatically create JBossMQ destinations
  • -
  • [JBAS-1680] - Add a descriptors list attribute to the JarDeployer
  • -
  • [JBAS-1722] - Allow for a Principal instance as the Context.SECURITY_PRINCIPAL in LoginInitialContextFactory
  • -
  • [JBAS-1736] - twiddle should support username and password options
  • -
  • [JBAS-1739] - Add default users/roles properties to the UsersRolesLoginModule
  • -
  • [JBAS-1758] - A BarrierController service to allow start/stop dependecies triggered by notifications
  • -
  • [JBAS-1764] - Add MySQLConnectionValidator
  • -
- -

Bug

-
    -
  • [JBAS-20] - Multiple ports wsdl service element
  • -
  • [JBAS-21] - Cannot find wsdl in client deployment
  • -
  • [JBAS-897] - invalid ejb-link
  • -
  • [JBAS-1021] - Virtual host problem
  • -
  • [JBAS-1065] - No redeployment possible after unsuccessful first deployment
  • -
  • [JBAS-1070] - Warning message not found when deploying WS4EE Web Service
  • -
  • [JBAS-1099] - Missing EJB verifier message
  • -
  • [JBAS-1115] - bad path to included xsd gets built in WSDLFilePublisher
  • -
  • [JBAS-1183] - Verifier warning message not found
  • -
  • [JBAS-1235] - TimedObject id persistence fails on restart
  • -
  • [JBAS-1270] - UserTransaction with non default ProviderURL
  • -
  • [JBAS-1358] - Tomcat session replication breaks if there is already an active transaction
  • -
  • [JBAS-1363] - JACC DelegatingPolicy will not work with a SecurityManager installed
  • -
  • [JBAS-1377] - bad path to included xsd gets built in WSDLFilePublisher
  • -
  • [JBAS-1378] - Need tcp configuration variation of the cluster unit tests
  • -
  • [JBAS-1480] - Web Console: Monitors: Errors in the log
  • -
  • [JBAS-1495] - Looking up a session bean on one server from within another in JBoss 3.2.7
  • -
  • [JBAS-1512] - misspelling of UserPrinicpalRequest and UserPrinicipalServletRequest
  • -
  • [JBAS-1516] - Tomcat5: StandardContext getConfigBase tries to create a directory
  • -
  • [JBAS-1517] - SAR detection broken
  • -
  • [JBAS-1544] - Wrong MBean attribute name in jboss:service=Mail (POP3SererHost )
  • -
  • [JBAS-1545] - FileURLConnection breaks if path has spaces
  • -
  • [JBAS-1551] - Classloader bug (version > 3.2.3)
  • -
  • [JBAS-1552] - JBoss use wrong version of javax.resource.ResourceException class file
  • -
  • [JBAS-1555] - HTTP Status 403 on using org.jboss.web.tomcat.security.JaccAuthorizationRealm
  • -
  • [JBAS-1560] - Clustered stateful session bean removal of expired passivated instances causes deadlock
  • -
  • [JBAS-1561] - Fix for Hibernate/JBossCache integration
  • -
  • [JBAS-1564] - Prepared Statement Cache does not take into account autocommit semantics
  • -
  • [JBAS-1574] - SerializableResultSetMetaData.getColumnCount is off by one
  • -
  • [JBAS-1576] - Hibernate TransactionSynch should rollback transaction on session.flush exception
  • -
  • [JBAS-1577] - white-space in ServiceMBean EVENT types
  • -
  • [JBAS-1578] - Duplicate Messages
  • -
  • [JBAS-1579] - Need to cleanup the serialVersionUIDs for Serializable/Externalizable classes
  • -
  • [JBAS-1580] - Problem when Submitting Massive Load into HttpSession
  • -
  • [JBAS-1581] - JDBC StateManager - CREATE_TABLES_ON_STARTUP is wrong
  • -
  • [JBAS-1582] - NullPersistenceManager, DelegateName is wrong
  • -
  • [JBAS-1583] - Primary key violation on JMS_TRANSACTIONS
  • -
  • [JBAS-1588] - Collection synchronization into cmp2
  • -
  • [JBAS-1589] - Typo in JBossMQ's TxManager
  • -
  • [JBAS-1590] - Container does not call commit or refresh for the JACC provider
  • -
  • [JBAS-1592] - JaccAuthorizationRealm always returns false on subsequent requests
  • -
  • [JBAS-1599] - EJB Pools Strict Maximum Pool Permits Leak
  • -
  • [JBAS-1600] - Stateless sesion ejbCreate CreateException are not propagated correctly
  • -
  • [JBAS-1602] - Can't use container level taglibs
  • -
  • [JBAS-1619] - LoadLibrary should be done through the deployment classloader
  • -
  • [JBAS-1622] - findSessions doesn't find all sessions in http session replication
  • -
  • [JBAS-1632] - clustering unit test failure
  • -
  • [JBAS-1633] - Random IllegalStateException when session id is recycled
  • -
  • [JBAS-1636] - Don't try to delist a track-connection-by-tx connection that is already broken and has been closed.
  • -
  • [JBAS-1639] - Integrate Critical JBWS bug fixes
  • -
  • [JBAS-1640] - JACC web application validation fails when Tomcat Connector is secure
  • -
  • [JBAS-1669] - NullPointerException in DLQHandler
  • -
  • [JBAS-1673] - ClassCastException in JmsActivation in setupQueueConnection
  • -
  • [JBAS-1674] - web-console depends on UseJBossWebLoader=true
  • -
  • [JBAS-1675] - Integrate Critical CTS bug fixes
  • -
  • [JBAS-1677] - createConsumer and temporaries
  • -
  • [JBAS-1679] - http session timeout is not implemented when distributed
  • -
  • [JBAS-1682] - LDAP support: Roles in root context (empty searchBase) not supported
  • -
  • [JBAS-1683] - The JACC subject policy context handler always returns null
  • -
  • [JBAS-1684] - JaccAuthorizationRealm incorrectly returns false when unauthenticated caller attempts to access an unprotected resource
  • -
  • [JBAS-1685] - JACC Web*Permission do not handle an empty
  • -
  • [JBAS-1686] - AbstractWebDeployer adds more unchecked permissions to the JACC policy provider than it should
  • -
  • [JBAS-1688] - Incorrect war parent class loader used when UseJBossWebLoader=false
  • -
  • [JBAS-1695] - JACC: incorrect * mapping of web.xml
  • -
  • [JBAS-1718] - JACC javax.servlet.http.HttpServletRequest PolicyContext data is null
  • -
  • [JBAS-1723] - The JACC policy should be consulted for an 'unauthenticated caller'
  • -
  • [JBAS-1737] - jmx-console fails to pass java.lang.Object values to op invocations
  • -
  • [JBAS-1738] - JndiLoginInitialContextFactory is missing from jbossall-client.jar
  • -
  • [JBAS-1741] - Deadlock can occur when acting on startup notification from jboss.system:type=Server and trying to access the web server.
  • -
  • [JBAS-1749] - JMX invoker authentication interceptor example doesn't make sense
  • -
  • [JBAS-1756] - Questionable management of the security association in StatefulSessionInstanceInterceptor
  • -
  • [JBAS-1765] - Check the SQLStatus for MySQLExceptionSorter == 8
  • -
  • [JBAS-1771] - MainDeployer.parseManifestLibraries does not log underlying exceptions
  • -
- -

Task

-
    -
  • [JBAS-58] - Complete testing of JMS Message Inflow
  • -
  • [JBAS-1271] - Scout/jUDDI based JAXR Implementation
  • -
  • [JBAS-1359] - Remove the castor dependency for the snmp adapter, use jbossxb
  • -
  • [JBAS-1446] - org.jboss.resource.deployment.RARDeployment needs TRACE logging
  • -
  • [JBAS-1478] - Move axis-ws4ee to package org.jboss.org.apache.axis
  • -
  • [JBAS-1559] - Check all serverSocket accept threads
  • -
  • [JBAS-1597] - Update docs for the 4.0.2 release
  • -
  • [JBAS-1609] - Backport latest JBossCache (1.2.2)
  • -
  • [JBAS-1617] - Merge fixes for JacORB bugs #562 and #568 into the JacORB lib shipped w/ JBoss
  • -
  • [JBAS-1618] - Update 4.0.2 to use the latest hsql release
  • -
  • [JBAS-1631] - Cleanup System.out from console servlets and mbeans
  • -
  • [JBAS-1637] - Add the j2ee dtd/schema redistribution terms to the release
  • -
  • [JBAS-1644] - Cleanup the license headers in the source code
  • -
  • [JBAS-1691] - Switch to UseJBossWebLoader=false as the default web container configuration
  • -
  • [JBAS-1696] - OIL and RMI ILs are still present in the distribution
  • -
  • [JBAS-1730] - Cleanup the commons jar usage
  • -
  • [JBAS-1757] - Cleanup the error reporting output about faulty deployments
  • -
- -

Patch

-
    -
  • [JBAS-64] - javax.naming.StateFactory/ObjectFactory support
  • -
  • [JBAS-1506] - CDROutputStream.create_input_stream is wrong when there are deferred writes
  • -
  • [JBAS-1556] - SingletonStatelessSessionInstancePool doesn't work properly now
  • -
- -

Configuration Issues

-

Note that as of the 4.0.1 release, the distributed configurations have -switched back to the 3.2.x types of distribution configurations:

-
    -
  • minimal: a minimal microkernel with logging, JNDI and hot deployment - support
  • -
  • default: a base level J2EE 1.4 application server configuration
  • -
  • all: a full J2EE 1.4 server configuration with clustering and all - optional services
  • -
- -

The standard configuration from the 4.0.0-4.0.1RC1 releases has been dropped -and the default flat class loading model from 3.0.x-3.2.x has been restored for -the default configuration. This change in behavior was done to restore -consistency with the 3.2.x class loading model. The 4.0.0 scoped class loading -behavior and call by value JNDI lookup behavior can be restored by: -

-
    -
  1. Editing conf/jboss-service.xml and setting the NamingService CallByValue to true: -
    -   <mbean code="org.jboss.naming.NamingService"
    -      name="jboss:service=Naming">
    -      <!-- The call by value mode. true if all lookups are unmarshalled using
    -      the caller's TCL, false if in VM lookups return the value by reference.
    -      -->
    -      <attribute name="CallByValue">true</attribute>
    -      <!-- The listening port for the bootstrap JNP service. Set this to -1
    -        to run the NamingService without the JNP invoker listening port.
    -      -->
    -      ...
    -   </mbean>
    -
    -
  2. - -
  3. Editing the deploy/ear-deployer.xml and setting the Isolated and CallByValue attribute to true: -
    -<server>
    -   <!-- EAR deployer, remove if you are not using ear deployments -->
    -   <mbean code="org.jboss.deployment.EARDeployer"
    -      name="jboss.j2ee:service=EARDeployer">
    -      <!-- A flag indicating if ear deployments should have their own scoped
    -      class loader to isolate their classes from other deployments.
    -      -->
    -      <attribute name="Isolated">true</attribute>
    -      <!-- A flag indicating if the ear components should have in VM call
    -      optimization disabled.
    -      -->
    -      <attribute name="CallByValue">true</attribute>
    -   </mbean>
    -</server>
    -
    -
- -

Documentation and Help

-Documentation and help may be obtained from the JBoss site. - - -

Licenses

-

JBoss is licensed under the LGPL. The licence texts for JBoss and the thirdparty components -it uses may be found in the docs/licenses directory of the distribution. -Browse Licences -

- -

About JBoss Inc.

-

JBoss Inc. is in the business of providing superior technical support -to our customers. Our goal is to make Professional Open Source™ the SAFE -CHOICE +

  • [JBAS-3158] +- Need a way to detect collisions between JSF RI and JSF MyFaces
  • +
  • [JBAS-4408] +- LIMIT/OFFSET support in StoreManager2
  • +
  • [JBAS-4454] +- Upgrade to JSF RI 1.2_04 P02
  • +

Bug

+
  • [JBAS-4415] +- ClusterFileTransferTestCase.testFarmDeploy fails to delete and copy
  • +
  • [JBAS-4418] +- run.bat should include %PATH% in java.library.path when bin/native +exists
  • +
  • [JBAS-4425] +- ConnectionFactoryTemplate.xsl incorrectly sets isSameRM-override-value
  • +
  • [JBAS-4427] +- Misnamed FK index name for CMP2
  • +
  • [JBAS-4429] +- Classloader leak to JBossTS ReaperThread
  • +
  • [JBAS-4441] +- Jboss hangs at startup with 100% CPU utilization
  • +
  • [JBAS-4444] +- The invoker-proxy-binding in the base container configuration is +ignored on sub-configurations.
  • +
  • [JBAS-4461] +- new InitialContext().rebind("x", null) throws NullPointerException
  • +
  • [JBAS-4462] +- mod() function not supported in SQL server 2005
  • +
  • [JBAS-4473] +- Java to IDL mapping erroneously treats a 'get' method as an attribute
  • +
  • [JBAS-4481] +- Transaction timeouts leave garbage Status.ROLLEDBACK UserTransaction +object bound to the thread
  • +

Task

+
  • [JBAS-4198] +- Align EJB3 Security with JEE 1.4 Behavior
  • +
  • [JBAS-4420] +- Separate classloader leak tests from the 'all' tests
  • +
  • [JBAS-4442] +- Need to update exception handling code in HypersonicDatabase.java
  • +
  • [JBAS-4467] +- Document in the release notes a configuration for multiple 1PC with +JBossTS
  • +
  • [JBAS-4480] +- Upgrade hibernate to v3.2.4.SP1_CP01
  • +
  • [JBAS-4482] +- Add compatibility runs against 4.2.0.GA in Branch_4_2
  • +
  • [JBAS-4503] +- Update the release notes for JBossAS 4.2.1.GA
  • +
  • [JBAS-4510] +- Upgrade jboss remoting to v2.2.1.GA (from v2.2.0.SP4)
  • +

Documentation +and Help

The JBossAS community +project is hosted on jboss.org . Documentation and help +may +be obtained from the following locations. +

Licenses

+

JBoss Application Server  is licensed under the LGPL, +as explained in the JBoss End +User License Agreement. The licence texts for JBoss and the +thirdparty components it uses may be found in the docs/licenses +directory of the distribution. Browse +Licences +

About JBoss, a +division of RedHat

+

JBoss, a division of Red +Hat, is in the business of providing +superior technical support to our customers. Our goal is to make +Professional Open Source™ the SAFE CHOICE for you. We accomplish this by backing up our open source Java products with technical support services that are delivered by the core developers themselves. We can help you to train your staff and provide you with support at every stage of the application lifecycle - from development and integration through deployment and maintenance. Visit -the JBoss Services -page for more information. -

- - - +the JBoss +Services page for more information.

+ \ No newline at end of file diff --git a/jboss/readme.txt b/jboss/readme.txt deleted file mode 100644 index bae298b15a..0000000000 --- a/jboss/readme.txt +++ /dev/null @@ -1,51 +0,0 @@ -$Id: readme.txt,v 1.1 2006/04/21 17:58:42 jjanke Exp $ - ------------------ -Base: JBoss 3.2.3 ------------------ - -jboss-service.xml -================= -1099 -> @ADEMPIERE_JNP_PORT@ = JNDI JNP invoker listening port -1098 = RmiPort -- -8083 = WebService Class Loading -- -4444 = JMX RMI/JRMP invoker -4445 = Pooled invoker - - -login-config.xml -================ -- no changes - -http-invoker.sar/META-INF/jboss-service.xml -=========================================== -8080 -> @ADEMPIERE_WEB_PORT@ = HTTP Invoker - -jbossweb-tomcat41.sar/META-INF/jboss-service.xml -================================================ -8080 -> @ADEMPIERE_WEB_PORT@ = HTTP/1.1 CoyoteConnector -8443 -> @ADEMPIERE_SSL_PORT@ = SSL HTTP/1.1 CoyoteConnector --> @ADEMPIERE_KEYSTORE@ = keystoreFile --> @ADEMPIERE_KEYSTOREPASS@ = keystorePass --- -8009 = AJP 1.3 -8443 = AJP 1.3 redirect port - - -Server Libraries used: ----------------------- -jboss-jmx.jar -jboss-system.jar - - -Client Librarties used: ------------------------ -jboss-client.jar -jboss-common-client.jar -jboss-j2ee.jar -jboss.client.jar -jboss-transactions-client.jar -jmx-rmi-connector-client.jar -jnp-client.jar diff --git a/jboss/readme_j2ee.html b/jboss/readme_j2ee.html deleted file mode 100644 index 7ce6edb3c8..0000000000 --- a/jboss/readme_j2ee.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - JBoss J2EE Certification Readme - - - - -To help assure the compatibility of J2EE implementations, Sun -Microsystems has developed a Technology Compatibility Kit (TCK). In -addition, Sun offers a branding license to J2EE implementations that -wish to claim compatibility to the J2EE standards. In November, 2003 -Sun released J2EE 1.4, and with that release for the first time allowed -open source implementations to license the TCK on a stand alone basis. -At that time, JBoss, Inc. became a TCK licensee and committed to pass -the test.
-
-The TCK is an extensive set of over 23,000 tests. The testing takes a -very large commitment due to the size, lack of automation, and errors -in a testing package of this size. JBoss enlisted the assistance of our -J2EE Certification Founding Partners Atos Origin, Borland, Hewlett -Packard, Iona, Intel, Sonic, Unisys, and webMethods. JBoss began work -on this effort in January, 2004 and completed the full testing on JBoss -4.0 by the end of June, 2004, which is a very aggressive timeline. Much -of the time went into setting up and configuring the tests and -understanding the nuances of the tests. Not surprisingly, there were -only relatively minor changes made to the JBoss code base JBoss has -been used by many customers as a defacto reference implementation for -several years. The primary areas where new functionality was needed -were in CSIV2 security for IIOP, a JAXR implementation, and the -addition of a new web services implementation.
-
-JBoss, Inc. and our J2EE Certification Founding Partners are pleased -that we have passed this significant milestone becoming the first Open -Source implementation in the market to pass the J2EE 1.4 TCK. This -brings our customers and partners and development community the -assurance that Professional Open Source is a safe choice for deployment -of your applications.
-
-NOTICE FROM SUN MICROSYSTEMS: -Any redistributed derivative work of the software licensed hereunder -must be compatible and branded with the appropriate compatibility logo -specified by Sun and licensed by Sun pursuant to a separate Trademark -License required to be executed by you with Sun. Redistribution of the -software licensed hereunder must retain this notice.
-
-NOTICE FROM JBOSS, INC. -The notice from Sun Microsystems does not in any way affect the LGPL -license or impose additional conditions on the LGPL license.
-
-ADDITIONAL NOTICE FROM SUN MICROSYSTEMS: This version of the JBoss -Application Server source code is made available in support of the open -source development process. Some numbered or tagged revisions of this -source have been tested and found to pass the Java™ 2 Platform, -Enterprise Edition (J2EE™) Compatibility Test Suite, and you can find -information on which revisions or tags at www.jboss.com. Please note that since -only binaries can be tested, source code cannot be described as a -compatible implementation of the J2EE Specification. The different -build environment on your machine and any changes you may make to this -code could render your resulting build incompatible. Because of this, -writing or deploying applications to builds based on this code can lead -to lack of portability. You should instead consider deploying -production applications on the pre-built binaries of the JBoss -Application Server that are available at www.jboss.com -that have been tested and certified to meet the J2EE compatibility -requirements. - - diff --git a/jboss/server/adempiere/conf/log4j.xml b/jboss/server/adempiere/conf/jboss-log4j.xml similarity index 81% rename from jboss/server/adempiere/conf/log4j.xml rename to jboss/server/adempiere/conf/jboss-log4j.xml index 125917a440..b09e3f516a 100644 --- a/jboss/server/adempiere/conf/log4j.xml +++ b/jboss/server/adempiere/conf/jboss-log4j.xml @@ -1,273 +1,306 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/conf/jboss-minimal.xml b/jboss/server/adempiere/conf/jboss-minimal.xml new file mode 100644 index 0000000000..504c463900 --- /dev/null +++ b/jboss/server/adempiere/conf/jboss-minimal.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + resource:jboss-log4j.xml + + + + + + + + + JBoss System Threads + System Threads + + 60000 + + 10 + + 1000 + + run + + + + + + + + + + + + + false + + 1099 + + ${jboss.bind.address} + + 1098 + + ${jboss.bind.address} + + jboss.system:service=ThreadPool + + jboss:service=NamingBeanImpl + + + + + + + + + + jboss.system:service=MainDeployer + + + org.jboss.deployment.DeploymentSorter + + + org.jboss.deployment.scanner.DeploymentFilter + + 5000 + + + + deploy/ + + + + + diff --git a/jboss/server/adempiere/conf/jboss-serviceTemplate.xml b/jboss/server/adempiere/conf/jboss-serviceTemplate.xml index b8e5ede831..07855f9801 100644 --- a/jboss/server/adempiere/conf/jboss-serviceTemplate.xml +++ b/jboss/server/adempiere/conf/jboss-serviceTemplate.xml @@ -1,454 +1,696 @@ - - - - - - - - - - - - - - - - - - jboss.system:service=MainDeployer - jboss.system:service=ServiceDeployer - jboss.j2ee:service=EARDeployer - jboss.ejb:service=EJBDeployer - jboss.jca:service=RARDeployer - jboss.jca:service=ConnectionFactoryDeployer - jboss.web:service=WebServer - jboss:service=Naming - jboss:service=ClientUserTransaction - jboss:service=CorbaORB - - - - - - - - - - - - - - JBoss System Threads - System Threads - - 60000 - - 10 - - 1000 - - run - - - - - - - - - - resource:log4j.xml - - true - - 60 - - - - - - - java.rmi.server.RMIClassLoaderSpi - org.jboss.system.JBossRMIClassLoader - - - - - - - - - - - - - - - - - - 8083 - - true - ${jboss.bind.address} - ${jboss.bind.address} - - - - - - - - - false - - @ADEMPIERE_JNP_PORT@ - - ${jboss.bind.address} - - 1098 - - ${jboss.bind.address} - - jboss.system:service=ThreadPool - - - - - - - - - - - jboss.security:service=XMLLoginConfig - - - login-config.xml - - - - - org.jboss.security.plugins.JaasSecurityManager - anonymous - - 1800 - - 60 - - - - - - - - - - - - - 300 - - true - jboss:service=XidFactory - - - - - - jboss:service=invoker,type=jrmp - jboss:service=ClientUserTransaction - UserTransactionSessionFactory - org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.invocation.InvokerInterceptor - - - jboss:service=invoker,type=jrmp - - - - - jboss:service=invoker,type=jrmp - jboss:service=ClientUserTransaction - - org.jboss.tm.usertx.interfaces.UserTransactionSession - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.invocation.InvokerInterceptor - - - jboss:service=invoker,type=jrmp - - - - - - - - - - - 4444 - ${jboss.bind.address} - - jboss:service=TransactionManager - - - - - jboss:service=TransactionManager - - - - 1 - 300 - 300 - 60000 - ${jboss.bind.address} - 4445 - ${jboss.bind.address} - 0 - false - - jboss:service=TransactionManager - - - - - - - - - - - - - - - - - - - - - - - - - jboss.system:service=MainDeployer - - - org.jboss.deployment.DeploymentSorter - - - - - - #,%,\,,.,_$ - - #,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh - - .make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags - - - - 5000 - - true - - - - deploy/ - - - - - True - - - - + + + + + + + + + + + + + + + + + + jboss.system:service=MainDeployer + jboss.system:service=ServiceDeployer + jboss.j2ee:service=EARDeployer + jboss.ejb:service=EJBDeployer + jboss.jca:service=RARDeployer + jboss.jca:service=ConnectionFactoryDeployer + jboss.web:service=WebServer + jboss.j2ee:service=ClientDeployer + jboss:service=Mail + jboss.mq:service=DestinationManager + jboss:service=Naming + jboss:service=TransactionManager + jboss:service=ClientUserTransaction + jboss:service=CorbaORB + + + + + + + + + + + + + + + + + + JBoss System Threads + System Threads + + 60000 + + 10 + + 1000 + + run + + + + + + + + + + resource:jboss-log4j.xml + + true + + 60 + + + + + + + + + + + + + java.rmi.server.RMIClassLoaderSpi + org.jboss.system.JBossRMIClassLoader + + + + + + + + + + + + + + + + + + + ${jboss.bind.address} + 8083 + + ${java.rmi.server.hostname} + + true + + false + + + jboss.system:service=ThreadPool + + + + + + + + + + + + + false + + @ADEMPIERE_JNP_PORT@ + + ${jboss.bind.address} + + 1098 + + ${jboss.bind.address} + + jboss.system:service=ThreadPool + + jboss:service=NamingBeanImpl + + + + + jboss:service=HAJNDI + + + + + + + + jboss.security:service=XMLLoginConfig + + + login-config.xml + + + + + + true + org.jboss.security.plugins.JaasSecurityManager + anonymous + + 1800 + + 60 + + false + + + + + + + + + + + + + + + + 300 + ${jboss.server.data.dir}/tx-object-store + + + + + + + jboss:service=invoker,type=unified + jboss:service=ClientUserTransaction + UserTransactionSessionFactory + org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory + + + org.jboss.proxy.ClientMethodInterceptor + org.jboss.invocation.InvokerInterceptor + + + jboss:service=invoker,type=unified + + + + + jboss:service=invoker,type=unified + jboss:service=ClientUserTransaction + + org.jboss.tm.usertx.interfaces.UserTransactionSession + + + org.jboss.proxy.ClientMethodInterceptor + org.jboss.invocation.InvokerInterceptor + + + jboss:service=invoker,type=unified + + + + + + + + + + + + + + + + jboss:service=TransactionManager + jboss.remoting:service=Connector,transport=socket + + + + + 4444 + ${jboss.bind.address} + + jboss:service=TransactionManager + + + + + jboss:service=TransactionManager + + + + 1 + 300 + 300 + 60000 + ${jboss.bind.address} + 4445 + ${jboss.bind.address} + 0 + 1 + false + + + jboss:service=TransactionManager + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + invocation + org.jboss.invocation.unified.marshall.InvocationMarshaller + org.jboss.invocation.unified.marshall.InvocationUnMarshaller + + + + + + + 600000 + ${jboss.bind.address} + 4446 + + + true + + + + + + + + + + + + + + + + + + + + + + + + + jboss:service=invoker,type=unified + + + + jboss.remoting:service=NetworkRegistry + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jboss.system:service=MainDeployer + + + org.jboss.deployment.DeploymentSorter + + + + + + + #,%,\,,.,_$ + + #,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh,.bsh + + .make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags + + + + 5000 + + + true + + + + deploy/ + + + + True + + + + diff --git a/jboss/server/adempiere/conf/jbossjta-properties.xml b/jboss/server/adempiere/conf/jbossjta-properties.xml new file mode 100644 index 0000000000..c52151c8f7 --- /dev/null +++ b/jboss/server/adempiere/conf/jbossjta-properties.xml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/conf/jndi.properties b/jboss/server/adempiere/conf/jndi.properties index e48f6333c5..17e8a87e3d 100644 --- a/jboss/server/adempiere/conf/jndi.properties +++ b/jboss/server/adempiere/conf/jndi.properties @@ -1,4 +1,4 @@ -# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING -# -java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces +# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING +# +java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory +java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces diff --git a/jboss/server/adempiere/conf/login-configTemplate.xml b/jboss/server/adempiere/conf/login-configTemplate.xml index 98729a7bce..a762d6156e 100644 --- a/jboss/server/adempiere/conf/login-configTemplate.xml +++ b/jboss/server/adempiere/conf/login-configTemplate.xml @@ -1,164 +1,169 @@ - - + + + + + + + + + + + + true + + + + + + + + + guest + java:/DefaultDS + SELECT PASSWD FROM JMS_USERS WHERE USERID=? + SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? + + + + + + + + + + + sa + sa + + jboss.jca:service=LocalTxCM,name=DefaultDS + + + + + + + + guest + guest + guest + jboss.jca:service=TxCM,name=JmsXA + + + + + + + + + props/jmx-console-users.properties + props/jmx-console-roles.properties + + + + + + + + + web-console-users.properties + web-console-roles.properties + + + + + + + + + props/jbossws-users.properties + props/jbossws-roles.properties + anonymous + + + + + + + + + + + - - - - - - - - - - - - - - - - guest - java:/DefaultDS - SELECT PASSWD FROM JMS_USERS WHERE USERID=? - SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? - - - - - - - - - - - sa - sa - - jboss.jca:service=LocalTxCM,name=DefaultDS - - - - - - - - guest - guest - guest - jboss.jca:service=TxCM,name=JmsXA - - - - - - - - - props/jmx-console-users.properties - props/jmx-console-roles.properties - - - - - - - - - web-console-users.properties - web-console-roles.properties - - - - - - - - - anonymous - - - - - - - - - - - - - + anonymous - - - + + + diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties b/jboss/server/adempiere/conf/props/jbossws-roles.properties similarity index 79% rename from jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties rename to jboss/server/adempiere/conf/props/jbossws-roles.properties index de659ce34d..3aa243dc2e 100644 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-roles.properties +++ b/jboss/server/adempiere/conf/props/jbossws-roles.properties @@ -1,2 +1,2 @@ -# A sample roles.properties file for use with the UsersRolesLoginModule -admin=JBossAdmin +# A sample roles.properties file for use with the UsersRolesLoginModule +kermit=friend \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties b/jboss/server/adempiere/conf/props/jbossws-users.properties similarity index 83% rename from jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties rename to jboss/server/adempiere/conf/props/jbossws-users.properties index a992feab3b..1f3533572b 100644 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties +++ b/jboss/server/adempiere/conf/props/jbossws-users.properties @@ -1,2 +1,2 @@ -# A sample users.properties file for use with the UsersRolesLoginModule -admin=admin +# A sample users.properties file for use with the UsersRolesLoginModule +kermit=thefrog \ No newline at end of file diff --git a/jboss/server/adempiere/conf/props/jmx-console-roles.properties b/jboss/server/adempiere/conf/props/jmx-console-roles.properties index bf4c71ba06..211d157f21 100644 --- a/jboss/server/adempiere/conf/props/jmx-console-roles.properties +++ b/jboss/server/adempiere/conf/props/jmx-console-roles.properties @@ -1,2 +1,2 @@ -# A sample roles.properties file for use with the UsersRolesLoginModule -admin=JBossAdmin,HttpInvoker +# A sample roles.properties file for use with the UsersRolesLoginModule +admin=JBossAdmin,HttpInvoker diff --git a/jboss/server/adempiere/conf/props/jmx-console-users.properties b/jboss/server/adempiere/conf/props/jmx-console-users.properties index a992feab3b..6dc8aa5181 100644 --- a/jboss/server/adempiere/conf/props/jmx-console-users.properties +++ b/jboss/server/adempiere/conf/props/jmx-console-users.properties @@ -1,2 +1,2 @@ -# A sample users.properties file for use with the UsersRolesLoginModule -admin=admin +# A sample users.properties file for use with the UsersRolesLoginModule +admin=admin diff --git a/jboss/server/adempiere/conf/server.policy b/jboss/server/adempiere/conf/server.policy deleted file mode 100644 index 9803a30694..0000000000 --- a/jboss/server/adempiere/conf/server.policy +++ /dev/null @@ -1,12 +0,0 @@ -/// ====================================================================== /// -// // -// JBoss Security Policy // -// // -/// ====================================================================== /// - -// $Id: server.policy,v 1.8 2005/09/04 17:52:10 jjanke Exp $ - -grant { - // Allow everything for now - permission java.security.AllPermission; -}; diff --git a/jboss/server/adempiere/conf/standardjaws.xml b/jboss/server/adempiere/conf/standardjaws.xml deleted file mode 100644 index b509bbdf4a..0000000000 --- a/jboss/server/adempiere/conf/standardjaws.xml +++ /dev/null @@ -1,1267 +0,0 @@ - - - - - - - - - - - - - - java:/DefaultDS - Hypersonic SQL - false - - - true - false - true - false - 300 - false - false - - - - - InterBase - - java.lang.Boolean - BIT - SMALLINT - - - java.lang.Byte - TINYINT - SMALLINT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - NUMERIC(18,0) - - - java.lang.Float - REAL - FLOAT - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(64) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - VARCHAR(2000) - - - - - DB2 - - java.lang.Boolean - BIT - SMALLINT - - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(254) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - BLOB(2000) - - - - - Oracle8 - - java.lang.Boolean - BIT - NUMBER(1) - - - java.lang.Byte - NUMERIC - NUMBER(3) - - - java.lang.Short - NUMERIC - NUMBER(5) - - - java.lang.Integer - INTEGER - NUMBER(10) - - - java.lang.Long - BIGINT - NUMBER(19) - - - java.lang.Float - REAL - NUMBER(38,7) - - - java.math.BigDecimal - DECIMAL - NUMBER(38,15) - - - java.lang.Double - DOUBLE - NUMBER(38,15) - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR2(255) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - java.sql.Timestamp - TIMESTAMP - DATE - - - java.lang.Object - BLOB - BLOB - - - - - - Oracle7 - - java.lang.Boolean - BIT - NUMBER(1) - - - java.lang.Byte - NUMERIC - NUMBER(3) - - - java.lang.Short - NUMERIC - NUMBER(5) - - - java.lang.Integer - INTEGER - NUMBER(10) - - - java.lang.Long - BIGINT - NUMBER(19) - - - java.lang.Float - REAL - NUMBER(38,7) - - - java.lang.Double - DOUBLE - NUMBER(38,15) - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR2(255) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - java.sql.Timestamp - TIMESTAMP - DATE - - - java.lang.Object - JAVA_OBJECT - LONG RAW - - - - - - Sybase - - java.lang.Boolean - BIT - BIT - - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - NUMERIC - NUMERIC(38,0) - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(255) - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - SMALLDATETIME - - - java.sql.Timestamp - TIMESTAMP - DATETIME - - - java.lang.Object - JAVA_OBJECT - IMAGE - - - - - PostgreSQL - - java.lang.Boolean - CHAR - BOOLEAN - - - java.lang.Byte - TINYINT - INT2 - - - java.lang.Short - SMALLINT - INT2 - - - java.lang.Integer - INTEGER - INT4 - - - java.lang.Long - BIGINT - INT8 - - - java.lang.Float - FLOAT - FLOAT(7) - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - TEXT - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - OID - - - - - PostgreSQL 7.2 - - java.lang.Boolean - CHAR - BOOLEAN - - - java.lang.Byte - TINYINT - INT2 - - - java.lang.Short - SMALLINT - INT2 - - - java.lang.Integer - INTEGER - INT4 - - - java.lang.Long - BIGINT - INT8 - - - java.lang.Float - FLOAT - FLOAT(7) - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - TEXT - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - BYTEA - - - - - Hypersonic SQL - - java.lang.Byte - SMALLINT - SMALLINT - - - java.util.Date - DATE - DATE - - - java.lang.Boolean - BIT - BIT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Object - JAVA_OBJECT - OBJECT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Float - REAL - REAL - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Double - DOUBLE - DOUBLE - - - - - PointBase - - java.lang.Character - CHAR - CHAR - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Long - BIGINT - INTEGER - - - java.lang.Double - DOUBLE - FLOAT - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Boolean - BINARY - BOOLEAN - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Byte - SMALLINT - SMALLINT - - - java.lang.Object - BLOB - BLOB - - - java.lang.Integer - INTEGER - INTEGER - - - - - SOLID - - java.lang.Character - CHAR - CHAR - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Short - INTEGER - INTEGER - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Object - BLOB - BLOB - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Integer - INTEGER - INTEGER - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Boolean - BIT - BIT - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Long - BIGINT - BIGINT - - - java.util.Date - DATE - DATE - - - - - mySQL - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Boolean - TINYINT - TINYINT - - - java.lang.Object - JAVA_OBJECT - BLOB - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Short - SMALLINT - SMALLINT - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Character - CHAR - CHAR - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.String - VARCHAR - VARCHAR(255) BINARY - - - java.util.Date - DATE - DATETIME - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - BIGINT - - - - - MS SQLSERVER - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Character - CHAR - CHAR - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Long - DECIMAL - DECIMAL(20) - - - java.math.BigDecimal - VARCHAR - VARCHAR(256) - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Object - JAVA_OBJECT - IMAGE - - - java.lang.Byte - TINYINT - TINYINT - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - DATETIME - - - java.util.Date - DATE - DATETIME - - - java.lang.Boolean - BIT - BIT - - - java.lang.Float - FLOAT - FLOAT - - - - - MS SQLSERVER2000 - - - java.lang.Integer - INTEGER - INTEGER - - - - java.lang.Character - CHAR - CHAR - - - - java.lang.Short - SMALLINT - SMALLINT - - - - java.lang.Long - BIGINT - BIGINT - - - - java.math.BigDecimal - VARCHAR - VARCHAR(256) - - - - java.lang.String - VARCHAR - VARCHAR(256) - - - - java.lang.Object - JAVA_OBJECT - IMAGE - - - - java.lang.Byte - TINYINT - TINYINT - - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - java.sql.Date - DATE - DATETIME - - - - java.sql.Time - TIME - DATETIME - - - - java.util.Date - DATE - DATETIME - - - - java.lang.Boolean - BIT - BIT - - - - java.lang.Float - REAL - REAL - - - - java.lang.Double - DOUBLE - FLOAT - - - - - DB2/400 - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - VARCHAR(256) - - - - java.util.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Long - BIGINT - INTEGER - - - java.lang.Boolean - CHAR - CHAR(5) - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Object - JAVA_OBJECT - VARCHAR(4096) FOR BIT DATA - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - - SapDB - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Object - JAVA_OBJECT - LONG BYTE - - - java.lang.Byte - TINYINT - CHAR BYTE - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.util.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Long - DECIMAL - DECIMAL(20) - - - - - Cloudscape - - java.math.BigDecimal - LONGVARCHAR - LONG VARCHAR - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - LONGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - LONGVARCHAR - LONG VARCHAR - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - LONG VARBINARY - - - - - - InformixDB - - java.lang.Character - CHAR - CHAR(1) - - - - java.lang.String - VARCHAR - VARCHAR(255,0) - - - - java.math.BigDecimal - NUMERIC - DECIMAL - - - - java.lang.Boolean - BIT - SMALLINT - - - - java.lang.Integer - INTEGER - INTEGER - - - - java.lang.Long - BIGINT - NUMERIC(18,0) - - - - java.lang.Float - REAL - FLOAT - - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - - java.lang.Byte - TINYINT - SMALLINT - - - - java.lang.Short - SMALLINT - SMALLINT - - - - java.util.Date - DATE - DATE - - - - java.sql.Date - DATE - DATE - - - - java.sql.Time - TIME - TIME - - - - java.sql.Timestamp - TIMESTAMP - DATETIME YEAR TO FRACTION(3) - - - - java.lang.Object - JAVA_OBJECT - BYTE - - - - - diff --git a/jboss/server/adempiere/conf/standardjboss.xml b/jboss/server/adempiere/conf/standardjboss.xml index b9afdf42fb..9939c89e39 100644 --- a/jboss/server/adempiere/conf/standardjboss.xml +++ b/jboss/server/adempiere/conf/standardjboss.xml @@ -1,1064 +1,1216 @@ - - - - - - - - - - - false - - - - - - stateless-http-invoker - jboss:service=invoker,type=http - org.jboss.proxy.ejb.ProxyFactory - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - org.jboss.proxy.ejb.StatelessSessionInterceptor - - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - - - - - entity-rmi-invoker - jboss:service=invoker,type=jrmp - org.jboss.proxy.ejb.ProxyFactory - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.EntityInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.ListEntityInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - clustered-entity-rmi-invoker - jboss:service=invoker,type=jrmpha - org.jboss.proxy.ejb.ProxyFactoryHA - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.EntityInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.ListEntityInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - stateless-rmi-invoker - jboss:service=invoker,type=jrmp - org.jboss.proxy.ejb.ProxyFactory - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.StatelessSessionInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - clustered-stateless-rmi-invoker - jboss:service=invoker,type=jrmpha - org.jboss.proxy.ejb.ProxyFactoryHA - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.StatelessSessionInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - stateful-rmi-invoker - jboss:service=invoker,type=jrmp - org.jboss.proxy.ejb.ProxyFactory - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.StatefulSessionInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - clustered-stateful-rmi-invoker - jboss:service=invoker,type=jrmpha - org.jboss.proxy.ejb.ProxyFactoryHA - - - - org.jboss.proxy.ejb.HomeInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - org.jboss.proxy.ejb.StatefulSessionInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - org.jboss.invocation.MarshallingInvokerInterceptor - - - - - - - message-driven-bean - default - org.jboss.ejb.plugins.jms.JMSContainerInvoker - - DefaultJMSProvider - StdJMSPool - true - - 1 - 15 - 30000 - 1 - - 10 - - queue/DLQ - 10 - 0 - - - - - - - - - singleton-message-driven-bean - default - org.jboss.ejb.plugins.jms.JMSContainerInvoker - - DefaultJMSProvider - StdJMSPool - true - - 1 - 1 - 30000 - 1 - - 10 - - queue/DLQ - 10 - 0 - - - - - - - message-inflow-driven-bean - default - org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - - - iiop - jboss:service=invoker,type=iiop - org.jboss.proxy.ejb.IORFactory - - org.jboss.iiop.WebCL - per-servant - true - iiop - false - - - - - jms-message-inflow-driven-bean - default - org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory - - - - providerAdapterJNDI - DefaultJMSProvider - - - minSession - 1 - - - maxSession - 15 - - - keepAlive - 60000 - - - maxMessages - 1 - - - reconnectInterval - 10 - - - useDLQ - true - - - DLQHandler - org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler - - - DLQJNDIName - queue/DLQ - - - DLQMaxResent - 10 - - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor - org.jboss.proxy.TransactionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - - - - - - Standard CMP 2.x EntityBean - false - entity-rmi-invoker - false - false - true - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.InvalidableEntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - B - - - - - cmp2.x jdbc2 pm - false - entity-rmi-invoker - false - true - true - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.PerTxEntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2 - org.jboss.ejb.plugins.lock.NoLock - - - 500 - 10000 - - - 10 - - - - - 100 - - C - - - - Clustered CMP 2.x EntityBean - false - clustered-entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.CleanShutdownInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.EntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - B - - ${jboss.partition.name:DefaultPartition} - - - - - Standard CMP 2.x EntityBean with cache invalidation - false - entity-rmi-invoker - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor - org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.InvalidableEntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - A - - - - Instance Per Transaction CMP 2.x EntityBean - false - entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.PerTxEntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.NoLock - - - 100 - - C - - - - Standard CMP EntityBean - false - entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.EntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - A - - - - Clustered CMP EntityBean - false - clustered-entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.CleanShutdownInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.EntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - A - - ${jboss.partition.name:DefaultPartition} - - - - - Instance Per Transaction CMP EntityBean - false - entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.PerTxEntityInstanceCache - org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager - org.jboss.ejb.plugins.lock.NoLock - - - 100 - - C - - - - Standard Stateless SessionBean - false - stateless-rmi-invoker - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.webservice.server.ServiceEndpointInterceptor - org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor - - org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor - org.jboss.ejb.plugins.TxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.webservice.server.ServiceEndpointInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - - org.jboss.ejb.plugins.StatelessSessionInstancePool - - - - 100 - - - - - Clustered Stateless SessionBean - false - clustered-stateless-rmi-invoker - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.CleanShutdownInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.webservice.server.ServiceEndpointInterceptor - org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor - - org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor - org.jboss.ejb.plugins.TxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.webservice.server.ServiceEndpointInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - - org.jboss.ejb.plugins.StatelessSessionInstancePool - - - - 100 - - - ${jboss.partition.name:DefaultPartition} - - - - - - Standard Stateful SessionBean - false - stateful-rmi-invoker - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor - - org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor - org.jboss.ejb.plugins.TxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - - org.jboss.ejb.plugins.StatefulSessionInstanceCache - org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager - - org.jboss.ejb.plugins.LRUStatefulContextCachePolicy - - 50 - 1000000 - 1800 - 1800 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - - - - Clustered Stateful SessionBean - false - clustered-stateful-rmi-invoker - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.CleanShutdownInterceptor - org.jboss.ejb.plugins.LogInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor - - org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor - org.jboss.ejb.plugins.TxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor - - org.jboss.ejb.plugins.StatefulHASessionInstanceCache - org.jboss.ejb.plugins.StatefulHASessionPersistenceManager - - org.jboss.ejb.plugins.LRUStatefulContextCachePolicy - - 50 - 1000000 - 1800 - 1800 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - - ${jboss.partition.name:DefaultPartition} - - - - - Standard BMP EntityBean - false - entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.EntityInstanceCache - org.jboss.ejb.plugins.BMPPersistenceManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - A - - - - Clustered BMP EntityBean - false - clustered-entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.CleanShutdownInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.EntityInstanceCache - org.jboss.ejb.plugins.BMPPersistenceManager - org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock - - org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy - - 50 - 1000000 - 300 - 600 - 400 - 60 - 1 - 0.75 - - - - 100 - - A - - ${jboss.partition.name:DefaultPartition} - - - - - Instance Per Transaction BMP EntityBean - false - entity-rmi-invoker - false - false - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.SecurityInterceptor - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.EntityCreationInterceptor - org.jboss.ejb.plugins.EntityLockInterceptor - org.jboss.ejb.plugins.EntityInstanceInterceptor - org.jboss.ejb.plugins.EntityReentranceInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - org.jboss.ejb.plugins.EntitySynchronizationInterceptor - - org.jboss.ejb.plugins.EntityInstancePool - org.jboss.ejb.plugins.PerTxEntityInstanceCache - org.jboss.ejb.plugins.BMPPersistenceManager - org.jboss.ejb.plugins.lock.NoLock - - - 100 - - C - - - - Standard Message Driven Bean - false - message-driven-bean - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.RunAsSecurityInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstancePool - - - - 100 - - - - - Singleton Message Driven Bean - false - singleton-message-driven-bean - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.RunAsSecurityInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstancePool - - - - 100 - - - - - Standard Message Inflow Driven Bean - false - message-inflow-driven-bean - - org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor - org.jboss.ejb.plugins.LogInterceptor - org.jboss.ejb.plugins.RunAsSecurityInterceptor - - org.jboss.ejb.plugins.TxInterceptorCMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor - org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT - org.jboss.ejb.plugins.CallValidationInterceptor - org.jboss.resource.connectionmanager.CachedConnectionInterceptor - - org.jboss.ejb.plugins.MessageDrivenInstancePool - - - - 100 - - - - - - \ No newline at end of file + + + + + + + + + + + + true + + + + + entity-unified-invoker + jboss:service=invoker,type=unified + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.EntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.ListEntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-entity-unified-invoker + jboss:service=invoker,type=unifiedha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.EntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.ListEntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + stateless-unified-invoker + jboss:service=invoker,type=unified + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatelessSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-stateless-unified-invoker + jboss:service=invoker,type=unifiedha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatelessSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + stateful-unified-invoker + jboss:service=invoker,type=unified + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatefulSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-stateful-unified-invoker + jboss:service=invoker,type=unifiedha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatefulSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + entity-rmi-invoker + jboss:service=invoker,type=jrmp + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.EntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.ListEntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-entity-rmi-invoker + jboss:service=invoker,type=jrmpha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.EntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.ListEntityInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + stateless-rmi-invoker + jboss:service=invoker,type=jrmp + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatelessSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-stateless-rmi-invoker + jboss:service=invoker,type=jrmpha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatelessSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + stateful-rmi-invoker + jboss:service=invoker,type=jrmp + org.jboss.proxy.ejb.ProxyFactory + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatefulSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + clustered-stateful-rmi-invoker + jboss:service=invoker,type=jrmpha + org.jboss.proxy.ejb.ProxyFactoryHA + + + + org.jboss.proxy.ejb.HomeInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + org.jboss.proxy.ejb.StatefulSessionInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.proxy.ejb.SingleRetryInterceptor + org.jboss.invocation.InvokerInterceptor + org.jboss.invocation.MarshallingInvokerInterceptor + + + + + + + message-driven-bean + default + org.jboss.ejb.plugins.jms.JMSContainerInvoker + + DefaultJMSProvider + StdJMSPool + true + + 1 + 15 + 30000 + 1 + + 10 + + queue/DLQ + 10 + 0 + + + + + + + + + singleton-message-driven-bean + default + org.jboss.ejb.plugins.jms.JMSContainerInvoker + + DefaultJMSProvider + StdJMSPool + true + + 1 + 1 + 30000 + 1 + + 10 + + queue/DLQ + 10 + 0 + + + + + + + message-inflow-driven-bean + default + org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory + + + org.jboss.proxy.ClientMethodInterceptor + org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + + + + + + iiop + jboss:service=invoker,type=iiop + org.jboss.proxy.ejb.IORFactory + + org.jboss.iiop.WebCL + per-servant + true + iiop + false + + + + + jms-message-inflow-driven-bean + default + org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory + + + + providerAdapterJNDI + DefaultJMSProvider + + + minSession + 1 + + + maxSession + 15 + + + keepAlive + 60000 + + + maxMessages + 1 + + + reconnectInterval + 10 + + + useDLQ + true + + + DLQHandler + org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler + + + DLQJNDIName + queue/DLQ + + + DLQMaxResent + 10 + + + + org.jboss.proxy.ClientMethodInterceptor + org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor + org.jboss.proxy.TransactionInterceptor + org.jboss.invocation.InvokerInterceptor + + + + + + + + + Standard CMP 2.x EntityBean + false + entity-unified-invoker + false + false + true + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.InvalidableEntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + B + + + + + cmp2.x jdbc2 pm + false + entity-unified-invoker + false + true + true + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + org.jboss.ejb.plugins.cmp.jdbc2.RelationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.PerTxEntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2 + org.jboss.ejb.plugins.lock.NoLock + + + 500 + 10000 + + + + 10 + + + + + + 100 + + C + + + + Clustered CMP 2.x EntityBean + false + clustered-entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.CleanShutdownInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.EntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + B + + ${jboss.partition.name:DefaultPartition} + + + + + Standard CMP 2.x EntityBean with cache invalidation + false + entity-unified-invoker + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor + org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.InvalidableEntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + A + + + + Instance Per Transaction CMP 2.x EntityBean + false + entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.PerTxEntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.NoLock + + + 100 + + C + + + + Standard CMP EntityBean + false + entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.EntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + A + + + + Clustered CMP EntityBean + false + clustered-entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.CleanShutdownInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.EntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + A + + ${jboss.partition.name:DefaultPartition} + + + + + Instance Per Transaction CMP EntityBean + false + entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.PerTxEntityInstanceCache + org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager + org.jboss.ejb.plugins.lock.NoLock + + + 100 + + C + + + + Standard Stateless SessionBean + false + stateless-unified-invoker + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor + + org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor + org.jboss.ejb.plugins.TxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + + org.jboss.ejb.plugins.StatelessSessionInstancePool + + + + 100 + + + + + Clustered Stateless SessionBean + false + clustered-stateless-unified-invoker + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.CleanShutdownInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor + + org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor + org.jboss.ejb.plugins.TxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + + org.jboss.ejb.plugins.StatelessSessionInstancePool + + + + 100 + + + ${jboss.partition.name:DefaultPartition} + + + + + + Standard Stateful SessionBean + false + stateful-unified-invoker + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor + + org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor + org.jboss.ejb.plugins.TxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + + org.jboss.ejb.plugins.StatefulSessionInstanceCache + org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager + + org.jboss.ejb.plugins.LRUStatefulContextCachePolicy + + 50 + 1000000 + 1800 + 1800 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + + + + Clustered Stateful SessionBean + false + clustered-stateful-unified-invoker + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.CleanShutdownInterceptor + org.jboss.ejb.plugins.LogInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor + + org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor + org.jboss.ejb.plugins.TxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.StatefulHASessionSynchronisationInterceptor + + org.jboss.ejb.plugins.StatefulHASessionInstanceCache + org.jboss.ejb.plugins.StatefulHASessionPersistenceManager + + org.jboss.ejb.plugins.LRUStatefulContextCachePolicy + + 50 + 1000000 + 1800 + 1800 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + + ${jboss.partition.name:DefaultPartition} + + + + + Standard BMP EntityBean + false + entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.EntityInstanceCache + org.jboss.ejb.plugins.BMPPersistenceManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + A + + + + Clustered BMP EntityBean + false + clustered-entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.CleanShutdownInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.EntityInstanceCache + org.jboss.ejb.plugins.BMPPersistenceManager + org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock + + org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy + + 50 + 1000000 + 300 + 600 + 400 + 60 + 1 + 0.75 + + + + 100 + + A + + ${jboss.partition.name:DefaultPartition} + + + + + Instance Per Transaction BMP EntityBean + false + entity-unified-invoker + false + false + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.SecurityInterceptor + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.EntityCreationInterceptor + org.jboss.ejb.plugins.EntityLockInterceptor + org.jboss.ejb.plugins.EntityInstanceInterceptor + org.jboss.ejb.plugins.EntityReentranceInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + org.jboss.ejb.plugins.EntitySynchronizationInterceptor + + org.jboss.ejb.plugins.EntityInstancePool + org.jboss.ejb.plugins.PerTxEntityInstanceCache + org.jboss.ejb.plugins.BMPPersistenceManager + org.jboss.ejb.plugins.lock.NoLock + + + 100 + + C + + + + Standard Message Driven Bean + false + message-driven-bean + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.RunAsSecurityInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstancePool + + + + 100 + + + + + Singleton Message Driven Bean + false + singleton-message-driven-bean + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.RunAsSecurityInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstancePool + + + + 100 + + + + + Standard Message Inflow Driven Bean + false + message-inflow-driven-bean + + org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor + org.jboss.ejb.plugins.LogInterceptor + org.jboss.ejb.plugins.RunAsSecurityInterceptor + + org.jboss.ejb.plugins.TxInterceptorCMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor + org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT + org.jboss.ejb.plugins.CallValidationInterceptor + org.jboss.resource.connectionmanager.CachedConnectionInterceptor + + org.jboss.ejb.plugins.MessageDrivenInstancePool + + + + 100 + + + + + + diff --git a/jboss/server/adempiere/conf/standardjbosscmp-jdbc.xml b/jboss/server/adempiere/conf/standardjbosscmp-jdbc.xml index 6385d8ce2c..ad56169af8 100644 --- a/jboss/server/adempiere/conf/standardjbosscmp-jdbc.xml +++ b/jboss/server/adempiere/conf/standardjbosscmp-jdbc.xml @@ -1,2985 +1,3103 @@ - - - - - - - - - - - - - - - java:/DefaultDS - - - true - false - false - 300000 - false - true - false - foreign-key - - on-load - 1000 - * - - 1000 - false - - - UUIDKeyGeneratorFactory - java.lang.String - VARCHAR - VARCHAR(32) - - - - org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler - false - - - - - FirstSQL/J - - PRIMARY KEY (?2) - FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - concat - (?1 || ?2) - - - substring - substring(?1 FROM ?2 FOR ?3) - - - lcase - lower(?1) - - - length - char_length(?1) - - - locate - position(?1 IN ?2) - - - abs - math.abs(?1) - - - sqrt - math.sqrt(CAST(?1 AS DOUBLE)) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - TINYINT - TINYINT - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - - VARCHAR(256) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.math.BigDecimal - DECIMAL - DECIMAL - - - java.lang.Object - - LONGVARBINARY - VARCHAR(2147483500) - - - - - Ingres - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - ALTER TABLE ?1 ADD CONSTRAINT ?2 PRIMARY KEY (?3) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - TRUE - FALSE - - - concat - concat(?1,?2) - - - substring - left(?1,?2) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - locate(?1,?2) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - - java.lang.Boolean - INTEGER - INTEGER - - - java.lang.Byte - TINYINT - INT1 - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - INTEGER4 - - - java.lang.Float - FLOAT - FLOAT4 - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.util.Date - TIMESTAMP - DATE - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - java.sql.Timestamp - TIMESTAMP - DATE - - - java.math.BigDecimal - DOUBLE - FLOAT8 - - - - java.lang.Object - JAVA_OBJECT - LONG VARCHAR - - - - McKoi - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - TRUE - FALSE - - - count - count(?1) - - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.Byte - TINYINT - SMALLINT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Float - REAL - FLOAT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(64) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - JAVA_OBJECT - - - - - Firebird - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 31 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Boolean - BIT - SMALLINT default 0 - - - java.lang.Byte - TINYINT - SMALLINT default 0 - - - java.lang.Short - SMALLINT - SMALLINT default 0 - - - java.lang.Integer - INTEGER - INTEGER default 0 - - - java.lang.Long - BIGINT - NUMERIC(18,0) default 0 - - - java.lang.Float - REAL - FLOAT default 0 - - - java.lang.Double - DOUBLE - DOUBLE PRECISION default 0 - - - java.lang.Character - VARCHAR - CHAR - - - - java.lang.String - VARCHAR - VARCHAR(64) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - BLOB - - - - - InterBase - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 31 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Boolean - BIT - SMALLINT default 0 - - - java.lang.Byte - TINYINT - SMALLINT default 0 - - - java.lang.Short - SMALLINT - SMALLINT default 0 - - - java.lang.Integer - INTEGER - INTEGER default 0 - - - java.lang.Long - BIGINT - NUMERIC(18,0) default 0 - - - java.lang.Float - REAL - FLOAT default 0 - - - java.lang.Double - DOUBLE - DOUBLE PRECISION default 0 - - - java.lang.Character - VARCHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(64) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - VARCHAR(2000) - - - - - DB2 - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - locate - locate(CAST(?1 as VARCHAR(254)), - CAST(?2 as VaRCHAR(254)),?3) - - - - java.lang.Boolean - BIT - SMALLINT - - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(254) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - java.lang.Object - VARBINARY - BLOB(2000) - - - - - Derby - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 18 - true - 1 - 0 - - - concat - (?1 || ?2) - - - substr - substr(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - locate(?2, ?1, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.math.BigDecimal - NUMERIC - DECIMAL - - - java.lang.Boolean - BIT - BOOLEAN - - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - BLOB - BLOB - - - - - Oracle9i - - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 30 - true - 1 - 0 - - - concat - (?1 || ?2) - - - substring - substr(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - instr(?2, ?1, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - BIT - NUMBER(1) - - - java.lang.Byte - SMALLINT - NUMBER(3) - - - java.lang.Short - NUMERIC - - NUMBER(5) - - - java.lang.Integer - INTEGER - NUMBER(10) - - - java.lang.Long - BIGINT - NUMBER(19) - - - java.lang.Float - REAL - NUMBER(38,7) - - - java.math.BigDecimal - DECIMAL - NUMBER(38,15) - - - java.lang.Double - DOUBLE - NUMBER(38,15) - - - java.lang.Character - VARCHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR2(255) - - - java.util.Date - TIMESTAMP - TIMESTAMP(3) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP(9) - - - java.lang.Object - BLOB - BLOB - - - - - - Oracle8 - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 30 - true - 1 - 0 - - - concat - (?1 || ?2) - - - substring - substr(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - instr(?2, ?1, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - BIT - NUMBER(1) - - - java.lang.Byte - NUMERIC - NUMBER(3) - - - java.lang.Short - NUMERIC - NUMBER(5) - - - java.lang.Integer - INTEGER - NUMBER(10) - - - java.lang.Long - BIGINT - NUMBER(19) - - - java.lang.Float - REAL - NUMBER(38,7) - - - java.math.BigDecimal - DECIMAL - NUMBER(38,15) - - - java.lang.Double - DOUBLE - NUMBER(38,15) - - - java.lang.Character - VARCHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR2(255) - - - - java.util.Date - TIMESTAMP - DATE - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - - java.sql.Timestamp - TIMESTAMP - DATE - - - java.lang.Object - BLOB - BLOB - - - - - - Oracle7 - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 30 - true - 1 - 0 - - - concat - (?1 || ?2) - - - substring - substr(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - instr(?2, ?1, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - BIT - NUMBER(1) - - - java.lang.Byte - NUMERIC - NUMBER(3) - - - java.lang.Short - NUMERIC - NUMBER(5) - - - java.lang.Integer - INTEGER - NUMBER(10) - - - java.lang.Long - BIGINT - NUMBER(19) - - - java.lang.Float - REAL - NUMBER(38,7) - - - java.lang.Double - DOUBLE - NUMBER(38,15) - - - java.lang.Character - VARCHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR2(255) - - - - java.util.Date - TIMESTAMP - DATE - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - DATE - - - - java.sql.Timestamp - TIMESTAMP - DATE - - - java.lang.Object - LONGVARBINARY - LONG RAW - - - - - - Sybase - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 30 - true - 1 - 0 - - - count - count(?1) - - - length - char_length(?1) - - - - java.lang.Boolean - BIT - BIT - - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - NUMERIC - NUMERIC(38,0) - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(255) - - - java.util.Date - TIMESTAMP - DATETIME - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - SMALLDATETIME - - - java.sql.Timestamp - TIMESTAMP - DATETIME - - - java.lang.Object - JAVA_OBJECT - IMAGE - - - - - PostgreSQL - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 - t - _ - 32 - true - TRUE - FALSE - - - concat - (?1 || ?2) - - - substring - substring(?1 FROM ?2 FOR ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) - - - abs - abs(?1) - - - sqrt - sqrt(CAST(?1 AS double precision)) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - CHAR - BOOLEAN - - - java.lang.Byte - TINYINT - INT2 - - - java.lang.Short - SMALLINT - INT2 - - - java.lang.Integer - INTEGER - INT4 - - - java.lang.Long - BIGINT - INT8 - - - java.lang.Float - FLOAT - FLOAT(7) - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - TEXT - - - java.util.Date - TIMESTAMP - TIMESTAMP with time zone - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP with time zone - - - java.math.BigDecimal - NUMERIC - NUMERIC - - - java.lang.Object - VARBINARY - BYTEA - - - - - PostgreSQL 8.0 - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 - t - _ - 32 - true - TRUE - FALSE - - - concat - (?1 || ?2) - - - substring - substring(?1 FROM ?2 FOR ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) - - - abs - abs(?1) - - - sqrt - sqrt(CAST(?1 AS double precision)) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - BOOLEAN - BOOLEAN - - - java.lang.Byte - TINYINT - INT2 - - - java.lang.Short - SMALLINT - INT2 - - - java.lang.Integer - INTEGER - INT4 - - - java.lang.Long - BIGINT - INT8 - - - java.lang.Float - FLOAT - FLOAT(7) - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - TEXT - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.math.BigDecimal - NUMERIC - NUMERIC - - - java.lang.Object - VARBINARY - BYTEA - - - - - PostgreSQL 7.2 - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 - t - _ - 32 - true - TRUE - FALSE - - - concat - (?1 || ?2) - - - substring - substring(?1 FROM ?2 FOR ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) - - - abs - abs(?1) - - - sqrt - sqrt(CAST(?1 AS double precision)) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Boolean - CHAR - BOOLEAN - - - java.lang.Byte - TINYINT - INT2 - - - java.lang.Short - SMALLINT - INT2 - - - java.lang.Integer - INTEGER - INT4 - - - java.lang.Long - BIGINT - INT8 - - - java.lang.Float - FLOAT - FLOAT(7) - - - java.lang.Double - DOUBLE - FLOAT8 - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - TEXT - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.math.BigDecimal - NUMERIC - NUMERIC - - - java.lang.Object - VARBINARY - BYTEA - - - - - Hypersonic SQL - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 IDENTITY - ALTER TABLE ?1 ADD COLUMN ?2 ?3 - ALTER TABLE ?1 DROP COLUMN ?2 - t - _ - 32 - true - (1=1) - (1=0) - - - concat - (?1 || ?2) - - - substring - SUBSTRING(?1, ?2, ?3) - - - lcase - lcase(?1) - - - length - LENGTH(?1) - - - locate - LOCATE(?1, ?2, ?3) - - - abs - ABS(?1) - - - sqrt - SQRT(?1) - - - ucase - ucase(?1) - - - count - count(?1) - - - - java.lang.Byte - SMALLINT - SMALLINT - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.lang.Boolean - BIT - BIT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Object - - VARBINARY - VARBINARY - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Float - REAL - REAL - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.math.BigDecimal - DECIMAL - DECIMAL - - - - - PointBase - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - TRUE - FALSE - - - lcase - lower(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Character - CHAR - CHAR - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Long - BIGINT - INTEGER - - - java.lang.Double - DOUBLE - FLOAT - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Byte - SMALLINT - SMALLINT - - - java.lang.Object - BLOB - BLOB - - - java.lang.Integer - INTEGER - INTEGER - - - java.util.Date - DATE - DATE - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - - SOLID - - PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Character - CHAR - CHAR - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Short - INTEGER - INTEGER - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Object - BLOB - BLOB - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Integer - INTEGER - INTEGER - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Boolean - BIT - BIT - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Long - BIGINT - BIGINT - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - - - mySQL - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - - ALTER TABLE ?1 ADD INDEX (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 auto_increment - ALTER TABLE ?1 MODIFY ?2 ?3 - t - _ - 32 - false - 1 - 0 - - - concat - concat(?1, ?2) - - - substring - substring(?1 FROM ?2 FOR ?3) - - - lcase - lower(?1) - - - length - length(?1) - - - locate - locate(?1, ?2, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Boolean - TINYINT - TINYINT - - - java.math.BigDecimal - DOUBLE - DOUBLE - - - java.lang.Object - BLOB - LONGBLOB - - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Short - SMALLINT - SMALLINT - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Character - CHAR - CHAR - - - java.lang.Long - BIGINT - BIGINT - - - java.lang.String - VARCHAR - VARCHAR(250) BINARY - - - java.util.Date - TIMESTAMP - DATETIME - - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - TIME - - - - - MS SQLSERVER - SELECT ?1 FROM ?2 with (updlock) WHERE ?3 ORDER BY ?4 - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 IDENTITY - ALTER TABLE ?1 ALTER COLUMN ?2 ?3 - t - _ - 32 - true - 1 - 0 - - - concat - (?1 + ?2) - - - substring - substring(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - len(?1) - - - locate - charindex(?1, ?2, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Character - CHAR - CHAR - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Long - DECIMAL - DECIMAL(20) - - - java.math.BigDecimal - VARCHAR - VARCHAR(256) - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Object - JAVA_OBJECT - IMAGE - - - java.lang.Byte - TINYINT - TINYINT - - - - java.sql.Timestamp - TIMESTAMP - DATETIME - - - java.sql.Date - DATE - DATETIME - - - java.sql.Time - TIME - DATETIME - - - java.util.Date - TIMESTAMP - DATETIME - - - java.lang.Boolean - BIT - BIT - - - java.lang.Float - FLOAT - FLOAT - - - - - MS SQLSERVER2000 - SELECT ?1 FROM ?2 with (xlock) WHERE ?3 ORDER BY ?4 - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - ?1 IDENTITY - t - _ - 32 - true - 1 - 0 - - - concat - (?1 + ?2) - - - substring - substring(?1, ?2, ?3) - - - lcase - lower(?1) - - - length - len(?1) - - - locate - charindex(?1, ?2, ?3) - - - abs - abs(?1) - - - sqrt - sqrt(?1) - - - ucase - upper(?1) - - - count - count(?1) - - - - java.lang.Integer - INTEGER - INTEGER - - - - java.lang.Character - CHAR - CHAR - - - - java.lang.Short - SMALLINT - SMALLINT - - - - java.lang.Long - BIGINT - BIGINT - - - - java.math.BigDecimal - VARCHAR - VARCHAR(256) - - - - java.lang.String - VARCHAR - VARCHAR(256) - - - - java.lang.Object - LONGVARBINARY - IMAGE - - - - java.lang.Byte - TINYINT - TINYINT - - - - - java.sql.Timestamp - TIMESTAMP - DATETIME - - - - java.sql.Date - DATE - DATETIME - - - - java.sql.Time - TIME - DATETIME - - - - java.util.Date - TIMESTAMP - DATETIME - - - - java.lang.Boolean - BIT - BIT - - - - java.lang.Float - REAL - REAL - - - - java.lang.Double - DOUBLE - FLOAT - - - - - DB2/400 - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Character - CHAR - CHAR(1) - - - java.lang.String - VARCHAR - VARCHAR(256) - - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.sql.Time - TIME - TIME - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Double - DOUBLE - DOUBLE - - - java.lang.Long - BIGINT - INTEGER - - - java.lang.Boolean - CHAR - CHAR(5) - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Object - JAVA_OBJECT - VARCHAR(4096) FOR BIT DATA - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - - SapDB - - - SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - VARCHAR - VARCHAR(256) - - - java.lang.Object - JAVA_OBJECT - LONG BYTE - - - java.lang.Byte - TINYINT - CHAR BYTE - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.util.Date - TIMESTAMP - TIMESTAMP - - - java.sql.Time - TIME - TIME - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.Float - FLOAT - FLOAT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Long - DECIMAL - DECIMAL(20) - - - - - Cloudscape - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - - java.math.BigDecimal - LONGVARCHAR - LONG VARCHAR - - - java.lang.Boolean - BIT - BOOLEAN - - - java.lang.Byte - TINYINT - TINYINT - - - java.lang.Short - SMALLINT - SMALLINT - - - java.lang.Integer - INTEGER - INTEGER - - - java.lang.Long - BIGINT - LONGINT - - - java.lang.Float - REAL - REAL - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - java.lang.Character - CHAR - CHAR - - - java.lang.String - LONGVARCHAR - LONG VARCHAR - - - - java.sql.Date - DATE - DATE - - - java.sql.Time - TIME - TIME - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - java.lang.Object - JAVA_OBJECT - LONG VARBINARY - - - - - - InformixDB - select ?1 from ?2 where ?3 order by ?4 for update - PRIMARY KEY (?2) CONSTRAINT ?1 - ALTER TABLE ?1 ADD CONSTRAINT FOREIGN KEY (?3) REFERENCES ?4 (?5) CONSTRAINT ?2 - t - _ - 32 - true - 1 - 0 - - - count - count(?1) - - - - java.lang.Character - CHAR - CHAR(1) - - - - java.lang.String - VARCHAR - VARCHAR(255,0) - - - - java.math.BigDecimal - NUMERIC - DECIMAL - - - - java.lang.Boolean - BIT - SMALLINT - - - - java.lang.Integer - INTEGER - INTEGER - - - - java.lang.Long - BIGINT - NUMERIC(18,0) - - - - java.lang.Float - REAL - FLOAT - - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - - java.lang.Byte - TINYINT - SMALLINT - - - - java.lang.Short - SMALLINT - SMALLINT - - - - java.util.Date - TIMESTAMP - DATETIME YEAR TO FRACTION(3) - - - - java.sql.Date - DATE - DATE - - - - java.sql.Time - TIME - TIME - - - - java.sql.Timestamp - TIMESTAMP - DATETIME YEAR TO FRACTION(3) - - - - java.lang.Object - BLOB - BLOB - - - - - Mimer SQL - - CONSTRAINT ?1 PRIMARY KEY (?2) - ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) - t - _ - 32 - true - 1 - 0 - - - java.lang.Boolean - BIT - SMALLINT - - - - java.lang.Byte - TINYINT - SMALLINT - - - - java.lang.Short - SMALLINT - SMALLINT - - - - java.lang.Integer - INTEGER - INTEGER - - - - java.lang.Long - BIGINT - BIGINT - - - - java.lang.Float - REAL - REAL - - - - java.lang.Double - DOUBLE - DOUBLE PRECISION - - - - java.lang.Character - CHAR - CHAR - - - - java.lang.String - VARCHAR - VARCHAR(5000) - - - - java.sql.Date - DATE - DATE - - - - java.sql.Time - TIME - TIME - - - - java.sql.Timestamp - TIMESTAMP - TIMESTAMP - - - - java.lang.Object - JAVA_OBJECT - VARBINARY(5000) - - - - - - - - - - - jboss.jdbc:service=SQLExceptionProcessor - - - - - - SELECT CURRENT_TIMESTAMP - - - - - - - - TEST_SEQUENCE - - - - - %%t_seq - - - - - - - - - - - - - - - - - - - - - - - - - - - - UUIDKeyGeneratorFactory - - - - - - - - - SELECT CURRENT_TIMESTAMP - - - - - - - alias - alter - between - char - column - commit - create - date - default - delete - drop - file - from - grant - group - index - integer - join - number - on - order - primary - public - revoke - rollback - row - select - set - session - size - table - trigger - update - unique - user - varchar - view - - + + + + + + + + + + + + + + + java:/DefaultDS + + + true + false + false + 300000 + false + true + false + foreign-key + + on-load + 1000 + * + + 1000 + false + + + UUIDKeyGeneratorFactory + java.lang.String + VARCHAR + VARCHAR(32) + + + + org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler + false + + + + + FirstSQL/J + + PRIMARY KEY (?2) + FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + 1 + 0 + + + concat + (?1 || ?2) + + + substring + substring(?1 FROM ?2 FOR ?3) + + + lcase + lower(?1) + + + length + char_length(?1) + + + locate + position(?1 IN ?2) + + + abs + math.abs(?1) + + + sqrt + math.sqrt(CAST(?1 AS DOUBLE)) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + TINYINT + TINYINT + + + java.lang.Byte + TINYINT + TINYINT + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.Float + REAL + REAL + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + + VARCHAR(256) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.math.BigDecimal + DECIMAL + DECIMAL + + + java.lang.Object + + LONGVARBINARY + VARCHAR(2147483500) + + + + + Ingres + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + ALTER TABLE ?1 ADD CONSTRAINT ?2 PRIMARY KEY (?3) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + TRUE + FALSE + + + concat + concat(?1,?2) + + + substring + left(?1,?2) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + locate(?1,?2) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + + java.lang.Boolean + INTEGER + INTEGER + + + java.lang.Byte + TINYINT + INT1 + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + INTEGER4 + + + java.lang.Float + FLOAT + FLOAT4 + + + java.lang.Double + DOUBLE + FLOAT8 + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.util.Date + TIMESTAMP + DATE + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + DATE + + + java.sql.Timestamp + TIMESTAMP + DATE + + + java.math.BigDecimal + DOUBLE + FLOAT8 + + + + java.lang.Object + JAVA_OBJECT + LONG VARCHAR + + + + McKoi + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + TRUE + FALSE + + + count + count(?1) + + + + java.lang.Boolean + BIT + BOOLEAN + + + java.lang.Byte + TINYINT + SMALLINT + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.Float + REAL + FLOAT + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(64) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Object + JAVA_OBJECT + JAVA_OBJECT + + + + + Firebird + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 31 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Boolean + BIT + SMALLINT default 0 + + + java.lang.Byte + TINYINT + SMALLINT default 0 + + + java.lang.Short + SMALLINT + SMALLINT default 0 + + + java.lang.Integer + INTEGER + INTEGER default 0 + + + java.lang.Long + BIGINT + NUMERIC(18,0) default 0 + + + java.lang.Float + REAL + FLOAT default 0 + + + java.lang.Double + DOUBLE + DOUBLE PRECISION default 0 + + + java.lang.Character + VARCHAR + CHAR + + + + java.lang.String + VARCHAR + VARCHAR(64) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Object + JAVA_OBJECT + BLOB + + + + + InterBase + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 31 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Boolean + BIT + SMALLINT default 0 + + + java.lang.Byte + TINYINT + SMALLINT default 0 + + + java.lang.Short + SMALLINT + SMALLINT default 0 + + + java.lang.Integer + INTEGER + INTEGER default 0 + + + java.lang.Long + BIGINT + NUMERIC(18,0) default 0 + + + java.lang.Float + REAL + FLOAT default 0 + + + java.lang.Double + DOUBLE + DOUBLE PRECISION default 0 + + + java.lang.Character + VARCHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(64) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Object + JAVA_OBJECT + VARCHAR(2000) + + + + + DB2 + + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 18 + true + 1 + 0 + + + count + count(?1) + + + locate + locate(CAST(?1 as VARCHAR(254)), + CAST(?2 as VaRCHAR(254)),?3) + + + + java.lang.Boolean + BIT + SMALLINT + + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.Float + REAL + REAL + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(254) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + + java.lang.Object + VARBINARY + BLOB(2000) + + + + + Derby + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 18 + true + 1 + 0 + + + concat + (?1 || ?2) + + + substr + substr(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + locate(?2, ?1, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.math.BigDecimal + NUMERIC + DECIMAL + + + java.lang.Boolean + BIT + BOOLEAN + + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.Float + REAL + REAL + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Object + BLOB + BLOB + + + + + Oracle9i + + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 30 + true + 1 + 0 + + + concat + (?1 || ?2) + + + substring + substr(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + instr(?2, ?1, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + BIT + NUMBER(1) + + + java.lang.Byte + SMALLINT + NUMBER(3) + + + java.lang.Short + NUMERIC + + NUMBER(5) + + + java.lang.Integer + INTEGER + NUMBER(10) + + + java.lang.Long + BIGINT + NUMBER(19) + + + java.lang.Float + REAL + NUMBER(38,7) + + + java.math.BigDecimal + DECIMAL + NUMBER(38,15) + + + java.lang.Double + DOUBLE + NUMBER(38,15) + + + java.lang.Character + VARCHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR2(255) + + + java.util.Date + TIMESTAMP + TIMESTAMP(3) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + DATE + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP(9) + + + java.lang.Object + BLOB + BLOB + + + + + + Oracle8 + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 30 + true + 1 + 0 + + + concat + (?1 || ?2) + + + substring + substr(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + instr(?2, ?1, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + BIT + NUMBER(1) + + + java.lang.Byte + NUMERIC + NUMBER(3) + + + java.lang.Short + NUMERIC + NUMBER(5) + + + java.lang.Integer + INTEGER + NUMBER(10) + + + java.lang.Long + BIGINT + NUMBER(19) + + + java.lang.Float + REAL + NUMBER(38,7) + + + java.math.BigDecimal + DECIMAL + NUMBER(38,15) + + + java.lang.Double + DOUBLE + NUMBER(38,15) + + + java.lang.Character + VARCHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR2(255) + + + + java.util.Date + TIMESTAMP + DATE + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + DATE + + + + java.sql.Timestamp + TIMESTAMP + DATE + + + java.lang.Object + BLOB + BLOB + + + + + + Oracle7 + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 30 + true + 1 + 0 + + + concat + (?1 || ?2) + + + substring + substr(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + instr(?2, ?1, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + BIT + NUMBER(1) + + + java.lang.Byte + NUMERIC + NUMBER(3) + + + java.lang.Short + NUMERIC + NUMBER(5) + + + java.lang.Integer + INTEGER + NUMBER(10) + + + java.lang.Long + BIGINT + NUMBER(19) + + + java.lang.Float + REAL + NUMBER(38,7) + + + java.lang.Double + DOUBLE + NUMBER(38,15) + + + java.lang.Character + VARCHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR2(255) + + + + java.util.Date + TIMESTAMP + DATE + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + DATE + + + + java.sql.Timestamp + TIMESTAMP + DATE + + + java.lang.Object + LONGVARBINARY + LONG RAW + + + + + + Sybase + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 30 + true + 1 + 0 + + + count + count(?1) + + + length + char_length(?1) + + + + java.lang.Boolean + BIT + BIT + + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + NUMERIC + NUMERIC(38,0) + + + java.lang.Float + REAL + REAL + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(255) + + + java.util.Date + TIMESTAMP + DATETIME + + + java.sql.Date + DATE + DATETIME + + + java.sql.Time + TIME + SMALLDATETIME + + + java.sql.Timestamp + TIMESTAMP + DATETIME + + + java.lang.Object + JAVA_OBJECT + IMAGE + + + + + PostgreSQL + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 + t + _ + 32 + true + TRUE + FALSE + + + concat + (?1 || ?2) + + + substring + substring(?1 FROM ?2 FOR ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) + + + abs + abs(?1) + + + sqrt + sqrt(CAST(?1 AS double precision)) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + CHAR + BOOLEAN + + + java.lang.Byte + TINYINT + INT2 + + + java.lang.Short + SMALLINT + INT2 + + + java.lang.Integer + INTEGER + INT4 + + + java.lang.Long + BIGINT + INT8 + + + java.lang.Float + FLOAT + FLOAT(7) + + + java.lang.Double + DOUBLE + FLOAT8 + + + java.lang.Character + CHAR + CHAR(1) + + + java.lang.String + VARCHAR + TEXT + + + java.util.Date + TIMESTAMP + TIMESTAMP with time zone + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP with time zone + + + java.math.BigDecimal + NUMERIC + NUMERIC + + + java.lang.Object + VARBINARY + BYTEA + + + + + PostgreSQL 8.0 + + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 + t + _ + 32 + true + TRUE + FALSE + + + concat + (?1 || ?2) + + + substring + substring(?1 FROM ?2 FOR ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) + + + abs + abs(?1) + + + sqrt + sqrt(CAST(?1 AS double precision)) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + BOOLEAN + BOOLEAN + + + java.lang.Byte + TINYINT + INT2 + + + java.lang.Short + SMALLINT + INT2 + + + java.lang.Integer + INTEGER + INT4 + + + java.lang.Long + BIGINT + INT8 + + + java.lang.Float + FLOAT + FLOAT(7) + + + java.lang.Double + DOUBLE + FLOAT8 + + + java.lang.Character + CHAR + CHAR(1) + + + java.lang.String + VARCHAR + TEXT + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.math.BigDecimal + NUMERIC + NUMERIC + + + java.lang.Object + VARBINARY + BYTEA + + + + + PostgreSQL 7.2 + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 + t + _ + 32 + true + TRUE + FALSE + + + concat + (?1 || ?2) + + + substring + substring(?1 FROM ?2 FOR ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + (CASE position(?1 in substring(?2 from ?3)) WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) + ?3 - 1 END) + + + abs + abs(?1) + + + sqrt + sqrt(CAST(?1 AS double precision)) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Boolean + CHAR + BOOLEAN + + + java.lang.Byte + TINYINT + INT2 + + + java.lang.Short + SMALLINT + INT2 + + + java.lang.Integer + INTEGER + INT4 + + + java.lang.Long + BIGINT + INT8 + + + java.lang.Float + FLOAT + FLOAT(7) + + + java.lang.Double + DOUBLE + FLOAT8 + + + java.lang.Character + CHAR + CHAR(1) + + + java.lang.String + VARCHAR + TEXT + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.math.BigDecimal + NUMERIC + NUMERIC + + + java.lang.Object + VARBINARY + BYTEA + + + + + Hypersonic SQL + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 IDENTITY + ALTER TABLE ?1 ADD COLUMN ?2 ?3 + ALTER TABLE ?1 DROP COLUMN ?2 + t + _ + 32 + true + (1=1) + (1=0) + + + concat + (?1 || ?2) + + + substring + SUBSTRING(?1, ?2, ?3) + + + lcase + lcase(?1) + + + length + LENGTH(?1) + + + locate + LOCATE(?1, ?2, ?3) + + + abs + ABS(?1) + + + sqrt + SQRT(?1) + + + ucase + ucase(?1) + + + count + count(?1) + + + + java.lang.Byte + SMALLINT + SMALLINT + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.lang.Boolean + BIT + BIT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Object + + VARBINARY + VARBINARY + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Float + REAL + REAL + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.Double + DOUBLE + DOUBLE + + + java.math.BigDecimal + DECIMAL + DECIMAL + + + + + PointBase + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + TRUE + FALSE + + + lcase + lower(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + locate + position(?1 IN ?2) + + + + java.lang.Character + CHAR + CHAR + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Long + BIGINT + INTEGER + + + java.lang.Double + DOUBLE + FLOAT + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Boolean + BIT + BOOLEAN + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.lang.Byte + SMALLINT + SMALLINT + + + java.lang.Object + BLOB + BLOB + + + java.lang.Integer + INTEGER + INTEGER + + + java.util.Date + DATE + DATE + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + + + SOLID + + PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Character + CHAR + CHAR + + + java.lang.Byte + TINYINT + TINYINT + + + java.lang.Short + INTEGER + INTEGER + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Object + BLOB + BLOB + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.lang.Integer + INTEGER + INTEGER + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Boolean + BIT + BIT + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Long + BIGINT + BIGINT + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + + + mySQL + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + + ALTER TABLE ?1 ADD INDEX (?3), ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 auto_increment + ALTER TABLE ?1 MODIFY ?2 ?3 + t + _ + 32 + false + 1 + 0 + + + concat + concat(?1, ?2) + + + substring + substring(?1 FROM ?2 FOR ?3) + + + lcase + lower(?1) + + + length + length(?1) + + + locate + locate(?1, ?2, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Boolean + TINYINT + TINYINT + + + java.math.BigDecimal + DOUBLE + DOUBLE + + + java.lang.Object + BLOB + LONGBLOB + + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Short + SMALLINT + SMALLINT + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + + java.lang.Byte + TINYINT + TINYINT + + + java.lang.Character + CHAR + CHAR + + + java.lang.Long + BIGINT + BIGINT + + + java.lang.String + VARCHAR + VARCHAR(250) BINARY + + + java.util.Date + TIMESTAMP + DATETIME + + + + java.sql.Date + DATE + DATETIME + + + java.sql.Time + TIME + TIME + + + + + MS SQLSERVER + SELECT ?1 FROM ?2 with (updlock) WHERE ?3 ORDER BY ?4 + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 IDENTITY + ALTER TABLE ?1 ALTER COLUMN ?2 ?3 + t + _ + 32 + true + 1 + 0 + + + concat + (?1 + ?2) + + + substring + substring(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + len(?1) + + + locate + charindex(?1, ?2, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Character + CHAR + CHAR + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Long + DECIMAL + DECIMAL(20) + + + java.math.BigDecimal + VARCHAR + VARCHAR(256) + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.lang.Object + JAVA_OBJECT + IMAGE + + + java.lang.Byte + TINYINT + TINYINT + + + + java.sql.Timestamp + TIMESTAMP + DATETIME + + + java.sql.Date + DATE + DATETIME + + + java.sql.Time + TIME + DATETIME + + + java.util.Date + TIMESTAMP + DATETIME + + + java.lang.Boolean + BIT + BIT + + + java.lang.Float + FLOAT + FLOAT + + + + + MS SQLSERVER2000 + + SELECT ?1 FROM ?2 with (xlock) WHERE ?3 ORDER BY ?4 + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + ?1 IDENTITY + t + _ + 32 + true + 1 + 0 + + + concat + (?1 + ?2) + + + substring + substring(?1, ?2, ?3) + + + lcase + lower(?1) + + + length + len(?1) + + + locate + charindex(?1, ?2, ?3) + + + abs + abs(?1) + + + sqrt + sqrt(?1) + + + ucase + upper(?1) + + + count + count(?1) + + + mod + (?1 % ?2) + + + + java.lang.Integer + INTEGER + INTEGER + + + + java.lang.Character + CHAR + CHAR + + + + java.lang.Short + SMALLINT + SMALLINT + + + + java.lang.Long + BIGINT + BIGINT + + + + java.math.BigDecimal + VARCHAR + VARCHAR(256) + + + + java.lang.String + VARCHAR + VARCHAR(256) + + + + java.lang.Object + LONGVARBINARY + IMAGE + + + + java.lang.Byte + TINYINT + TINYINT + + + + + java.sql.Timestamp + TIMESTAMP + DATETIME + + + + java.sql.Date + DATE + DATETIME + + + + java.sql.Time + TIME + DATETIME + + + + java.util.Date + TIMESTAMP + DATETIME + + + + java.lang.Boolean + BIT + BIT + + + + java.lang.Float + REAL + REAL + + + + java.lang.Double + DOUBLE + FLOAT + + + + + DB2/400 + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 18 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Character + CHAR + CHAR(1) + + + java.lang.String + VARCHAR + VARCHAR(256) + + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.sql.Time + TIME + TIME + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Double + DOUBLE + DOUBLE + + + java.lang.Long + BIGINT + INTEGER + + + java.lang.Boolean + CHAR + CHAR(5) + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Object + JAVA_OBJECT + VARCHAR(4096) FOR BIT DATA + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + + + SapDB + + + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.lang.Object + JAVA_OBJECT + LONG BYTE + + + java.lang.Byte + TINYINT + CHAR BYTE + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.sql.Time + TIME + TIME + + + java.lang.Boolean + BIT + BOOLEAN + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + java.lang.Long + DECIMAL + DECIMAL(20) + + + + + MaxDB + SELECT ?1 FROM ?2 WHERE ?3 ORDER BY ?4 FOR UPDATE + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD FOREIGN KEY ?2 (?3) REFERENCES ?4 (?5) + ?1 + t + _ + 32 + true + true + false + + + count + count(?1) + + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + VARCHAR + VARCHAR(256) + + + java.lang.Object + JAVA_OBJECT + LONG BYTE + + + java.lang.Byte + TINYINT + CHAR BYTE + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.util.Date + TIMESTAMP + TIMESTAMP + + + java.sql.Time + TIME + TIME + + + java.lang.Boolean + BOOLEAN + BOOLEAN + + + java.lang.Float + FLOAT + FLOAT + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + java.lang.Long + DECIMAL + DECIMAL(20) + + + + + Cloudscape + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + 1 + 0 + + + count + count(?1) + + + + java.math.BigDecimal + LONGVARCHAR + LONG VARCHAR + + + java.lang.Boolean + BIT + BOOLEAN + + + java.lang.Byte + TINYINT + TINYINT + + + java.lang.Short + SMALLINT + SMALLINT + + + java.lang.Integer + INTEGER + INTEGER + + + java.lang.Long + BIGINT + LONGINT + + + java.lang.Float + REAL + REAL + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + java.lang.Character + CHAR + CHAR + + + java.lang.String + LONGVARCHAR + LONG VARCHAR + + + + java.sql.Date + DATE + DATE + + + java.sql.Time + TIME + TIME + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + java.lang.Object + JAVA_OBJECT + LONG VARBINARY + + + + + + InformixDB + select ?1 from ?2 where ?3 order by ?4 for update + PRIMARY KEY (?2) CONSTRAINT ?1 + ALTER TABLE ?1 ADD CONSTRAINT FOREIGN KEY (?3) REFERENCES ?4 (?5) CONSTRAINT ?2 + t + _ + 32 + true + 1 + 0 + + + count + count(?1) + + + + java.lang.Character + CHAR + CHAR(1) + + + + java.lang.String + VARCHAR + VARCHAR(255,0) + + + + java.math.BigDecimal + NUMERIC + DECIMAL + + + + java.lang.Boolean + BIT + SMALLINT + + + + java.lang.Integer + INTEGER + INTEGER + + + + java.lang.Long + BIGINT + NUMERIC(18,0) + + + + java.lang.Float + REAL + FLOAT + + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + + java.lang.Byte + TINYINT + SMALLINT + + + + java.lang.Short + SMALLINT + SMALLINT + + + + java.util.Date + TIMESTAMP + DATETIME YEAR TO FRACTION(3) + + + + java.sql.Date + DATE + DATE + + + + java.sql.Time + TIME + TIME + + + + java.sql.Timestamp + TIMESTAMP + DATETIME YEAR TO FRACTION(3) + + + + java.lang.Object + BLOB + BLOB + + + + + Mimer SQL + + CONSTRAINT ?1 PRIMARY KEY (?2) + ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5) + t + _ + 32 + true + 1 + 0 + + + java.lang.Boolean + BIT + SMALLINT + + + + java.lang.Byte + TINYINT + SMALLINT + + + + java.lang.Short + SMALLINT + SMALLINT + + + + java.lang.Integer + INTEGER + INTEGER + + + + java.lang.Long + BIGINT + BIGINT + + + + java.lang.Float + REAL + REAL + + + + java.lang.Double + DOUBLE + DOUBLE PRECISION + + + + java.lang.Character + CHAR + CHAR + + + + java.lang.String + VARCHAR + VARCHAR(5000) + + + + java.sql.Date + DATE + DATE + + + + java.sql.Time + TIME + TIME + + + + java.sql.Timestamp + TIMESTAMP + TIMESTAMP + + + + java.lang.Object + JAVA_OBJECT + VARBINARY(5000) + + + + + + + + + + + jboss.jdbc:service=SQLExceptionProcessor + + + + + + SELECT CURRENT_TIMESTAMP + + + + + + + + TEST_SEQUENCE + + + + + %%t_seq + + + + + + + + + + + + + + + + + + + + + + + + + + + + UUIDKeyGeneratorFactory + + + + + + + + + SELECT CURRENT_TIMESTAMP + + + + + + + + + + + + + + + + + alias + alter + between + char + column + commit + create + date + default + delete + drop + file + from + grant + group + index + integer + join + number + on + order + primary + public + revoke + rollback + row + select + set + session + size + table + trigger + update + unique + user + varchar + view + + diff --git a/jboss/server/adempiere/conf/xmdesc/AttributePersistenceService-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/AttributePersistenceService-xmbean.xml index 5e5ba5935e..a60da5e074 100644 --- a/jboss/server/adempiere/conf/xmdesc/AttributePersistenceService-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/AttributePersistenceService-xmbean.xml @@ -1,107 +1,107 @@ - - - - - - - - XMBean Attribute Persistence Service - - - - - org.jboss.system.pm.AttributePersistenceService - - - - Specifies whether to call destroy() on the AttributePersistenceManager implementation, upon service stop - ApmDestroyOnServiceStop - boolean - - - - - - - The actual AttributePersistenceManager implementation - AttributePersistenceManagerClass - java.lang.String - - - - - - - The XML configuration that is passed to the AttributePersistenceManager implementation - AttributePersistenceManagerConfig - org.w3c.dom.Element - - - - - - - The version tag to use for stored/loaded Attribute data - VersionTag - java.lang.String - - - - - - &defaultAttributes; - - - - Factory method returning the active AttributePersistenceManager implementation, for internal usage - apmCreate - org.jboss.mx.persistence.AttributePersistenceManager - - - - Delegated to the active APM returns true when a persisted image with this id exists - apmExists - - The id of the persisted attribute image - id - java.lang.String - - boolean - - - - Delegated to the active APM removes the specified persisted attribute image - apmRemove - - The id of the persisted attribute image - id - java.lang.String - - void - - - - Delegated to the active APM removes the persisted attribute images - apmRemoveAll - void - - - - Delegated to the active APM it returns a list with the ids of all persisted attribute images - apmListAll - [Ljava.lang.String; - - - - Delegated to the active APM it returns a single string with the ids of all persisted attribute images - apmListAllAsString - java.lang.String - - - &defaultOperations; - + + + + + + + + XMBean Attribute Persistence Service + + + + + org.jboss.system.pm.AttributePersistenceService + + + + Specifies whether to call destroy() on the AttributePersistenceManager implementation, upon service stop + ApmDestroyOnServiceStop + boolean + + + + + + + The actual AttributePersistenceManager implementation + AttributePersistenceManagerClass + java.lang.String + + + + + + + The XML configuration that is passed to the AttributePersistenceManager implementation + AttributePersistenceManagerConfig + org.w3c.dom.Element + + + + + + + The version tag to use for stored/loaded Attribute data + VersionTag + java.lang.String + + + + + + &defaultAttributes; + + + + Factory method returning the active AttributePersistenceManager implementation, for internal usage + apmCreate + org.jboss.mx.persistence.AttributePersistenceManager + + + + Delegated to the active APM returns true when a persisted image with this id exists + apmExists + + The id of the persisted attribute image + id + java.lang.String + + boolean + + + + Delegated to the active APM removes the specified persisted attribute image + apmRemove + + The id of the persisted attribute image + id + java.lang.String + + void + + + + Delegated to the active APM removes the persisted attribute images + apmRemoveAll + void + + + + Delegated to the active APM it returns a list with the ids of all persisted attribute images + apmListAll + [Ljava.lang.String; + + + + Delegated to the active APM it returns a single string with the ids of all persisted attribute images + apmListAllAsString + java.lang.String + + + &defaultOperations; + \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/ClientUserTransaction-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/ClientUserTransaction-xmbean.xml index 881abd88df..dc4598400f 100644 --- a/jboss/server/adempiere/conf/xmdesc/ClientUserTransaction-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/ClientUserTransaction-xmbean.xml @@ -1,28 +1,28 @@ - - - - - ClientUserTransaction Service. - org.jboss.tm.usertx.server.ClientUserTransactionService - &defaultAttributes; - - Set the name of the proxy factory service used for the UserTransactionSession - TxProxyName - javax.management.ObjectName - - - - Expose UserTransactionSession and UserTransactionSessionFactory interfaces via JMX to invokers. - invoke - - A pointer to the invocation object - invocation - org.jboss.invocation.Invocation - - java.lang.Object - - - &defaultOperations; + + + + + ClientUserTransaction Service. + org.jboss.tm.usertx.server.ClientUserTransactionService + &defaultAttributes; + + Set the name of the proxy factory service used for the UserTransactionSession + TxProxyName + javax.management.ObjectName + + + + Expose UserTransactionSession and UserTransactionSessionFactory interfaces via JMX to invokers. + invoke + + A pointer to the invocation object + invocation + org.jboss.invocation.Invocation + + java.lang.Object + + + &defaultOperations; \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/JNDIView-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/JNDIView-xmbean.xml index 26d03d0219..4855e6fbfa 100644 --- a/jboss/server/adempiere/conf/xmdesc/JNDIView-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/JNDIView-xmbean.xml @@ -1,28 +1,35 @@ - - - - - JNDIView Service. List deployed application java:comp namespaces, - the java: namespace as well as the global InitialContext JNDI namespace. - - org.jboss.naming.JNDIView - &defaultAttributes; - - Output JNDI info as text - list - - If true, list the class of each object in addition to its name - verbose - boolean - - java.lang.String - - - Output JNDI info in XML format - listXML - java.lang.String - - &defaultOperations; + + + + + JNDIView Service. List deployed application java:comp namespaces, + the java: namespace as well as the global InitialContext JNDI namespace. + + org.jboss.naming.JNDIView + &defaultAttributes; + + The HANamingService service name + HANamingService + java.lang.String + + + Output JNDI info as text + list + + If true, list the class of each object in addition to its name + verbose + boolean + + java.lang.String + + + Output JNDI info in XML format + listXML + java.lang.String + + &defaultOperations; \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/Log4jService-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/Log4jService-xmbean.xml index a81ded2810..b030d9278b 100644 --- a/jboss/server/adempiere/conf/xmdesc/Log4jService-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/Log4jService-xmbean.xml @@ -1,110 +1,110 @@ - - -]> - - - - This MBean allows to get and set Log4j specific options. -See also resource:log4j.xml - - org.jboss.logging.Log4jService - - The default constructor - Log4jService - - - &defaultAttributes; - - - The URL of the log4j.xml config file. - ConfigurationURL - java.net.URL - - - Should data writen to standard error be caught and integrated into the log output. - CatchSystemErr - boolean - - - Should data writen to standard output be caught and integrated into the log output. - CatchSystemOut - boolean - - - Sets the log4j quite mode. For log4j 1.2.8 this must stay on true. - Log4jQuietMode - boolean - - - The time in seconds between checking for new config. - RefreshPeriod - int - - - - Displays the log level of a given logger. - getLoggerLevel - - The name of the logger to display. - logger - java.lang.String - - java.lang.String - - - Sets the log level for a given logger. - setLoggerLevel - - The name of the logger to set. - logger - java.lang.String - - - The log level to set. - level - java.lang.String - - void - - - Sets the levels of each logger specified by the given comma - seperated list of logger names. - setLoggerLevels - - The list of loggers - loggers - java.lang.String - - - The log level to set - level - java.lang.String - - void - - - Force the logging system to reconfigure. - reconfigure - void - - - Force the logging system to reconfigure with the given URL. - reconfigure - - The url for the new configuration. - url - java.lang.String - - void - - - - &defaultOperations; - + + +]> + + + + This MBean allows to get and set Log4j specific options. +See also resource:log4j.xml + + org.jboss.logging.Log4jService + + The default constructor + Log4jService + + + &defaultAttributes; + + + The URL of the log4j.xml config file. + ConfigurationURL + java.net.URL + + + Should data writen to standard error be caught and integrated into the log output. + CatchSystemErr + boolean + + + Should data writen to standard output be caught and integrated into the log output. + CatchSystemOut + boolean + + + Sets the log4j quite mode. For log4j 1.2.8 this must stay on true. + Log4jQuietMode + boolean + + + The time in seconds between checking for new config. + RefreshPeriod + int + + + + Displays the log level of a given logger. + getLoggerLevel + + The name of the logger to display. + logger + java.lang.String + + java.lang.String + + + Sets the log level for a given logger. + setLoggerLevel + + The name of the logger to set. + logger + java.lang.String + + + The log level to set. + level + java.lang.String + + void + + + Sets the levels of each logger specified by the given comma + seperated list of logger names. + setLoggerLevels + + The list of loggers + loggers + java.lang.String + + + The log level to set + level + java.lang.String + + void + + + Force the logging system to reconfigure. + reconfigure + void + + + Force the logging system to reconfigure with the given URL. + reconfigure + + The url for the new configuration. + url + java.lang.String + + void + + + + &defaultOperations; + \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/NamingBean-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/NamingBean-xmbean.xml new file mode 100644 index 0000000000..dc5d3eece9 --- /dev/null +++ b/jboss/server/adempiere/conf/xmdesc/NamingBean-xmbean.xml @@ -0,0 +1,37 @@ + + + + + + The JNDI pojo bean + + org.jnp.server.NamingBeanImpl + + + The default constructor + NamingBeanImpl + + + + The NamingInstance + NamingInstance + org.jnp.interfaces.Naming + + + + + The start lifecycle op + start + void + + + The stop lifecycle op + stop + void + + + diff --git a/jboss/server/adempiere/conf/xmdesc/NamingService-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/NamingService-xmbean.xml index 0650ed7142..22562de752 100644 --- a/jboss/server/adempiere/conf/xmdesc/NamingService-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/NamingService-xmbean.xml @@ -1,129 +1,196 @@ - - -]> - - - - The standard JBoss JNDI naming server with a custom - ProxyFactoryInterceptor interceptor that does replacement of NamingContext - objects with the detached invoker proxy. - - - - - - - - - - - - org.jboss.naming.NamingService - - - The default constructor - NamingService - - - &defaultAttributes; - - - MethodMap - java.util.Map - - - The call by value mode. true if all lookups are unmarshalled using - the caller's TCL, false if in VM lookups return the value by reference. - CallByValue - boolean - - - The bind address of the bootstrap lookup socket. - BindAddress - java.lang.String - - - The listening port for the bootstrap JNP service. Set this to -1 - to run the NamingService without the JNP invoker listening port. - Port - int - - - The bootstrap socket backlog count. - Backlog - int - - - The bootstrap socket javax.net.ServerSocketFactory - JNPServerSocketFactory - java.lang.String - - - - The port of the RMI naming service, 0 == anonymous. This - is only used if an explicit InvokerProxyFactory has not been set. - RmiPort - int - - - The RMI service bind address. Empty == all addresses - RmiBindAddress - java.lang.String - - - The RMI service java.rmi.server.RMIClientSocketFactory - ClientSocketFactory - java.lang.String - - - The RMI service java.rmi.server.RMIServerSocketFactory - ServerSocketFactory - java.lang.String - - - - InstallGlobalService - boolean - - - The thread pool service used to control the bootstrap lookups - LookupPool - org.jboss.util.threadpool.BasicThreadPoolMBean - - - The detached invoker proxy factory to use for the naming - service transport. - InvokerProxyFactory - org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean - - - - - The generic invocation operation used by detached invokers - to route requests to the service - - invoke - - The Naming interface method invocation encapsulation - - invocation - org.jboss.invocation.Invocation - - java.lang.Object - - - &defaultOperations; - - + + +]> + + + + The standard JBoss JNDI naming server with a custom + ProxyFactoryInterceptor interceptor that does replacement of NamingContext + objects with the detached invoker proxy. + + + + + + + + + + + + org.jboss.naming.NamingService + + + The default constructor + NamingService + + + &defaultAttributes; + + + MethodMap + java.util.Map + + + Underlying Naming bean instance + Naming + org.jnp.server.NamingBean + + + Underlying Naming bean instance + NamingInstance + org.jnp.interfaces.Naming + + + The call by value mode. true if all lookups are unmarshalled using + the caller's TCL, false if in VM lookups return the value by reference. + CallByValue + boolean + + + The bind address of the bootstrap lookup socket. + BindAddress + java.lang.String + + + The listening port for the bootstrap JNP service. Set this to -1 + to run the NamingService without the JNP invoker listening port. + Port + int + + + The bootstrap socket backlog count. + Backlog + int + + + The bootstrap socket javax.net.ServerSocketFactory class name + JNPServerSocketFactory + java.lang.String + + + The bootstrap socket javax.net.ServerSocketFactory + JNPServerSocketFactoryBean + javax.net.ServerSocketFactory + + + + The port of the RMI naming service, 0 == anonymous. This + is only used if an explicit InvokerProxyFactory has not been set. + RmiPort + int + + + The RMI service bind address. Empty == all addresses + RmiBindAddress + java.lang.String + + + The RMI service java.rmi.server.RMIClientSocketFactory class name + ClientSocketFactory + java.lang.String + + + The RMI service java.rmi.server.RMIServerSocketFactory instance + ClientSocketFactoryBean + java.rmi.server.RMIClientSocketFactory + + + The RMI service java.rmi.server.RMIServerSocketFactory class name + ServerSocketFactory + java.lang.String + + + The RMI service java.rmi.server.RMIServerSocketFactory instance + ServerSocketFactory + java.rmi.server.RMIServerSocketFactory + + + + Ghe InstallGlobalService which defines whether the MainMBean's + Naming server will be installed as the NamingContext.setLocal global + value. + InstallGlobalService + boolean + + + The UseGlobalService which defines whether the MainMBean's + Naming server will initialized from the existing NamingContext.setLocal global + value. + UseGlobalService + boolean + + + The thread pool service used to control the bootstrap lookups + LookupPool + org.jboss.util.threadpool.BasicThreadPoolMBean + + + The detached invoker proxy factory to use for the naming + service transport. + InvokerProxyFactory + org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean + + + + + The generic invocation operation used by detached invokers + to route requests to the service + + invoke + + The Naming interface method invocation encapsulation + + invocation + org.jboss.invocation.Invocation + + java.lang.Object + + + Create an alias in jndi + + createAlias + + The from name + + fromName + java.lang.String + + + The to name + + toName + java.lang.String + + void + + + Remove an alias from jndi + + removeAlias + + The name + + name + java.lang.String + + void + + + &defaultOperations; + + diff --git a/jboss/server/adempiere/conf/xmdesc/TransactionManagerService-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/TransactionManagerService-xmbean.xml index f259cef077..58d6e00783 100644 --- a/jboss/server/adempiere/conf/xmdesc/TransactionManagerService-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/TransactionManagerService-xmbean.xml @@ -1,84 +1,89 @@ - - - - - - TransactionManager Service. - org.jboss.tm.TransactionManagerService - &defaultAttributes; - - Should be set to true for transaction demarcation over IIOP - GlobalIdsEnabled - boolean - - - Whether to interrupt threads at transaction timeout - InterruptThreads - boolean - - - The transaction timeout in seconds - TransactionTimeout - int - - - Name of the xidFactory - XidFactory - javax.management.ObjectName - - - Returns the TransactionManager managed by this service - TransactionManager - javax.transaction.TransactionManager - - - Returns the XATerminator managed by this service - XATerminator - org.jboss.tm.JBossXATerminator - - - Counts the number of active transactions - TransactionCount - long - - - Counts the number of commited transactions - CommitCount - long - - - Counts the number of transactions that have been rolled back - RollbackCount - long - - - - Register a XAException Formatter - registerXAExceptionFormatter - - The class of the formatter - clazz - java.lang.Class - - - A XAExceptionFromatter value - formatter - org.jboss.tm.XAExceptionFormatter - - void - - - Unregister a XAException Formatter - unregisterXAExceptionFormatter - - The class of the formatter - clazz - java.lang.Class - - void - - - &defaultOperations; + + + + + + TransactionManager Service. + org.jboss.tm.TransactionManagerService + &defaultAttributes; + + Should be set to true for transaction demarcation over IIOP + GlobalIdsEnabled + boolean + + + Whether to interrupt threads at transaction timeout + InterruptThreads + boolean + + + The transaction timeout in seconds + TransactionTimeout + int + + + Name of the xidFactory + XidFactory + javax.management.ObjectName + + + Transaction Integrity Policy + TransactionIntegrityFactory + org.jboss.tm.integrity.TransactionIntegrityFactory + + + Returns the TransactionManager managed by this service + TransactionManager + javax.transaction.TransactionManager + + + Returns the XATerminator managed by this service + XATerminator + org.jboss.tm.JBossXATerminator + + + Counts the number of active transactions + TransactionCount + long + + + Counts the number of commited transactions + CommitCount + long + + + Counts the number of transactions that have been rolled back + RollbackCount + long + + + + Register a XAException Formatter + registerXAExceptionFormatter + + The class of the formatter + clazz + java.lang.Class + + + A XAExceptionFromatter value + formatter + org.jboss.tm.XAExceptionFormatter + + void + + + Unregister a XAException Formatter + unregisterXAExceptionFormatter + + The class of the formatter + clazz + java.lang.Class + + void + + + &defaultOperations; \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml index a7386ad40c..42591af2bc 100644 --- a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.JARDeployer-xmbean.xml @@ -1,102 +1,46 @@ - - - - - The JARDeployer adds archives that do not contain META-INF/*.xml - files. The pattern of xml files that correspond to deployment descriptors - can be specified using the DescriptorNames attribute. - - org.jboss.deployment.JARDeployer - - The list of suffixes that define deployment descriptors which - if found in an archive META-INF directory indicate non-jar deployments - which should be ignored by the JARDeployer. - DescriptorNames - [Ljava.lang.String; - - - - - - - - &defaultAttributes; - - - Get the associated service DeploymentInfo if found, null otherwise - getService - - serviceName - javax.management.ObjectName - - org.jboss.deployment.DeploymentInfo - - - This method is called by MainDeployer to determine which - deployer is suitable for a DeploymentInfo. - accepts - - di - org.jboss.deployment.DeploymentInfo - - boolean - - - The init method lets the deployer set a few properties of the - DeploymentInfo, such as the watch url. - init - - di - org.jboss.deployment.DeploymentInfo - - void - - - Set up the components of the deployment that do not refer to - other components. - create - - di - org.jboss.deployment.DeploymentInfo - - void - - - The start method starts all the mbeans in this DeploymentInfo. - start - - di - org.jboss.deployment.DeploymentInfo - - void - - - The stop method invokes stop on the mbeans associated with - the deployment in reverse order relative to start. - stop - - di - org.jboss.deployment.DeploymentInfo - - void - - - The destroy method invokes destroy on the mbeans associated - with the deployment in reverse order relative to create. - destroy - - di - org.jboss.deployment.DeploymentInfo - - void - - - &defaultOperations; - + + + + + + The JARDeployer adds archives that do not contain META-INF/*.xml + files. The pattern of xml files that correspond to deployment descriptors + can be specified using the DescriptorNames attribute. + + org.jboss.deployment.JARDeployer + + + The list of suffixes that define deployment descriptors which + if found in an archive META-INF directory indicate non-jar deployments + which should be ignored by the JARDeployer + + DescriptorNames + [Ljava.lang.String; + + + + + + + + + + Allow the override of supported suffixes and relative order + EnhancedSuffixes + [Ljava.lang.String; + + + &deployerAttributes; + &defaultAttributes; + + &deployerOperations; + &defaultOperations; + + diff --git a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml index 99ccff46dc..7579a6bc2d 100644 --- a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml @@ -1,235 +1,270 @@ - - - - - The Main deployer is the service which acts as the entry - point for the deployment/undeployment requests. - - org.jboss.deployment.MainDeployer - - - - CopyFiles - boolean - - - - - - - ServiceController - javax.management.ObjectName - - - - ServiceName - javax.management.ObjectName - - - - SuffixOrder - [Ljava.lang.String; - - - - EnhancedSuffixOrder - [Ljava.lang.String; - - - - - TempDir - java.io.File - - - - TempDirString - java.lang.String - - &defaultAttributes; - - - - addDeployer - - deployer - org.jboss.deployment.SubDeployer - - void - - - - removeDeployer - - deployer - org.jboss.deployment.SubDeployer - - void - - - - deploy - - url - java.lang.String - - void - - - deploy - - url - java.net.URL - - void - - - - deploy - - sdi - org.jboss.deployment.DeploymentInfo - - void - - - - getDeployment - - url - java.net.URL - - org.jboss.deployment.DeploymentInfo - - - - getWatchUrl - - url - java.net.URL - - java.net.URL - - - - isDeployed - - url - java.net.URL - - boolean - - - - isDeployed - - url - java.lang.String - - boolean - - - - listDeployed - java.util.Collection - - - - listDeployedAsString - java.lang.String - - - - listDeployedModules - java.util.Collection - - - - listDeployers - java.util.Collection - - - Check the current deployment states and generate a - IncompleteDeploymentException if there are mbeans waiting for depedencies. - - checkIncompleteDeployments - void - - - - listIncompletelyDeployed - java.util.Collection - - - - listWaitingForDeployer - java.util.Collection - - - - redeploy - - url - java.lang.String - - void - - - - redeploy - - url - java.net.URL - - void - - - - redeploy - - sdi - org.jboss.deployment.DeploymentInfo - - void - - - - shutdown - void - - - - undeploy - - url - java.lang.String - - void - - - - undeploy - - url - java.net.URL - - void - - - - undeploy - - sdi - org.jboss.deployment.DeploymentInfo - - void - - - &defaultOperations; + + + + + + + + + The Main deployer is the service which acts as the entry + point for the deployment/undeployment requests. + + org.jboss.deployment.MainDeployer + + + + CopyFiles + boolean + + + + + + + ServiceController + javax.management.ObjectName + + + + ServiceName + javax.management.ObjectName + + + The suffix order used when sorting deployments, constructed dynamically by registering deployers + SuffixOrder + [Ljava.lang.String; + + + Allows the override of the suffix order declared by subdeployers, using the syntax [order:]suffix + + EnhancedSuffixOrder + [Ljava.lang.String; + + + + + + + + TempDir + java.io.File + + + + TempDirString + java.lang.String + + + &defaultAttributes; + + + + addDeployer + + deployer + org.jboss.deployment.SubDeployer + + void + + + + removeDeployer + + deployer + org.jboss.deployment.SubDeployer + + void + + + + deploy + + url + java.lang.String + + void + + + + deploy + + url + java.net.URL + + void + + + + deploy + + sdi + org.jboss.deployment.DeploymentInfo + + void + + + starts a package identified by a URL + start + + urlspec + java.lang.String + + void + + + stops a package identified by a URL + stop + + urlspec + java.lang.String + + void + + + + getDeployment + + url + java.net.URL + + org.jboss.deployment.DeploymentInfo + + + + getWatchUrl + + url + java.net.URL + + java.net.URL + + + + isDeployed + + url + java.net.URL + + boolean + + + + isDeployed + + url + java.lang.String + + boolean + + + + listDeployed + java.util.Collection + + + + listDeployedAsString + java.lang.String + + + + listDeployedModules + java.util.Collection + + + + listDeployers + java.util.Collection + + + Check the current deployment states and generate a + IncompleteDeploymentException if there are mbeans waiting for depedencies. + + checkIncompleteDeployments + void + + + + listIncompletelyDeployed + java.util.Collection + + + + listWaitingForDeployer + java.util.Collection + + + + redeploy + + url + java.lang.String + + void + + + + redeploy + + url + java.net.URL + + void + + + + redeploy + + sdi + org.jboss.deployment.DeploymentInfo + + void + + + + shutdown + void + + + + undeploy + + url + java.lang.String + + void + + + + undeploy + + url + java.net.URL + + void + + + + undeploy + + sdi + org.jboss.deployment.DeploymentInfo + + void + + + &defaultOperations; + \ No newline at end of file diff --git a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml index 618ab22112..dffcb236f7 100644 --- a/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml +++ b/jboss/server/adempiere/conf/xmdesc/org.jboss.deployment.SARDeployer-xmbean.xml @@ -1,107 +1,50 @@ - - - - - The SAR deployer handles the JBoss service archive deployments. - - org.jboss.deployment.SARDeployer - - - Get the JMX ObjectName of the service that provides the SubDeployer - ServiceName - javax.management.ObjectName - - - Get an array of suffixes of interest to this subdeployer - Suffixes - [Ljava.lang.String; - - - Get the relative order of the specified suffixes - RelativeOrder - int - - - A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method - UseNamespaceAwareParser - boolean - - - - - - &defaultAttributes; - - - Get the associated service DeploymentInfo if found, null otherwise - getService - - serviceName - javax.management.ObjectName - - org.jboss.deployment.DeploymentInfo - - - This method is called by MainDeployer to determine which - deployer is suitable for a DeploymentInfo. - accepts - - di - org.jboss.deployment.DeploymentInfo - - boolean - - - The init method lets the deployer set a few properties of the - DeploymentInfo, such as the watch url. - init - - di - org.jboss.deployment.DeploymentInfo - - void - - - Set up the components of the deployment that do not refer to - other components. - create - - di - org.jboss.deployment.DeploymentInfo - - void - - - The start method starts all the mbeans in this DeploymentInfo. - start - - di - org.jboss.deployment.DeploymentInfo - - void - - - The stop method invokes stop on the mbeans associated with - the deployment in reverse order relative to start. - stop - - di - org.jboss.deployment.DeploymentInfo - - void - - - The destroy method invokes destroy on the mbeans associated - with the deployment in reverse order relative to create. - destroy - - di - org.jboss.deployment.DeploymentInfo - - void - - - &defaultOperations; + + + + + The SAR deployer handles the JBoss service archive deployments. + org.jboss.deployment.SARDeployer + + + A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method + UseNamespaceAwareParser + boolean + + + + + + + + Allow the override of supported suffixes and relative order + EnhancedSuffixes + [Ljava.lang.String; + + + + + + + &deployerAttributes; + &defaultAttributes; + + + Get the associated service DeploymentInfo if found, null otherwise + getService + + serviceName + javax.management.ObjectName + + org.jboss.deployment.DeploymentInfo + + + &deployerOperations; + &defaultOperations; + \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/cache-invalidation-service.xml b/jboss/server/adempiere/deploy/cache-invalidation-service.xml index 08b9541860..6331cb4ccf 100644 --- a/jboss/server/adempiere/deploy/cache-invalidation-service.xml +++ b/jboss/server/adempiere/deploy/cache-invalidation-service.xml @@ -1,48 +1,48 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/client-deployer-service.xml b/jboss/server/adempiere/deploy/client-deployer-service.xml index b982ae29ce..4376ac6622 100644 --- a/jboss/server/adempiere/deploy/client-deployer-service.xml +++ b/jboss/server/adempiere/deploy/client-deployer-service.xml @@ -1,47 +1,55 @@ - - - - - - - - + + + + + + + + The J2EE Application Client Deployer + org.jboss.deployment.ClientDeployer + + + + The service state name + StateString + java.lang.String + + + The service state value + State + int + + + + + The create lifecycle operation + create + + + The start lifecycle operation + start + + + The stop lifecycle operation + stop + + + The destroy lifecycle operation + destroy + + + + + + + diff --git a/jboss/server/adempiere/deploy/ear-deployer.xml b/jboss/server/adempiere/deploy/ear-deployer.xml index 2f3e836bb0..99a9306bfe 100644 --- a/jboss/server/adempiere/deploy/ear-deployer.xml +++ b/jboss/server/adempiere/deploy/ear-deployer.xml @@ -1,19 +1,25 @@ - - - - - - - - false - - false - - + + + + + + + + false + + false + + true + + diff --git a/jboss/server/adempiere/deploy/ejb-deployer.xml b/jboss/server/adempiere/deploy/ejb-deployer.xml index f8bd8b444b..e04e38c4a2 100644 --- a/jboss/server/adempiere/deploy/ejb-deployer.xml +++ b/jboss/server/adempiere/deploy/ejb-deployer.xml @@ -1,69 +1,311 @@ - - - - - - - - - - - - jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay - jboss.ejb:service=EJBTimerService,persistencePolicy=database - org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator - org.jboss.ejb.txtimer.TimedObjectInvokerImpl - - - - - 100 - - - - - - - - - - - - - - - true - - false - - true - - true - - - jboss:service=TransactionManager - - jboss:service=WebService - - - + + + + + + + + + + + jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay + jboss.ejb:service=EJBTimerService,persistencePolicy=database + org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator + org.jboss.ejb.txtimer.TimedObjectInvokerImpl + + jboss:service=TransactionManager + + + + + + 100 + + + + + + + + jboss.jca:service=DataSourceBinding,name=DefaultDS + + org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin + + TIMERS + + + + + + + + + + + + The EJBDeployer responsible for ejb jar deployment + + + + + + + org.jboss.ejb.EJBDeployer + + + + The class name of the MBean + Name + java.lang.String + + + + The status of the MBean + State + int + + + + The status of the MBean in text form + StateString + java.lang.String + + + + + The JMX ObjectName of the service that provides the SubDeployer + ServiceName + javax.management.ObjectName + + + + An array of suffixes of interest to this subdeployer + Suffixes + [Ljava.lang.String; + + + + The relative order of the specified suffixes + RelativeOrder + int + + + + + Allow the override of supported suffixes and relative order + EnhancedSuffixes + [Ljava.lang.String; + + + + + The dynamic class loading simple web server + WebServiceName + javax.management.ObjectName + + + + Control the bean verifier (on/off) + VerifyDeployments + boolean + + + + Control the verbose mode of the bean verifier + VerifierVerbose + boolean + + + + Control the strictness of the bean verifier + StrictVerifier + boolean + + + + Enable/disable call-by-value semantics + CallByValue + boolean + + + + Enable/disable the validation of deployment descriptors + ValidateDTDs + boolean + + + + Enable/disable the metrics interceptor for containers + MetricsEnabled + boolean + + + + The transaction manager service to use + TransactionManagerServiceName + javax.management.ObjectName + + + + + List the deployed applications + listDeployedApplications + java.util.Iterator + + + + + Standard MBean lifecycle method + create + + + + The start lifecycle operation + start + + + + The stop lifecycle operation + stop + + + + The destroy lifecycle operation + destroy + + + + The detyped lifecycle operation (for internal use only) + jbossInternalLifecycle + + The lifecycle operation + method + java.lang.String + + void + + + + + Accept a module for deployment + accepts + + info + org.jboss.deployment.DeploymentInfo + + boolean + + + + Initialize deployment step + init + + info + org.jboss.deployment.DeploymentInfo + + + + + Create deployment step + create + + info + org.jboss.deployment.DeploymentInfo + + + + + Start deployment step + start + + info + org.jboss.deployment.DeploymentInfo + + + + + Stop deployment step + stop + + info + org.jboss.deployment.DeploymentInfo + + + + + Destroy deployment step + destroy + + info + org.jboss.deployment.DeploymentInfo + + + + + + Add dynamically an operation interceptor + addOperationInterceptor + + The Interceptor + interceptor + org.jboss.mx.interceptor.Interceptor + + + + + Remove dynamically an operation interceptor + removeOperationInterceptor + + The Interceptor + interceptor + org.jboss.mx.interceptor.Interceptor + + + + + + + true + + false + + true + + true + + + jboss:service=TransactionManager + + jboss:service=WebService + + + + diff --git a/jboss/server/adempiere/deploy/ejb3-interceptors-aop.xml b/jboss/server/adempiere/deploy/ejb3-interceptors-aop.xml new file mode 100644 index 0000000000..150b3dff2a --- /dev/null +++ b/jboss/server/adempiere/deploy/ejb3-interceptors-aop.xml @@ -0,0 +1,365 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) + + + + + + + + + + + + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) + + + + + + + @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class) + + + @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class) + + + @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) + + + + + @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class) + + + @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000) + + + + + @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class) + + + @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class) + + + @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) + + + + + @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class) + + + @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300, removalTimeoutSeconds=0) + + + + + + + @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class) + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000) + + + + + + + + + + + + + + + + + + + + + @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=15, timeout=10000) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/jboss-service.xml new file mode 100644 index 0000000000..23666202aa --- /dev/null +++ b/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/jboss-service.xml @@ -0,0 +1,312 @@ + + + + + + jboss.aop:service=AspectDeployer + socket://${jboss.bind.address}:3873 + + + org.jboss.aspects.remoting.AOPRemotingInvocationHandler + + + + + + + + + snmp-adaptor.jar, + otherimages.jar, + applet.jar, + jcommon.jar, + console-mgr-classes.jar, + jfreechart.jar, + juddi-service.jar, + wsdl4j.jar, + commons-collections.jar, + commons-pool.jar, + juddi.jar, + commons-discovery.jar, + uddi4j.jar, + axis.jar, + commons-dbcp.jar, + jboss-juddiaxis.jar, + trove.jar, + javassist.jar, + jboss-aop-jdk50.jar, + jboss-aspect-library-jdk50.jar, + ejb3-persistence.jar, + commons-validator-1.1.3.jar, + commons-collections.jar, + commons-fileupload.jar, + commons-pool.jar, + hibernate-entitymanager.jar, + jboss-ejb3x.jar, + commons-digester-1.6.jar, + cglib-2.1.1.jar, + commons-discovery.jar, + jboss-annotations-ejb3.jar, + jaxen-1.1-beta-4.jar, + hibernate-annotations.jar, + commons-httpclient.jar, + commons-logging.jar, + commons-vfs.jar, + hibernate3.jar, + commons-logging-api.jar, + asm.jar, + asm-attrs.jar, + commons-lang-2.0.jar, + commons-beanutils.jar, + jboss-ejb3.jar, + dom4j.jar, + commons-codec-1.2.jar, + wsdl4j.jar, + xmlsec.jar, + jbossws.jar, + jboss-bean-deployer.jar, + jboss-microcontainer.jar, + jboss-dependency.jar, + jboss-container.jar, + tomcat-coyote.jar, + commons-collections.jar, + myfaces.jar, + jstl.jar, + commons-digester-1.6.jar, + myfaces-impl.jar, + commons-beanutils.jar, + myfaces-jsf-api.jar, + commons-codec-1.2.jar, + catalina-optional.jar, + tomcat-util.jar, + jasper-compiler.jar, + commons-el.jar, + jasper-compiler-jdt.jar, + tomcat-http.jar, + catalina-manager.jar, + jasper-runtime.jar, + tomcat55-service.jar, + servlets-invoker.jar, + catalina.jar, + naming-resources.jar, + servlets-default.jar, + tomcat-ajp.jar, + commons-modeler.jar, + tomcat-apr.jar, + servlets-webdav.jar + + + + + + false + + + + The EJB3Deployer responsible for ejb3 deployment + + + + + + + org.jboss.ejb3.EJB3Deployer + + + + The class name of the MBean + Name + java.lang.String + + + + The status of the MBean + State + int + + + + The status of the MBean in text form + StateString + java.lang.String + + + + + The ObjectName of the Subdeployer + ServiceName + javax.management.ObjectName + + + + The suffixes of interest to this deployer + Suffixes + [Ljava.lang.String; + + + + The relative order of the suffixes in the global suffixes list + RelativeOrder + int + + + + + DefaultProperties + java.util.Properties + + + + If true, .jars will not be examined for annotations, 3.0 descriptors + DeployEjb3ExtensionOnly + boolean + + + + mbean that has list of jars to ignore + JarsIgnoredForScanning + org.jboss.ejb3.JarsIgnoredForScanningMBean + + + + + Standard MBean lifecycle method + create + + + + The start lifecycle operation + start + + + + The stop lifecycle operation + stop + + + + The destroy lifecycle operation + destroy + + + + The detyped lifecycle operation (for internal use only) + jbossInternalLifecycle + + The lifecycle operation + method + java.lang.String + + void + + + + + Accept a module for deployment + accepts + + info + org.jboss.deployment.DeploymentInfo + + boolean + + + + Initialize deployment step + init + + info + org.jboss.deployment.DeploymentInfo + + + + + Create deployment step + create + + info + org.jboss.deployment.DeploymentInfo + + + + + Start deployment step + start + + info + org.jboss.deployment.DeploymentInfo + + + + + Stop deployment step + stop + + info + org.jboss.deployment.DeploymentInfo + + + + + Destroy deployment step + destroy + + info + org.jboss.deployment.DeploymentInfo + + + + + + Add dynamically an operation interceptor + addOperationInterceptor + + The Interceptor + interceptor + org.jboss.mx.interceptor.Interceptor + + + + + Remove dynamically an operation interceptor + removeOperationInterceptor + + The Interceptor + interceptor + org.jboss.mx.interceptor.Interceptor + + + + + + jboss.aop:service=AspectDeployer + jboss.ejb:service=EJBDeployer + jboss.ejb3:service=JarsIgnoredForScanning + + + diff --git a/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/persistence.properties b/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/persistence.properties new file mode 100644 index 0000000000..4c600c71f9 --- /dev/null +++ b/jboss/server/adempiere/deploy/ejb3.deployer/META-INF/persistence.properties @@ -0,0 +1,17 @@ +hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup +#hibernate.connection.release_mode=after_statement +#hibernate.transaction.flush_before_completion=false +#hibernate.transaction.auto_close_session=false +#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory +#hibernate.hbm2ddl.auto=create-drop +#hibernate.hbm2ddl.auto=create +hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider +# Clustered cache with TreeCache +#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook +#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache +#hibernate.dialect=org.hibernate.dialect.HSQLDialect +hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory +hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces +hibernate.bytecode.use_reflection_optimizer=false +# I don't think this is honored, but EJB3Deployer uses it +hibernate.bytecode.provider=javassist \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/hsqldb-ds.xml b/jboss/server/adempiere/deploy/hsqldb-ds.xml new file mode 100644 index 0000000000..b50ff3eab8 --- /dev/null +++ b/jboss/server/adempiere/deploy/hsqldb-ds.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + DefaultDS + + + + + jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB + + + org.hsqldb.jdbcDriver + + + sa + + + + + + + + + + 5 + + + 20 + + + + + 0 + + + + + + + + + + + + + + HsqlDbRealm + + + + + 32 + + + + Hypersonic SQL + + + + jboss:service=Hypersonic,database=localDB + + + + + + + + localDB + true + + + diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-serviceTemplate.xml b/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-serviceTemplate.xml deleted file mode 100644 index 3eb00233bf..0000000000 --- a/jboss/server/adempiere/deploy/http-invoker.sar/META-INF/jboss-serviceTemplate.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - http:// - :@ADEMPIERE_WEB_PORT@/invoker/EJBInvokerServlet - true - - - - - - jboss:service=Naming - - http:// - :@ADEMPIERE_WEB_PORT@/invoker/JMXInvokerServlet - true - org.jnp.interfaces.Naming - - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.naming.interceptors.ExceptionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - - - - jboss:service=Naming - http:// - :@ADEMPIERE_WEB_PORT@/invoker/readonly/JMXInvokerServlet - true - org.jnp.interfaces.Naming - - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.naming.interceptors.ExceptionInterceptor - org.jboss.invocation.InvokerInterceptor - - - - diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class deleted file mode 100644 index 00e5e297dc..0000000000 Binary files a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetCredentialAction.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class deleted file mode 100644 index 981d32e665..0000000000 Binary files a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet$GetPrincipalAction.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class deleted file mode 100644 index 304e1551b3..0000000000 Binary files a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class deleted file mode 100644 index 61d65f82c3..0000000000 Binary files a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class deleted file mode 100644 index e89a6f2dd6..0000000000 Binary files a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml deleted file mode 100644 index c61b6e17b6..0000000000 --- a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/jboss-web.xml +++ /dev/null @@ -1,3 +0,0 @@ - - java:/jaas/jmx-console - diff --git a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml b/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml deleted file mode 100644 index edf4c6ccae..0000000000 --- a/jboss/server/adempiere/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - ReadOnlyAccessFilter - org.jboss.invocation.http.servlet.ReadOnlyAccessFilter - - readOnlyContext - readonly - The top level JNDI context the filter will enforce - read-only access on. If specified only Context.lookup operations - will be allowed on this context. Another other operations or lookups - on any other context will fail. Do not associate this filter with the - JMXInvokerServlets if you want unrestricted access. - - - - invokerName - jboss:service=Naming - The JMX ObjectName of the naming service mbean - - - - - - ReadOnlyAccessFilter - /readonly/* - - - - - EJBInvokerServlet - The EJBInvokerServlet receives posts containing serlized - MarshalledInvocation objects that are routed to the EJB invoker given by - the invokerName init-param. The return content is a serialized - MarshalledValue containg the return value of the inovocation, or any - exception that may have been thrown. - - org.jboss.invocation.http.servlet.InvokerServlet - - invokerName - jboss:service=invoker,type=http - The RMI/HTTP EJB compatible invoker - - 1 - - - JMXInvokerServlet - The JMXInvokerServlet receives posts containing serlized - MarshalledInvocation objects that are routed to the invoker given by - the the MBean whose object name hash is specified by the - invocation.getObjectName() value. The return content is a serialized - MarshalledValue containg the return value of the inovocation, or any - exception that may have been thrown. - - org.jboss.invocation.http.servlet.InvokerServlet - 1 - - - - JNDIFactory - A servlet that exposes the JBoss JNDI Naming service stub - through http. The return content is a serialized - MarshalledValue containg the org.jnp.interfaces.Naming stub. This - configuration handles requests for the standard JNDI naming service. - - org.jboss.invocation.http.servlet.NamingFactoryServlet - - namingProxyMBean - jboss:service=invoker,type=http,target=Naming - - - proxyAttribute - Proxy - - 2 - - - - ReadOnlyJNDIFactory - A servlet that exposes the JBoss JNDI Naming service stub - through http, but only for a single read-only context. The return content - is a serialized MarshalledValue containg the org.jnp.interfaces.Naming - stub. - - org.jboss.invocation.http.servlet.NamingFactoryServlet - - namingProxyMBean - jboss:service=invoker,type=http,target=Naming,readonly=true - - - proxyAttribute - Proxy - - 2 - - - - - JNDIFactory - /JNDIFactory/* - - - - ReadOnlyJNDIFactory - /ReadOnlyJNDIFactory/* - - - EJBInvokerServlet - /EJBInvokerServlet/* - - - JMXInvokerServlet - /JMXInvokerServlet/* - - - - JMXInvokerServlet - /readonly/JMXInvokerServlet/* - - - - - JNDIFactory - /restricted/JNDIFactory/* - - - JMXInvokerServlet - /restricted/JMXInvokerServlet/* - - - - - - HttpInvokers - An example security config that only allows users with the - role HttpInvoker to access the HTTP invoker servlets - - /restricted/* - GET - POST - - - HttpInvoker - - - - BASIC - JBoss HTTP Invoker - - - - HttpInvoker - - diff --git a/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml new file mode 100644 index 0000000000..7b5ca5e1e0 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + false + + true + true + org.jboss.test, org.jboss.injbossaop + org.jboss. + + true + false + + + + + + diff --git a/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/base-aop.xml b/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/base-aop.xml new file mode 100644 index 0000000000..7eb6373183 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-aop-jdk50.deployer/base-aop.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + javax.management.DynamicMBean + org.jboss.aspects.jmx.JmxIntrospectingMixin + new org.jboss.aspects.jmx.JmxIntrospectingMixin(this) + + + + + + + + + + + + + + + org.jboss.aspects.asynch.AsynchProvider,org.jboss.aspects.asynch.FutureHolder + org.jboss.aspects.asynch.AsynchMixin + + + + + + + + + + + + + + + + org.jboss.aspects.asynchronous.aspects.AsynchronousFacade + + org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl + new org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/jboss-bean.deployer/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/jboss-bean.deployer/META-INF/jboss-service.xml new file mode 100644 index 0000000000..aea8aa59c7 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-bean.deployer/META-INF/jboss-service.xml @@ -0,0 +1,15 @@ + + + + + + + + .beans + META-INF/jboss-beans.xml + + + diff --git a/jboss/server/adempiere/deploy/jboss-ha-local-jdbc.rar b/jboss/server/adempiere/deploy/jboss-ha-local-jdbc.rar new file mode 100644 index 0000000000..cf97ae7509 Binary files /dev/null and b/jboss/server/adempiere/deploy/jboss-ha-local-jdbc.rar differ diff --git a/jboss/server/adempiere/deploy/jboss-ha-xa-jdbc.rar b/jboss/server/adempiere/deploy/jboss-ha-xa-jdbc.rar new file mode 100644 index 0000000000..59fcb27259 Binary files /dev/null and b/jboss/server/adempiere/deploy/jboss-ha-xa-jdbc.rar differ diff --git a/jboss/server/adempiere/deploy/jboss-local-jdbc.rar b/jboss/server/adempiere/deploy/jboss-local-jdbc.rar new file mode 100644 index 0000000000..810b9a2db5 Binary files /dev/null and b/jboss/server/adempiere/deploy/jboss-local-jdbc.rar differ diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/jboss-service.xml new file mode 100644 index 0000000000..b751e6cbfc --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/jboss-service.xml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + BASIC + org.apache.catalina.authenticator.BasicAuthenticator + + + CLIENT-CERT + org.apache.catalina.authenticator.SSLAuthenticator + + + DIGEST + org.apache.catalina.authenticator.DigestAuthenticator + + + FORM + org.apache.catalina.authenticator.FormAuthenticator + + + NONE + org.apache.catalina.authenticator.NonLoginAuthenticator + + + + + + java:/jaas/other + + + false + + false + + javax.servlet + + true + + + false + + + org.jboss.web.tomcat.service.session.JBossCacheManager + + + + + + + + + + instant + 2000 + + + false + + + 60 + + jboss.web + + + jboss.security:service=JaasSecurityManager + + + + + + jboss:service=TransactionManager + + + jboss.jca:service=CachedConnectionManager + + + + diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml new file mode 100644 index 0000000000..7160053608 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/META-INF/webserver-xmbean.xml @@ -0,0 +1,195 @@ + + + + + The JBoss Web Deployer responsible for war deployment + + + + + + + org.jboss.web.tomcat.service.JBossWeb + + + + + Authenticators + java.util.Properties + + + + UseJBossWebLoader + boolean + + + + AllowSelfPrivilegedWebApps + boolean + + + + DeleteWorkDirOnContextDestroy + boolean + + + + HttpHeaderForSSOAuth + java.lang.String + + + + SessionCookieForSSOAuth + java.lang.String + + + + SubjectAttributeName + java.lang.String + + + + CacheName + java.lang.String + + + + UnpackWars + boolean + + + + AcceptNonWarDirs + boolean + + + + Config + org.w3c.dom.Element + + + + LenientEjbLink + boolean + + + + UseJK + boolean + + + + MaxUnreplicatedInterval + int + + + + Domain + java.lang.String + + + + FilteredPackages + [Ljava.lang.String; + + + + Java2ClassLoadingCompliance + boolean + + + + DefaultSecurityDomain + java.lang.String + + + + SnapshotMode + java.lang.String + + + + SnapshotInterval + int + + + + ConfigFile + java.lang.String + + + + UseLocalCache + boolean + + + + SessionIdAlphabet + java.lang.String + + + + ContextMBeanCode + java.lang.String + + + + ManagerClass + java.lang.String + + + + DeployedApplications + java.util.Iterator + + + + SecurityManagerService + org.jboss.security.plugins.JaasSecurityManagerServiceMBean + + + + + Allow the override of supported suffixes and relative order + EnhancedSuffixes + [Ljava.lang.String; + + + &deployerAttributes; + &defaultAttributes; + + + + See if a war is deployed + isDeployed + + warUrl + java.lang.String + + boolean + + + + Start all connectors of the Domain + startConnectors + + + + Stop all connectors of the Domain + stopConnectors + + + &deployerOperations; + &defaultOperations; + &interceptable; + + diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml similarity index 84% rename from jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml rename to jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml index 822a69b46d..b2be5de3ef 100644 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/web.xml +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/WEB-INF/web.xml @@ -1,20 +1,20 @@ - - - - - - Welcome to JBoss - - Welcome to JBoss - - - Status Servlet - org.jboss.web.tomcat.tc5.StatusServlet - - - Status Servlet - /status - - + + + + + + Welcome to JBoss + + Welcome to JBoss + + + Status Servlet + org.jboss.web.tomcat.service.StatusServlet + + + Status Servlet + /status + + diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/favicon.ico similarity index 50% rename from jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif rename to jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/favicon.ico index 2592ac20f3..66dd49e318 100644 Binary files a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/img/nolines_minus.gif and b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/favicon.ico differ diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/index.html b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/index.html new file mode 100644 index 0000000000..c97dfa1829 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/index.html @@ -0,0 +1,46 @@ + + + + + Welcome to JBoss™ + + + + + + + + + + + + + +

JBoss Online Resources

+ + +

JBoss Management

+ + + + + + + + diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/jboss.css b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/jboss.css similarity index 87% rename from jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/jboss.css rename to jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/jboss.css index 53d63132a7..f0838a6d94 100644 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/jboss.css +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/jboss.css @@ -1,145 +1,143 @@ -body { - margin: 13px 0px 10px 0px; - background-color: #ffffff; - font-size: 10px; - font-family: verdana, arial, "sans-serif"; - color: #606060; - } -img { - border: 0px; - } -#header { - background-color: #FF7A22; - background-image: url("header_bg.jpg"); - background-repeat: no-repeat; - background-position: 226px 0px; - width: 100%; - height: 80px; - } -#header #banner { - float: right; - margin: 8px 5px 0px 0px; - } -#logo { - position: absolute; - top: 4px; - left: 4px; - z-index: 200; -} -#navigation_bar { - background-color: #f0f0f0; - border-bottom: 1px dotted #999999; - height: 20px; - } -#items { - font-size: 12px; - width: 600px; - margin: 5px 5px 5px 170px; - position: relative; - z-index: 300; - } -#items .item { - margin-right: 10px; - } -.side_block { - margin: 15px 5px 10px 5px; - background-color: #fbfbfb; - border: 1px solid #f0f0f0; - } -.side_block h3 { - font-size: 11px; - font-weight: 100; - width: 100%; - margin: 0px 0px 5px 0px; - padding: 4px 4px 4px 10x; - background-color: #f0f0f0; - } -.side_block h4 { - font-size: 11px; - color: #FF7A22; - font-weight: bold; - margin: 10px 5px 4px 5px; - } -.side_block p { - margin: 5px 5px 3px 5px; - } -.side_block form { - margin: 0px 0px 0px 5px; - } -.side_block #login { - font-size: 9px; - } -.side_block p img { - text-align: center; - } -#content { - width: 90%; - margin: 10px auto; - } -#left { - float: left; - width: 14%; - } -#right { - float: right; - width: 14%; - } -.content_block { - text-align: justify; - border: 1px solid #999999; - margin: 5px; - width: 31%; - float: left; - } -.content_block p { - margin: 0px 5px 3px 5px; - } -.content_block h3 { - font-size: 11px; - font-weight: bold; - color: #000000; - margin: 0px 0px 5px 0px; - padding: 4px 4px 4px 4x; - text-align: center; - background-color: #f0f0f0; - border-bottom: 1px solid #999999 - } -.content_block h4 { - font-size: 11px; - color: #FF7A22; - text-align: left; - font-weight: bold; - margin: 10px 5px 4px 5px; - } -#footer { - clear: both; - border-top: 1px dotted #999999; - } -#credits { - background-color: #f0f0f0; - padding: 5px; - text-align: center; - } -#footer_bar { - height: 20px; - width: 100%; - background-color: #FF7A22; - } -.hide { - display: none; - } -.spacer { - clear: both; - } -.spacer hr { - display: none; - } -.center { - text-align: center; - } -#youcandoit { - background-image: url("youcandoit.jpg"); - background-repeat: repeat-x; - height: 165px; - margin: 0px 30px 0px 30px; - } +body { + margin: 13px 0px 10px 0px; + background-color: #ffffff; + font-size: 10px; + font-family: verdana, arial, "sans-serif"; + color: #606060; + } +img { + border: 0px; + } +#header { + background-color: #003D6E; + background-repeat: no-repeat; + width: 100%; + height: 80px; + } +#header #banner { + float: right; + margin: 8px 5px 0px 0px; + } +#logo { + position: absolute; + top: 2px; + left: 4px; + z-index: 200; +} +#navigation_bar { + background-color: #f0f0f0; + border-bottom: 1px dotted #999999; + height: 20px; + } +#items { + font-size: 12px; + width: 600px; + margin: 5px 5px 5px 170px; + position: relative; + z-index: 300; + } +#items .item { + margin-right: 10px; + } +.side_block { + margin: 15px 5px 10px 5px; + background-color: #fbfbfb; + border: 1px solid #f0f0f0; + } +.side_block h3 { + font-size: 11px; + font-weight: 100; + width: 100%; + margin: 0px 0px 5px 0px; + padding: 4px 4px 4px 10x; + background-color: #f0f0f0; + } +.side_block h4 { + font-size: 11px; + color: #003D6E; + font-weight: bold; + margin: 10px 5px 4px 5px; + } +.side_block p { + margin: 5px 5px 3px 5px; + } +.side_block form { + margin: 0px 0px 0px 5px; + } +.side_block #login { + font-size: 9px; + } +.side_block p img { + text-align: center; + } +#content { + width: 90%; + margin: 10px auto; + } +#left { + float: left; + width: 14%; + } +#right { + float: right; + width: 14%; + } +.content_block { + text-align: justify; + border: 1px solid #999999; + margin: 5px; + width: 31%; + float: left; + } +.content_block p { + margin: 0px 5px 3px 5px; + } +.content_block h3 { + font-size: 11px; + font-weight: bold; + color: #000000; + margin: 0px 0px 5px 0px; + padding: 4px 4px 4px 4x; + text-align: center; + background-color: #f0f0f0; + border-bottom: 1px solid #999999 + } +.content_block h4 { + font-size: 11px; + color: #003D6E; + text-align: left; + font-weight: bold; + margin: 10px 5px 4px 5px; + } +#footer { + clear: both; + border-top: 1px dotted #999999; + } +#credits { + background-color: #f0f0f0; + padding: 5px; + text-align: center; + } +#footer_bar { + height: 20px; + width: 100%; + background-color: #003D6E; + } +.hide { + display: none; + } +.spacer { + clear: both; + } +.spacer hr { + display: none; + } +.center { + text-align: center; + } +#youcandoit { + background-image: url("youcandoit.jpg"); + background-repeat: repeat-x; + height: 165px; + margin: 0px 30px 0px 30px; + } diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/logo.gif b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/logo.gif new file mode 100644 index 0000000000..d33ddf6660 Binary files /dev/null and b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/logo.gif differ diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/xform.xsl b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl similarity index 97% rename from jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/xform.xsl rename to jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl index 7a68ce6e41..c5ced3ba11 100644 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/xform.xsl +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/ROOT.war/manager/xform.xsl @@ -1,96 +1,96 @@ - - - - - - - - - - - Tomcat Status - - - -
Tomcat Status
- - - - - -
- - - - - - - - - - - - -
JVM:free: total: max:

-
- - - Connector --
- - - - -
- - - - - - - - - - -
threadInfo maxThreads: minSpareThreads: maxSpareThreads: currentThreadCount: currentThreadsBusy:

-
- - - - - - - - - - - -
requestInfo maxTime: processingTime: requestCount: errorCount: bytesReceived: bytesSent:

-
- - - - - - -
StageTimeB SentB RecvClientVHostRequest

-
- - - - - - - - - - ? - - - -
+ + + + + + + + + + + Tomcat Status + + + +
Tomcat Status
+ + + + + +
+ + + + + + + + + + + + +
JVM:free: total: max:

+
+ + + Connector --
+ + + + +
+ + + + + + + + + + +
threadInfo maxThreads: minSpareThreads: maxSpareThreads: currentThreadCount: currentThreadsBusy:

+
+ + + + + + + + + + + +
requestInfo maxTime: processingTime: requestCount: errorCount: bytesReceived: bytesSent:

+
+ + + + + + +
StageTimeB SentB RecvClientVHostRequest

+
+ + + + + + + + + + ? + + + +
diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/conf/web.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/conf/web.xml new file mode 100644 index 0000000000..ef15dd2b20 --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/conf/web.xml @@ -0,0 +1,1248 @@ + + + + + + + + + + + + + + + + + + com.sun.faces.injectionProvider + org.jboss.web.jsf.integration.injection.JBossInjectionProvider + + + + + CommonHeadersFilter + org.jboss.web.tomcat.filters.ReplyHeaderFilter + + X-Powered-By + Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)/JBossWeb-2.0 + + + + + CommonHeadersFilter + /* + + + + + + + + + + org.jboss.web.tomcat.security.SecurityFlushSessionListener + + + + + + org.jboss.web.jsf.integration.config.JBossJSFConfigureListener + + + + + + + com.sun.faces.application.WebappLifecycleListener + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + default + org.apache.catalina.servlets.DefaultServlet + + debug + 0 + + + listings + false + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jsp + org.apache.jasper.servlet.JspServlet + + fork + false + + + xpoweredBy + false + + + compilerSourceVM + 1.5 + + + + engineOptionsClass + org.jboss.web.tomcat.service.jasper.JspServletOptions + + + + JSF standard tlds + tagLibJar0 + jsf-libs/jsf-impl.jar + + + JSTL standard tlds + tagLibJar1 + jstl.jar + + + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + default + / + + + + + + + + jsp + *.jsp + + + + jsp + *.jspx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 + + + + + + + + + + + + abs + audio/x-mpeg + + + ai + application/postscript + + + aif + audio/x-aiff + + + aifc + audio/x-aiff + + + aiff + audio/x-aiff + + + aim + application/x-aim + + + art + image/x-jg + + + asf + video/x-ms-asf + + + asx + video/x-ms-asf + + + au + audio/basic + + + avi + video/x-msvideo + + + avx + video/x-rad-screenplay + + + bcpio + application/x-bcpio + + + bin + application/octet-stream + + + bmp + image/bmp + + + body + text/html + + + cdf + application/x-cdf + + + cer + application/x-x509-ca-cert + + + class + application/java + + + cpio + application/x-cpio + + + csh + application/x-csh + + + css + text/css + + + dib + image/bmp + + + doc + application/msword + + + dtd + application/xml-dtd + + + dv + video/x-dv + + + dvi + application/x-dvi + + + eps + application/postscript + + + etx + text/x-setext + + + exe + application/octet-stream + + + gif + image/gif + + + gtar + application/x-gtar + + + gz + application/x-gzip + + + hdf + application/x-hdf + + + hqx + application/mac-binhex40 + + + htc + text/x-component + + + htm + text/html + + + html + text/html + + + hqx + application/mac-binhex40 + + + ief + image/ief + + + jad + text/vnd.sun.j2me.app-descriptor + + + jar + application/java-archive + + + java + text/plain + + + jnlp + application/x-java-jnlp-file + + + jpe + image/jpeg + + + jpeg + image/jpeg + + + jpg + image/jpeg + + + js + text/javascript + + + jsf + text/plain + + + jspf + text/plain + + + kar + audio/x-midi + + + latex + application/x-latex + + + m3u + audio/x-mpegurl + + + mac + image/x-macpaint + + + man + application/x-troff-man + + + mathml + application/mathml+xml + + + me + application/x-troff-me + + + mid + audio/x-midi + + + midi + audio/x-midi + + + mif + application/x-mif + + + mov + video/quicktime + + + movie + video/x-sgi-movie + + + mp1 + audio/x-mpeg + + + mp2 + audio/x-mpeg + + + mp3 + audio/x-mpeg + + + mpa + audio/x-mpeg + + + mpe + video/mpeg + + + mpeg + video/mpeg + + + mpega + audio/x-mpeg + + + mpg + video/mpeg + + + mpv2 + video/mpeg2 + + + ms + application/x-wais-source + + + nc + application/x-netcdf + + + oda + application/oda + + + + odb + application/vnd.oasis.opendocument.database + + + + odc + application/vnd.oasis.opendocument.chart + + + + odf + application/vnd.oasis.opendocument.formula + + + + odg + application/vnd.oasis.opendocument.graphics + + + + odi + application/vnd.oasis.opendocument.image + + + + odm + application/vnd.oasis.opendocument.text-master + + + + odp + application/vnd.oasis.opendocument.presentation + + + + ods + application/vnd.oasis.opendocument.spreadsheet + + + + odt + application/vnd.oasis.opendocument.text + + + ogg + application/ogg + + + + otg + application/vnd.oasis.opendocument.graphics-template + + + + oth + application/vnd.oasis.opendocument.text-web + + + + otp + application/vnd.oasis.opendocument.presentation-template + + + + ots + application/vnd.oasis.opendocument.spreadsheet-template + + + + ott + application/vnd.oasis.opendocument.text-template + + + pbm + image/x-portable-bitmap + + + pct + image/pict + + + pdf + application/pdf + + + pgm + image/x-portable-graymap + + + pic + image/pict + + + pict + image/pict + + + pls + audio/x-scpls + + + png + image/png + + + pnm + image/x-portable-anymap + + + pnt + image/x-macpaint + + + ppm + image/x-portable-pixmap + + + ppt + application/powerpoint + + + ps + application/postscript + + + psd + image/x-photoshop + + + qt + video/quicktime + + + qti + image/x-quicktime + + + qtif + image/x-quicktime + + + ras + image/x-cmu-raster + + + rdf + application/rdf+xml + + + rgb + image/x-rgb + + + rm + application/vnd.rn-realmedia + + + roff + application/x-troff + + + rtf + application/rtf + + + rtx + text/richtext + + + sh + application/x-sh + + + shar + application/x-shar + + + + smf + audio/x-midi + + + sit + application/x-stuffit + + + snd + audio/basic + + + src + application/x-wais-source + + + sv4cpio + application/x-sv4cpio + + + sv4crc + application/x-sv4crc + + + swf + application/x-shockwave-flash + + + t + application/x-troff + + + tar + application/x-tar + + + tcl + application/x-tcl + + + tex + application/x-tex + + + texi + application/x-texinfo + + + texinfo + application/x-texinfo + + + tif + image/tiff + + + tiff + image/tiff + + + tr + application/x-troff + + + tsv + text/tab-separated-values + + + txt + text/plain + + + ulw + audio/basic + + + ustar + application/x-ustar + + + vxml + application/voicexml+xml + + + xbm + image/x-xbitmap + + + xht + application/xhtml+xml + + + xhtml + application/xhtml+xml + + + xml + application/xml + + + xpm + image/x-xpixmap + + + xsl + application/xml + + + xslt + application/xslt+xml + + + xul + application/vnd.mozilla.xul+xml + + + xwd + image/x-xwindowdump + + + wav + audio/x-wav + + + svg + image/svg+xml + + + svgz + image/svg+xml + + + vsd + application/x-visio + + + + wbmp + image/vnd.wap.wbmp + + + + wml + text/vnd.wap.wml + + + + wmlc + application/vnd.wap.wmlc + + + + wmls + text/vnd.wap.wmlscript + + + + wmlscriptc + application/vnd.wap.wmlscriptc + + + wrl + x-world/x-vrml + + + Z + application/x-compress + + + z + application/x-compress + + + zip + application/zip + + + xls + application/vnd.ms-excel + + + doc + application/vnd.ms-word + + + ppt + application/vnd.ms-powerpoint + + + + + + + + + + + + + + + + index.html + index.htm + index.jsp + + + diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/context.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/context.xml new file mode 100644 index 0000000000..cb1d2b02ee --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/context.xml @@ -0,0 +1,17 @@ + + + + + + + org.jboss.web.tomcat.security.RunAsListener + + diff --git a/jboss/server/adempiere/deploy/jboss-web.deployer/serverTemplate.xml b/jboss/server/adempiere/deploy/jboss-web.deployer/serverTemplate.xml new file mode 100644 index 0000000000..d336f1775f --- /dev/null +++ b/jboss/server/adempiere/deploy/jboss-web.deployer/serverTemplate.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/jboss-xa-jdbc.rar b/jboss/server/adempiere/deploy/jboss-xa-jdbc.rar new file mode 100644 index 0000000000..c5bd01d947 Binary files /dev/null and b/jboss/server/adempiere/deploy/jboss-xa-jdbc.rar differ diff --git a/jboss/server/adempiere/deploy/jbossjca-service.xml b/jboss/server/adempiere/deploy/jbossjca-service.xml index ede4aae514..b9f53b2806 100644 --- a/jboss/server/adempiere/deploy/jbossjca-service.xml +++ b/jboss/server/adempiere/deploy/jbossjca-service.xml @@ -1,72 +1,67 @@ - - - - - - - - - - - - - - - - - - - - - - WorkManager - - 1024 - - 100 - - 60000 - - - - jboss.jca:service=WorkManagerThreadPool - jboss:service=TransactionManager - - - - jboss.jca:service=WorkManager - jboss:service=TransactionManager - - - - -ds.xml - stylesheets/ConnectionFactoryTemplate.xsl - - - - - jboss:service=TransactionManager - - - false - - - true - - - - + + + + + + + + + + + + + + + + + + + + + + WorkManager + + 1024 + + 100 + + 60000 + + + + jboss.jca:service=WorkManagerThreadPool + jboss:service=TransactionManager + + + + jboss.jca:service=WorkManager + jboss:service=TransactionManager + + + + -ds.xml + 300:-ds.xml + stylesheets/ConnectionFactoryTemplate.xsl + false + + + + + jboss:service=TransactionManager + + + true + + + + diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml deleted file mode 100644 index cb531d73bf..0000000000 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - java:/jaas/other - - - false - - false - - org.apache.commons.logging - - true - - - org.jboss.web.tomcat.tc5.session.JBossCacheManager - - - - - - - - - - instant - 2000 - - true - - - false - - jboss.web - - - jboss.security:service=JaasSecurityManager - - - - - jboss:service=TransactionManager - - - - - diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/index.html b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/index.html deleted file mode 100644 index e0db9cdd72..0000000000 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/index.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - -Welcome to JBoss™ - - - - - - - - - - - - - -

JBoss Online Resources

- - - -

JBoss Management

- - - - - - - - diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/logo.gif b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/logo.gif deleted file mode 100644 index 724660296c..0000000000 Binary files a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/ROOT.war/logo.gif and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/conf/web.xml b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/conf/web.xml deleted file mode 100644 index 599604fde1..0000000000 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/conf/web.xml +++ /dev/null @@ -1,978 +0,0 @@ - - - - - - - - - - - - - - - - CommonHeadersFilter - org.jboss.web.tomcat.filters.ReplyHeaderFilter - - X-Powered-By - Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5 - - - - - CommonHeadersFilter - /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - default - org.apache.catalina.servlets.DefaultServlet - - debug - 0 - - - listings - true - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - jsp - org.apache.jasper.servlet.JspServlet - - fork - false - - - xpoweredBy - false - - - - engineOptionsClass - org.jboss.web.tomcat.tc5.jasper.JspServletOptions - - - 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - default - / - - - - - - - - jsp - *.jsp - - - - jsp - *.jspx - - - - - - - - - - - - - - - - 30 - - - - - - - - - - - - abs - audio/x-mpeg - - - ai - application/postscript - - - aif - audio/x-aiff - - - aifc - audio/x-aiff - - - aiff - audio/x-aiff - - - aim - application/x-aim - - - art - image/x-jg - - - asf - video/x-ms-asf - - - asx - video/x-ms-asf - - - au - audio/basic - - - avi - video/x-msvideo - - - avx - video/x-rad-screenplay - - - bcpio - application/x-bcpio - - - bin - application/octet-stream - - - bmp - image/bmp - - - body - text/html - - - cdf - application/x-cdf - - - cer - application/x-x509-ca-cert - - - class - application/java - - - cpio - application/x-cpio - - - csh - application/x-csh - - - css - text/css - - - dib - image/bmp - - - doc - application/msword - - - dtd - text/plain - - - dv - video/x-dv - - - dvi - application/x-dvi - - - eps - application/postscript - - - etx - text/x-setext - - - exe - application/octet-stream - - - gif - image/gif - - - gtar - application/x-gtar - - - gz - application/x-gzip - - - hdf - application/x-hdf - - - hqx - application/mac-binhex40 - - - htc - text/x-component - - - htm - text/html - - - html - text/html - - - hqx - application/mac-binhex40 - - - ief - image/ief - - - jad - text/vnd.sun.j2me.app-descriptor - - - jar - application/java-archive - - - java - text/plain - - - jnlp - application/x-java-jnlp-file - - - jpe - image/jpeg - - - jpeg - image/jpeg - - - jpg - image/jpeg - - - js - text/javascript - - - jsf - text/plain - - - jspf - text/plain - - - kar - audio/x-midi - - - latex - application/x-latex - - - m3u - audio/x-mpegurl - - - mac - image/x-macpaint - - - man - application/x-troff-man - - - me - application/x-troff-me - - - mid - audio/x-midi - - - midi - audio/x-midi - - - mif - application/x-mif - - - mov - video/quicktime - - - movie - video/x-sgi-movie - - - mp1 - audio/x-mpeg - - - mp2 - audio/x-mpeg - - - mp3 - audio/x-mpeg - - - mpa - audio/x-mpeg - - - mpe - video/mpeg - - - mpeg - video/mpeg - - - mpega - audio/x-mpeg - - - mpg - video/mpeg - - - mpv2 - video/mpeg2 - - - ms - application/x-wais-source - - - nc - application/x-netcdf - - - oda - application/oda - - - pbm - image/x-portable-bitmap - - - pct - image/pict - - - pdf - application/pdf - - - pgm - image/x-portable-graymap - - - pic - image/pict - - - pict - image/pict - - - pls - audio/x-scpls - - - png - image/png - - - pnm - image/x-portable-anymap - - - pnt - image/x-macpaint - - - ppm - image/x-portable-pixmap - - - ppt - application/powerpoint - - - ps - application/postscript - - - psd - image/x-photoshop - - - qt - video/quicktime - - - qti - image/x-quicktime - - - qtif - image/x-quicktime - - - ras - image/x-cmu-raster - - - rgb - image/x-rgb - - - rm - application/vnd.rn-realmedia - - - roff - application/x-troff - - - rtf - application/rtf - - - rtx - text/richtext - - - sh - application/x-sh - - - shar - application/x-shar - - - smf - audio/x-midi - - - sit - application/x-stuffit - - - snd - audio/basic - - - src - application/x-wais-source - - - sv4cpio - application/x-sv4cpio - - - sv4crc - application/x-sv4crc - - - swf - application/x-shockwave-flash - - - t - application/x-troff - - - tar - application/x-tar - - - tcl - application/x-tcl - - - tex - application/x-tex - - - texi - application/x-texinfo - - - texinfo - application/x-texinfo - - - tif - image/tiff - - - tiff - image/tiff - - - tr - application/x-troff - - - tsv - text/tab-separated-values - - - txt - text/plain - - - ulw - audio/basic - - - ustar - application/x-ustar - - - xbm - image/x-xbitmap - - - xht - application/xhtml - - - xhtml - application/xhtml - - - xml - text/xml - - - xpm - image/x-xpixmap - - - xsl - text/xml - - - xwd - image/x-xwindowdump - - - wav - audio/x-wav - - - svg - image/svg - - - svgz - image/svg - - - vsd - application/x-visio - - - - wbmp - image/vnd.wap.wbmp - - - - wml - text/vnd.wap.wml - - - - wmlc - application/vnd.wap.wmlc - - - - wmls - text/vnd.wap.wmlscript - - - - wmlscriptc - application/vnd.wap.wmlscriptc - - - wrl - x-world/x-vrml - - - Z - application/x-compress - - - z - application/x-compress - - - zip - application/zip - - - - - - - - - - - - - - - - - index.html - index.htm - index.jsp - - - diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/context.xml b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/context.xml deleted file mode 100644 index 8c6fb6c4e4..0000000000 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/context.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/serverTemplate.xml b/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/serverTemplate.xml deleted file mode 100644 index ea7077b44d..0000000000 --- a/jboss/server/adempiere/deploy/jbossweb-tomcat55.sar/serverTemplate.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/META-INF/MANIFEST.MF b/jboss/server/adempiere/deploy/jmx-console.war/META-INF/MANIFEST.MF deleted file mode 100644 index d33b84725d..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/META-INF/MANIFEST.MF +++ /dev/null @@ -1,4 +0,0 @@ -Manifest-Version: 1.0 -Ant-Version: Apache Ant 1.6.2 -Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.) - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class deleted file mode 100644 index f04674ffcf..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AddressPort.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class deleted file mode 100644 index f28dcbdeea..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/AttrResultInfo.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class deleted file mode 100644 index 7ecae15d49..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/OpResultInfo.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class deleted file mode 100644 index 28344ca8b9..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/control/Server.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class deleted file mode 100644 index 31135260aa..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/ClusteredConsoleServlet.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class deleted file mode 100644 index 59715e4b66..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/html/HtmlAdaptorServlet.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class deleted file mode 100644 index 59a4691c9d..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/DomainData.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class deleted file mode 100644 index a2dca33131..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/classes/org/jboss/jmx/adaptor/model/MBeanData.class and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/jboss-web.xml b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/jboss-web.xml deleted file mode 100644 index 38c3fdcb6d..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/jboss-web.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml b/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml deleted file mode 100644 index d876671c55..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/WEB-INF/web.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - The standard web descriptor for the html adaptor - - HtmlAdaptor - org.jboss.jmx.adaptor.html.HtmlAdaptorServlet - - - ClusteredConsoleServlet - org.jboss.jmx.adaptor.html.ClusteredConsoleServlet - - jgProps - UDP(ip_mcast=true;ip_ttl=16;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566): -org.jboss.jmx.adaptor.control.FindView - - The JGroups protocol stack config - - - - DisplayMBeans - /displayMBeans.jsp - - - InspectMBean - /inspectMBean.jsp - - - DisplayOpResult - /displayOpResult.jsp - - - ClusterView - /cluster/clusterView.jsp - - - - HtmlAdaptor - /HtmlAdaptor - - - ClusteredConsoleServlet - /cluster/ClusteredConsole - - - DisplayMBeans - /DisplayMBeans - - - InspectMBean - /InspectMBean - - - DisplayOpResult - /DisplayOpResult - - - - - - BASIC - JBoss JMX Console - - - - JBossAdmin - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/cluster/bootstrap.html b/jboss/server/adempiere/deploy/jmx-console.war/cluster/bootstrap.html deleted file mode 100644 index afa00d7fc4..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/cluster/bootstrap.html +++ /dev/null @@ -1,69 +0,0 @@ - - - Cluster View Bootstrap - - - - - - - - -

JBoss Cluster Bootstrap

-
- -The cluster nodes to view need to be specified via some bootstrap mechanism. -This can be done using any of the following methods. - -

Bootstrap Using Naming Discovery

-This determines the cluster entry point by doing an HAJNDI naming service -discovery query. The query may be restricted to a given partition name by -specifying the name in the PartitionName field. -If not specified than the first partition to respond will be choosen. -
- - - - - - - - - - - - - - - - - - -
PartitionName:
DiscoveryName:
DiscoveryPort:
DiscoveryTimeout:
-
- -

Bootstrap Using a Hostname

-This determines the cluster entry point(s) by querying the JNDI service -on the indicated server for the available cluster paritition services. -Any cluster to which the server belongs will serve as an entry point for -determining the members of the cluster. To query the server hosting the -jmx-console application use "locahost" for the hostname. -
- - - - - - - - - - - - -
Hostname:
Port:
-
- - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/cluster/clusterView.jsp b/jboss/server/adempiere/deploy/jmx-console.war/cluster/clusterView.jsp deleted file mode 100644 index 0f27c92a96..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/cluster/clusterView.jsp +++ /dev/null @@ -1,44 +0,0 @@ -<%@page contentType="text/html" - import="java.net.*,java.io.*" -%> - -Clustered JBoss Management Console - - - - - -
-

Cluster View Bootstrap

-Reinvoke Bootstrap - -

Loaded Clusters

-<% - String partition = (String) request.getAttribute("partition"); -%> -

<%= partition %>

-
    -<% - String[] partitionHosts = (String[]) request.getAttribute("partitionHosts"); - for(int h = 0; h < partitionHosts.length; h ++) - { - String host = partitionHosts[h]; - String hostname = ""; - - try - { - hostname = InetAddress.getByName(host).getHostName(); - } - catch(IOException e) {} - - String hostURL = "http://"+host+":8080/jmx-console//HtmlAdaptor?action=displayMBeans"; -%> -
  • <%= hostname %>
  • -<% - } -%> -
-
- - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/cluster/index.html b/jboss/server/adempiere/deploy/jmx-console.war/cluster/index.html deleted file mode 100644 index c3da41e902..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/cluster/index.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - - A frames enabled browser is required for the cluster view - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/displayMBeans.jsp b/jboss/server/adempiere/deploy/jmx-console.war/displayMBeans.jsp deleted file mode 100644 index 1ace7654a0..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/displayMBeans.jsp +++ /dev/null @@ -1,59 +0,0 @@ -<%@page contentType="text/html" - import="java.net.*,java.util.*,org.jboss.jmx.adaptor.model.*,java.io.*" -%> - - - JBoss JMX Management Console - - - - - -
- - - - -
JBoss - <% - String hostname = ""; - try - { - hostname = InetAddress.getLocalHost().getHostName(); - } - catch(IOException e) {} - %> -

JMX Agent View <%= hostname %>

-
-
-
-ObjectName Filter (e.g. "jboss:*", "*:service=invoker,*") :"> -
-
-<% - Iterator mbeans = (Iterator) request.getAttribute("mbeans"); - while( mbeans.hasNext() ) - { - DomainData domainData = (DomainData) mbeans.next(); -%> -

<%= domainData.getDomainName() %>

-
    -<% - MBeanData[] data = domainData.getData(); - for(int d = 0; d < data.length; d ++) - { - String name = data[d].getObjectName().toString(); - String properties = data[d].getNameProperties(); -%> -
  • <%= URLDecoder.decode(properties) %>
  • -<% - } -%> -
-<% - } -%> - - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/displayOpResult.jsp b/jboss/server/adempiere/deploy/jmx-console.war/displayOpResult.jsp deleted file mode 100644 index e7d483b8e3..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/displayOpResult.jsp +++ /dev/null @@ -1,74 +0,0 @@ -<%@page contentType="text/html" - import="java.net.*" -%> - - - Operation Results - - - - - - - - -
- - - - -
JBoss

JMX MBean Operation Result <%= opResultInfo.name%>()

- - - - - - - - - - -
Back to Agent View - Back to MBean View - Reinvoke MBean Operation"); -%> -
- - -
- -<% - if( opResultInfo.result == null ) - { -%> - Operation completed successfully without a return value. -<% - } - else - { - String opResultString = opResultInfo.result.toString(); - boolean hasPreTag = opResultString.startsWith("
");
-      if( hasPreTag == false )
-         out.println("
");
-      out.println(opResultString);
-      if( hasPreTag == false )
-         out.println("
"); - } -%> - - - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/images/logo.gif b/jboss/server/adempiere/deploy/jmx-console.war/images/logo.gif deleted file mode 100644 index 724660296c..0000000000 Binary files a/jboss/server/adempiere/deploy/jmx-console.war/images/logo.gif and /dev/null differ diff --git a/jboss/server/adempiere/deploy/jmx-console.war/index.jsp b/jboss/server/adempiere/deploy/jmx-console.war/index.jsp deleted file mode 100644 index af65bc0633..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/index.jsp +++ /dev/null @@ -1,2 +0,0 @@ -<%@page contentType="text/html"%> - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/inspectMBean.jsp b/jboss/server/adempiere/deploy/jmx-console.war/inspectMBean.jsp deleted file mode 100644 index 6d716829c9..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/inspectMBean.jsp +++ /dev/null @@ -1,309 +0,0 @@ -<%@page contentType="text/html" - import="java.net.*,java.util.*,javax.management.*,javax.management.modelmbean.*, - org.jboss.jmx.adaptor.control.Server, - org.jboss.jmx.adaptor.control.AttrResultInfo, - org.jboss.jmx.adaptor.model.*, - java.lang.reflect.Array" -%> -<%! public String fixDescription(String desc) - { - if (desc == null || desc.equals("")) - { - return "(no description)"; - } - return desc; - } -%> - - - MBean Inspector - - - - - - - -<% - ObjectName objectName = mbeanData.getObjectName(); - String objectNameString = mbeanData.getName(); - MBeanInfo mbeanInfo = mbeanData.getMetaData(); - MBeanAttributeInfo[] attributeInfo = mbeanInfo.getAttributes(); - MBeanOperationInfo[] operationInfo = mbeanInfo.getOperations(); -%> - - -
- - - - -
JBoss

JMX MBean View

-
    - - - - - - -<% - Hashtable properties = objectName.getKeyPropertyList(); - Iterator it = properties.keySet().iterator(); - while( it.hasNext() ) - { - String key = (String) it.next(); - String value = (String) properties.get( key ); -%> - -<% - } -%> - -
    MBean Name:Domain Name:<%= objectName.getDomain() %>
    <%= key %>: <%= value %>
    MBean Java Class:
    -
- - - - - -
Back to Agent View - Refresh MBean View
- -
-

MBean description:

-<%= fixDescription(mbeanInfo.getDescription())%> - -
-

List of MBean attributes:

- -
- - - - - - - - - - -<% - boolean hasWriteable = false; - for(int a = 0; a < attributeInfo.length; a ++) - { - MBeanAttributeInfo attrInfo = attributeInfo[a]; - String attrName = attrInfo.getName(); - String attrType = attrInfo.getType(); - AttrResultInfo attrResult = Server.getMBeanAttributeResultInfo(objectNameString, attrInfo); - String attrValue = attrResult.getAsText(); - String access = ""; - if( attrInfo.isReadable() ) - access += "R"; - if( attrInfo.isWritable() ) - { - access += "W"; - hasWriteable = true; - } - String attrDescription = fixDescription(attrInfo.getDescription()); -%> - - - - - - - -<% - } -%> -
NameTypeAccessValueDescription
<%= attrName %><%= attrType %><%= access %> -<% - if( attrInfo.isWritable() ) - { - String readonly = attrResult.editor == null ? "readonly" : ""; - if( attrType.equals("boolean") || attrType.equals("java.lang.Boolean") ) - { - // Boolean true/false radio boxes - Boolean value = Boolean.valueOf(attrValue); - String trueChecked = (value == Boolean.TRUE ? "checked" : ""); - String falseChecked = (value == Boolean.FALSE ? "checked" : ""); -%> - >True - >False -<% - } - else if( attrInfo.isReadable() ) - { // Text fields for read-write string values -%> - " <%= readonly %>> - -<% - } - else - { // Empty text fields for write-only -%> - > -<% - } - } - else - { - if( attrType.equals("[Ljavax.management.ObjectName;") ) - { - // Array of Object Names - ObjectName[] names = (ObjectName[]) Server.getMBeanAttributeObject(objectNameString, attrName); - if( names != null ) - { -%> - -<% - for( int i = 0; i < names.length; i++ ) - { -%> - -<% - } -%> -
- "><%= ( names[ i ] + "" ) %> -
-<% - } - } - // Array of some objects - else if( attrType.endsWith("[]")) - { - Object arrayObject = Server.getMBeanAttributeObject(objectNameString, attrName); - if (arrayObject != null) { -%> - -<% - for (int i = 0; i < Array.getLength(arrayObject); ++i) { -%> - -<% - } -%> -
<%=Array.get(arrayObject,i)%>
-<% - } - - } - else - { - // Just the value string -%> - <%= attrValue %> -<% - } - } - if( attrType.equals("javax.management.ObjectName") ) - { - // Add a link to the mbean - if( attrValue != null ) - { -%> - View MBean -<% - } - } -%> -
<%= attrDescription%>
-<% if( hasWriteable ) - { -%> - -<% - } -%> -
- -
-

List of MBean operations:

-<% - for(int a = 0; a < operationInfo.length; a ++) - { - MBeanOperationInfo opInfo = operationInfo[a]; - boolean accept = true; - if (opInfo instanceof ModelMBeanOperationInfo) - { - Descriptor desc = ((ModelMBeanOperationInfo)opInfo).getDescriptor(); - String role = (String)desc.getFieldValue("role"); - if ("getter".equals(role) || "setter".equals(role)) - { - accept = false; - } - } - if (accept) - { - MBeanParameterInfo[] sig = opInfo.getSignature(); -%> -
- - - -
-

<%= opInfo.getReturnType() + " " + opInfo.getName() + "()" %>

-

<%= fixDescription(opInfo.getDescription())%>

-<% - if( sig.length > 0 ) - { -%> - - - - - - - -<% - for(int p = 0; p < sig.length; p ++) - { - MBeanParameterInfo paramInfo = sig[p]; - String pname = paramInfo.getName(); - String ptype = paramInfo.getType(); - if( pname == null || pname.length() == 0 || pname.equals(ptype) ) - { - pname = "arg"+p; - } -%> - - - - - - -<% - } -%> -
ParamParamTypeParamValueParamDescription
<%= pname %><%= ptype %> -<% - if( ptype.equals("boolean") || ptype.equals("java.lang.Boolean") ) - { - // Boolean true/false radio boxes -%> - True - False -<% - } - else - { -%> - -<% - } -%> - <%= fixDescription(paramInfo.getDescription())%>
-<% - } -%> - -
-<% - } - } -%> - - - - diff --git a/jboss/server/adempiere/deploy/jmx-console.war/jboss.css b/jboss/server/adempiere/deploy/jmx-console.war/jboss.css deleted file mode 100644 index ff56bec620..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/jboss.css +++ /dev/null @@ -1,146 +0,0 @@ -body { - margin: 13px 0px 10px 0px; - background-color: #ffffff; - font-size: 12px; - font-family: verdana, arial, "sans-serif"; - color: #606060; - } -td { - font-size: 12px; - font-family: verdana, arial, "sans-serif"; - color: #606060; - } -input { - font-size: 13px; - font-family: verdana, arial, "sans-serif"; - color: #FF5906; - background-color: #f0f0f0; - border: 1px solid #cccccc; - } -img { - border: 0px; - } -p { - margin: 10px 30px 10px 20px - } -h3 { - color: #FF5906; - font-size: 13px; - font-family: verdana, arial, "sans-serif"; - margin: 10px 30px 10px 20px; - } -h4 { - color: #999999; - font-size: 13px; - font-family: verdana, arial, "sans-serif"; - margin: 10px 30px 10px 20px; - } -table { - border: 0px #999999; - } -a { - text-decoration : none; - } -a:link { - color: #FF5906; - } -a:visited { - color: #FF5906; - } -a:active { - background-color:transparent; - } -a:hover { - text-decoration : underline; - } -a.soft, a.soft:visited, a.soft:link { - TEXT-DECORATION: none; - COLOR: #000000; - } -a.soft:hover { - TEXT-DECORATION: underline; - BACKGROUND-COLOR: transparent; - COLOR: #000000 - } -#header { - background-color: #FF7A22; - background-image: url("header_bg.jpg"); - background-repeat: no-repeat; - background-position: 226px 0px; - width: 100%; - height: 80px; - } -#header #banner { - float: right; - margin: 8px 5px 0px 0px; - } -#logo { - position: absolute; - top: 4px; - left: 4px; - z-index: 200; -} -#services { - position: absolute; - top: 16px; - right: 10px; - z-index: 200; -} -#filter { - position: absolute; - top: 65px; - right: 30px; - z-index: 220; -} -#filter_label { - position: absolute; - top: 61px; - right: 215px; - z-index: 220; -} -#apply { - position: absolute; - top: -5px; - right: -30px; - z-index: 220; - border: none; -} -#navigation_bar { - background-color: #f0f0f0; - border-bottom: 1px dotted #999999; - height: 20px; - } -#separator_bar { - background-color: #ffffff; - border-bottom: 1px dotted #999999; - height: 20px; - } -#footer { - clear: both; - border-top: 1px dotted #999999; - } -#footer_bar { - height: 20px; - width: 100%; - background-color: #FF7A22; - } -.attribute_link a { - color: #606060; - text-decoration: none; - } -.attribute_link a:hover { - color: #606060; - border-bottom: 1px dotted #999999; - } -.hide { - display: none; - } -.spacer { - clear: both; - } -.spacer hr { - display: none; - } -.center { - text-align: center; - } diff --git a/jboss/server/adempiere/deploy/jmx-console.war/style_master.css b/jboss/server/adempiere/deploy/jmx-console.war/style_master.css deleted file mode 100644 index cb645708e8..0000000000 --- a/jboss/server/adempiere/deploy/jmx-console.war/style_master.css +++ /dev/null @@ -1,64 +0,0 @@ -BODY { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 14px; - background-color : White; -} - -H1{ - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 25px; - font-weight: bold; - color: #000099} -H2 { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 20px; - font-weight: bold; - color: #000000 -} -H3 { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 17px; - font-weight: bold; - color: #000000 -} -TH { - background-color : #000099; - color: #DEB887; - font-weight: bold; -}.bg_table { - background-color : #DEB887; -} -}.bg_cell{ - background-color : #ffffff; -} -A:ACTIVE { - font-family: Arial, Helvetica, sans-serif; - font-size: 14px; - color:Red; - background-color: #DEB887; - text-decoration : underline; - font-weight:bold; -} - A:HOVER { - font-family:Arial, Helvetica, sans-serif; - font-size: 14px; - color:Red; - text-decoration : underline; - font-weight:bold; -} - A:LINK { - font-family: Arial, Helvetica, sans-serif; - font-size: 14px; - color:#000099; - text-decoration : underline; - font-weight:bold; -} - A:VISITED { - font-family: Arial, Helvetica, sans-serif; - font-size: 14px; - color:Purple; - text-decoration : underline; - font-weight:bold; -} - - diff --git a/jboss/server/adempiere/deploy/jmx-invoker-service.xml b/jboss/server/adempiere/deploy/jmx-invoker-service.xml index 36c9f6cf51..e17d05452f 100644 --- a/jboss/server/adempiere/deploy/jmx-invoker-service.xml +++ b/jboss/server/adempiere/deploy/jmx-invoker-service.xml @@ -1,117 +1,131 @@ - - - - - - - - - jboss:service=invoker,type=jrmp - - jboss.jmx:type=adaptor,name=Invoker - - jmx/invoker/RMIAdaptor - - org.jboss.jmx.adaptor.rmi.RMIAdaptor, - org.jboss.jmx.adaptor.rmi.RMIAdaptorExt - - - - org.jboss.proxy.ClientMethodInterceptor - org.jboss.proxy.SecurityInterceptor - org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor - org.jboss.invocation.InvokerInterceptor - - - - - - - jmx/rmi/RMIAdaptor - jmx/invoker/RMIAdaptor - - - - - - The JMX Detached Invoker Service - org.jboss.jmx.connector.invoker.InvokerAdaptorService - - - - The class name of the MBean - Name - java.lang.String - - - The status of the MBean - State - int - - - The status of the MBean in text form - StateString - java.lang.String - - - The interfaces the invoker proxy supports - ExportedInterfaces - [Ljava.lang.Class; - - - Map(Long hash, Method) of the proxy interface methods - MethodMap - java.util.Map - - - - The start lifecycle operation - start - - - The stop lifecycle operation - stop - - - The detyped lifecycle operation (for internal use only) - jbossInternalLifecycle - - The lifecycle operation - method - java.lang.String - - void - - - - The detached invoker entry point - invoke - - The method invocation context - invocation - org.jboss.invocation.Invocation - - java.lang.Object - - - - org.jboss.jmx.adaptor.rmi.RMIAdaptor, - org.jboss.jmx.adaptor.rmi.RMIAdaptorExt - - - - + + + + + + + + + jboss:service=invoker,type=jrmp + + jboss.jmx:type=adaptor,name=Invoker + + jmx/invoker/RMIAdaptor + + org.jboss.jmx.adaptor.rmi.RMIAdaptor, + org.jboss.jmx.adaptor.rmi.RMIAdaptorExt + + + + org.jboss.proxy.ClientMethodInterceptor + org.jboss.proxy.SecurityInterceptor + org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor + org.jboss.invocation.InvokerInterceptor + + + jboss:service=Naming + + + + + jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory + + + + + jmx/rmi/RMIAdaptor + jmx/invoker/RMIAdaptor + jboss:service=Naming + + + + + + The JMX Detached Invoker Service + org.jboss.jmx.connector.invoker.InvokerAdaptorService + + + + The class name of the MBean + Name + java.lang.String + + + The status of the MBean + State + int + + + The status of the MBean in text form + StateString + java.lang.String + + + The interfaces the invoker proxy supports + ExportedInterfaces + [Ljava.lang.Class; + + + Map(Long hash, Method) of the proxy interface methods + MethodMap + java.util.Map + + + + The start lifecycle operation + start + + + The stop lifecycle operation + stop + + + The detyped lifecycle operation (for internal use only) + jbossInternalLifecycle + + The lifecycle operation + method + java.lang.String + + void + + + + The detached invoker entry point + invoke + + The method invocation context + invocation + org.jboss.invocation.Invocation + + java.lang.Object + + + + + + + + + + + org.jboss.jmx.adaptor.rmi.RMIAdaptor, + org.jboss.jmx.adaptor.rmi.RMIAdaptorExt + + + + diff --git a/jboss/server/adempiere/deploy/jsr88-service.xml b/jboss/server/adempiere/deploy/jsr88-service.xml new file mode 100644 index 0000000000..69261f5dbc --- /dev/null +++ b/jboss/server/adempiere/deploy/jsr88-service.xml @@ -0,0 +1,19 @@ + + + + jboss.j2ee:service=EARDeployer + jboss.ejb:service=EJBDeployer + jboss.jca:service=RARDeployer + jboss.web:service=WebServer + jboss.j2ee:service=ClientDeployer + ${jboss.server.temp.dir}/jsr88 + jboss.system:service=MainDeployer + + false + + false + + diff --git a/jboss/server/adempiere/deploy/mail-ra.rar b/jboss/server/adempiere/deploy/mail-ra.rar new file mode 100644 index 0000000000..bbfdd6fdfd Binary files /dev/null and b/jboss/server/adempiere/deploy/mail-ra.rar differ diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF b/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF deleted file mode 100644 index d33b84725d..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/MANIFEST.MF +++ /dev/null @@ -1,4 +0,0 @@ -Manifest-Version: 1.0 -Ant-Version: Apache Ant 1.6.2 -Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.) - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/jboss-service.xml deleted file mode 100644 index 8f621d25c8..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/META-INF/jboss-service.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - jboss.console:sar=console-mgr.sar - - java2ParentDelegation=true - - - - - - jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory - /web-console/images/jboss.gif - /web-console/ServerInfo.jsp - true - console/PluginManager - - - - ./deploy/management - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp deleted file mode 100644 index ffe7f3b36c..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPBinding.jsp +++ /dev/null @@ -1,71 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*, - org.jboss.aop.advice.AdviceBinding" %> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String name = request.getParameter("binding"); - AdviceBinding binding = (AdviceBinding)AspectManager.instance().getBindings().get(name); -%> -
-
-

<%=name%>

-
-
-

Advice Binding

-

 

- - - - - -
-

Pointcut Expression: <%=binding.getPointcut().getExpr()%>

- <% if (binding.getCFlowString() != null) { - %> -

CFlow Expression: <%=binding.getCFlowString()%>

- <% } %> -
-

 

-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp deleted file mode 100644 index e989b55cfa..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPClassMetaData.jsp +++ /dev/null @@ -1,38 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String group = request.getParameter("group"); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - HashMap groupAttrs = advisor.getClassMetaData().tag(group); -%> -
-
-
-
-

Metadata for class <%= classname %>

-

 

-<%@ include file="AOPMetaData.jsp" %> diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp deleted file mode 100644 index de43f46b4b..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorChain.jsp +++ /dev/null @@ -1,84 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - java.lang.reflect.Constructor, - org.jboss.console.plugins.AOPLister"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - int idx = Integer.parseInt(request.getParameter("constructor")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Constructor constructor = advisor.getConstructors()[idx]; - Interceptor[] interceptors = advisor.getConstructorInterceptors()[idx]; - -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> -
-

Constructor Chain for <%=AOPLister.shortenConstructor(classname, constructor)%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp deleted file mode 100644 index 529cefd51e..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorConstructorCallerChain.jsp +++ /dev/null @@ -1,91 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - java.lang.reflect.Constructor, - org.jboss.console.plugins.AOPLister, - gnu.trove.TLongObjectHashMap"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - int idx = Integer.parseInt(request.getParameter("index")); - String calledClassname = request.getParameter("calledclassname"); - long hash = Long.parseLong(request.getParameter("hash")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Constructor constructor = advisor.getConstructors()[idx]; - HashMap called = advisor.getConCalledByConInterceptors()[idx]; - TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname); - CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash); - Interceptor[] interceptors = info.interceptors; - -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> -
-

Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%>

-

Called Constructor: <%=info.constructor.toString()%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp deleted file mode 100644 index e08c9e7ed2..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMetaData.jsp +++ /dev/null @@ -1,53 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*,java.lang.reflect.*, - org.jboss.aop.metadata.ConstructorMetaData"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - - String classname = request.getParameter("classname"); - String group = request.getParameter("group"); - String con = request.getParameter("constructor"); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - HashMap groupAttrs = new HashMap(); - ConstructorMetaData metaData = advisor.getConstructorMetaData(); - Iterator conit = metaData.getConstructors(); - while (conit.hasNext()) - { - String constructor = (String)conit.next(); - if (constructor.equals(con)) - { - groupAttrs = metaData.getConstructorMetaData(constructor).tag(group); - break; - } - } - -%> -
-
-
-
-

Metadata for constructor <%=con%>

-

 

-<%@ include file="AOPMetaData.jsp" %> diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp deleted file mode 100644 index 47f33d605c..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPConstructorMethodCallerChain.jsp +++ /dev/null @@ -1,91 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - java.lang.reflect.Constructor, - org.jboss.console.plugins.AOPLister, - gnu.trove.TLongObjectHashMap"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - int idx = Integer.parseInt(request.getParameter("index")); - String calledClassname = request.getParameter("calledclassname"); - long hash = Long.parseLong(request.getParameter("hash")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Constructor constructor = advisor.getConstructors()[idx]; - HashMap called = advisor.getMethodCalledByConInterceptors()[idx]; - TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname); - CallerMethodInfo info = (CallerMethodInfo)map.get(hash); - Interceptor[] interceptors = info.interceptors; - -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> -
-

Constructor Caller: <%=AOPLister.shortenConstructor(classname, constructor)%>

-

Called Method: <%=info.method.toString()%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp deleted file mode 100644 index 80511407c6..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPDefaultMetaData.jsp +++ /dev/null @@ -1,38 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String group = request.getParameter("group"); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - HashMap groupAttrs = advisor.getDefaultMetaData().tag(group); -%> -
-
-
-
-

<%=classname%> Default MetaData

-

 

-<%@ include file="AOPMetaData.jsp" %> diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp deleted file mode 100644 index d1b62fbfbe..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldChain.jsp +++ /dev/null @@ -1,84 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - org.jboss.console.plugins.AOPLister"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - int idx = Integer.parseInt(request.getParameter("field")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Field field = advisor.getAdvisedFields()[idx]; - boolean read = request.getParameter("mode").equals("read"); - Interceptor[] interceptors = read ? advisor.getFieldReadInterceptors()[idx] : advisor.getFieldWriteInterceptors()[idx]; -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> - -
-

Field <%= (read) ? "Read" : "Write" %> Chain for <%=AOPLister.shortenField(classname, field)%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp deleted file mode 100644 index a18a6f0ef2..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPFieldMetaData.jsp +++ /dev/null @@ -1,39 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String group = request.getParameter("group"); - String field = request.getParameter("field"); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - HashMap groupAttrs = advisor.getFieldMetaData().getFieldMetaData(field).tag(group); -%> -
-
-
-
-

Metadata for field <%=field%>

-

 

-<%@ include file="AOPMetaData.jsp" %> diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp deleted file mode 100644 index 797172bb52..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPIntroductionPointcut.jsp +++ /dev/null @@ -1,105 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*, - org.jboss.aop.introduction.InterfaceIntroduction"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String name = request.getParameter("pointcut"); - InterfaceIntroduction introduction = AspectManager.instance().getInterfaceIntroduction(name); -%> -
-

<%=name%>

-
-
-

Introduction Pointcut

-

 

- - - - -<% - Iterator mixins = introduction.getMixins().iterator(); - while (mixins.hasNext()) { - InterfaceIntroduction.Mixin mixin = (InterfaceIntroduction.Mixin)mixins.next(); - String[] interfaces = mixin.getInterfaces(); - String initializer = (mixin.getConstruction() == null) ? ("new " + mixin.getClassName() + "()") : mixin.getConstruction(); -%> - - - - -<% } %> -<% - String[] interfaces = introduction.getInterfaces(); - if (interfaces != null && interfaces.length > 0) { -%> - - - -<% }%> - -
-

Class Expression: <%=introduction.getClassExpr()%>

-
-

Mixin Class

-

<%=mixin.getClassName()%>

-

Mixin Initializer

-

<%=initializer%>

-
-

Interfaces

-<% - for (int j = 0; j < interfaces.length; j++) { -%> -

<%=interfaces[j]%>

-<% } %> -
-

Other Interfaces

-<% - for (int j = 0; j < interfaces.length; j++) { -%> -

<%=interfaces[j]%>

-<% } %> -
-

 

-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp deleted file mode 100644 index b4a6790141..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMetaData.jsp +++ /dev/null @@ -1,79 +0,0 @@ -<%@ page import="java.util.Iterator, - java.util.Map, - org.jboss.aop.metadata.SimpleMetaData, - org.jboss.aop.metadata.MetaDataResolver" %> - - - - - - - - - - -<% - boolean hasValues = false; - - Iterator it = groupAttrs.entrySet().iterator(); - while (it.hasNext()) - { - Map.Entry entry = (Map.Entry)it.next(); - String attr = (String)entry.getKey(); - if (!attr.equals(MetaDataResolver.EMPTY_TAG)) - { - hasValues = true; - SimpleMetaData.MetaDataValue value = (SimpleMetaData.MetaDataValue)entry.getValue(); -%> - - - -<% } - } - - if (!hasValues) - { -%> - - - -<% } - -%> - -
-

<%=group%>

-
-

Attribute Name

-
-

Type

-
-

Value (as String)

-
-

Serialization

-
<%=attr%> - <%=value.value.getClass().getName()%> - <%=value.value.toString()%> - <%=value.type%> -
empty
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp deleted file mode 100644 index 55a3ac2ff3..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodChain.jsp +++ /dev/null @@ -1,86 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,gnu.trove.TLongObjectHashMap, - java.lang.reflect.Method, - org.jboss.console.plugins.AOPLister"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - long hash = Long.parseLong(request.getParameter("method")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - TLongObjectHashMap methodChains = advisor.getMethodInterceptors(); - MethodInfo info = (MethodInfo)methodChains.get(hash); - Interceptor[] interceptors = info.interceptors; - Method method = (Method)advisor.getAdvisedMethods().get(hash); -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> - -
-

Method Chain for <%=AOPLister.shortenMethod(classname, method)%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp deleted file mode 100644 index 15af4493b3..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodConstructorCallerChain.jsp +++ /dev/null @@ -1,92 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - java.lang.reflect.Constructor, - org.jboss.console.plugins.AOPLister, - gnu.trove.TLongObjectHashMap, - java.lang.reflect.Method"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String calledClassname = request.getParameter("calledclassname"); - long hash = Long.parseLong(request.getParameter("hash")); - long callingHash = Long.parseLong(request.getParameter("callinghash")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Method method = (Method)advisor.getAdvisedMethods().get(callingHash); - HashMap called = (HashMap)advisor.getConCalledByMethodInterceptors().get(callingHash); - TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname); - CallerConstructorInfo info = (CallerConstructorInfo)map.get(hash); - Interceptor[] interceptors = info.interceptors; - -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> -
-

Method Caller: <%=AOPLister.shortenMethod(classname, method)%>

-

Called Constructor: <%=info.constructor.toString()%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp deleted file mode 100644 index a88d651cdb..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMetaData.jsp +++ /dev/null @@ -1,39 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,java.util.*"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String group = request.getParameter("group"); - String method = request.getParameter("method"); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - HashMap groupAttrs = advisor.getMethodMetaData().getMethodMetaData(method).tag(group); -%> -
-
-
-
-

Metadata for method <%=method%>

-

 

-<%@ include file="AOPMetaData.jsp" %> diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp deleted file mode 100644 index 35cbf27125..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/AOPMethodMethodCallerChain.jsp +++ /dev/null @@ -1,92 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> -<%@ page import="org.jboss.aop.*,org.jboss.aop.advice.*,java.util.*,java.lang.reflect.Field, - java.lang.reflect.Constructor, - org.jboss.console.plugins.AOPLister, - gnu.trove.TLongObjectHashMap, - java.lang.reflect.Method"%> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI() + "?" + request.getQueryString()); -%> - - - - -JBoss Management Console - AOP Pointcuts - - - - - - - - - -<% - String classname = request.getParameter("classname"); - String calledClassname = request.getParameter("calledclassname"); - long hash = Long.parseLong(request.getParameter("hash")); - long callingHash = Long.parseLong(request.getParameter("callinghash")); - ClassAdvisor advisor = (ClassAdvisor)AspectManager.instance().getAdvisor(classname); - Method method = (Method)advisor.getAdvisedMethods().get(callingHash); - HashMap called = (HashMap)advisor.getMethodCalledByMethodInterceptors().get(callingHash); - TLongObjectHashMap map = (TLongObjectHashMap)called.get(calledClassname); - CallerMethodInfo info = (CallerMethodInfo)map.get(hash); - Interceptor[] interceptors = info.interceptors; - -%> -
-
-
-
-

<%=classname%>

-

 

- - - - - - - - -<% - if (interceptors != null) - { - String chain = AOPLister.outputChain(interceptors); -%> -<%=chain%> -<% } %> -
-

Method Caller: <%=AOPLister.shortenMethod(classname, method)%>

-

Called Method: <%=info.method.toString()%>

-
-

Type

-
-

Description

-
-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJB.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJB.jsp deleted file mode 100644 index 7b8b315e71..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJB.jsp +++ /dev/null @@ -1,42 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name"); - String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName; - containerUrl = java.net.URLEncoder.encode(containerUrl); - containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl; -%> - - - -EJB: <%=ejbName%> - - - - -

EJB '<%=ejbName%>'

- -

-

- - - - - - - - - - - - - - -
Management Object Name:
<%=ejb.getobjectName()%> 
Provides Statistics:
<%=ejb.isstatisticsProvider()%> 
- - Visit associated container MBean... - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp deleted file mode 100644 index 0e948ae420..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EJBModule.jsp +++ /dev/null @@ -1,44 +0,0 @@ -<%@ page import="javax.management.ObjectName"%> -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String moduleName = new ObjectName(module.getobjectName()).getKeyProperty ("name"); -%> - - - -EJB-Module: <%=moduleName%> - - - - -

EJB-Module '<%=moduleName%>'

- -

-

- - - - - - - - - - - - - - - - - - - - -
Management Object Name:
<%=module.getobjectName()%>
Provides Statistics:
<%=module.isstatisticsProvider()%>
Deployment Descriptor:
<%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(module.getdeploymentDescriptor())%>
- - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp deleted file mode 100644 index 0fc61e61a4..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/EntityEjb.jsp +++ /dev/null @@ -1,229 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name"); - String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule"); - String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName; - containerUrl = java.net.URLEncoder.encode(containerUrl); - containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl; - - org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats (); - - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - ejb.resetStats (); - } - String doResetInvoc= request.getParameter("doResetInvoc"); - if (doResetInvoc!= null && doResetInvoc.equals("true")) - { - invokeStats.resetStats (); - } - - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData(); - -%> -<%! -public String addStatRow (javax.management.j2ee.statistics.Statistic stat) -{ - String start = new java.util.Date(stat.getStartTime ()).toString (); - String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString (); - - String result = "" + stat.getName() + " (unit: " + stat.getUnit () + ")" + - ""; - - if (stat instanceof javax.management.j2ee.statistics.CountStatistic) - { - result+= ""; - } - else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic) - { - javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat; - - result+= "" + - ""; - } - - result+= "
" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "" + rStat.getCurrent () + "" + rStat.getLowWaterMark () + "" + rStat.getHighWaterMark() + "
" + start + "" + lastSample + " "; - - return result; - -} -%> - - - - -JBoss Management Console - Entity Bean - - - - - - -

- - -
-
-
-
-

Entity Bean

-

Name

-

<%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)

-

EJB Module

-

<%=ejbModule %>

-

Bean Statistics:

-

 

-<% -if (ejb.isstatisticsProvider()) -{ -%> - - - - - - - - <% - javax.management.j2ee.statistics.EntityBeanStats stats = (javax.management.j2ee.statistics.EntityBeanStats)ejb.getstats (); -%> - <%=addStatRow (stats.getCreateCount ()) %> - <%=addStatRow (stats.getRemoveCount ()) %> - <%=addStatRow (stats.getReadyCount ()) %> - <%=addStatRow (stats.getPooledCount ()) %> - -
-

Name

-
-

Value

- - - - - - -
-

Current

-
-

Low

-
-

High

-
-
-

Start Time

-
-

Last Sample Time

-
-

Reset Stats / Refresh Stats

-<% -} -else -{ -%> -

none.

-<% -} -%> -

 

-

 

-

Invocation Statistics:

-

 

-<% - java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator(); - if (iterInvoc.hasNext()) - { - -%> - - - - - - - - - - - <% - while (iterInvoc.hasNext()) - { - java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next(); - org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue(); - %> - - - - - - - - - - <% - } - %> -
-

Method name

-
-

Min (ms)

-
-

Max (ms)

-
-

Average (ms)

-
-

Total (ms)

-
-

# Invocations

-
-

<%=((java.lang.reflect.Method)entry.getKey()).getName()%>

-
-

<%=stat.minTime%>

-
-

<%=stat.maxTime%>

-
-

<%=(float)stat.totalTime/(float)stat.count%>

-
-

<%=stat.totalTime%>

-
-

<%=stat.count%>

-
-

Reset Stats / Refresh Stats

-<% - } - else - { -%> -

none.

-<% - } -%> - -

 

-

Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)

-

 

-

 

-

 

-

View associated container MBean

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp deleted file mode 100644 index 1ee90836bc..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/J2EEApp.jsp +++ /dev/null @@ -1,44 +0,0 @@ -<%@ page import="javax.management.ObjectName"%> -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String appName = new ObjectName(app.getobjectName()).getKeyProperty ("name"); -%> - - - -J2EE Application: <%=appName%> - - - - -

J2EE Application '<%=appName%>'

- -

-

- - - - - - - - - - - - - - - - - - - - -
Management Object Name:
<%=app.getobjectName()%>
Provides Statistics:
<%=app.isstatisticsProvider()%>
Deployment Descriptor:
<%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(app.getdeploymentDescriptor())%>
- - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp deleted file mode 100644 index 83cbdfdf01..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/JNDIView.jsp +++ /dev/null @@ -1,38 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> - - - - -JBoss Management Console - JNDI View - - - - - - - -

- - -
-

JNDI View

-

 

- - <%=org.jboss.console.util.XMLToHTMLTreeBuilder.convertJNDIXML(jndiview.listXML())%> - -

 

- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF deleted file mode 100644 index d33b84725d..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/META-INF/MANIFEST.MF +++ /dev/null @@ -1,4 +0,0 @@ -Manifest-Version: 1.0 -Ant-Version: Apache Ant 1.6.2 -Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.) - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp deleted file mode 100644 index 3e4ac99d4b..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/MdbEjb.jsp +++ /dev/null @@ -1,239 +0,0 @@ -<%@ page language="java" - import="java.util.Map" - import="java.util.HashMap" - import="java.util.Iterator" - import="org.jboss.invocation.InvocationStatistics" - import="org.jboss.invocation.InvocationStatistics.*" %> - -<%@ taglib uri="/webconsole" prefix="jb" %> - - - -<% - // Author: Boris Cinkler cinkler@users.sourceforge.net - - String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name"); - String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule"); - String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName; - containerUrl = java.net.URLEncoder.encode(containerUrl); - containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl; - - org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats (); - - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - ejb.resetStats (); - } - String doResetInvoc= request.getParameter("doResetInvoc"); - if (doResetInvoc!= null && doResetInvoc.equals("true")) - { - invokeStats.resetStats (); - } - - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData(); - - %> - - <%! -public String addStatRow (javax.management.j2ee.statistics.Statistic stat) -{ - String start = new java.util.Date(stat.getStartTime ()).toString (); - String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString (); - - String result = "" + stat.getName() + " (unit: " + stat.getUnit () + ")" + - ""; - - if (stat instanceof javax.management.j2ee.statistics.CountStatistic) - { - result += ""; - } - else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic) - { - javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat; - - result += "" + - ""; - } - - result += "
" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "" + rStat.getCurrent () + "" + rStat.getLowWaterMark () + "" + rStat.getHighWaterMark() + "
" + start + "" + lastSample + " "; - - return result; -} -%> - - - - - -JBoss Management Console - Message Driven Bean - - - - - - - - - -
-
-
-
-

Message Driven Bean

-

Name

-

<%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)

-

EJB Module

-

<%=ejbModule %>

-

Bean Statistics:

-

 

-<% -if (ejb.isstatisticsProvider()) -{ -%> - - - - - - - - <% - javax.management.j2ee.statistics.MessageDrivenBeanStats stats = (javax.management.j2ee.statistics.MessageDrivenBeanStats)ejb.getstats (); -%> - <%=addStatRow (stats.getCreateCount ()) %> - <%=addStatRow (stats.getRemoveCount ()) %> - <%=addStatRow (stats.getMessageCount ()) %> - -
-

Name

-
-

Value

- - - - - - -
-

Current

-
-

Low

-
-

High

-
-
-

Start Time

-
-

Last Sample Time

-
-

Reset Stats / Refresh Stats

-<% -} -else -{ -%> -

none.

-<% -} -%> -

 

-

 

-

Invocation Statistics:

-

 

-<% - java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator(); - if (iterInvoc.hasNext()) - { - -%> - - - - - - - - - - - <% - while (iterInvoc.hasNext()) - { - java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next(); - org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue(); - %> - - - - - - - - - - <% - } - %> -
-

Method name

-
-

Min (ms)

-
-

Max (ms)

-
-

Average (ms)

-
-

Total (ms)

-
-

# Invocations

-
-

<%=((java.lang.reflect.Method)entry.getKey()).getName()%>

-
-

<%=stat.minTime%>

-
-

<%=stat.maxTime%>

-
-

<%=(float)stat.totalTime/(float)stat.count%>

-
-

<%=stat.totalTime%>

-
-

<%=stat.count%>

-
-

Reset Stats / Refresh Stats

-<% - } - else - { -%> -

none.

-<% - } -%> - -

 

-

Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)

-

 

-

 

-

 

-

View associated container MBean

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Queue.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Queue.jsp deleted file mode 100644 index 251da621b5..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Queue.jsp +++ /dev/null @@ -1,119 +0,0 @@ -<%@ page import="org.jboss.mq.*"%> -<%@ page import="org.jboss.mq.server.*"%> -<%@ page import="java.text.DateFormat"%> -<%@ page import="java.util.Date"%> -<%@ taglib uri="/webconsole" prefix="jb" %> - -<% - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - MessageCounter counter = queue.getMessageCounter()[0]; - - //check reset first - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - counter.resetCounter(); - } - - String lastModified = "N/A"; - DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM); - if (counter.getLastUpdate() > 0) - { - lastModified = dateFormat.format(new Date(counter.getLastUpdate())); - } - - -%> - - - - - -JBoss Management Console - JMS Queue - - - - - - - - - -
- - -
-
-
-

JMS Queue

-

Name

-

<%=queue.getQueueName()%>

-

JNDI Name

-

<%=queue.getJNDIName()%>

-

Receiver Count

-

<%=queue.getReceiversCount()%>

-

Message statistics:

- - - - - - - - - - - -
-

Queue Depth:

-
-

Queue Depth Delta:

-
-

Maximum Depth:

-
<%=queue.getQueueDepth()%><%=counter.getDepthDelta()%><%=queue.getMaxDepth()%>
-

 

-

 

-

Message statistics since startup or reset:

- - - - - - - - - - - -
-

Message Count:

-
-

Message Count Delta:

-
-

Last Message Add Date:

-
<%=counter.getCount()%><%=counter.getCountDelta()%><%=lastModified%>
-

Reset Stats / Refresh Stats

-

 

-

 

- -
-

-
-
- - - -
- -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp deleted file mode 100644 index 1a3b0fa0f6..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/ServerInfo.jsp +++ /dev/null @@ -1,136 +0,0 @@ -<%-- - | - | Author: Sacha Labourey (sacha@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<%@ taglib uri="/webconsole" prefix="jb" %> - - - -<% - String myUrl = response.encodeURL(request.getRequestURI()); -%> -<%! -public String memSize (java.lang.Long lOctets) -{ - long octets = lOctets.longValue(); - int ratio = 3*1024; - String unit = ""; - if (octets > ratio) - { - unit = "KB"; - octets/=1024; - - if (octets > ratio) - { - unit = "MB"; - octets/=1024; - - if (octets > ratio) - { - unit = "GB"; - octets/=1024; - - if (octets > ratio) - { - unit = "TB"; - octets/=1024; - } - } - } - } - - return octets + " " + unit; -} -%> - - - - -JBoss Management Console - Server Information - - - - - - - - - -
-
-
-
-

JBoss™ Application Server

-

 

- - - - - - - - - -
-

JBoss

-
-

Version

-

Version: <%=server.getVersion()%>

-

Version Name: <%=server.getVersionName()%>

-

Built on: <%=server.getBuildDate()%> -

-

Environment

-

Start date: <%=server.getStartDate()%>

-

Host: <%=serverInfo.getHostName()%> (<%=serverInfo.getHostAddress ()%>)

-

Base Location: <%=serverConfig.getServerBaseURL()%>

-

Base Location (local): <%=serverConfig.getServerBaseDir()%>

-

Running config: '<%= serverConfig.getServerHomeDir().getName()%>'

-

 

- - - - - - - - - -
-

JVM - Hardware

-
-

Hardware

-

#CPU: <%=serverInfo.getAvailableProcessors()%>

-

OS: <%=serverInfo.getOSName()%> <%=serverInfo.getOSVersion()%> (<%=serverInfo.getOSArch()%>)

-

JVM Environment

-

Free Memory: <%=memSize(serverInfo.getFreeMemory())%>

-

Max Memory: <%=memSize(serverInfo.getMaxMemory())%>

-

Total Memory: <%=memSize(serverInfo.getTotalMemory())%>

-

#Threads: <%=serverInfo.getActiveThreadCount()%>

-

JVM Version: <%=serverInfo.getJavaVMVersion()%> (<%=serverInfo.getJavaVMVendor()%>)

-

JVM Name: <%=serverInfo.getJavaVMName()%>

-

 

-

Refresh

- -

 

-

 

-

 

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp deleted file mode 100644 index 07c1d526c4..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Servlet.jsp +++ /dev/null @@ -1,102 +0,0 @@ -<%@ page import="javax.management.ObjectName, - javax.management.j2ee.statistics.ServletStats, - javax.management.j2ee.statistics.TimeStatistic"%> -<%@ taglib uri="/webconsole" prefix="jb" %> - -<% - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - servlet.resetStats(); - } - - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); -%> - - - - - -JBoss Management Console - Servlet - - - - - - - - - -
-
-
-
-

Servlet

-

Name

-

<%=new ObjectName(servlet.getobjectName()).getKeyProperty("name")%>

-

Servlet Statistics:

-

 

- - - - - - - - - - <% - ServletStats stats = (ServletStats)servlet.getstats(); - TimeStatistic stat = stats.getServiceTime(); - %> - - - - - - - - -
-

Min (ms)

-
-

Max (ms)

-
-

Average (ms)

-
-

Total (ms)

-
-

# Invocations

-
-

<%=stat.getMinTime()%>

-
-

<%=stat.getMaxTime()%>

-
-

<%=(float)stat.getTotalTime()/(float)stat.getCount()%>

-
-

<%=stat.getTotalTime()%>

-
-

<%=stat.getCount()%>

-
-

Reset Stats / Refresh Stats

-

 

-

 

- -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp deleted file mode 100644 index d96294b543..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatefulEjb.jsp +++ /dev/null @@ -1,229 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name"); - String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule"); - String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName; - containerUrl = java.net.URLEncoder.encode(containerUrl); - containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl; - - org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats (); - - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - ejb.resetStats (); - } - String doResetInvoc= request.getParameter("doResetInvoc"); - if (doResetInvoc!= null && doResetInvoc.equals("true")) - { - invokeStats.resetStats (); - } - - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData(); - -%> -<%! -public String addStatRow (javax.management.j2ee.statistics.Statistic stat) -{ - String start = new java.util.Date(stat.getStartTime ()).toString (); - String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString (); - - String result = "" + stat.getName() + " (unit: " + stat.getUnit () + ")" + - ""; - - if (stat instanceof javax.management.j2ee.statistics.CountStatistic) - { - result+= ""; - } - else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic) - { - javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat; - - result+= "" + - ""; - } - - result+= "
" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "" + rStat.getCurrent () + "" + rStat.getLowWaterMark () + "" + rStat.getHighWaterMark() + "
" + start + "" + lastSample + " "; - - return result; - -} -%> - - - - -JBoss Management Console - Stateful Session Bean - - - - - - - - - -
-
-
-
-

Stateful Session Bean

-

Name

-

<%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)

-

EJB Module

-

<%=ejbModule %>

-

Bean Statistics:

-

 

-<% -if (ejb.isstatisticsProvider()) -{ -%> - - - - - - - - <% - javax.management.j2ee.statistics.StatefulSessionBeanStats stats = (javax.management.j2ee.statistics.StatefulSessionBeanStats)ejb.getstats (); -%> - <%=addStatRow (stats.getMethodReadyCount ()) %> - <%=addStatRow (stats.getCreateCount ()) %> - <%=addStatRow (stats.getRemoveCount ()) %> - <%=addStatRow (stats.getPassiveCount ()) %> - -
-

Name

-
-

Value

- - - - - - -
-

Current

-
-

Low

-
-

High

-
-
-

Start Time

-
-

Last Sample Time

-
-

Reset Stats / Refresh Stats

-<% -} -else -{ -%> -

none.

-<% -} -%> -

 

-

 

-

Invocation Statistics:

-

 

-<% - java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator(); - if (iterInvoc.hasNext()) - { - -%> - - - - - - - - - - - <% - while (iterInvoc.hasNext()) - { - java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next(); - org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue(); - %> - - - - - - - - - - <% - } - %> -
-

Method name

-
-

Min (ms)

-
-

Max (ms)

-
-

Average (ms)

-
-

Total (ms)

-
-

# Invocations

-
-

<%=((java.lang.reflect.Method)entry.getKey()).getName()%>

-
-

<%=stat.minTime%>

-
-

<%=stat.maxTime%>

-
-

<%=(float)stat.totalTime/(float)stat.count%>

-
-

<%=stat.totalTime%>

-
-

<%=stat.count%>

-
-

Reset Stats / Refresh Stats

-<% - } - else - { -%> -

none.

-<% - } -%> - -

 

-

Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)

-

 

-

 

-

 

-

View associated container MBean

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp deleted file mode 100644 index fbe4010a28..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/StatelessEjb.jsp +++ /dev/null @@ -1,228 +0,0 @@ -<%@ taglib uri="/webconsole" prefix="jb" %> - - -<% - String ejbName = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("name"); - String ejbModule = new javax.management.ObjectName(request.getParameter("ObjectName")).getKeyProperty ("EJBModule"); - String containerUrl = "jboss.j2ee:service=EJB,jndiName=" + ejbName; - containerUrl = java.net.URLEncoder.encode(containerUrl); - containerUrl = "../jmx-console/HtmlAdaptor?action=inspectMBean&name=" + containerUrl; - - org.jboss.invocation.InvocationStatistics invokeStats= container.getInvokeStats (); - - String doReset = request.getParameter("doReset"); - if (doReset != null && doReset.equals("true")) - { - ejb.resetStats (); - } - String doResetInvoc= request.getParameter("doResetInvoc"); - if (doResetInvoc!= null && doResetInvoc.equals("true")) - { - invokeStats.resetStats (); - } - - String resetUrl = response.encodeURL(request.getRequestURI()) + "?doReset=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String resetInvocUrl = response.encodeURL(request.getRequestURI()) + "?doResetInvoc=true&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + "&ObjectName=" + java.net.URLEncoder.encode(request.getParameter("ObjectName")); - org.jboss.metadata.BeanMetaData beanMetaData = container.getBeanMetaData(); - -%> -<%! -public String addStatRow (javax.management.j2ee.statistics.Statistic stat) -{ - String start = new java.util.Date(stat.getStartTime ()).toString (); - String lastSample = new java.util.Date(stat.getLastSampleTime ()).toString (); - - String result = "" + stat.getName() + " (unit: " + stat.getUnit () + ")" + - ""; - - if (stat instanceof javax.management.j2ee.statistics.CountStatistic) - { - result+= ""; - } - else if (stat instanceof javax.management.j2ee.statistics.RangeStatistic) - { - javax.management.j2ee.statistics.RangeStatistic rStat = (javax.management.j2ee.statistics.RangeStatistic)stat; - - result+= "" + - ""; - } - - result+= "
" + ((javax.management.j2ee.statistics.CountStatistic)stat).getCount() + "" + rStat.getCurrent () + "" + rStat.getLowWaterMark () + "" + rStat.getHighWaterMark() + "
" + start + "" + lastSample + " "; - - return result; - -} -%> - - - - -JBoss Management Console - Stateless Session Bean - - - - - - - - - -
-
-
-
-

Stateless Session Bean

-

Name

-

<%=beanMetaData.getEjbName()%> (JNDI: <%=ejbName%>)

-

EJB Module

-

<%=ejbModule %>

-

Bean Statistics:

-

 

-<% -if (ejb.isstatisticsProvider()) -{ -%> - - - - - - - - <% - javax.management.j2ee.statistics.StatelessSessionBeanStats stats = (javax.management.j2ee.statistics.StatelessSessionBeanStats)ejb.getstats (); -%> - <%=addStatRow (stats.getMethodReadyCount ()) %> - <%=addStatRow (stats.getCreateCount ()) %> - <%=addStatRow (stats.getRemoveCount ()) %> - -
-

Name

-
-

Value

- - - - - - -
-

Current

-
-

Low

-
-

High

-
-
-

Start Time

-
-

Last Sample Time

-
-

Reset Stats / Refresh Stats

-<% -} -else -{ -%> -

none.

-<% -} -%> -

 

-

 

-

Invocation Statistics:

-

 

-<% - java.util.Iterator iterInvoc = invokeStats.getStats().entrySet().iterator(); - if (iterInvoc.hasNext()) - { - -%> - - - - - - - - - - - <% - while (iterInvoc.hasNext()) - { - java.util.Map.Entry entry = (java.util.Map.Entry) iterInvoc.next(); - org.jboss.invocation.InvocationStatistics.TimeStatistic stat = (org.jboss.invocation.InvocationStatistics.TimeStatistic) entry.getValue(); - %> - - - - - - - - - - <% - } - %> -
-

Method name

-
-

Min (ms)

-
-

Max (ms)

-
-

Average (ms)

-
-

Total (ms)

-
-

# Invocations

-
-

<%=((java.lang.reflect.Method)entry.getKey()).getName()%>

-
-

<%=stat.minTime%>

-
-

<%=stat.maxTime%>

-
-

<%=(float)stat.totalTime/(float)stat.count%>

-
-

<%=stat.totalTime%>

-
-

<%=stat.count%>

-
-

Reset Stats / Refresh Stats

-<% - } - else - { -%> -

none.

-<% - } -%> - -

 

-

Actual concurrent invocations: <%=invokeStats.concurrentCalls%> (max: <%=invokeStats.maxConcurrentCalls%>)

-

 

-

 

-

 

-

View associated container MBean

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp deleted file mode 100644 index 20ea078bdc..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/SysProperties.jsp +++ /dev/null @@ -1,55 +0,0 @@ - - - - -JBoss Management Console - System Properties - - - - - - - -
-
-
-
-

JBoss™ System Properties

-

 

- - -<% - java.util.Properties props = System.getProperties (); - java.util.Iterator iter = props.keySet().iterator(); - - while (iter.hasNext()) - { - String key = (String)iter.next(); - String value = props.getProperty (key); -%> - - - - -<% - } -%> - -
<%=key%> <%=value%> 
-

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Topic.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Topic.jsp deleted file mode 100644 index f183ea3e12..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/Topic.jsp +++ /dev/null @@ -1,114 +0,0 @@ -<%@ page import="java.net.URLEncoder, - org.jboss.mq.*, - org.jboss.mq.server.*" -%> -<%@ taglib uri="/webconsole" prefix="jb" %> - -<% - String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter; -%> - - - - - -JBoss Management Console - JMS Topic - - - - - - - - - -
- - -
-
- - - - - - - -
- - - -
-

Name

-

<%=topic.getTopicName()%>

-

JNDI Name

-

<%=topic.getJNDIName()%>

-

Message statistics:

- - - - - - - - - - - - - -
-

All Message Count:

-
-

Durable Message Count:

-
-

Non Durable Message Count:

-
-

Maximum Depth:

-
<%=topic.getAllMessageCount()%><%=topic.getDurableMessageCount()%><%=topic.getNonDurableMessageCount()%><%=topic.getMaxDepth()%>
-

 

-

 

-

Subscription statistics:

- - - - - - - - - - - -
-

All Subscriptions Count:

-
-

Durable Subcriptions Count

-
-

Non Durable Subscriptions Count:

-
<%=topic.getAllSubscriptionsCount()%><%=topic.getDurableSubscriptionsCount()%><%=topic.getNonDurableSubscriptionsCount()%>
-

Refresh

-

 

-

 

- -
-

-
-
- - - -
- -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp deleted file mode 100644 index b481c0c0b7..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicNavigation.jsp +++ /dev/null @@ -1,9 +0,0 @@ -<%@ page import="java.net.URLEncoder" %> -<%@ taglib uri="/webconsole" prefix="jb" %> -<% - String objParameter = "ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName")); -%> -"> - " /> - " /> - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp deleted file mode 100644 index 89eb38ed95..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/TopicSubscriptions.jsp +++ /dev/null @@ -1,108 +0,0 @@ -<%@ page import="java.net.URLEncoder, - org.jboss.mq.*, - org.jboss.mq.server.*, - java.util.*, - java.text.DateFormat" -%> -<%@ taglib uri="/webconsole" prefix="jb" %> - -<% - String objParameter = "&ObjectName=" + URLEncoder.encode(request.getParameter("ObjectName")); - String myUrl = response.encodeURL(request.getRequestURI()) + "?" + objParameter; - - MessageCounter[] counter = topic.getMessageCounter(); - DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.MEDIUM); -%> - - - - - -JBoss Management Console - JMS Topic - - - - - - - - - -
- - -
-
- - - - - - - -
- - - -
-

Name

-

<%=topic.getTopicName()%>

-

Subscriptions:

- - - - - - - - -<% for(int i = 0; i < counter.length; i++) -{ - String lastModified = "N/A"; - if (counter[i].getLastUpdate() > 0) - { - lastModified = dateFormat.format(new Date(counter[i].getLastUpdate())); - } -%> - - - - - - - -<%}%> -
-

Subscription Name:

-
-

Durable:

-
-

Message Count:

-
-

Message Count Delta:

-
-

Last Message Add Date:

-
 <%=counter[i].getDestinationSubscription()%> <%=counter[i].getDestinationDurable()%><%=counter[i].getDepth()%><%=counter[i].getDepthDelta()%><%=lastModified%>
-

Refresh

-

 

-

 

-
-

-
-
- - - -
- -
- - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh deleted file mode 100644 index 438489760f..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/Classloaders.bsh +++ /dev/null @@ -1,83 +0,0 @@ -import org.jboss.console.manager.interfaces.*; -import org.jboss.console.manager.interfaces.impl.*; -import org.jboss.console.plugins.*; -import org.jboss.console.plugins.helpers.*; - -import javax.management.*; - - String getVersion (PluginContext ctx) - { - return "0.0a"; - } - - String getName (PluginContext ctx) - { - return "UCL lister"; - } - - ResourceTreeNode createUCLSubResource (PluginContext ctx, ObjectInstance instance) - { - String uclName = instance.getObjectName().getKeyProperty ("UCL"); - TreeNodeMenuEntry[] menus = ctx.createMenus (new String[] - { - "Before for UCL="+uclName, "before.html&ucl="+uclName, - null, - "After", "test.html" - }); - - return ctx.createResourceNode ( - "UCL " + uclName, // name - "UCL with id " + uclName, // description - "arrow.gif", // Icon URL - "mapage&ucl=" + uclName, // Default URL - menus, - null, - null, - instance.getObjectName().toString(), - instance.getClassName () ); - } - - ResourceTreeNode[] createUCLSubResources (PluginContext ctx) - { - ObjectInstance[] insts = - ctx.getMBeansForClass("jmx.loading:*", - "org.jboss.mx.loading.UnifiedClassLoader2"); - ctx.getLogger().info("TAILLE: " + insts.length); - ResourceTreeNode[] result = new ResourceTreeNode[10];//[insts.length]; - for (int i=0; i - - - - - - - - - jboss.admin:service=PluginManager - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld deleted file mode 100644 index 5baeb3a20e..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/tlds/webconsole.tld +++ /dev/null @@ -1,64 +0,0 @@ - - - - - 1.0 - 1.1 - webconsole - - - mbean - org.jboss.console.plugins.helpers.servlet.MBeanTag - org.jboss.console.plugins.helpers.servlet.MBeanTagExtraInfo - JSP - Returns a proxy to an MBean reading the "ObjectName" query parameter - - mbean - false - true - - - intf - true - true - - - id - true - false - - - - - navigation - org.jboss.console.plugins.helpers.servlet.NavigationTag - JSP - - selectedTabName - false - true - - - - - tab - org.jboss.console.plugins.helpers.servlet.TabTag - JSP - - name - true - true - - - href - true - - - selected - true - - - - \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml deleted file mode 100644 index 18d89ecb6d..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WEB-INF/web.xml +++ /dev/null @@ -1,356 +0,0 @@ - - - - - Web Admin Console - - J2EEFolder - org.jboss.console.plugins.helpers.ServletPluginHelper - - ScriptName - J2EEFolder.bsh - - - IsRootNode - true - - - ContextName - /web-console - - 1 - - - - SystemFolder - org.jboss.console.plugins.helpers.ServletPluginHelper - - ScriptName - SystemFolder.bsh - - - IsRootNode - true - - - ContextName - /web-console - - 1 - - - - MonitorsFolder - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.MonitorLister - - - IsRootNode - true - - - ContextName - /web-console - - 1 - - - - AOPFolder - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.AOPLister - - - IsRootNode - true - - - ContextName - /web-console - - 1 - - - - JMS Message - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.JMSLister - - - MBeanClass - org.jboss.management.j2ee.JMSResource - - - ContextName - /web-console - - 1 - - - - - - UCLs - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.UCLLister - - - FolderName - ROOT/System - - - ContextName - /web-console - - 1 - - - - MBeans - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.MBeansLister - - - FolderName - ROOT/System - - - ContextName - /web-console - - 1 - - - - JSR77 Domains and Servers - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.JSR77Lister - - - FolderName - ROOT/J2EE - - - ContextName - /web-console - - 1 - - - - JSR77 EJBModules and EJBs - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.EJBModuleLister - - - MBeanClass - org.jboss.management.j2ee.EJBModule - - - ContextName - /web-console - - 1 - - - - JSR77 J2EE Apps - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.J2EEAppLister - - - MBeanClass - org.jboss.management.j2ee.J2EEApplication - - - ContextName - /web-console - - 1 - - - - JSR77 WebModule - org.jboss.console.plugins.helpers.ServletPluginHelper - - WrapperClass - org.jboss.console.plugins.WebModuleLister - - - MBeanClass - org.jboss.management.j2ee.WebModule - - - ContextName - /web-console - - 1 - - - - HTTP Invocation - org.jboss.console.remote.InvokerServlet - 1 - - - - Create Snapshot - org.jboss.console.plugins.monitor.CreateSnapshotServlet - 1 - - - - Manage Snapshot - org.jboss.console.plugins.monitor.ManageSnapshotServlet - 1 - - - - Create Threshold Monitor - org.jboss.console.plugins.monitor.CreateThresholdMonitorServlet - 1 - - - - Manage Threshold Monitor - org.jboss.console.plugins.monitor.ManageThresholdMonitorServlet - 1 - - - - Create String Threshold Monitor - org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet - 1 - - - - Manage String Threshold Monitor - org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet - 1 - - - - Clear Monitor Alerts - org.jboss.console.plugins.monitor.ClearMonitorAlertsServlet - 1 - - - - Status Servlet - org.jboss.web.tomcat.tc5.StatusServlet - - - - Status Servlet - /status - - - - HTTP Invocation - /Invoker/* - - - - Create Snapshot - /CreateSnapshot - - - - Manage Snapshot - /ManageSnapshot - - - - Create Threshold Monitor - /CreateThresholdMonitor - - - - Manage Threshold Monitor - /ManageThresholdMonitor - - - - Create String Threshold Monitor - /CreateStringThresholdMonitor - - - - Manage String Threshold Monitor - /ManageStringThresholdMonitor - - - - Clear Monitor Alerts - /ClearMonitorAlerts - - - - /webconsole - /WEB-INF/tlds/webconsole.tld - - - - - - BASIC - JBoss WEB Console - - - - JBossAdmin - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp deleted file mode 100644 index ce860d42d1..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/WebModule.jsp +++ /dev/null @@ -1,102 +0,0 @@ -<%@ page import="javax.management.ObjectName"%> - <%-- - | - | Author: Sacha Labourey (sacha@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<%@ taglib uri="/webconsole" prefix="jb" %> - - - - - -JBoss Management Console - Web Module - - - - - - - - - -
-
-
-
-

Web Module: '<%=new ObjectName(webModule.getobjectName()).getKeyProperty("name")%>'

-

 

- - - - - - - - -
-

Servlets

-
-

This Web Module is composed of the following Servlets:

- <% - String[] namesStr = webModule.getservlets(); - ObjectName[] names = null; - if (namesStr != null) { - names = new ObjectName[namesStr.length]; - for (int i = 0; i < namesStr.length; i++) { - names[i] = new ObjectName(namesStr[i]); - } - } - if (names != null) - %> -
    - <% - for (int i = 0; i < names.length; i++) - { - %> -
  • -

    <%=names[i].getKeyProperty("name")%>

    -
  • - <% - } - %> -
-

Number of Servlets: <%=(names!=null?names.length:0)%>

-
-

 

- - - - - - - - -
-

Deployment - Descriptor

-
-                    <%=org.jboss.console.plugins.helpers.servlet.ServletHelper.filter(webModule.getdeploymentDescriptor())%>
-                    
-
-

 

-

 

-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/applet.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/applet.jsp deleted file mode 100644 index 57ece06565..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/applet.jsp +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - -

- - - - - - -

- - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp deleted file mode 100644 index 41e1bbbd9c..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createSnapshot.jsp +++ /dev/null @@ -1,98 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% - String error = (String)request.getAttribute("error"); - String attribute = request.getParameter("attribute"); - if (attribute == null) attribute = ""; - String monitorName = request.getParameter("monitorName"); - if (monitorName == null) monitorName = attribute + " Snapshot"; - String objectName = request.getParameter("objectName"); - if (objectName == null) objectName = ""; - String period = request.getParameter("period"); - if (period == null) period = ""; - String maxSize = request.getParameter("maxSize"); - if (maxSize == null) maxSize = ""; -%> - - - - -JBoss Management Console - Create Snapshot - - - - - - - - - -
-
-
-
-

Create Snapshot MBean Monitor

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
Time PeriodHow often should threshold be tested.
- -
-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp deleted file mode 100644 index 47db044c40..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitor.jsp +++ /dev/null @@ -1,173 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - String error = (String)request.getAttribute("error"); - String monitorName = request.getParameter("monitorName"); - if (monitorName == null) monitorName = ""; - String objectName = request.getParameter("objectName"); - if (objectName == null) objectName = ""; - String attribute = request.getParameter("attribute"); - if (attribute == null) attribute = ""; - String threshold = request.getParameter("threshold"); - if (threshold == null && objectName != null && attribute != null) - { - threshold = (String)mbeanServer.getAttribute(new ObjectName(objectName), attribute); - } - else if (threshold == null) threshold = ""; - - String period = request.getParameter("period"); - if (period == null) period = ""; - String equality = request.getParameter("equality"); - if (equality == null) equality = ""; - else equality = "checked"; - String enabled = request.getParameter("enabled"); - if (enabled == null) enabled = ""; - else enabled = "checked"; - String[] alertStrings = request.getParameterValues("alerts"); - HashSet alertSet = null; - if (alertStrings != null) - { - alertSet = new HashSet(); - for (int i = 0; i < alertStrings.length; i++) - { - alertSet.add(alertStrings[i]); - } - } - - - -%> - - - - -JBoss Management Console - Create String Threshold Monitor - - - - - - - - - -
-
-
-
-

Create String Threshold MBean Monitor

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Equality Trigger>Uncheck this box if you want an alert to trigger when attribute changes from threshold value
PersistedShould this monitor be created for next JBoss reboot?
Enable Monitor>Should this monitor be enabled.
Alerts -<% - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set alerts = mbeanServer.queryNames(null, queryExp); - if (alerts.size() > 0) - { -%> - - - Alert Listeners to trigger.
- -
-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp deleted file mode 100644 index 1fdbaae43f..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createStringThresholdMonitorSummary.jsp +++ /dev/null @@ -1,154 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% - String monitorName = request.getParameter("monitorName"); - if (monitorName == null) monitorName = ""; - String objectName = request.getParameter("objectName"); - if (objectName == null) objectName = ""; - String attribute = request.getParameter("attribute"); - if (attribute == null) attribute = ""; - String threshold = request.getParameter("threshold"); - if (threshold == null) threshold = ""; - String period = request.getParameter("period"); - if (period == null) period = ""; - String equality = request.getParameter("equality"); - if (equality == null) equality = ""; - else equality = "checked"; - String enabled = request.getParameter("enabled"); - if (enabled == null) enabled = ""; - else enabled = "checked"; - String[] alertStrings = request.getParameterValues("alerts"); - HashSet alertSet = null; - if (alertStrings != null) - { - alertSet = new HashSet(); - for (int i = 0; i < alertStrings.length; i++) - { - alertSet.add(alertStrings[i]); - } - } - - - -%> - - - - -JBoss Management Console - Create String Monitor Summary - - - - - - - - - -
-
-
-
-

String MBean Monitor Created

-

 

-

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Equality Trigger>Uncheck this box if you want an alert to trigger when attribute changes from threshold value
Enable Monitor>Should this monitor be enabled.
Alerts -<% - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set alerts = mbeanServer.queryNames(null, queryExp); - if (alerts.size() > 0) - { -%> - - - Alert Listeners to trigger.
- -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp deleted file mode 100644 index 15e9962641..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitor.jsp +++ /dev/null @@ -1,171 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% - String error = (String)request.getAttribute("error"); - String monitorName = request.getParameter("monitorName"); - if (monitorName == null) monitorName = ""; - String objectName = request.getParameter("objectName"); - if (objectName == null) objectName = ""; - String attribute = request.getParameter("attribute"); - if (attribute == null) attribute = ""; - String threshold = request.getParameter("threshold"); - if (threshold == null) threshold = ""; - String period = request.getParameter("period"); - if (period == null) period = ""; - String compare = request.getParameter("compare"); - if (compare == null) compare = "gt"; - String enabled = request.getParameter("enabled"); - if (enabled == null) enabled = ""; - String[] alertStrings = request.getParameterValues("alerts"); - HashSet alertSet = null; - if (alertStrings != null) - { - alertSet = new HashSet(); - for (int i = 0; i < alertStrings.length; i++) - { - alertSet.add(alertStrings[i]); - } - } - - - -%> - - - - -JBoss Management Console - Server Information - - - - - - - - - -
-
-
-
-

Create Threshold MBean Monitor

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Comparison Equation - Boolean expression to use when testing threshold hit.
PersistedShould this monitor be created for next JBoss reboot?
Enable Monitor>Should this monitor be enabled.
Alerts -<% - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set alerts = mbeanServer.queryNames(null, queryExp); - if (alerts.size() > 0) - { -%> - - - Alert Listeners to trigger.
- -
-
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp deleted file mode 100644 index b3ca7ca247..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/createThresholdMonitorSummary.jsp +++ /dev/null @@ -1,157 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% - String monitorName = request.getParameter("monitorName"); - if (monitorName == null) monitorName = ""; - String objectName = request.getParameter("objectName"); - if (objectName == null) objectName = ""; - String attribute = request.getParameter("attribute"); - if (attribute == null) attribute = ""; - String threshold = request.getParameter("threshold"); - if (threshold == null) threshold = ""; - String period = request.getParameter("period"); - if (period == null) period = ""; - String compare = request.getParameter("compare"); - if (compare == null) compare = "gt"; - String enabled = request.getParameter("enabled"); - if (enabled == null) enabled = ""; - String[] alertStrings = request.getParameterValues("alerts"); - HashSet alertSet = null; - if (alertStrings != null) - { - alertSet = new HashSet(); - for (int i = 0; i < alertStrings.length; i++) - { - alertSet.add(alertStrings[i]); - } - } - - - -%> - - - - -JBoss Management Console - Server Information - - - - - - - - - -
-
-
-
-

Threshold MBean Monitor Created

-

 

-

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Comparison Equation - Boolean expression to use when testing threshold hit.
Enable Monitor>Should this monitor be enabled.
Alerts -<% - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set alerts = mbeanServer.queryNames(null, queryExp); - if (alerts.size() > 0) - { -%> - - - Alert Listeners to trigger.
- -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/dtree.css b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/dtree.css deleted file mode 100644 index ccc20f8c35..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/dtree.css +++ /dev/null @@ -1,34 +0,0 @@ -/*--------------------------------------------------| -| dTree 2.05 | www.destroydrop.com/javascript/tree/ | -|---------------------------------------------------| -| Copyright (c) 2002-2003 Geir Landrö | -|--------------------------------------------------*/ - -.dtree { - font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; - font-size: 11px; - color: #666; - white-space: nowrap; -} -.dtree img { - border: 0px; - vertical-align: middle; -} -.dtree a { - color: #333; - text-decoration: none; -} -.dtree a.node, .dtree a.nodeSel { - white-space: nowrap; - padding: 1px 2px 1px 2px; -} -.dtree a.node:hover, .dtree a.nodeSel:hover { - color: #333; - text-decoration: underline; -} -.dtree a.nodeSel { - background-color: #c0d2ec; -} -.dtree .clip { - overflow: hidden; -} \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/jboss.css b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/jboss.css deleted file mode 100644 index 84f845616f..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/css/jboss.css +++ /dev/null @@ -1,232 +0,0 @@ -body { - margin: 13px 0px 10px 0px; - background-color: #ffffff; - font-size: 10px; - font-family: verdana, arial, "sans-serif"; - color: #606060; - } -img { - border: 0px; - } -#header { - background-color: #FF7A22; - background-image: url('header_bg.jpg'); - background-repeat: no-repeat; - background-position: 226px 0px; - width: 100%; - height: 80px - } -#header #banner { - float: right; - margin: 8px 5px 0px 0px; - } -#logo { - position: absolute; - top: 4px; - left: 4px; - z-index: 200; -} -#navigation_bar { - background-color: #f0f0f0; - border-bottom: 1px dotted #999999; - height: 20px; - } -#items { - font-size: 12px; - width: 600px; - margin: 5px 5px 5px 170px; - position: relative; - z-index: 300; - } -#items .item { - margin-right: 10px; - } -.side_block { - margin: 15px 5px 10px 5px; - background-color: #fbfbfb; - border: 1px solid #f0f0f0; - } -.side_block h3 { - font-size: 11px; - font-weight: 100; - width: 100%; - margin: 0px 0px 5px 0px; - padding: 4px 4px 4px 10x; - background-color: #f0f0f0; - } -.side_block h4 { - font-size: 11px; - color: #FF7A22; - font-weight: bold; - margin: 10px 5px 4px 5px; - } -.side_block p { - margin: 5px 5px 3px 5px; - } -.side_block form { - margin: 0px 0px 0px 5px; - } -.side_block #login { - font-size: 9px; - } -.side_block p img { - text-align: center; - } -#content { - width: 90%; - margin: 10px auto; - } -#left { - float: left; - width: 14%; - } -#right { - float: right; - width: 14%; - } -.content_block { - text-align: justify; - border: 1px solid #999999; - margin: 5px; - width: 31%; - float: left; - } -.content_block p { - margin: 0px 5px 3px 5px; - } -.content_block h3 { - font-size: 11px; - font-weight: bold; - color: #000000; - margin: 0px 0px 5px 0px; - padding: 4px 4px 4px 4x; - text-align: center; - background-color: #f0f0f0; - border-bottom: 1px solid #999999 - } -.content_block h4 { - font-size: 11px; - color: #FF7A22; - text-align: left; - font-weight: bold; - margin: 10px 5px 4px 5px; - } -#footer { - clear: both; - border-top: 1px dotted #999999; - } -#credits { - background-color: #f0f0f0; - padding: 5px; - text-align: center; - } -#footer_bar { - height: 20px; - width: 100%; - background-color: #FF7A22; - } -.hide { - display: none; - } -.spacer { - clear: both; - } -.spacer hr { - display: none; - } -.center { - text-align: center; - } -#youcandoit { - background-image: url('youcandoit.jpg'); - background-repeat: repeat-x; - height: 165px; - margin: 0px 30px; - } -.data_table { - font-size: 10px; - font-family: verdana, arial, "sans-serif"; - margin: 5px; - border-collapse: collapse; -} -.data_table h2 { - font-size: 11px; - margin: 5px 5px 5px 5px; - text-align: center -} -.data_table h4 { - font-size: 11px; - color: #FF7A22; - margin: 5px 5px 5px 5px; - text-align: center -} - -.container { - border-top-width: 0px; - border-right: 1px solid #CCCCCC; - border-left: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - text-align: justify; - margin: 5px; - float: left; -} - -.container p { - font-size: 10px; - font-family: verdana, arial, "sans-serif"; - margin: 0px 5px 3px 5px; -} - -.container h3 { - font-size: 11px; - font-weight: bold; - color: #000000; - margin: 0px 0px 5px 0px; - padding: 4px 4px 4px 4x; - text-align: center; - background-color: #f0f0f0; - border-bottom: 1px solid #999999 -} - -.container h4 { - font-size: 11px; - color: #FF7A22; - text-align: left; - font-weight: bold; - margin: 10px 5px 4px 5px; -} - -.tabSpacer { - border-bottom: 1px solid #CCCCCC; -} -.tabSpacer p { - margin: 0px; -} -.tab { - border-top: 1px solid #CCCCCC; - border-right: 1px solid #CCCCCC; - border-left: 1px solid #CCCCCC; -} -.tabOff { - border-top: 1px solid #CCCCCC; - border-right: 1px solid #CCCCCC; - border-left: 1px solid #CCCCCC; - border-bottom: 1px solid #CCCCCC; - background-color: #F0F0F0; -} - -.tab p, .tabOff p { - padding: 6px 8px; - margin: 0px; - font-size: 11px; - font-weight: bold; - -} - -.tab p a, .tabOff p a { - text-decoration: none; - color: #000000; -} -.tab p a:hover, .tabOff p a:hover { - color: #666666; -} \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/dtree.js b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/dtree.js deleted file mode 100644 index c82d4661fd..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/dtree.js +++ /dev/null @@ -1,347 +0,0 @@ -/*--------------------------------------------------| -| dTree 2.05 | www.destroydrop.com/javascript/tree/ | -|---------------------------------------------------| -| Copyright (c) 2002-2003 Geir Landrö | -| | -| This script can be used freely as long as all | -| copyright messages are intact. | -| | -| Updated: 17.04.2003 | -|--------------------------------------------------*/ - -// Node object -function Node(id, pid, name, url, title, target, icon, iconOpen, open) { - this.id = id; - this.pid = pid; - this.name = name; - this.url = url; - this.title = title; - this.target = target; - this.icon = icon; - this.iconOpen = iconOpen; - this._io = open || false; - this._is = false; - this._ls = false; - this._hc = false; - this._ai = 0; - this._p; -}; - -// Tree object -function dTree(objName) { - this.config = { - target : null, - folderLinks : true, - useSelection : true, - useCookies : true, - useLines : true, - useIcons : true, - useStatusText : false, - closeSameLevel : false, - inOrder : false - } - this.icon = { - root : 'img/base.gif', - folder : 'img/folder.gif', - folderOpen : 'img/folderopen.gif', - node : 'img/page.gif', - empty : 'img/empty.gif', - line : 'img/line.gif', - join : 'img/join.gif', - joinBottom : 'img/joinbottom.gif', - plus : 'img/plus.gif', - plusBottom : 'img/plusbottom.gif', - minus : 'img/minus.gif', - minusBottom : 'img/minusbottom.gif', - nlPlus : 'img/nolines_plus.gif', - nlMinus : 'img/nolines_minus.gif' - }; - this.obj = objName; - this.aNodes = []; - this.aIndent = []; - this.root = new Node(-1); - this.selectedNode = null; - this.selectedFound = false; - this.completed = false; -}; - -// Adds a new node to the node array -dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open) { - this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open); -}; - -// Open/close all nodes -dTree.prototype.openAll = function() { - this.oAll(true); -}; -dTree.prototype.closeAll = function() { - this.oAll(false); -}; - -// Outputs the tree to the page -dTree.prototype.toString = function() { - var str = '
\n'; - if (document.getElementById) { - if (this.config.useCookies) this.selectedNode = this.getSelected(); - str += this.addNode(this.root); - } else str += 'Browser not supported.'; - str += '
'; - if (!this.selectedFound) this.selectedNode = null; - this.completed = true; - return str; -}; - -// Creates the tree structure -dTree.prototype.addNode = function(pNode) { - var str = ''; - var n=0; - if (this.config.inOrder) n = pNode._ai; - for (n; n'; - } - if (node.url) { - str += ''; - str += node.name; - if (node.url || ((!this.config.folderLinks || !node.url) && node._hc)) str += ''; - str += '
'; - if (node._hc) { - str += '
'; - str += this.addNode(node); - str += '
'; - } - this.aIndent.pop(); - return str; -}; - -// Adds the empty and line icons -dTree.prototype.indent = function(node, nodeId) { - var str = ''; - if (this.root.id != node.pid) { - for (var n=0; n'; - (node._ls) ? this.aIndent.push(0) : this.aIndent.push(1); - if (node._hc) { - str += ''; - } else str += ''; - } - return str; -}; - -// Checks if a node has any children and if it is the last sibling -dTree.prototype.setCS = function(node) { - var lastId; - for (var n=0; n - - -Administration Console - - - - - - - <body> - - <p>Please use a frame-capable browser.</p> - - </body> - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp deleted file mode 100644 index 5c559c3aec..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/listMonitors.jsp +++ /dev/null @@ -1,142 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet, - java.util.ArrayList"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% -try -{ -%> - - - - -JBoss Management Console - Manage Monitor - - - - - - - - - -
-
-
-
-

Monitors and Monitor Status

-

 

- - - - - - - - -<% - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.JBossMonitorMBean"); - Set monitors = mbeanServer.queryNames(null, queryExp); - Iterator mbeans = monitors.iterator(); - boolean someAlertSet = false; - while (mbeans.hasNext()) - { - ObjectName moname = (ObjectName)mbeans.next(); - String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName"); - ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject"); - String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute"); - boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue(); - - Object[] args = {"monitors", monitorName, "-service.xml"}; - String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"}; - Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature); - boolean persisted = ((Boolean)rtn).booleanValue(); - - Object[] nullArgs = {}; - String[] nullSig = {}; - boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue(); - if (alerted) someAlertSet = true; - String color = "black"; - if (!enabled) color = "grey"; - String status = ""; - if (alerted) - { - status = "ALERT"; - } - else if (!enabled) - { - status = "disabled"; - } - else - { - status = "OK"; - } - String link = null; - if (persisted) - { - link = "manageThresholdMonitor.jsp?monitorObjectName=" + java.net.URLEncoder.encode(moname.toString()); - } - else - { - link = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(moname.toString()); - } - String observedMbeanLink = "/jmx-console/HtmlAdaptor?action=inspectMBean&name=" + java.net.URLEncoder.encode(observedObject.toString()); -%> - - - - - - - -<% - } - %> -
StatusMonitor NameObserved MBeanObserved Attribute 
<%=status%><%=monitorName%><%=observedObject.toString()%><%=attribute%>manage
-<% - if (someAlertSet) - { -%> -
- -
-<% - } -} -catch (Exception ex) -{ - %> ERROR in parsing <% - ex.printStackTrace(); -} -%> -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp deleted file mode 100644 index 56ba607ebb..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageSnapshot.jsp +++ /dev/null @@ -1,132 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet, - java.util.ArrayList"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% -try -{ - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - String error = (String)request.getAttribute("error"); - ObjectName moname = null; - String monitorName = null; - String monitorObjectName = request.getParameter("monitorObjectName"); - /* - if (monitorObjectName == null) // if we're being routed via - { - monitorName = (String)request.getAttribute("monitorName"); - moname = new ObjectName("jboss.snapshot:name=" + monitorName); - } - */ - moname = new ObjectName(monitorObjectName); - monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName"); - ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject"); - String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute"); - Long period = (Long)mbeanServer.getAttribute(moname, "Period"); - boolean recording = ((Boolean)mbeanServer.getAttribute(moname, "Recording")).booleanValue(); -%> - - - - -JBoss Management Console - Manage Snapshot - - - - - - - - - -
-
-
-
-

Manage Snapshot

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Monitor's Object NameThe MBean javax.management.ObjectName
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
Time PeriodHow often should threshold be tested.
-<% if (recording) - { -%> - -<% } else {%> - -<% } %> - - - - -
-<% -} -catch (Exception ex) -{ - %> ERROR <% - ex.printStackTrace(); -} -%> -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp deleted file mode 100644 index 57921f75f9..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageStringThresholdMonitor.jsp +++ /dev/null @@ -1,199 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet, - java.util.ArrayList"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% -try -{ - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - String error = (String)request.getAttribute("error"); - String monitorObjectName = request.getParameter("monitorObjectName"); - ObjectName moname = new ObjectName(monitorObjectName); - String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName"); - ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject"); - String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute"); - String threshold = (String)mbeanServer.getAttribute(moname, "Threshold"); - Long period = (Long)mbeanServer.getAttribute(moname, "Period"); - boolean equality = ((Boolean)mbeanServer.getAttribute(moname, "EqualityTriggersAlert")).booleanValue(); - boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue(); - ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners"); - - Object[] args = {"monitors", monitorName, "-service.xml"}; - String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"}; - Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature); - boolean persisted = ((Boolean)rtn).booleanValue(); - - Object[] nullArgs = {}; - String[] nullSig = {}; - boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue(); - Object triggeredValue = null; - if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue"); - String color = alerted ? "red" : "green"; - -%> - - - - -JBoss Management Console - Manage Monitor - - - - - - - - - -
-
-
-
-

Manage String MBean Monitor

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - - -<% - if (alerted) - { -%> - - - - - -<% } %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Monitor's Object NameThe MBean javax.management.ObjectName
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
Triggered ValueThe attribute value the triggered the threshold.
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Persist ChangesShould changes be reflected in deployment file.
Equality Trigger>Uncheck this box if you want an alert to trigger when attribute changes from threshold value
Enable Monitor>Should this monitor be enabled.
Alerts -<% - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set allAlertTypes = mbeanServer.queryNames(null, queryExp); - - if (allAlertTypes.size() > 0) - { -%> - - - Alert Listeners to trigger.
- - -<% - if (alerted) - { -%> - -<% - } -%> -
-<% -} -catch (Exception ex) -{ - %> ERROR in parsing <% - ex.printStackTrace(); -} -%> -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp deleted file mode 100644 index 1b5229d2d1..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/manageThresholdMonitor.jsp +++ /dev/null @@ -1,204 +0,0 @@ -<%@ page import="javax.management.MBeanServer, - org.jboss.mx.util.MBeanServerLocator, - org.jboss.mx.util.InstanceOfQueryExp, - java.util.Set, - java.util.Iterator, - javax.management.ObjectInstance, - javax.management.ObjectName, - java.util.HashSet, - java.util.ArrayList"%> - <%-- - | - | Author: Bill Burke (bill@jboss.org) - | - | Distributable under LGPL license. - | See terms of license at gnu.org. - +--%> -<% -try -{ - MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); - String error = (String)request.getAttribute("error"); - String monitorObjectName = request.getParameter("monitorObjectName"); - ObjectName moname = new ObjectName(monitorObjectName); - String monitorName = (String)mbeanServer.getAttribute(moname, "MonitorName"); - ObjectName observedObject = (ObjectName)mbeanServer.getAttribute(moname, "ObservedObject"); - String attribute = (String)mbeanServer.getAttribute(moname, "ObservedAttribute"); - String threshold = (String)mbeanServer.getAttribute(moname, "Threshold"); - Long period = (Long)mbeanServer.getAttribute(moname, "Period"); - int compare = ((Integer)mbeanServer.getAttribute(moname, "CompareTo")).intValue(); - boolean enabled = ((Boolean)mbeanServer.getAttribute(moname, "Enabled")).booleanValue(); - ArrayList alerts = (ArrayList)mbeanServer.getAttribute(moname, "AlertListeners"); - - Object[] args = {"monitors", monitorName, "-service.xml"}; - String[] signature = {"java.lang.String", "java.lang.String", "java.lang.String"}; - Object rtn = mbeanServer.invoke(new ObjectName("jboss.admin:service=DeploymentFileRepository"), "isStored", args, signature); - boolean persisted = ((Boolean)rtn).booleanValue(); - - Object[] nullArgs = {}; - String[] nullSig = {}; - boolean alerted = ((Boolean)mbeanServer.invoke(moname, "alerted", nullArgs, nullSig)).booleanValue(); - Object triggeredValue = null; - if (alerted) triggeredValue = mbeanServer.getAttribute(moname, "TriggeredAttributeValue"); - String color = alerted ? "red" : "green"; - -%> - - - - -JBoss Management Console - Manage Monitor - - - - - - - - - -
-
-
-
-

Manage Threshold MBean Monitor

-

 

-<% - if (error != null) - { -%> -

<%=error%>

-<% - } -%> -
- - - - - - - - - - - - - - - - - - - - - - -<% - if (alerted) - { -%> - - - - - -<% } %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Monitor NameThe name of the monitor and how it will be references within web console
Monitor's Object NameThe MBean javax.management.ObjectName
Object NameThe MBean javax.management.ObjectName of the MBean you are monitoring
AttributeThe MBean Attribute you are monitoring
Triggered ValueThe attribute value the triggered the threshold.
ThresholdThe value that will trigger an alert when the Comparison Equation is reached for the attribute value
Time PeriodHow often should threshold be tested.
Comparison Equation - Boolean expression to use when testing threshold hit.
Persist ChangesShould changes be reflected in deployment file.
Enable Monitor>Should this monitor be enabled.
Alerts -<% - InstanceOfQueryExp queryExp = null; - queryExp = new InstanceOfQueryExp("org.jboss.monitor.alerts.JBossAlertListener"); - Set allAlertTypes = mbeanServer.queryNames(null, queryExp); - - if (allAlertTypes.size() > 0) - { -%> - - - Alert Listeners to trigger.
- - -<% - if (alerted) - { -%> - -<% - } -%> -
-<% -} -catch (Exception ex) -{ - %> ERROR in parsing <% - ex.printStackTrace(); -} -%> -
-

-
-
- - -
- - - - - diff --git a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/xform.xsl b/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/xform.xsl deleted file mode 100644 index 7a68ce6e41..0000000000 --- a/jboss/server/adempiere/deploy/management/console-mgr.sar/web-console.war/xform.xsl +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - Tomcat Status - - - -
Tomcat Status
- - - - - -
- - - - - - - - - - - - -
JVM:free: total: max:

-
- - - Connector --
- - - - -
- - - - - - - - - - -
threadInfo maxThreads: minSpareThreads: maxSpareThreads: currentThreadCount: currentThreadsBusy:

-
- - - - - - - - - - - -
requestInfo maxTime: processingTime: requestCount: errorCount: bytesReceived: bytesSent:

-
- - - - - - -
StageTimeB SentB RecvClientVHostRequest

-
- - - - - - - - - - ? - - - -
diff --git a/jboss/server/adempiere/deploy/monitoring-service.xml b/jboss/server/adempiere/deploy/monitoring-service.xml index 2eb08eaffb..f764a1ba75 100644 --- a/jboss/server/adempiere/deploy/monitoring-service.xml +++ b/jboss/server/adempiere/deploy/monitoring-service.xml @@ -1,107 +1,143 @@ - - - - - - - - - - - - - - - Console Alert - - - - - - - - - + + + + + + + + + + + + + + + Console Alert + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/properties-service.xml b/jboss/server/adempiere/deploy/properties-service.xml index a9d8c00dbd..2566b018e8 100644 --- a/jboss/server/adempiere/deploy/properties-service.xml +++ b/jboss/server/adempiere/deploy/properties-service.xml @@ -1,67 +1,67 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/schedule-manager-service.xml b/jboss/server/adempiere/deploy/schedule-manager-service.xml index 0e5e62d9e5..2b1570b6ff 100644 --- a/jboss/server/adempiere/deploy/schedule-manager-service.xml +++ b/jboss/server/adempiere/deploy/schedule-manager-service.xml @@ -1,98 +1,119 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/scheduler-service.xml b/jboss/server/adempiere/deploy/scheduler-service.xml index 6f3c53544c..e2350b1a80 100644 --- a/jboss/server/adempiere/deploy/scheduler-service.xml +++ b/jboss/server/adempiere/deploy/scheduler-service.xml @@ -1,52 +1,65 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/jboss/server/adempiere/deploy/sqlexception-service.xml b/jboss/server/adempiere/deploy/sqlexception-service.xml new file mode 100644 index 0000000000..ab78d85f03 --- /dev/null +++ b/jboss/server/adempiere/deploy/sqlexception-service.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/jboss/server/adempiere/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml b/jboss/server/adempiere/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml new file mode 100644 index 0000000000..5407275ab9 --- /dev/null +++ b/jboss/server/adempiere/deploy/uuid-key-generator.sar/META-INF/jboss-service.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + jboss:service=TransactionManager + + + + + jboss.jca:service=DataSourceBinding,name=DefaultDS + + + HILOSEQUENCES + + + SEQUENCENAME + + + HIGHVALUES + + + + create table HILOSEQUENCES (SEQUENCENAME varchar(50) not null, HIGHVALUES integer not null, constraint hilo_pk primary key (SEQUENCENAME)) + + + + + + true + + + false + + + + + HiLoKeyGeneratorFactory + + + general + + + 10 + + + + diff --git a/jboss/server/adempiere/lib/license.html b/jboss/server/adempiere/lib/license.html deleted file mode 100644 index f6aed87257..0000000000 --- a/jboss/server/adempiere/lib/license.html +++ /dev/null @@ -1,98 +0,0 @@ - - -BeanShell - Free Software License - - - - - - - - -
-Home
-Intro
-Docs
-Download
-Contact
-Developer
-License
-Beany - -

- -Learning Java -
- -Check out my book:
-Learning Java,
-O'Reilly & Associates -
-
-
-

- - - -

BeanShell Software License

-
- -BeanShell is a free software project. Its continued development depends -on the interest and support of users and developers like you. -

- -The source code is available for you to use and extend or integrate into your -software freely under either the terms of the Sun Public License or the -GNU Lesser Public License (see below). -

- -The "cost" of this software is simply to let us know how you are using -BeanShell. You can do this by filling out the -BeanShell User Info Form. -Please feel free to wait until you have started using BeanShell to do this. -

- -

Dual Licensing: Sun Public License / Gnu Lesser Public License

- -BeanShell is now dual licensed under both the SPL and LGPL. You may -use and develop BeanShell under either license. -

-More info coming soon... -

- -Please -see the Sun Public License for details. - -

About the LGPL

-Note: the LGPL has become the "Lesser Gnu Public License" and BeanShell -has adopted the new version... -

- -A quick note about the LGPL: -

< -The LGPL is less restrictive than the ordinary GNU Public License in that -it does not force you to distribute your own applications under the terms -of the GPL. It primarily requires that you include a notice that -you are using the software in your documentation and provide access to -the original source code. It also essentially requires that if you modify -or extend BeanShell itself that you make those changes available -separately, under the terms of either the LGPL or the GPL. I would -ask that you accomodate this by simply sending me your bug fixes and -improvement to allow me to incorporate them into the general bsh release. -Please -see the LGPL for the details. -

-If you have a more precise, brief explanation please let me know! -Thanks! - Pat -

- -Please also feel free to contact me: -(Pat Niemeyer pat@pat.net) -about other licensing arrangements. -

- -

- - - - diff --git a/jboss/worker.properties b/jboss/worker.properties deleted file mode 100644 index 3b70a70850..0000000000 --- a/jboss/worker.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Example $Id: worker.properties,v 1.1 2006/04/21 17:58:42 jjanke Exp $ -# http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html -# Define 1 real worker using ajp13 -# TOMCAT_HOME = $ADEMPIERE_HOME/jboss/server/adempiere - -worker.list=worker1 - -# Set properties for worker1 (ajp13) -worker.worker1.type=ajp13 -worker.worker1.host=localhost -worker.worker1.port=8009 -worker.worker1.lbfactor=50 -worker.worker1.cachesize=20 -worker.worker1.cache_timeout=600 -worker.worker1.socket_keepalive=1 -worker.worker1.socket_timeout=300 diff --git a/lib/adempiereAll.xml b/lib/adempiereAll.xml index ed0954de01..4a248814b8 100644 --- a/lib/adempiereAll.xml +++ b/lib/adempiereAll.xml @@ -1,20 +1,9 @@ - - - - Adempiere Applications - adempiere - - AdempiereSLib.jar - - - Adempiere.jar - - - adempiereApps.jar - + + + Adempiere Applications adempiereRoot.jar diff --git a/posterita/posterita/src/ear/application.xml b/posterita/posterita/src/ear/application.xml index 924d1f2574..5d4534ee8b 100644 --- a/posterita/posterita/src/ear/application.xml +++ b/posterita/posterita/src/ear/application.xml @@ -1,11 +1,9 @@ - - - - Web POS - webPOS + + + Adempiere Web POS AdempiereSLib.jar diff --git a/posterita/posterita/web/WEB-INF/web.xml b/posterita/posterita/web/WEB-INF/web.xml index 60154ea3f4..c6aed084aa 100644 --- a/posterita/posterita/web/WEB-INF/web.xml +++ b/posterita/posterita/web/WEB-INF/web.xml @@ -1,10 +1,9 @@ - - - + /C32.gif @@ -116,63 +115,7 @@ index.jsp - - - - - - /tags/struts-bean - /WEB-INF/struts-bean.tld - - - - /tags/struts-html - /WEB-INF/struts-html.tld - - - - /tags/struts-logic - /WEB-INF/struts-logic.tld - - - - /tags/struts-nested - /WEB-INF/struts-nested.tld - - - - /tags/struts-tiles - /WEB-INF/struts-tiles.tld - - - - - - ResponseOverrideFilter org.displaytag.filter.ResponseOverrideFilter diff --git a/serverApps/build.xml b/serverApps/build.xml index 49cb1edeba..0e52185bf9 100644 --- a/serverApps/build.xml +++ b/serverApps/build.xml @@ -34,9 +34,8 @@ - - - + + diff --git a/serverApps/src/ear/application.xml b/serverApps/src/ear/application.xml index ef49429873..d2ce2280be 100644 --- a/serverApps/src/ear/application.xml +++ b/serverApps/src/ear/application.xml @@ -1,11 +1,9 @@ - - - - Adempiere HTML Application - adempiereApps + + + Adempiere HTML Application AdempiereSLib.jar diff --git a/serverApps/src/etc/WEB-INF/web.xml b/serverApps/src/etc/WEB-INF/web.xml index 37cb983e88..6aab74a4d0 100644 --- a/serverApps/src/etc/WEB-INF/web.xml +++ b/serverApps/src/etc/WEB-INF/web.xml @@ -1,6 +1,8 @@ - - + Adempiere Application Adempiere Web Application $Id: web.xml,v 1.1 2006/04/21 18:03:35 jjanke Exp $ @@ -29,22 +31,18 @@ WAccount - Adempiere Account org.compiere.www.WAccount WChat - Adempiere Chat org.compiere.www.WChat WValuePreference - Adempiere Value Preference org.compiere.www.WValuePreference WZoom - Adempiere Zoom org.compiere.www.WZoom @@ -54,58 +52,44 @@ WFieldUpdate - Adempiere Field Update - Adempiere Field Update Command Window org.compiere.www.WFieldUpdate WLocation - Adempiere Location org.compiere.www.WLocation WLogin - Adempiere Login org.compiere.www.WLogin WLookup - Adempiere Lookup org.compiere.www.WLookup WMenu - Adempiere Menu org.compiere.www.WMenu WProcess - Adempiere Process org.compiere.www.WProcess WReport - Adempiere Report org.compiere.www.WReport WRequest - Requests - Adempiere Requets org.compiere.wstore.WRequest 10 WStart - Adempiere Start - Adempiere Start - Creates the windows required org.compiere.www.WStart 10 WStatus - Adempiere Status - Adempiere Status - First Servlet loaded org.compiere.www.WStatus StatusInfo @@ -115,18 +99,14 @@ WTask - Adempiere Task org.compiere.www.WTask WWindow - Adempiere Application Window - Adempiere Application Window org.compiere.www.WWindow WWorkflow - Adempiere Workflow org.compiere.www.WWorkflow @@ -212,12 +192,4 @@ 15 - - http://jakarta.apache.org/tomcat/debug-taglib - /store/debug-taglib.tld - - - http://jakarta.apache.org/tomcat/examples-taglib - /store/example-taglib.tld - diff --git a/serverApps/src/main/servlet/org/compiere/www/WProcessCtl.java b/serverApps/src/main/servlet/org/compiere/www/WProcessCtl.java index dfbf522983..03c1163ad6 100644 --- a/serverApps/src/main/servlet/org/compiere/www/WProcessCtl.java +++ b/serverApps/src/main/servlet/org/compiere/www/WProcessCtl.java @@ -371,12 +371,12 @@ public class WProcessCtl extends Thread if (server != null) { // See ServerBean log.info("running on the server"); - m_pi = server.workflow (m_wscctx, m_pi, AD_Workflow_ID); + m_pi = server.workflow (Env.getRemoteCallCtx(m_wscctx), m_pi, AD_Workflow_ID); log.finest("server => " + m_pi); started = true; } } - catch (RemoteException ex) + catch (Exception ex) { log.log(Level.SEVERE, "AppsServer error", ex); started = false; @@ -417,7 +417,7 @@ public class WProcessCtl extends Thread { if (server != null) { // See ServerBean - m_pi = server.process (m_wscctx, m_pi); + m_pi = server.process (Env.getRemoteCallCtx(m_wscctx), m_pi); log.finest("server => " + m_pi); started = true; } @@ -439,14 +439,6 @@ public class WProcessCtl extends Thread + m_pi, ex); started = false; } - catch (RemoteException ex) - { - Throwable cause = ex.getCause(); - if (cause == null) - cause = ex; - log.log(Level.SEVERE, "AppsServer error - " + m_pi, cause); - started = false; - } } // Run locally if (!started && !m_IsServerProcess) diff --git a/serverRoot/build.xml b/serverRoot/build.xml index 09d5445722..26db5d1726 100644 --- a/serverRoot/build.xml +++ b/serverRoot/build.xml @@ -9,10 +9,6 @@ - - - - @@ -28,39 +24,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -77,58 +46,20 @@ - + - - - - - - - - - - - - - - - - - - - + + + - + - - - - - - - - - Adempiere Root - adempiereRoot + + + Adempiere AdempiereSLib.jar diff --git a/serverRoot/src/main/ejb/jboss.xml b/serverRoot/src/main/ejb/jboss.xml new file mode 100644 index 0000000000..b9206efe4f --- /dev/null +++ b/serverRoot/src/main/ejb/jboss.xml @@ -0,0 +1,19 @@ + + + + + java:/jaas/adempiere + + + + adempiereStatus + adempiere/Status + + + adempiereServer + adempiere/Server + + + diff --git a/serverRoot/src/main/ejb/org/compiere/session/AdempiereLoginModule.java b/serverRoot/src/main/ejb/org/compiere/session/AdempiereLoginModule.java deleted file mode 100644 index c678b5e6c0..0000000000 --- a/serverRoot/src/main/ejb/org/compiere/session/AdempiereLoginModule.java +++ /dev/null @@ -1,138 +0,0 @@ -/****************************************************************************** - * Product: Adempiere ERP & CRM Smart Business Solution * - * Copyright (C) 2007 Adempiere, Inc. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - * - * Copyright (C) 2007 Low Heng Sin hengsin@avantz.com - * _____________________________________________ - *****************************************************************************/ -package org.compiere.session; - -import java.io.IOException; -import java.util.Map; - -import javax.security.auth.Subject; -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.NameCallback; -import javax.security.auth.callback.PasswordCallback; -import javax.security.auth.callback.UnsupportedCallbackException; -import javax.security.auth.login.LoginException; -import javax.security.auth.spi.LoginModule; - -import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; -import org.compiere.util.Login; -import org.jboss.security.SimpleGroup; -import org.jboss.security.SimplePrincipal; - -/** - * JAAS login module for adempiere - * @author Low Heng Sin - */ -public class AdempiereLoginModule implements LoginModule { - - private String unauthenticatedIdentity; - private CallbackHandler handler; - private Subject subject; - private KeyNamePair[] roles; - private String name; - - /** - * abort authentication process, reset state - */ - public boolean abort() throws LoginException { - roles = null; - name = null; - return true; - } - - /** - * commit/complete the authentication project, add identity and roles to subject. - */ - public boolean commit() throws LoginException { - //note that jboss require all user role to be put under the group Roles - if (roles == null || roles.length == 0) - { - //not authenticated or authentication failed - subject.getPrincipals().add(new SimplePrincipal(unauthenticatedIdentity)); - SimpleGroup roleGroup = new SimpleGroup("Roles"); - subject.getPrincipals().add(roleGroup); - } - else - { - subject.getPrincipals().add(new SimplePrincipal(name)); - SimpleGroup roleGroup = new SimpleGroup("Roles"); - //fixed role use in ejb deployment descriptor - roleGroup.addMember(new SimplePrincipal("adempiereUsers")); - //dynamic role loaded from db, can be use with isCallerInRole for - //additional security check - for(int i = 0; i < roles.length; i++) - { - roleGroup.addMember(new SimplePrincipal(roles[i].getName())); - } - subject.getPrincipals().add(roleGroup); - } - return true; - } - - /** - * Initialize the login module, get options from configuration - */ - public void initialize(Subject subject, CallbackHandler callbackHandler, - Map sharedState, Map options) { - unauthenticatedIdentity = (String)options.get("unauthenticatedIdentity"); - handler = callbackHandler; - this.subject = subject; - } - - /** - * Perform login process - */ - public boolean login() throws LoginException { - //get username and password from standard callback - Callback callbacks[] = new Callback[]{new NameCallback("Login:"), new PasswordCallback("Password:", false)}; - try { - handler.handle(callbacks); - } catch (IOException e) { - } catch (UnsupportedCallbackException e) { - } - name = ((NameCallback)callbacks[0]).getName(); - char[] pass = ((PasswordCallback)callbacks[1]).getPassword(); - String passwd = pass != null ? new String(pass) : null; - - //do authentication - if (name != null && passwd != null) - { - //perform db authentication - Login login = new Login(Env.getCtx()); - roles = login.getRoles(name, passwd); - } - else - { - //no username or password - roles = null; - } - - return true; - } - - /** - * logout, reset state - */ - public boolean logout() throws LoginException { - roles = null; - name = null; - - return true; - } - -} diff --git a/serverRoot/src/main/ejb/org/compiere/session/ServerBean.java b/serverRoot/src/main/ejb/org/compiere/session/ServerBean.java index 9f22023cba..6946b6f6d7 100644 --- a/serverRoot/src/main/ejb/org/compiere/session/ServerBean.java +++ b/serverRoot/src/main/ejb/org/compiere/session/ServerBean.java @@ -19,11 +19,18 @@ package org.compiere.session; import java.util.*; import java.util.logging.*; +import javax.annotation.PostConstruct; +import javax.annotation.security.DeclareRoles; +import javax.annotation.security.PermitAll; +import javax.annotation.security.RolesAllowed; import javax.ejb.*; import org.adempiere.util.ProcessUtil; import org.compiere.*; import org.compiere.acct.*; +import org.compiere.interfaces.Server; +import org.compiere.interfaces.ServerLocal; +import org.compiere.interfaces.ServerRemote; import org.compiere.model.*; import org.compiere.process.*; import org.compiere.util.*; @@ -31,23 +38,6 @@ import org.compiere.util.*; /** * Adempiere Server Bean. * - * @ejb.bean name="adempiere/Server" - * display-name="Adempiere Server Session Bean" - * type="Stateless" - * view-type="both" - * transaction-type="Bean" - * jndi-name="adempiere/Server" - * local-jndi-name="adempiere/ServerLocal" - * - * @ejb.ejb-ref ejb-name="adempiere/Server" - * view-type="both" - * ref-name="adempiere/Server" - * @ejb.ejb-ref ejb-name="adempiere/Server" - * view-type="local" - * ref-name="adempiere/ServerLocal" - * - * @ejb.permission role-name="adempiereUsers" - * * @author Jorg Janke * @version $Id: ServerBean.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $ * @author Low Heng Sin @@ -56,10 +46,13 @@ import org.compiere.util.*; * * @author Teo Sarca, SC ARHIPAC SERVICE SRL - BF [ 1757523 ] */ -public class ServerBean implements SessionBean +@Stateless(mappedName=Server.JNDI_NAME, name=Server.EJB_NAME) +@Local({ServerLocal.class}) +@Remote({ServerRemote.class}) +@DeclareRoles({"adempiereUsers"}) +@RolesAllowed({"adempiereUsers"}) +public class ServerBean implements ServerRemote, ServerLocal { - /** Context */ - private SessionContext m_Context; /** Logger */ private static CLogger log = CLogger.getCLogger(ServerBean.class); // @@ -79,33 +72,27 @@ public class ServerBean implements SessionBean /** * Post Immediate - * @ejb.interface-method view-type="both" * * @param ctx Client Context * @param AD_Client_ID Client ID of Document * @param AD_Table_ID Table ID of Document * @param Record_ID Record ID of this document * @param force force posting - * @param trxName transaction + * @param trxName ignore, retained for backward compatibility * @return null, if success or error message */ public String postImmediate (Properties ctx, int AD_Client_ID, int AD_Table_ID, int Record_ID, boolean force, String trxName) { log.info ("[" + m_no + "] Table=" + AD_Table_ID + ", Record=" + Record_ID); - if (trxName != null) { - if (Trx.get(trxName, false) == null) { - throw new RuntimeException("Transaction lost - " + trxName); - } - } + m_postCount++; MAcctSchema[] ass = MAcctSchema.getClientAcctSchema(ctx, AD_Client_ID); - return Doc.postImmediate(ass, AD_Table_ID, Record_ID, force, trxName); + return Doc.postImmediate(ass, AD_Table_ID, Record_ID, force, null); } // postImmediate /************************************************************************* * Process Remote - * @ejb.interface-method view-type="both" * * @param ctx Context * @param pi Process Info @@ -117,16 +104,13 @@ public class ServerBean implements SessionBean m_processCount++; // Start Process - String trxName = Trx.createTrxName("ServerPrc"); - Trx trx = Trx.get(trxName, true); - ProcessUtil.startJavaProcess(ctx, pi, trx); + ProcessUtil.startJavaProcess(ctx, pi, null); return pi; } // process /************************************************************************* * Run Workflow (and wait) on Server - * @ejb.interface-method view-type="both" * * @param ctx Context * @param pi Process Info @@ -143,7 +127,6 @@ public class ServerBean implements SessionBean /** * Create EMail from Server (Request User) - * @ejb.interface-method view-type="both" * @param ctx Context * @param AD_Client_ID client * @param to recipient email address @@ -166,7 +149,6 @@ public class ServerBean implements SessionBean /** * Create EMail from Server (Request User) - * @ejb.interface-method view-type="both" * @param ctx Context * @param AD_Client_ID client * @param AD_User_ID user to send email from @@ -193,7 +175,6 @@ public class ServerBean implements SessionBean /** * Execute task on server - * @ejb.interface-method view-type="both" * @param AD_Task_ID task * @return execution trace */ @@ -206,8 +187,6 @@ public class ServerBean implements SessionBean /** * Cash Reset - * @ejb.interface-method view-type="both" - * * @param tableName table name * @param Record_ID record or 0 for all * @return number of records reset @@ -221,10 +200,9 @@ public class ServerBean implements SessionBean /************************************************************************** * Describes the instance and its content for debugging purpose - * @ejb.interface-method view-type="both" - * @ejb.permission unchecked="true" * @return Debugging information about the instance and its content */ + @PermitAll public String getStatus() { StringBuffer sb = new StringBuffer("ServerBean["); @@ -245,16 +223,13 @@ public class ServerBean implements SessionBean /** * Execute db proces on server - * @ejb.interface-method view-type="both" * @param processInfo * @param procedureName * @return ProcessInfo */ public ProcessInfo dbProcess(ProcessInfo processInfo, String procedureName) { - String trxName = Trx.createTrxName("ServerDBPrc"); - Trx trx = Trx.get(trxName, true); - ProcessUtil.startDatabaseProcedure(processInfo, procedureName, trx); + ProcessUtil.startDatabaseProcedure(processInfo, procedureName, null); return processInfo; } @@ -270,12 +245,9 @@ public class ServerBean implements SessionBean /************************************************************************** * Create the Session Bean - * @throws EJBException - * @throws CreateException - * @ejb.create-method view-type="both" - * @ejb.permission unchecked="true" */ - public void ejbCreate() throws EJBException, CreateException + @PostConstruct + public void ejbCreate() { m_no = ++s_no; try @@ -290,56 +262,7 @@ public class ServerBean implements SessionBean } log.info ("#" + getStatus()); } // ejbCreate - - - // ------------------------------------------------------------------------- - // Framework Callbacks - // ------------------------------------------------------------------------- - - /** - * Method setSessionContext - * @param aContext SessionContext - * @throws EJBException - * @see javax.ejb.SessionBean#setSessionContext(SessionContext) - */ - public void setSessionContext (SessionContext aContext) throws EJBException - { - m_Context = aContext; - } // setSessionContext - - /** - * Method ejbActivate - * @throws EJBException - * @see javax.ejb.SessionBean#ejbActivate() - */ - public void ejbActivate() throws EJBException - { - if (log == null) - log = CLogger.getCLogger(getClass()); - log.info ("ejbActivate " + getStatus()); - } // ejbActivate - - /** - * Method ejbPassivate - * @throws EJBException - * @see javax.ejb.SessionBean#ejbPassivate() - */ - public void ejbPassivate() throws EJBException - { - log.info ("ejbPassivate " + getStatus()); - } // ejbPassivate - - /** - * Method ejbRemove - * @throws EJBException - * @see javax.ejb.SessionBean#ejbRemove() - */ - public void ejbRemove() throws EJBException - { - log.info ("ejbRemove " + getStatus()); - } // ejbRemove - - + /************************************************************************** * Dump SerialVersionUID of class * @param clazz class diff --git a/serverRoot/src/main/ejb/org/compiere/session/StatusBean.java b/serverRoot/src/main/ejb/org/compiere/session/StatusBean.java index 0efa5344bb..39fe64d6e3 100644 --- a/serverRoot/src/main/ejb/org/compiere/session/StatusBean.java +++ b/serverRoot/src/main/ejb/org/compiere/session/StatusBean.java @@ -17,41 +17,33 @@ package org.compiere.session; import java.util.logging.*; + +import javax.annotation.PostConstruct; +import javax.annotation.security.PermitAll; import javax.ejb.*; import org.compiere.*; import org.compiere.db.*; +import org.compiere.interfaces.Status; +import org.compiere.interfaces.StatusLocal; +import org.compiere.interfaces.StatusRemote; import org.compiere.util.*; /** * Adempiere Status Bean * - * @ejb.bean name="adempiere/Status" - * display-name="Adempiere Status Session Bean" - * type="Stateless" - * view-type="both" - * transaction-type="Bean" - * jndi-name="adempiere/Status" - * local-jndi-name="adempiere/StatusLocal" - * - * @ejb.ejb-ref ejb-name="adempiere/Status" - * view-type="both" - * ref-name="adempiere/Status" - * @ejb.ejb-ref ejb-name="adempiere/Status" - * view-type="local" - * ref-name="adempiere/StatusLocal" - * @ejb.permission unchecked="true" - * * @author Jorg Janke * @version $Id: StatusBean.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $ */ -public class StatusBean implements SessionBean +@Stateless(mappedName=Status.JNDI_NAME, name=Status.EJB_NAME) +@Local({StatusLocal.class}) +@Remote({StatusRemote.class}) +@PermitAll +public class StatusBean implements StatusRemote, StatusLocal { private static final String ALLOW_CLIENT_QUERY_DB_PWD = "adempiere.client.getDBPwd"; - /** Context */ - private SessionContext m_Context; /** Logging */ private static CLogger log = CLogger.getCLogger(StatusBean.class); @@ -64,7 +56,6 @@ public class StatusBean implements SessionBean /** * Get Version (Date) - * @ejb.interface-method view-type="both" * @return version e.g. 2002-09-02 */ public String getDateVersion() @@ -76,7 +67,6 @@ public class StatusBean implements SessionBean /** * Get Main Version - * @ejb.interface-method view-type="both" * @return main version - e.g. Version 2.4.3b */ public String getMainVersion() @@ -86,7 +76,6 @@ public class StatusBean implements SessionBean /** * Get Database Type - * @ejb.interface-method view-type="both" * @return Database Type */ public String getDbType() @@ -96,7 +85,6 @@ public class StatusBean implements SessionBean /** * Get Database Host - * @ejb.interface-method view-type="both" * @return Database Host Name */ public String getDbHost() @@ -108,7 +96,6 @@ public class StatusBean implements SessionBean /** * Get Database Port - * @ejb.interface-method view-type="both" * @return Database Port */ public int getDbPort() @@ -118,7 +105,6 @@ public class StatusBean implements SessionBean /** * Get Database SID - * @ejb.interface-method view-type="both" * @return Database SID */ public String getDbName() @@ -128,7 +114,6 @@ public class StatusBean implements SessionBean /** * Get Database URL - * @ejb.interface-method view-type="both" * @return Database URL */ public String getConnectionURL() @@ -138,7 +123,6 @@ public class StatusBean implements SessionBean /** * Get Database UID - * @ejb.interface-method view-type="both" * @return Database User Name */ public String getDbUid() @@ -148,7 +132,6 @@ public class StatusBean implements SessionBean /** * Get Database PWD - * @ejb.interface-method view-type="both" * @return Database User Password */ public String getDbPwd() @@ -162,7 +145,6 @@ public class StatusBean implements SessionBean /** * Get Connection Manager Host - * @ejb.interface-method view-type="both" * @return Connection Manager Host */ public String getFwHost() @@ -172,7 +154,6 @@ public class StatusBean implements SessionBean /** * Get Connection Manager Port - * @ejb.interface-method view-type="both" * @return Connection Manager Port */ public int getFwPort() @@ -193,7 +174,6 @@ public class StatusBean implements SessionBean /** * Get Database Count - * @ejb.interface-method view-type="both" * @return number of database inquiries */ public int getDatabaseCount() @@ -203,7 +183,6 @@ public class StatusBean implements SessionBean /** * Describes the instance and its content for debugging purpose - * @ejb.interface-method view-type="both" * @return Debugging information about the instance and its content */ public String getStatus() @@ -229,11 +208,9 @@ public class StatusBean implements SessionBean /************************************************************************** * Create the Session Bean - * @throws EJBException - * @throws CreateException - * @ejb.create-method view-type="both" */ - public void ejbCreate() throws EJBException, CreateException + @PostConstruct + public void ejbCreate() { m_no = ++s_no; try @@ -248,49 +225,4 @@ public class StatusBean implements SessionBean } log.info("#" + m_no + " - " + getStatus()); } // ejbCreate - - - // ------------------------------------------------------------------------- - // Framework Callbacks - // ------------------------------------------------------------------------- - - /** - * Set Session Context - * @param aContext context - * @throws EJBException - */ - public void setSessionContext (SessionContext aContext) throws EJBException - { - m_Context = aContext; - } - - /** - * Ejb Activate - * @throws EJBException - */ - public void ejbActivate() throws EJBException - { - if (log == null) - log = CLogger.getCLogger(getClass()); - log.fine("ejbActivate"); - } - - /** - * Ejb Passivate - * @throws EJBException - */ - public void ejbPassivate() throws EJBException - { - log.fine("ejbPassivate"); - } - - /** - * Ejb Remove - * @throws EJBException - */ - public void ejbRemove() throws EJBException - { - log.fine("ejbRemove"); - } - } // StatusBean diff --git a/serverRoot/src/main/ejb/sun-ejb-jar.xml b/serverRoot/src/main/ejb/sun-ejb-jar.xml new file mode 100644 index 0000000000..5b81d439f3 --- /dev/null +++ b/serverRoot/src/main/ejb/sun-ejb-jar.xml @@ -0,0 +1,18 @@ + + + + + + adempiereServer + + + USERNAME_PASSWORD + adempiere + true + + + + + diff --git a/serverRoot/src/main/servlet/org/compiere/web/StatusInfo.java b/serverRoot/src/main/servlet/org/compiere/web/StatusInfo.java index d6a5be14fc..35d6a7826d 100644 --- a/serverRoot/src/main/servlet/org/compiere/web/StatusInfo.java +++ b/serverRoot/src/main/servlet/org/compiere/web/StatusInfo.java @@ -71,10 +71,8 @@ public class StatusInfo extends HttpServlet try { - StatusHome statusHome = (StatusHome)context.lookup (StatusHome.JNDI_NAME); - Status status = statusHome.create(); + Status status = (Status)context.lookup (Status.JNDI_NAME); out.println("

" + status.getStatus() + "

"); - status.remove(); } catch (Exception ex) { @@ -83,10 +81,8 @@ public class StatusInfo extends HttpServlet try { - ServerHome serverHome = (ServerHome)context.lookup (ServerHome.JNDI_NAME); - Server server = serverHome.create(); + Server server = (Server)context.lookup (Server.JNDI_NAME); out.println("

" + server.getStatus() + "

"); - server.remove(); } catch (Exception ex) { diff --git a/serverRoot/xdoclet-build.xml b/serverRoot/xdoclet-build.xml deleted file mode 100644 index 43820e443b..0000000000 --- a/serverRoot/xdoclet-build.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tools/build.xml b/tools/build.xml index 5f3d2ebe5a..97e9db43dd 100644 --- a/tools/build.xml +++ b/tools/build.xml @@ -5,443 +5,446 @@ - + The resulting CCTools.jar and CSTools.jar repackage all third party libraries in a single jar for simplified start and version control. The resuling Server CSTools.jar is added to EARs - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/webCM/build.xml b/webCM/build.xml index 36e70bc530..b8f2ce3b05 100644 --- a/webCM/build.xml +++ b/webCM/build.xml @@ -28,7 +28,7 @@ - + @@ -44,7 +44,6 @@ - - - - Adempiere Web CM - webCM + + + Adempiere Web CM adempiereWebCM.war diff --git a/webStore/src/ear/application.xml b/webStore/src/ear/application.xml index 3062c84161..69b1f75c92 100644 --- a/webStore/src/ear/application.xml +++ b/webStore/src/ear/application.xml @@ -1,11 +1,9 @@ - - - - Adempiere Web Store - wstore + + + Adempiere Web Store AdempiereSLib.jar diff --git a/webStore/src/web/WEB-INF/web.xml b/webStore/src/web/WEB-INF/web.xml index 7fb6185ae0..2ba72a1712 100644 --- a/webStore/src/web/WEB-INF/web.xml +++ b/webStore/src/web/WEB-INF/web.xml @@ -316,27 +316,5 @@ index.jsp - - - - http://java.sun.com/jsp/jstl/core - /WEB-INF/c.tld - - - http://java.sun.com/jsp/jstl/fmt - /WEB-INF/fmt.tld - - - http://java.sun.com/jsp/jstl/sql - /WEB-INF/sql.tld - - - http://java.sun.com/jsp/jstl/xml - /WEB-INF/x.tld - - - webStore.tld - /WEB-INF/webStore.tld - - +
diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java b/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java index c1323ffb46..10c3f7d6bd 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/ServerContextCallback.java @@ -26,6 +26,8 @@ import net.sf.cglib.proxy.InvocationHandler; */ public class ServerContextCallback implements InvocationHandler, Serializable { + private static final long serialVersionUID = 1L; + public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { ServerContext context = ServerContext.getCurrentInstance(); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/AEnv.java b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/AEnv.java index 17dc13797b..7449b5c857 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/apps/AEnv.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/apps/AEnv.java @@ -21,11 +21,8 @@ import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; -import java.io.InvalidClassException; -import java.io.NotSerializableException; import java.net.URI; import java.net.URISyntaxException; -import java.rmi.RemoteException; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; @@ -47,7 +44,6 @@ import org.compiere.model.Lookup; import org.compiere.model.MQuery; import org.compiere.model.MRole; import org.compiere.util.CCache; -import org.compiere.util.CLogMgt; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; @@ -185,32 +181,11 @@ public final class AEnv */ public static void exit (int status) { - - if (s_server != null) - { - try - { - s_server.remove(); - } - catch (Exception ex) - { - } - } Env.exitEnv(status); } // exit public static void logout() { - if (s_server != null) - { - try - { - s_server.remove(); - } - catch (Exception ex) - { - } - } Env.logout(); @@ -282,11 +257,6 @@ public final class AEnv private static Boolean s_workflow = null; /** Workflow Menu */ private static int s_workflow_Window_ID = 0; - - /** Server Re-tries */ - private static int s_serverTries = 0; - /** Server Session */ - private static Server s_server = null; /** Logger */ private static CLogger log = CLogger.getCLogger(AEnv.class); @@ -296,36 +266,7 @@ public final class AEnv */ public static boolean isServerActive() { - - boolean contactAgain = s_server == null && s_serverTries == 0; - boolean ok = CConnection.get().isAppsServerOK(contactAgain); - if (ok) - { - s_serverTries = 0; - return true; - } - if (s_serverTries > 1) // try twice - return false; - - // Try to connect - CLogMgt.enable(false); - try - { - s_serverTries++; - log.config("try #" + s_serverTries); - ok = CConnection.get().isAppsServerOK(true); - if (ok) - s_serverTries = 0; - } - catch (Exception ex) - { - ok = false; - s_server = null; - } - CLogMgt.enable(true); - // - return ok; - + return CConnection.get().isAppsServerOK(true); } // isServerActive /** @@ -422,10 +363,11 @@ public final class AEnv log.config("trying server"); try { - s_server = CConnection.get().getServer(); - if (s_server != null) + Server server = CConnection.get().getServer(); + if (server != null) { - error = s_server.postImmediate(Env.getCtx(), AD_Client_ID, + Properties p = Env.getRemoteCallCtx(Env.getCtx()); + error = server.postImmediate(p, AD_Client_ID, AD_Table_ID, Record_ID, force, null); log.config("from Server: " + error== null ? "OK" : error); } @@ -435,17 +377,10 @@ public final class AEnv return "NoAppsServer"; } } - catch (RemoteException e) + catch (Exception e) { log.log(Level.WARNING, "(RE)", e); error = e.getMessage(); - s_server = null; - } - catch (Exception e) - { - log.log(Level.WARNING, "ex", e); - error = e.getMessage(); - s_server = null; } } else @@ -479,15 +414,9 @@ public final class AEnv server.cacheReset(tableName, Record_ID); } } - catch (RemoteException e) - { - log.log(Level.SEVERE, "(RE)", e); - s_server = null; - } catch (Exception e) { - log.log(Level.SEVERE, "ex", e); - s_server = null; + log.log(Level.SEVERE, "(RE)", e); } } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java index 1a6cda2958..089fa3c1a5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/component/GridTableListModel.java @@ -20,6 +20,7 @@ import org.compiere.model.DataStatusEvent; import org.compiere.model.DataStatusListener; import org.compiere.model.GridField; import org.compiere.model.GridTable; +import org.compiere.model.MAccountLookup; import org.compiere.model.MLookup; import org.compiere.model.MLookupFactory; import org.compiere.util.DisplayType; @@ -206,12 +207,20 @@ ListitemRendererExt, DataStatusListener, ListModelExt { { if (gridField[columnIndex].isLookup()) { - MLookup lookup = MLookupFactory.get( - Env.getCtx(), windowNo, 0, gridField[columnIndex].getAD_Column_ID(), - gridField[columnIndex].getDisplayType()); - - NamePair namepair = lookup.get(obj); - + NamePair namepair = null; + if (gridField[columnIndex].getDisplayType() == DisplayType.Account) + { + MAccountLookup lookup = new MAccountLookup(Env.getCtx(), windowNo); + namepair = lookup.get(obj); + } + else + { + MLookup lookup = MLookupFactory.get( + Env.getCtx(), windowNo, 0, gridField[columnIndex].getAD_Column_ID(), + gridField[columnIndex].getDisplayType()); + + namepair = lookup.get(obj); + } if (namepair != null) return namepair.getName(); else diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java index 3ca56c299d..2929e1236e 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/SessionContextListener.java @@ -27,7 +27,6 @@ import org.zkoss.zk.ui.event.EventThreadInit; import org.zkoss.zk.ui.event.EventThreadResume; import org.zkoss.zk.ui.util.ExecutionCleanup; import org.zkoss.zk.ui.util.ExecutionInit; -import org.zkoss.zkplus.util.ThreadLocals; /** * @@ -63,7 +62,7 @@ public class SessionContextListener implements ExecutionInit, if (parent == null) { exec.removeAttribute(SESSION_CTX); -// ServerContext.dispose(); + ServerContext.dispose(); } } diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java index c985029676..10889937df 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java @@ -71,7 +71,7 @@ public class WebUIServlet extends DHtmlLayoutServlet logger.info("Starting ADempiere..."); try { - CLogMgt.initialize(true); + CLogMgt.initialize(false); } catch(Exception ex) { diff --git a/zkwebui/WEB-INF/web-2.5.xml b/zkwebui/WEB-INF/web-2.5.xml new file mode 100644 index 0000000000..54132df97a --- /dev/null +++ b/zkwebui/WEB-INF/web-2.5.xml @@ -0,0 +1,179 @@ + + + + + ADempiere WebUI + + + + + + + dspLoader + + org.zkoss.web.servlet.dsp.InterpreterServlet + + + + dspLoader + *.dsp + + + + + + + + Used to cleanup when a session is destroyed + + ZK Session Cleaner + + org.zkoss.zk.ui.http.HttpSessionListener + + + + + ZK loader for ZUML pages + zkLoader + + org.adempiere.webui.session.WebUIServlet + + + + update-uri + /zkau + + 1 + + + zkLoader + *.zul + + + zkLoader + *.zhtml + + + The asynchronous update engine for ZK + auEngine + + org.zkoss.zk.au.http.DHtmlUpdateServlet + + + + auEngine + /zkau/* + + + + servlet to provide timeline xml event feed + timelineFeed + + org.adempiere.webui.TimelineEventFeed + + + + timelineFeed + /timeline + + + + + + 120 + + + + + doc + application/vnd.ms-word + + + dsp + text/html + + + gif + image/gif + + + htm + text/html + + + html + text/html + + + jnlp + application/x-java-jnlp-file + + + jpeg + image/jpeg + + + jpg + image/jpeg + + + js + application/x-javascript + + + pdf + application/pdf + + + png + image/png + + + txt + text/plain + + + xls + application/vnd.ms-excel + + + xml + text/xml + + + xul + application/vnd.mozilla.xul-xml + + + zhtml + text/html + + + zip + application/x-zip + + + zul + text/html + + + index.zul + + + + + adempiere/Status + Session + org.compiere.interfaces.StatusLocal + + + + adempiere/Server + Session + org.compiere.interfaces.ServerLocal + +