For the sake of completeness, I'm posting what ended up being the
actual root cause of all my woes. Turns out, my network connection on
Friday, when all of this was happening, was completely messing up the
requests to the deployed app, such that it would literally take the
app right down. Seriously. It was a long weekend....;-) Anybody
interested in a satellite dish? lol Eventually, after redeploying for
the nth time and noticing that other sessions were getting created no
problem, we figured it out. Man... The connection problem mentioned
below was caused by a deadlock issue that didn't show up in mysql
tools initially, but innotop sure found it. Can't say enough good
things about that tool. One of the other apps which fields ~2 million
requests a day that needed access to the locked resource started
making loads of connections, and that eventually killed us. Thanks
Chuck and all who responded. Now back to the seemingly tame in
comparison WOFileUpload issue;-)
Bill
On Oct 31, 2008, at 7:13 PM, Chuck Hill wrote:
On Oct 31, 2008, at 2:49 PM, William Hatch wrote:
Man, this day is going to hell really fast. Must be Halloween for
sure. In the interim since posting this, I've also got a few new
problems:
I'm getting an error about too many connections to db:
Oct 31 16:27:23 Analytics[-1] ERROR
er.transaction.adaptor.ConnectionAnalyzer - Too many connections.
(I posted this on the wonder list as well; apologies)
But I'm able to connect no problem with other tools, do queries,
etc, and there's not that many connections open at all.
and then there's this stuff as well:
java.lang.IllegalStateException:
<er.extensions.appserver.ERXDirectActionRequestHandler> Couldn't
locate action class named 'css'.
AND
java.lang.IllegalStateException:
<er.extensions.appserver.ERXDirectActionRequestHandler> Couldn't
locate action class named 'google-analytics.com'.
These seem to be in response to a script tag in the mark up, but
they've never shown up before. So, I'm thinking given all of the
above, there's a root cause somewhere that I'm not seeing....?
I'd guess that (a) this is all Wonder question and (b) your
properties are missing / wrong / mangled.
Chuck
On Oct 31, 2008, at 4:50 PM, Chuck Hill wrote:
On Oct 31, 2008, at 1:12 PM, William Hatch wrote:
Todays fun with the well supported servlet deployment is giving
me lots of the following ERROR output in the logs, all while the
app remains absolutely unresponsive. Same instance that'd been
running fine, aside from issues with the WOFileUpload. Any ideas of
a) what could cause this
A malformed request. That does not look like very current Wonder
source. Perhaps you are missing an important patch for WO 5.4?
Using latest Wonder built frameworks for 5.4 as of a few weeks ago.
We use the same version for local dev, staging and deploy.
b) how serious it could be
It looks like the request for a resource is failing.
Yeah, that would appear to be a good guess.
c) and if b's answer is "not much", then how the heck to get
this to quiet down so my log files can be used for meaningful
output?
I'd worry about it unless I knew that resource was something that
was not used (like favicon.ico).
Oh no, it's clearly something to worry about. And I'm worrying
plenty right about now.
Chuck
d) on a slightly related note, why when the app starts up do I
get WOServletAdaptor unavailable errors (not always, just some
times...) which prevent the app from coming up? When this
happens, I have to sudo touch ...app.war to redeploy it. Normally
this isn't a huge deal, but given that the typical current way of
deploying involves this completely self contained war file, the
jars get reloaded everytime, which eventually max's out the
permgen space, forcing a restart of tomcat. Yes, this could also
be addressed by redoing another build script which would generate
a proper classpath that points to these jars in the tomcat lib
directory too, but still, just wondering.
Oct 27 09:39:34 Analytics[-1] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
Analytics].[WOServletAdaptor] - Servlet.service() for servlet
WOServletAdaptor threw exception
java.lang.StringIndexOutOfBoundsException: String index out of
range: -8
at java.lang.String.substring(String.java:1938)
at java.lang.String.substring(String.java:1905)
at
er
.extensions
.appserver.ERXRequest.stringFormValueForKey(ERXRequest.java:139)
at
com
.webobjects
.appserver
._private
.WOResourceRequestHandler
.handleRequest(WOResourceRequestHandler.java:122)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:
1687) at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:
1646)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1610)
at
com
.webobjects
.jspservlet
._WOApplicationWrapper
.servletDispatchRequest(_WOApplicationWrapper.java:131)
at
com
.webobjects
.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:
727)
at
com
.webobjects
.jspservlet.WOServletAdaptor.doGet(WOServletAdaptor.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org
.apache
.catalina
.core
.ApplicationFilterChain
.internalDoFilter(ApplicationFilterChain.java:269)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
188)
at
org
.apache
.catalina
.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org
.apache
.catalina
.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org
.apache
.catalina
.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org
.apache
.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org
.apache
.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
834)
at org.apache.coyote.http11.Http11AprProtocol
$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
at org.apache.tomcat.util.net.AprEndpoint
$Worker.run(AprEndpoint.java:1286)
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
This email sent to [EMAIL PROTECTED]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]