[~OT] problems with tapestry app on tomcat
I posted this to the tomcat list and someone mentioned that they use tapestry and have seen the same thing so I thought I'd post it here. I could really use any help I can get with this one. I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank page and this error in the log: Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext action INFO: Response already committed It also happens for static files like stylesheets so sometimes you will request a page and then the styles won't get loaded. Anyone have any clues as to what this could be? I'm googling around and looking through my tomcat book but haven't found an answer yet. I'm using tomcat 5.5 with the mod_jk connector and apache 2. Here is my server.xml: Server port=8005 shutdown=SHUTDOWN GlobalNamingResources Environment name=simpleValue type=java.lang.Integer value=30/ Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8080 / !-- Define an AJP 1.3 Connector on port 8029 -- Connector port=8029 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Realm className=org.apache.catalina.realm.MemoryRealm / Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true / !-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. -- Host name=domain.company.com appBase=hosts/domain debug=0 unpackWARs=true autoDeploy=false Context path= docBase=. / /Host /Engine /Service /Server -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [~OT] problems with tapestry app on tomcat
Hi Dan, Dan Adams wrote: I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank page and this error in the log: Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext action INFO: Response already committe IIRC, this is due to the output stream dying before the content is flushed. For example, you refreshed before the page you were on finished rendering. Generally speaking, it's a benign message. Then again, I may be mistaken . . . -- Kevin Menard Servprise International, Inc. Remote reboot without pulling the plug -- http://www.servprise.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [~OT] problems with tapestry app on tomcat
Hey Kevin. Long time. :) Well, this happens when you make a normal request like just clicking a link, not necessarily when you are refreshing a lot or something. It's very strange. On Thu, 2006-10-05 at 12:33 -0400, Kevin Menard wrote: Hi Dan, Dan Adams wrote: I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank page and this error in the log: Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext action INFO: Response already committe IIRC, this is due to the output stream dying before the content is flushed. For example, you refreshed before the page you were on finished rendering. Generally speaking, it's a benign message. Then again, I may be mistaken . . . -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [~OT] problems with tapestry app on tomcat
I just installed a new tomcat install where each webapp runs in a separate jvm so there couldn't be any classloader funkiness and I'm still seeing this problem. Any suggestions? On Thu, 2006-10-05 at 11:09 -0400, Dan Adams wrote: I posted this to the tomcat list and someone mentioned that they use tapestry and have seen the same thing so I thought I'd post it here. I could really use any help I can get with this one. I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank page and this error in the log: Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext action INFO: Response already committed It also happens for static files like stylesheets so sometimes you will request a page and then the styles won't get loaded. Anyone have any clues as to what this could be? I'm googling around and looking through my tomcat book but haven't found an answer yet. I'm using tomcat 5.5 with the mod_jk connector and apache 2. Here is my server.xml: Server port=8005 shutdown=SHUTDOWN GlobalNamingResources Environment name=simpleValue type=java.lang.Integer value=30/ Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8080 / !-- Define an AJP 1.3 Connector on port 8029 -- Connector port=8029 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Realm className=org.apache.catalina.realm.MemoryRealm / Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true / !-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. -- Host name=domain.company.com appBase=hosts/domain debug=0 unpackWARs=true autoDeploy=false Context path= docBase=. / /Host /Engine /Service /Server -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]