bugzilla | 1 Apr 2006 10:56
Picon
Favicon

DO NOT REPLY [Bug 39176] New: - Server Startup Problem

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39176>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39176

           Summary: Server Startup Problem
           Product: Tomcat 5
           Version: 5.5.16
          Platform: Other
        OS/Version: Windows NT
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: se_shailesh <at> yahoo.co.in

I downloaded Apache-Tomcat-5.5.16 binary from Tomcat site & also set the 
environment variables:
PATH, CLASSPATH, TOMCAT_HOME, CATALINA_BASE, CATALINA_HOME, JAVA_HOME.
I am using JDK-1.4.

Yes, Tomcat 5.5.16 requires JDK-1.5 but for working with JDK-1.4 it provides a 
compatibility package. I downloaded it & copied it to the respective 
directories as instructed.
Problem is i am unable to startup the server.
There are no error reports also. It is simply not doing anything.
(Continue reading)

pero | 1 Apr 2006 11:23
Picon
Favicon

svn commit: r390625 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java

Author: pero
Date: Sat Apr  1 01:23:46 2006
New Revision: 390625

URL: http://svn.apache.org/viewcvs?rev=390625&view=rev
Log:
Correct Log statement that we not got after very keep alive socket close a log message!

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java?rev=390625&r1=390624&r2=390625&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java (original)
+++
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/tcp/TcpReplicationThread.java
Sat Apr  1 01:23:46 2006
 <at>  <at>  -73,7 +73,6  <at>  <at> 
                 if ( e instanceof IOException ) {
                     //dont spew out stack traces for IO exceptions unless debug is enabled.
                     if (log.isDebugEnabled()) log.debug ("IOException in replication worker, unable to drain channel.
Probable cause: Keep alive socket closed.", e);
-                    else log.warn ("IOException in replication worker, unable to drain channel. Probable cause: Keep alive
socket closed.");
                 } else if ( log.isErrorEnabled() ) {
                     //this is a real error, log it.
                     log.error("Exception caught in TcpReplicationThread.drainChannel.",e);
(Continue reading)

pero | 1 Apr 2006 11:24
Picon
Favicon

svn commit: r390627 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java

Author: pero
Date: Sat Apr  1 01:24:34 2006
New Revision: 390627

URL: http://svn.apache.org/viewcvs?rev=390627&view=rev
Log:
Log a real error if app is not deployed!

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java?rev=390627&r1=390626&r2=390627&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java (original)
+++
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/session/ClusterSessionListener.java
Sat Apr  1 01:24:34 2006
 <at>  <at>  -83,8 +83,8  <at>  <at> 
                 ClusterManager mgr = (ClusterManager) managers.get(ctxname);
                 if (mgr != null)
                     mgr.messageDataReceived(msg);
-                else if (log.isWarnEnabled())
-                    log.warn("Context manager doesn't exist:" + ctxname);
+                else if (log.isErrorEnabled())
+                    log.error("Context manager doesn't exist:" + ctxname);
             }
         }
     }
(Continue reading)

pero | 1 Apr 2006 11:25
Picon
Favicon

svn commit: r390628 - in /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy: FarmWarDeployer.java WarWatcher.java

Author: pero
Date: Sat Apr  1 01:25:21 2006
New Revision: 390628

URL: http://svn.apache.org/viewcvs?rev=390628&view=rev
Log:
Cosmetic change

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/WarWatcher.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java?rev=390628&r1=390627&r2=390628&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java (original)
+++
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
Sat Apr  1 01:25:21 2006
 <at>  <at>  -127,7 +127,7  <at>  <at> 
             if (log.isInfoEnabled())
                 log.info("Cluster deployment is watching " + getWatchDir()
                         + " for changes.");
-        } //end if
+        }

         // Check to correct engine and host setup
         host = (Host) getCluster().getContainer();
 <at>  <at>  -224,7 +224,7  <at>  <at> 
(Continue reading)

pero | 1 Apr 2006 11:53
Picon
Favicon

svn commit: r390630 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java

Author: pero
Date: Sat Apr  1 01:53:44 2006
New Revision: 390630

URL: http://svn.apache.org/viewcvs?rev=390630&view=rev
Log:
Fix ROOT.war deployment 

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java?rev=390630&r1=390629&r2=390630&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java (original)
+++
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
Sat Apr  1 01:53:44 2006
 <at>  <at>  -52,12 +52,16  <at>  <at> 
  * 
  *  <at> author Filip Hanik
  *  <at> author Peter Rossbach
- *  <at> version 1.1
+ *  <at> version $Revision$
  */
 public class FarmWarDeployer implements ClusterDeployer, FileChangeListener {
     /*--Static Variables----------------------------------------*/
     public static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory
             .getLog(FarmWarDeployer.class);
(Continue reading)

pero | 1 Apr 2006 11:57
Picon
Favicon

svn commit: r390633 - /tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Author: pero
Date: Sat Apr  1 01:57:51 2006
New Revision: 390633

URL: http://svn.apache.org/viewcvs?rev=390633&view=rev
Log:
Add my last cluster fixes FarmWarDeployer and TcpReplicationThread

Modified:
    tomcat/container/tc5.5.x/webapps/docs/changelog.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/changelog.xml?rev=390633&r1=390632&r2=390633&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/changelog.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/changelog.xml Sat Apr  1 01:57:51 2006
 <at>  <at>  -80,6 +80,12  <at>  <at> 
   <subsection name="Cluster">
     <changelog>
       <fix>
+        Fix that after every Keep Alive Socket close a log warning is generated TcpReplicationThread (pero)
+      </fix>
+      <fix>
+        Fix ROOT.war deployment at FarmWarDeployer (pero)
+      </fix>
+      <fix>
         ReplicationValve not set primarySession flag when all backup nodes gone (pero)
       </fix>
       <update>
(Continue reading)

pero | 1 Apr 2006 12:19
Picon
Favicon

svn commit: r390639 - /tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java

Author: pero
Date: Sat Apr  1 02:19:31 2006
New Revision: 390639

URL: http://svn.apache.org/viewcvs?rev=390639&view=rev
Log:
remove empty line

Modified:
    tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java

Modified: tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java?rev=390639&r1=390638&r2=390639&view=diff
==============================================================================
---
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java (original)
+++
tomcat/container/tc5.5.x/modules/cluster/src/share/org/apache/catalina/cluster/deploy/FarmWarDeployer.java
Sat Apr  1 02:19:31 2006
 <at>  <at>  -467,7 +467,6  <at>  <at> 
      *  <at> param war War filename
      *  <at> return '/filename' or if war name is ROOT.war context name is empty string '' 
      */
-
     protected String getContextName(File war) {
         String contextName = "/"
         + war.getName().substring(0,
bugzilla | 1 Apr 2006 14:01
Picon
Favicon

DO NOT REPLY [Bug 38713] - java.io.IOException: tmpFile.renameTo(classFile) failed when compiling new JSP (upon redeploy)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38713>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38713

phil <at> codestyle.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil <at> codestyle.org

------- Additional Comments From phil <at> codestyle.org  2006-04-01 13:01 -------
Also found this problem with Tomcat 5.5.4 on Windows 2000 Professional.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Apr 2006 15:08
Picon
Favicon

DO NOT REPLY [Bug 39178] New: - FarmWarDeployer does not deploy "ROOT.war" correctly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39178>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39178

           Summary: FarmWarDeployer does not deploy "ROOT.war" correctly
           Product: Tomcat 5
           Version: 5.5.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: timlucia <at> yahoo.com
                CC: timlucia <at> yahoo.com

If I deploy tim.war by dropping it into /tmp/war-listen, then all members of my
cluster get a context /tim (and only that context).  This is as expected.  If I
deploy ROOT.war in a similar manner, the master correctly gets a context /, but
the slaves get / and /ROOT.

Tim Lucia

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
(Continue reading)

bugzilla | 1 Apr 2006 15:23
Picon
Favicon

DO NOT REPLY [Bug 39179] New: - FarmWarDeployer does not deploy ".war" correctly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39179>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39179

           Summary: FarmWarDeployer does not deploy ".war" correctly
           Product: Tomcat 5
           Version: 5.5.12
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: timlucia <at> yahoo.com
                CC: timlucia <at> yahoo.com

(see also 31978) (Per Filip's request)

The FarmWarDeployer does not correctly deploy a war named (only) ".war".  I get
the following error (Missing application web.xml, using defaults only) in my
tomcat_console.log:

2006-04-01 08:18:05,355 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
INFO  Diagnostics
: Stopping application 'My Application' at Sat Apr 01 08:18:05 EST 2006
(Continue reading)


Gmane