On Thu, 2003-01-23 at 10:33, Hugh Field-Richards wrote:
> Hi
> 
> I am running Tomcat 4.1.18 on a Mac G4 running OS-X 10.2.3
> which is a fairly vanilla installation. Starting Tomcat seems ok
> but stopping does not happen. The following is produced ...
> 
>       su-2.05a# /Library/StartupItems/Tomcat/Tomcat stop
>       Stopping Tomcat Servlet/JSP Server
>       Using CATALINA_BASE:   /Library/Tomcat/Home
>       Using CATALINA_HOME:   /Library/Tomcat/Home
>       Using CATALINA_TMPDIR: /Library/Tomcat/Home/temp
>       Using JAVA_HOME:       /usr
>       <long delay here>
>       Catalina.stop: java.net.SocketException: Malformed reply from SOCKS 
> server
>       java.net.SocketException: Malformed reply from SOCKS server
>               at 
> java.net.PlainSocketImpl.getSOCKSReply(PlainSocketImpl.java:278)
>               at 
> java.net.PlainSocketImpl.doSOCKSConnect(PlainSocketImpl.java:232)
>               at 
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:135)
>               at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
>               at java.net.Socket.<init>(Socket.java:268)
>               at java.net.Socket.<init>(Socket.java:95)
>               at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
>               at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
>               at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>               at java.lang.reflect.Method.invoke(Native Method)
>               at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>       su-2.05a#
> 
> It takes several minutes to decide that there is a malformed reply.
> I have tried reloading several times with no success. The rest of the
> machine performs fine. The catalina.out file has no log of any shutdown
> activity (or any other log)
> 
> Has anybody else met this problem - I have searched the archives etc
> but so far have not seen anything. Any help would be greatly 
> appreciated.
> 
> TIA
> 
> Hugh Field-Richards

Hugh,
I've run into the same problem here. Yesterday afternoon, I could run my
jsp at home but at work with my work's network settings, it wouldn' run.
I was getting the malformed socket error as well. I realized that I had
configured my proxy settings to include settings for SOCKS. I removed
the setting and now my jsp's are working with my work network settings.
So see if you have SOCKS configured in your proxy settings.

-- 
Jeff Self
Information Technology Analyst
City of Newport News
Personnel Department Suite 200
700 Town Center Drive
Newport News, VA 23606
757-926-1810


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to