Mantis - Resin
Viewing Issue Advanced Details
4323 crash always 12-09-10 07:48 01-10-11 18:20
closed 4.0.13  
none 4.0.15  
0004323: Resin Crash immeditely after start
Resin 4.0.13 Pro crash and restart itself immmedtialey after start and after restart from crash runs fine. Attached is crash log and in addtional info I have my resin config xml. Please let me know you need any new information. I have pro license from Caucho and we are trying to upgrade our prod server with this version.

<resin xmlns="" [^]

  <log name="" level="info" path="../../logs/demo_server.log" rollover-size="1M">
    <logger name="com.caucho.server.rewrite" level="finest"/>

  <!-- Prod => 1h, Dev/Demo => 2s-->
        <user name="adminstrator" password="XXXXXXX"/>
    <!-- comment in prod -->
    <!-- standard servlet behavior, including .jsp, .php, and WEB-INF -->
    <resin:import path="${resin.home}/conf/app-default.xml"/>
       - Admin services
    <!--<resin:if test="${resin.professional}">
    <resin:if test="${resin.professional}">
    <resin:if test="${resin.professional}">
      <cache memory-size="64M">
       <!-- Vary header rewriting for IE -->
       - Default host configuration applied to all virtual hosts.
      <access-log path="../../logs/demo_access.log" rollover-period="1W" rollover-size="10M" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" responsetime=%T cookie=%{cookie}c' auto-flush="true"/>

      <!-- creates the webapps directory for .war expansion -->
      <web-app-deploy path="webapps" versioning="true"/>

         - Defaults applied to each web-app.

        <!-- enable persistent sessions -->
           - Sets max-age for cacheable pages, e.g. static pages.
        <!--<resin:if test="${resin.professional}">
          <cache-mapping url-pattern="/" max-age="5s"/>
          <cache-mapping url-pattern="*.gif" max-age="60s"/>
          <cache-mapping url-pattern="*.jpg" max-age="60s"/>
          <cache-mapping url-pattern="*.png" max-age="60s"/>
          <cache-mapping url-pattern="*.css" max-age="60s"/>
          <cache-mapping url-pattern="*.js" max-age="60s"/>
  <cluster id="app-tier">
       - Enables periodic checking of the server status and
       - check for deadlocks..
       - All servers can add <url>s to be checked.
    <!--<resin:if test="${resin.professional}">
          <url></url> [^]
         - Configures the minimum free memory allowed before Resin
         - will force a restart.

    <server id="DEMO_SERVER_4013" address="" port="6800">
        <http port="80" />
        <http port="443">
        <!-- ONLY FOR ONE SERVICE-->
        <http port="19000" />

    <!-- Pre-Compile JSP's -->

    <host id="cpdndemo" host-name="appdemoserver" root-directory=".">
      <web-app id="/oneservice" root-directory="../../applications/one_service">
        <access-log path='../../logs/one_service_access.log' rollover-size="5M" rollover-period="1W" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" responsetime=%T' auto-flush="true"/>
      <web-app id="/admin" root-directory="${resin.root}/doc/admin">
          <resin:set var="resin_admin_external" value="true"/>
          <resin:set var="resin_admin_insecure" value="true"/>
        <access-log path='../../../../logs/demo_admin_access.log' rollover-size="5M" rollover-period="1W" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" responsetime=%T' auto-flush="true"/>
    <host id="" host-name="appdemoserver" root-directory=".">
        <web-app id="/" root-directory="../../applications/demoapp">
            <access-log path='../../logs/demoapp_access.log' rollover-size="5M" rollover-period="1W" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" responsetime=%T' auto-flush="true"/>
 hs_err_pid2568.log [^] (527,053 bytes) 12-09-10 07:48

12-17-10 11:53   

It crash only when I try to access site using https in Google chrome browser, it works fine in Firefox and IE.

when I disable https or disable resin cache config it doesn't crash and works fine.
12-17-10 13:45   
Dec/17/2010 16:44

<rewrite-vary-as-private/> -> Seems this is culprit. When I remove this fron cache config it works fine.