At 12/21/2002 02:39 PM, you wrote:
Just a quick mail which might help some of you experiencing similar problems.We get that error in one custom JSP tag in our app. We see it out of the blue with no particular pattern. We have a lot of JSPs and custom tags but the exception only gets thrown in one tag, albeit the most complex one. The error occurs in the same app in non-Tomcat environments as well, eg. w/i JDeveloper, Websphsere (before we dumped it for Tomcat)...all Win2k though. I was never able to find the root cause, but it doesn't seem to affect the application, ie. requests and responses are still handled ok. I hate to see an unresolved error pop up like that, but researching it basically resulted in the fact that many things can cause it. Like you said, it is vague.
I just spent 3 days solid trying to debug a Servlet which incorporates Jini, into Tomcat 4.1.
Not to bug you with the specifics of Jini, but suffice it to say there is some real hairy stuf with classloaders, codebase, rmiregistry etc etc..
I kept getting a ridiculously vague "Socket exception : Client closed connection" when trying to register a Jini listener.
I finally solved my problem by re-installing Tomcat in a directory containing no spaces. Someone, somewhere, used the absolute directory path to contruct a URL, and I guess this came from CATALINA_HOME or CATALINA_BASE, and since it wasn't properly urlencoded, it fails.
The failure gives NO hint whatsoever of where, why the problem occured, so my advice is, if yo're having unexplained problems,just TRY it.
Beware, it's not only the "Program Files" with an offending space, some genius at Apache decided to use "Tomcat 4.1" as well. At least the Unix
package was created with a bit more sense.
All problems were solved simply by re-installing to a directory path without any spaces.
Hope this helps some of you.
Others, if yo're interested, I can send you the old stack traces, but
they're really vague.
Cheers.
WH
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>