Sponsored Content
Special Forums IP Networking can I use tomcat server for my chatting application? Post 302286517 by cbkihong on Wednesday 11th of February 2009 10:18:25 AM
Old 02-11-2009
OK. It was my duty to make sure this is not homework assignment. Anyway, my apologies.

Jetty is a web container like Tomcat. However, Jetty supports a unique feature called "continuation" that makes AJAX-based web applications a lot more scalable compared with conventional client polling-based solutions. This makes it ideal for implementing chat-like functionality where changes needed to be pushed actively by server to individual clients.

Actually I just found a test deployed Jetty from Google search that contains the sample.

http://64.164.6.244:9090/test/chat/chat.html

The actual sample code can be obtained from the Jetty6 download area. Jetty's site:

jetty - Jetty WebServer
 

10 More Discussions You Might Find Interesting

1. Linux

jsp not working on linux running tomcat server

hey there we cant seem to get jsp to load pages properly on linux running tomcat 4 server. everytime we run .jsp files, the source code comes up instead of the actual file contents. any suggestions?? cheers mile1982 (1 Reply)
Discussion started by: mile1982
1 Replies

2. UNIX for Dummies Questions & Answers

TomCat access in an Remote Linux Server

Hi all, I Installed Tomcat in an remote linux server (/usr/tomcat)and start service, using ./startup.sh (and tried with ./catalina.sh too). //----------------------------------------------------------------// # ./startup.sh Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.16/ Using... (1 Reply)
Discussion started by: gothama
1 Replies

3. Shell Programming and Scripting

How to restart the tomcat server

hi, I need a command that restart the tomcat server. for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script. like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies

4. Shell Programming and Scripting

Trouble getting consistent PID of tomcat server from ps

Hello all, I am working on a script to automate the process of restarting some tomcat servers. The versions of tomcat are pretty old and it often happens that they don't shut down gracefully and the PID needs to be manually killed. I am having a bear of a time getting a consistent PID from ps... (1 Reply)
Discussion started by: dkaplowitz
1 Replies

5. Programming

Need a little help in running jsp pages(Tomcat server).

Hi, I have installed following software on my linux machine. Is there anything else required to run jsp pages on linux machine? Please Help Here are some details that might be helpful. # lsb_release -a LSB Version: ... (3 Replies)
Discussion started by: pinga123
3 Replies

6. Shell Programming and Scripting

how to debug an expect script running on a tomcat server

Hello everyone, I have a small expect script as follows; #!/usr/bin/expect -f set force_conservative 0 ;# set to 1 to force conservative mode even if ;# script wasn't run conservatively originally if {$force_conservative} { set send_slow {1 .1} proc send {ignore arg}... (1 Reply)
Discussion started by: randeel
1 Replies

7. Solaris

Tomcat..Unable to deploy application remotely in tomcat

Hi, We have upgrade tomcat from 5.0.20 to 7.0.33 and made changes to server.xml file according to newer version.. how ever the upgrade went fine and now i am unable to deploy application remotely.. it is giving 403 access denied error.. we have seperate appbase directory mentioned in server.xml..... (0 Replies)
Discussion started by: phani4u
0 Replies

8. UNIX for Dummies Questions & Answers

Where is the best location to deploy an application on Tomcat over Linux?

Hi, I'm trying to figure out the best location to deploy an application on Tomcat over Linux server. The application structure is as follows: 1. WAR - the app itself. 2. conf - configuration files that are part of the product, not to be changed in deployment 3. local_conf - overriding... (0 Replies)
Discussion started by: moshebs
0 Replies

9. UNIX and Linux Applications

How to Monitor Tomcat App Server?

Tomcat stops logging intermittently for brief intervals of time like for 5 or 6 secs I wish to monitor if my Tomcat process gets stuck, hung or even shutdown or remains healthy at the time i see the problem of no logging. Can you please let me know how can i monitor Tomcat Application... (10 Replies)
Discussion started by: mohtashims
10 Replies

10. UNIX for Advanced & Expert Users

Building an apache-tomcat server

Hi, I have been assigned a task to build a server with these requirements : > has multiple tomcats running under the same apache. > tomcat & jdk has to be binded with apache. > latest openssl with all necesarry "mod" to bind with apache & tomcat. I am fairly new to... (1 Reply)
Discussion started by: anaigini45
1 Replies
ggz-wrapper(6)							  GGZ Gaming Zone						    ggz-wrapper(6)

NAME
ggz-wrapper - GGZ Gaming Zone command line core client SYNOPSIS
ggz-wrapper [--gametype GAMENAME] [--user NAME] [--destnick NAME] [OPTION...] DESCRIPTION
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game launchers. The ggz-wrapper tool is a small special GGZ core client for the command line. It does not support chat or display of rooms, tables and players, but instead is useful for fast launching of online games. Therefore, its main purpose is to be invoked from instant messengers such as gaim or kopete. It currently supports all two-player games, as human against human or human against bot. If no options are given, ggz-wrapper will invoke a Tic-Tac-Toe game client on the default GGZ server, live.ggzgamingzone.org, logging in as guest user. OPTIONS
--gametype=GAMENAME The name of the game to play, e.g. TicTacToe or Chess. This option expects a case-sensitive argument which must match one of the available game modules in ggz.modules. If the game type is not supported by the specified GGZ server, the invocation will fail. --user=NAME The name of the player who is running the client. The default is to run with an automatically generated guest user name. In order to use a registered name, the option --password is implied. --destnick=NAME The name of the other player. If omitted or empty, the player running the client will launch the table (game host). If empty, other player will be the bot. If not empty, player will join the table which the other player already launched. --password=PASSWORD Password to use in case of playing as a registered user. Note that on a multi-user systems, other users might see the password, which is a security risk. --server=SERVER The server to play on. If not specified, the default server is ggz://live.ggzgamingzone.org. --port=PORT The port to use to connect to the GGZ server. PORT is almost always 5688, so this option is rarely needed. AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org> SEE ALSO
ggz.modules(5), ggz(7) The GGZ Development Team 0.0.14 ggz-wrapper(6)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy