You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2002/10/30 02:53:12 UTC

cvs commit: xml-axis/java/webapps/axis happyaxis.jsp index.html

stevel      2002/10/29 17:53:12

  Modified:    java/webapps/axis happyaxis.jsp index.html
  Log:
  happiness is something you must keep seeking for
  
  Revision  Changes    Path
  1.10      +70 -13    xml-axis/java/webapps/axis/happyaxis.jsp
  
  Index: happyaxis.jsp
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/webapps/axis/happyaxis.jsp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- happyaxis.jsp	17 Oct 2002 23:15:08 -0000	1.9
  +++ happyaxis.jsp	30 Oct 2002 01:53:12 -0000	1.10
  @@ -1,13 +1,68 @@
   <html>
  -<head>
  -<title>Axis Happiness Page</title>
  -</head>
  -<body bgcolor='#ffffff'>
   <%@ page import="java.io.InputStream,
                    java.io.IOException,
                    javax.xml.parsers.SAXParser,
                    javax.xml.parsers.SAXParserFactory"
  -    session="false" %>
  +   session="false" %>
  + <%
  +    /*
  +     * The Apache Software License, Version 1.1
  +     *
  +     * Copyright (c) 2002 The Apache Software Foundation.  All rights
  +     * reserved.
  +     *
  +     * Redistribution and use in source and binary forms, with or without
  +     * modification, are permitted provided that the following conditions
  +     * are met:
  +     *
  +     * 1. Redistributions of source code must retain the above copyright
  +     *    notice, this list of conditions and the following disclaimer.
  +     *
  +     * 2. Redistributions in binary form must reproduce the above copyright
  +     *    notice, this list of conditions and the following disclaimer in
  +     *    the documentation and/or other materials provided with the
  +     *    distribution.
  +     *
  +     * 3. The end-user documentation included with the redistribution, if
  +     *    any, must include the following acknowlegement:
  +     *       "This product includes software developed by the
  +     *        Apache Software Foundation (http://www.apache.org/)."
  +     *    Alternately, this acknowlegement may appear in the software itself,
  +     *    if and wherever such third-party acknowlegements normally appear.
  +     *
  +     * 4. The names "The Jakarta Project", "Ant", and "Apache Software
  +     *    Foundation" must not be used to endorse or promote products derived
  +     *    from this software without prior written permission. For written
  +     *    permission, please contact apache@apache.org.
  +     *
  +     * 5. Products derived from this software may not be called "Apache"
  +     *    nor may "Apache" appear in their names without prior written
  +     *    permission of the Apache Group.
  +     *
  +     * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +     * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  +     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  +     * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  +     * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +     * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +     * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +     * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +     * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +     * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +     * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +     * SUCH DAMAGE.
  +     * ====================================================================
  +     *
  +     * This software consists of voluntary contributions made by many
  +     * individuals on behalf of the Apache Software Foundation.  For more
  +     * information on the Apache Software Foundation, please see
  +     * <http://www.apache.org/>.
  +     */
  +%>
  +<head>
  +<title>Axis Happiness Page</title>
  +</head>
  +<body bgcolor='#ffffff'>
   <%!
   
       /*
  @@ -26,8 +81,9 @@
       public String getInstallHints(HttpServletRequest request) {
   
           String hint=
  -            "<B><I>Note:</I></B> On Tomcat 4.x, you may need to put libraries that contain "
  -            +"java.* or javax.* packages into CATALINA_HOME/commons/lib";
  +            "<B><I>Note:</I></B> On Tomcat 4.x and Java1.4, you may need to put libraries that contain "
  +            +"java.* or javax.* packages into CATALINA_HOME/common/lib"
  +            +"<br>jaxrpc.jar and saaj.jar are two such libraries.";
           return hint;
       }
   
  @@ -241,7 +297,7 @@
       %>
   <html><head><title>Axis Happiness Page</title></head>
   <body>
  -
  +<h1>Axis Happiness Page</h1>
   <h2>Examining webapp configuration</h2>
   
   <p>
  @@ -376,12 +432,13 @@
           <tr><td>Servlet version</td><td><%= servletVersion %></td></tr>
           <tr><td>XML Parser</td><td><%= xmlParser %></td></tr>
       </table>
  -<%
  -    if(xmlParser.indexOf("crimson")>=0) {
  -        out.write("<p><b>Warning, we recommend Xerces over Crimson as the XML parser for Axis</b></p>");
  -    }
  +<% if(xmlParser.indexOf("crimson")>=0) { %>
  +    <p>
  +    <b>We recommend <a href="http://xml.apache.org/xerces2-j/">Xerces 2</a>
  +        over Crimson as the XML parser for Axis</b>
  +    </p>
  +<%    } %>
   
  -%>
       <h2>Examining System Properties</h2>
   <%
       /** 
  
  
  
  1.7       +13 -2     xml-axis/java/webapps/axis/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/webapps/axis/index.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- index.html	21 Oct 2002 23:13:09 -0000	1.6
  +++ index.html	30 Oct 2002 01:53:12 -0000	1.7
  @@ -19,10 +19,21 @@
           the local installation's configuration</li>
       <li><a href="servlet/AxisServlet">View</a>
           the list of deployed Web services</li>
  -    <li><a href="servlet/AdminServlet">Administer Axis</a> <br>
  -        disabled by default for security reasons</li>
       <li><a href="http://xml.apache.org/axis">Visit</a>
           the Apache-Axis Home Page</li>
  +    <li><a href="servlet/AdminServlet">Administer Axis</a> <br>
  +        [disabled by default for security reasons]</li>
  +    <li><a href="SOAPMonitor">SOAPMonitor</a> <br>
  +        [disabled by default for security reasons]</li>
   </ul>
  +To enable the disabled features, uncomment the appropriate declarations in 
  +WEB-INF/web.xml in the webapplication and restart it.
  +<hr>
  +If the validation page returns some kind of error, it is invariably a 
  +configuration issue. Consult the Axis documentation for specific details
  +on your server, or the axis-user mailing list. Sometimes that page 
  +returns a jasper error: if this is the case it is related to XML parser
  +versions. We strongly recommend you download and install
  +<a href="http://xml.apache.org/xerces2-j/">Xerces</a>
   </body>
   </html>