User: chirino 
  Date: 01/08/30 21:26:39

  Added:       src/etc/conf/boot-server jboss-service.xml jetty.properties
                        jetty.xml log4j.properties webdefault.xml
  Log:
  Ceating a configuration which starts jetty configured to web server
  the current distribution off the http://localhost:8090 address.
  
  Good for testing the new 'run --net-install' option
  
  Revision  Changes    Path
  1.1                  jboss/src/etc/conf/boot-server/jboss-service.xml
  
  Index: jboss-service.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  
  <!-- ===================================================================== -->
  <!--                                                                       -->
  <!--  JBoss Server Configuration                                           -->
  <!--                                                                       -->
  <!-- ===================================================================== -->
  
  <!-- $Id: jboss-service.xml,v 1.1 2001/08/31 04:26:39 chirino Exp $ -->
  
  <!-- 
     |  This is where you can add and configure your MBeans.
     |
     |  *ATTENTION*
     |
     |  The order of the listing here is the same order as
     |  the MBeans are loaded. Therefore if a MBean depends on another
     |  MBean to be loaded and started it has to be listed after all
     |  the MBeans it depends on.
    -->
  
  
  <server>
  
  
  <!--
  
         The Classpath element is needed for http based installations 
         we need to list all the archives that the server needs at boot
         if the installation is local and the configuration is from file
         then there is no need to list the files and it should commented
  -->
  
    <classpath archives="
         castor.jar,
         castor-jdo-plugin.jar,
         com.mortbay.ftp.jar,
         com.mortbay.jetty.jar,
         com.mortbay.jetty.jmx.jar,
         com.mortbay.jetty.sasl.jar,
         com.mortbay.tools.jar,
         concurrent.jar,
         crimson.jar,
         cryptix-sasl-jetty.jar,
         gnu-regexp.jar,
         hsql.jar, 
         hsql-plugin.jar,
         jaas.jar,
         JavaGroups.jar,
         javax-sasl.jar,
         jaxp.jar,
         jbosscx.jar,
         jbossha.jar,
         jboss-j2ee.jar,
         jboss.jar,
         jbossmq.jar,
         jbossmx.jar,
         jbosspool.jar,
         jbosssx.jar,
         jcert.jar,
         javax.servlet.jar,
         jetty-plugin.jar,
         jmxtools.jar,
         jndi.jar,
         jnet.jar,
         jnpserver.jar,
         jpl-pattern.jar,
         jpl-util.jar,
         jsr77.jar,
         jsse.jar,
         jts.jar,
         mail.jar,
         org.apache.jasper.jar,
         tyrex.jar,
         tyrex-tm-plugin.jar,
         xalan.jar"/>
  
    <!-- ==================================================================== -->
    <!-- Web Container                                                        -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.jetty.JettyService"
         name=":service=Jetty">
      <attribute name="JettyHome">../</attribute>
      <attribute name="Configuration">../conf/boot-server/jetty.xml</attribute>
      <attribute name="WebDefault">../conf/boot-server/webdefault.xml</attribute>
      <attribute name="UnpackWars">true</attribute>
      <attribute name="PublishMBeans">true</attribute>
    </mbean>
  
  </server>
  
  
  
  1.1                  jboss/src/etc/conf/boot-server/jetty.properties
  
  Index: jetty.properties
  ===================================================================
  ### ====================================================================== ###
  ##                                                                          ##
  ##  Jetty Properties                                                        ##
  ##                                                                          ##
  ### ====================================================================== ###
  
  ### $Id: jetty.properties,v 1.1 2001/08/31 04:26:39 chirino Exp $ ###
  
  # Use sun's parser
  org.xml.sax.parser=com.sun.xml.parser.Parser
  
  
  
  1.1                  jboss/src/etc/conf/boot-server/jetty.xml
  
  Index: jetty.xml
  ===================================================================
  <?xml version="1.0"  encoding="ISO-8859-1"?>
  <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.1//EN" 
"http://jetty.mortbay.com/configure_1_1.dtd";>
  
  <Configure class="com.mortbay.HTTP.HttpServer">
    <Call name="addListener">
      <Arg>
        <New class="com.mortbay.HTTP.SocketListener">
          <Set name="Port">8090</Set>
          <Set name="MinThreads">1</Set>
          <Set name="MaxThreads">25</Set>
          <Set name="MaxIdleTimeMs">60000</Set>
          <Set name="MaxReadTimeMs">60000</Set>
        </New>
      </Arg>
    </Call>
  
  
  <!--  Uncomment this to add an SSL listener.
    <Call name="addListener">
      <Arg>
        <New class="com.mortbay.HTTP.SunJsseListener">
          <Set name="Port">8443</Set>
          <Set name="MinThreads">5</Set>
          <Set name="MaxThreads">255</Set>
          <Set name="MaxIdleTimeMs">50000</Set>
          <Set name="Keystore"><SystemProperty name="jetty.home" 
default="."/>/etc/demokeystore</Set>
        <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
        <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
        </New>
      </Arg>
    </Call>
  -->
  
    <Call name="addContext">
      <Arg>/</Arg>
      <Set name="ResourceBase"><SystemProperty name="jetty.home" default="."/>/</Set>
      <Set name="ServingResources">TRUE</Set>
    </Call>
  </Configure>
  
  
  
  
  1.1                  jboss/src/etc/conf/boot-server/log4j.properties
  
  Index: log4j.properties
  ===================================================================
  ### ====================================================================== ###
  ##                                                                          ##
  ##  JBoss Log4j Properties                                                  ##
  ##                                                                          ##
  ### ====================================================================== ###
  
  ### $Id: log4j.properties,v 1.1 2001/08/31 04:26:39 chirino Exp $ ###
  
  # This creates a server.log appender and a console appender.
  
  # Set the JBossCategoryFactory as the default CategoryFactory
  log4j.categoryFactory=org.jboss.logging.log4j.JBossCategory$JBossCategoryFactory
  
  log4j.rootCategory=DEBUG, Default, Console
  
  ### The server.log file appender
  
  log4j.appender.Default=org.apache.log4j.FileAppender
  log4j.appender.Default.File=../log/server.log
  log4j.appender.Default.layout=org.apache.log4j.PatternLayout
  # A default format: [Category] msg\n
  log4j.appender.Default.layout.ConversionPattern=[%c{1},%p] %m%n
  # A format useful for debugging concurrency: [Category,thread,elapased_ms] msg\n
  #log4j.appender.Default.layout.ConversionPattern=[%c{1},%t,%r] %m%n
  # Truncate if it aleady exists.
  log4j.appender.Default.Append=false
  
  ### The console appender
  
  log4j.appender.Console=org.jboss.logging.log4j.ConsoleAppender
  log4j.appender.Console.Threshold=INFO
  log4j.appender.Console.layout=org.apache.log4j.PatternLayout
  log4j.appender.Console.layout.ConversionPattern=[%c{1}] %m%n
  
  # Example of increasing the priority threshold for the DefaultDS category
  #log4j.category.DefaultDS=FATAL
  # Example of only showing INFO msgs for any categories under org.jboss.util
  #log4j.category.org.jboss.util=INFO
  
  # An example of enabling the custom TRACE level priority that is used
  # by the JBoss internals to diagnose low level details. This example
  # turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
  # subpackages. This will produce A LOT of logging output.
  #log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.log4j.TracePriority
  
  
  
  
  1.1                  jboss/src/etc/conf/boot-server/webdefault.xml
  
  Index: webdefault.xml
  ===================================================================
  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>   
  
  <!-- This file contains the default settings for webapplications -->
  
  <web-app>
   <welcome-file-list>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>JSP</servlet-name>
      <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
      <load-on-startup>0</load-on-startup>
    </servlet>
  
    <servlet-mapping>
      <servlet-name>JSP</servlet-name>
      <url-pattern>*.jsp,*.jsP,*.jSp,*.jSP,*.Jsp,*.JsP,*.JSp,*.JSP</url-pattern>
    </servlet-mapping>
  
    <session-config>
      <session-timeout>60</session-timeout>
    </session-config>
  
    <security-constraint>
      <web-resource-collection>
        <web-resource-name>Read Only</web-resource-name>
        <url-pattern>/</url-pattern>
        <http-method>DELETE</http-method>
        <http-method>PUT</http-method>
      </web-resource-collection>
    </security-constraint>
  
    <!--
    <security-role>
        <role-name>roleName</role-name>
    </security-role>
    -->
  
  </web-app>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to