ContestAdmin wrote: > ContestAdmin wrote: > > > Hi all. > > > > I recently decided to upgrade my system from using > > apache jserv to use tomcat. > > > > I am running Solaris 2.6. > > I have apache version 2.0.42 > > tomcat version 4.1.12. > > > > I am attempting to get the two to communicate via > > mod_webapp. > > > > Right now they appear to be working, but I am getting > > a lot of extra information written out to the log files for > > tomcat. > > > > Actually I also see some interesting information in > > the apache log as well (but I believe I know why this > > is). > > > > >From the apache log: > > ----- > > [Thu Oct 03 11:16:10 2002] [error] Connection "conn" cannot connect > > [Thu Oct 03 11:16:10 2002] [error] Cannot open connection "conn" > > ----- > > > > I am assuming this is because my script starts > > apache before tomcat. These errors only show up > > at the very start of the error_log and cease. > > > > The real problem is messages in the tomcat log: > > ----- > > java.io.IOException: Premature packet header end > > at > > org.apache.catalina.connector.warp.WarpConnection.recv(Unknown Source) > > at > > org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown > > Source) > > at org.apache.catalina.connector.warp.WarpConnection.run(Unknown > > Source) > > at java.lang.Thread.run(Thread.java:536) > > ----- > > > > I see several of these for every request. I've done > > some searching in the mailing list and I think this maybe > > due to serving images but I'm not sure. I also did not > > find a solution on how to end these. > > > > Is it possible this is due to a 'file not found' error? > > > > Any help is greatly appreciated. > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > More information to make this puzzle even more confusing. > > 1) I have an (apparently) identical setup on a second machine that works without > > this error. Both machines are the same hardware, OS, jdk, apache, tomcat > versions. > > 2) Also I'm fairly sure this is not a file not found error, because I tested it > on the > machine where it is not present and could not get it to duplicate based on the > file not existing. > > I was able to get an identical stack trace by telneting into the > port for webapp and killing the connection (however). > > I've searched over the archived mailing list and seen this issue a few > times, but never a resolution. > > Does it only happen to a very very very few people? > > There is probably a very simple explanation that I am missing :-( > > Also when the 'Application not currenlty deployed' error page is > displayed it shows the full path to the webapp.c file in the title > for the page (definately a feature, but possibly a dangerous one)... > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Hmm... I've noticed that this only generates between 2-3 megs of (extra) log information per day. I still have no idea why this is happening, but I guess except for 3-4 other times that I have found this mentioned in the mailing list archives it hasn't happened (or has had a painfully simple solution). My guess is that the socket from the mod_webapp.so -> tomcat has a timeout of say 1 second and that it hits the timeout closes and reopens. This would cause the output that I am seeing, but I'm not *that* good at hacking and don't really want to go into the code to attempt to figure this out. Also the fact that I only see it on one of three machines makes me think that this possibility is highly unlikely. My other guess is that it is a configuration problem, but I couldn't begin to figure out what might cause this. Perhaps debug level needs to be > 0 to avoid the output (that would seem to be backwards, besides this doesn't look like debugging output). Is this answered in the FAQ and I missed it, I'd feel fairly bad then. -ContestAdmin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
