-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fatzopilot,
On 1/26/2010 7:16 PM, fatzopilot wrote: > I switched from a Windows XP based VPS to a Ubuntu 8.04 linux machine. Good choice! Are you still on a virtualized platform? > Both run Tomcat 6.0.18 and 2.2.8 on tcp4. Could that mean Apache httpd 2.2.8 on IPv4? > I now face several problems that might > be related to some low level socket issue but do not necessarily need to. I > am already glad to receive some hints to further boil down the issues. Okay. Generally, it's considered polite to ask a single question in a single thread. Next time, just post them separately. > 1st issue: I cannot connect to a socket server embedded in a webapp and > listening on port 10000 any more in all cases. If I do it from a mobile > device, it works, if i do it from my laptop over a dsl connection (router in > between), a channel is opened and instantly closed. Hmm... so, on the Linux install, mobile devices (presumably through the wireless provider's network) connect correctly, but non-mobile devices fail? This sounds like it might be a firewall issue. Does your laptop allow outgoing connections to port 10000? How about your router? Are you on a corporate network with IT Nazis preventing you from doing anything but using ports 80 and 443? You can use traceroute or other tools to confirm connectivity independently of the server software. Telnet also helps, sometimes, too. > 2nd issue: mod_jk does not work. I think I replayed multiple instructions to > set it up multiple times but in all cases it finally says "Could not find a > worker for worker name=myWorker" Please post the relevant parts of your httpd.conf and jk_workers.properties. Most often, I've seen configurations where the JkWorkersFile directive is in the wrong place. Also, please post as much error information as mod_jk provides in your mod_jk.log file. > 3rd issue: GWT-RPC calls do not get delivered any more to the browser on my > laptop. This is probably due to issue #1 above, no? > IPtables is turned off. On your laptop, on the server, or both? > tcp 0 0 127.0.0.1:8009 0.0.0.0:* LISTEN > > 29931/jsvc So, Tomcat is listening on port 8009, which is the default AJP port in server.xml. Tomcat looks like it's expecting to receive requests from httpd via AJP (provided by mod_jk). > tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN > > 29931/jsvc Also good: Tomcat is listening to port 10000. This means that your Tomcat configuration appears to be correct in terms of SecurityManager (if present), socket binding rights, etc. > tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN > > 29931/jsvc Note that Tomcat is also listening to port 8080, which is the default HTTP port in server.xml. If you don't want connections to circumvent httpd, you might want to disable this connector. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktgjyEACgkQ9CaO5/Lv0PCO3ACfU1bRXkSPB6Ra3WiepoMMmdUN V1wAoJuA6cOFHCG1EQnBxH9Ex30ADjMM =XGBZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org