Clent-Server Chat Messenger TESTING
HI
We have developed a Client-Server Chat Messenger.
Can anyone suggest me a good, free of cost Testing Tool for LOAD TESTING the Messenger.
i would write a programm which creates as many "client"-threads as i want. so u need to start this tool just one time.
but remember. on a pc with one cpu only it always will be a simulated parallelity. if u wanna real test, u have to find some users who would it do. just betatesters :)
Similar Messages
-
Requirement for chat messenger : JBOSSMQ or Just JMS
**what should i use for a chat messenger , just JMS or jboss mq series
**can i use only one queue for all clients,will it be feasible
ThanxUse JMS to pass messages to a server and from the server to all clients and use MDB on the server side to receive those JMS messages
-
Hi,
I want to create a small chat messenger within my small organization of 10 ppl.
I know it can be done via networking but how to proceed on this i dont know.
Please throw me some ideas on that
1. What is the logic behind chat messaging. How Java networking helps in that case?
2. How to start with the creation of tool?
Regards
AmanA chat client/server is fairly simple. Java networking helps because Java allows you to manage threads and sockets fairly easily.
You may want to read http://java.sun.com/docs/books/tutorial/networking/sockets/index.html for more information. For a chat server, you will probably want to create multiple threads since you will have many clients. -
Comparison : JBOSSMQ v/s JMS for a chat messenger
Thanx
Actually , I have already started using JMS for the chat messenger.
But i am facing problem regarding creating dynamic queues or implement this dynamic queue feature anyways.
Plz tell me the advantages of using JBOSS MQ over jms and comparison b/w the two if you can give.
ThanxI would second that. Separate queues for separate interfaces gives much better control and flexibility. It may not be very important when you have only a few interfaces, but in future as you will keep adding more interfaces it will become important to control each interface independently depending on priority, load etc which you can easily achieve if you are using different queues.
Some specific advantages of separate queues for separate interfaces:
1. You can pause/resume consumption of messages for a specific interface. For ex. if your environment is facing performance issues because of overload you may want to pause low priority messages while continue processing high priority or critical messages. Obviously this will be for short term and you may want to look at sizing of your environment as the long term solution to the problem.
2. You can configure different delivery parameters for different interfaces if you are using separate queue. So you can set one interface to provide reliable messaging by retrying failed messages automatically while you may configure the failed messages to be logged and not retried for another interface.
3. You can independently do performance tuning for separate interfaces. For ex. you may configure more concurrent processing for an interface which will receive higher load compared to other interfaces. -
9i clent/server versus web
When going through the developer traing manuals there is a time line showing support for clent/server and web through 2002 but when you get to 2003, 9i it shows only web support. Can some one explain this to me? Does a client server installtion become unsupported or stops working in 9i?
I think you may be lumping two different things together.
When going through the developer traing manuals there is a time line showing support for clent/server and web through 2002 but when you get to 2003, 9i it shows only web support. Can some one explain this to me? Does a client server installtion become unsupported or stops working in 9i?
Where is it documented that 9i is web based only.The Oracle product Developer 9i is only web based. If you have a 9i database and 9i client software installed you can still run client/server applications as long as you're not using Developer 9i to write the applications. -
hiiiiiiiiiiiii freinds?
I am a beginer and i have to make a project so help me by removing my confusions. how we can make chat messenger on LAN connection so that every one can do chat with each other.
OR , what is the procedure to do so?[http://www.google.com/search?q=java+chat+tutorial]
~ -
Hi, i'm writing an IP Chat messenger that also allows file transferring for our project. I was wondering how I can allow the file sender to show a dialog to the other side asking if he wishes to accept the file or not. Any APIs or steps that I need to look up on or might be helpful. Thanks.
810623 wrote:
How do I let the receiving side know that there is a pending file transfer?Well, obviously you have to have a layer above the socket that includes some intelligence about your messages. You're not just sending every character the user types straight to the other end, right? So you define your protocol to include the information you need. For instance, you first indicate whether the message coming in is a user message or a request for file. Then, you indicate which user it's from. Then, if it's a user message, the next piece is the actual text, but if it's a file, it would be things like the file name and size.
On the receiving end, when you get a "file request" message, you pop up a dialog with the relevant information. You tell the other side yes or no, and then he sends a file message with the contents, or tells his user "refused" if the receiving user said no. -
Server Side Unit Tests / arquillian
Hello,
has anyone successfully used arquillian to perform server side unit tests with NetWeaver AS? Or any other way to achieve this goal (test EJBs in their native environment)?
A while ago we achieved this by manually deploying and running the tests on the server, but this is not a clean solution like arquillian, and required some workaround and design restrictions on the application.
ciao,
ElmarNot presently, we have the same issue internally. I have a half-finished "Headless Glass" implementation would allow exactly this, but due to other (crucial and exciting) FX work I am doing at the moment, I haven't been able to finish this.
-
Help with client server chat 1
Hi,
I have to create small multithreaded client/server. chat program. Server and client have to exchange messages using input boxes until user types QUIT. I did most of it(I think) but it seems that server does not receives client messages and input boxes are displayed only once. I can�t figure out what is the problem. Here is what I did .I know it�s not easy to understand somebody else�s code, but if anybody have some spare time?
this is just a server part, client is in second posting
SERVER.JAVA
import java.io.*;
import java.net.*;
import java.lang.*;
import javax.swing.*;
public class Server
final int SBAP_PORT = 5555;
//constructor
public Server(){
//set up server socket
ServerSocket ss = null;
try {
ss = new ServerSocket(SBAP_PORT);
} //end try
catch (Exception e) {
System.out.println("Could not create socket: Exception " + e);
System.exit(0);
} //end catch
//chat with the client until user break the connection or enters QUIT
try {
while(true) {
System.out.println("Server: Waiting for client to connect ...");
Socket currentSocket = ss.accept();
//create a new thread for each connection
new ServerThread(currentSocket);
} //end while
} //end try
catch (Exception e) {
System.out.println("Fatal server error: " + e);
}//end catch
}//end constructor
//inner class ServerThread to handle individual client connections
private class ServerThread extends Thread {
private Socket sock;
private InputStream in=null;
private OutputStream out=null;
private BufferedReader reader = null;
private PrintWriter writer = null;
//constructor
public ServerThread(Socket sock) {
try{
this.sock=sock;
System.out.println("Server: Client connection established");
start();
}//end try
catch (Exception e){}
}//end constructor
public void run() {
try{
in = this.sock.getInputStream();
out =this.sock.getOutputStream();
reader = new BufferedReader(new InputStreamReader(in));
writer = new PrintWriter(out);
while(true) {
String server_response = JOptionPane.showInputDialog(null,"Server Response");
System.out.println("Sending: " + server_response);
writer.println(server_response);
writer.flush();
String line = reader.readLine(); //receives client request
if (line == null || line.equals("QUIT"))
System.out.println("No data received");
else
System.out.println("Received: " + line);
}//end while
}//end try
catch (Exception e) {
System.out.println("Connection to current client lost.");
finally {
try {
sock.close();
}//end try
catch (Exception e) {}
}//end finally
}//end run
}//end inner class ServerThread
//main starts
public static void main(String[] args) {
new Server();
}//end main()
}//end class Serverhttp://forum.java.sun.com/thread.jspa?threadID=574466&messageID=2861516#2861516
-
I am final year student. I am making project on instant messenger,I am using Socket programming .I want from my application that when client1 want to chat with any of the online client2,he send that name of the client2 to the server then server send his socket address to the client1,& then client1 connect to the client2 through the socket send by the server.Thus in chatting session betwwen two client's there is no role for server.
But i am facing a many problem in doing these,
1)which java.net class i used to establish connection between to client1
& client2([b]InetSocketAddress;,SocketAddress,SocketImpl,SocketImplFactory)
2)If suppose client1 want to chat client3,then how client1 discriminate that message is coming from client2 or 3 because both send the message to same input stream.
These are the problem i'm facing in my project,plz help me in solving my difficulties,and plz give me some suggestion if i'm going in wrong direction.Also suggest me some java classes which will help me in completing my project.
thank you for suggestions1)which java.net class i used to establish connection
between to client1
client2([b]InetSocketAddress;,SocketAddress,Soc
ketImpl,SocketImplFactory)java.net.Socket.
2)If suppose client1 want to chat client3,then how
client1 discriminate that message is coming from
client2 or 3 because both send the message to same
input stream.No they don't. Each client is represented by a different Socket and each Socket has its own pair of streams. Where did you get this from? -
'Unable to connect to database server' on local test server (CS4)
I am a php/MySql newb. Have designed static sites in DW since Macromedia DW 4 days.
I have set up a testing server on my Mac running OSX 10.6.7 using MAMP 1.9.5 and Dreamweaver CS4 to test my osCommerce store (I like to see what's happening visually, even if I just change a small variable in the code). Although I have imported the store database from my remote server, and the connection tests in the DW Database window to the store, mysql, and information schema databases in Dreamweaver are successful, I still get "Unable to connect to the database server!" when I try to preview a .php page with Live View or with a browser. I'm using the correct ports in my site definition (8888 and 8889). MAMP shows Apache and MySQL running, of course. Have tried logging in as root and as my ususal username witht the correct passwords. Everything seems to be right...but it's still wrong.
Do I also need to import the mysql and information schema databases from my remote server to replace the ones that came with MAMP? If so, where do I put the information schema db? Although it shows as a database in PhpMyAdmin, I don't see a folder or doc by that name anywhere in MAMP - it must be buried pretty deep! (I did find a file called information_schema_relations.lib.php in MAMP/bin/phpMyAdmin/libraries. Is that it?)
Or is it something else entirely?
Note that though I'm a fairly savvy user, I am not a developer or coder. Strictly a GUI/static design guy with a liberal arts education. Keep the answers simple and in plain English, thanks.
Have also posted this on the MAMP forum.Hi Kanstantin,
Ieve tested the database connectivity through sqlplus using SYSTEM. But when I try to connect (Mount the repositiry server from MDM console, I facing the problem mentioned.
Please let me know if I need to do anything else.
For your info:
The following are the tnsnames entries
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
MD7 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = MD7)
(INSTANCE_NAME = MD7)
(GLOBAL_NAME = MD7)
(HS = OK)
The following are the entries in listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = I:\oracle\MD7\102)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = mysapplm)(PORT = 1521))
Regrads,
Varadhu
Edited by: Varadhu on Aug 6, 2009 10:49 AM -
Last weekend I finally got my camera to be recognized by iChat.
During the weekend I tried to set up my girlfriend and brother with an account and make a connection.
Me--iChat and iSight with AIM, they, PCs with digicams with USB set to pc camera.
It didn't work, but no biggie--I'm just testing for home office use in the future when I go freelance. So I gave up pretty quick.
So I need to test with other people. The autoresponders in this FAQ worked:
FAQ: Want to Test your iSight With Another Person?
But the other profiles (inviting tests) are not active, as far as individual testing.
So I googled video chat rooms to test, but I got a bunch of nasty sites that made me afraid for my browser.
So where can I go to test, a place where I don't have to give my credit card or worry about virtual STDs?
The truth is, I'm vague on the entire logic of this. I have iChat software, and AIM membership, and go to a video chat room with other people who....have the same exact thing? Or what?Hi Matt,
Like Rj I will be happy to test with you. I keep very irregular hours so I am not online all of the time. I should be available later today if you want to try.
<-------------
see link to the right for my details.
There are also some useful iChat links at the bottom of the following FAQ.
<a href="/webx?13@@.68b2d3fe.68a11203.68a11147"> Ralph Johns (UK), "FAQ: Find Links to Things About iChat", 06:58pm Dec 11, 2004 CDT
Hope this helps
Chris -
How to simulate external IP addresses on a single server Hyper-V test environment
I just bought a powerful laptop and installed a spare copy of Server 2012 R2 Datacentre on it.
I am in the process of setting up a test LAN with DC, Exchange, TMG firewall web and backup servers.
V host without the use of external physical routing?
I would like to connect a client to the LAN services such as Exchange and VPN in the same way a client device connects to a network over the internet. In other words, I need to test the external IP addresses of my test LAN.
I am considering a setup consisting of two separate LANs with different IP address ranges:
LAN 1: internal network (with all the services mentioned above)
LAN 2: with only one client VM; this would be the external network (simulated internet)
Is this the best way of doing it? Has anyone already done something similar?
Many thanks!I have something similar.
I don't believe your solution would work alone, as you'd need a VM to act as a router between the two. You could do it like that (but adding a virtual router) or you could just let WAN be your local network (the one your laptop is on)
Some steps (not very detailed, I can provide my documentation I wrote for Hyper-V running on server 2012 R2 (should work exactly the same for you though)
The first vSwitch created should be External type (it should already be created if you installed Hyper-V)
Create a second switch, call it whatever (Internal or LAN doesn't matter), set it's type to Private.
Create a small 512MB Generation 1 VM with a small (1GB should be fine, and it can be dynamic expanding)
Add two LEGACY (key point) network adapters to it, attach the first to the external and the second to the private.
Install pfSense onto it. You'll basically have a router. the first interface is the WAN (if you set the first adapter as external when you added them to the VM) or "the internet" you could say. While the private switch is the second interface or your local
(private) LAN. Now any VM you want to be on this virtual LAN just set it's network adapter to be connected to the Private vSwitch.
I have instructions if you want to do this (specifically for Hyper-V (I wrote them in case I ever had to reinstall it because there are a few gotchas with it being virtualized) -
How can I set up Mavericks Server on a Test Mac without affecting the production server
I have Mountain Lion server running as on an xserve as our main server, it has developed a few issues particularly related to Profile Manager and Certificates.
So I was going to use the move to Mavericks as an opportunity to have a fresh start.
So I want to set up Mavericks Server on a mac mini temporarily to test it and configure all the services before moving it to the Xserve as the main server.
My question is what is the best way to do this, obviously I can't use the same IP or hostname as the main server if it is connected to the network, and some services can't be set up without a network connection.
So do I give it a new IP and hostnmame for now and then change it later on, my concern is that changing the hostname might cause issues down the line.
So what is the best way to set up a fresh server in preperation as a drop in replacement of the current server?Ok I got the test server set up fine and cloned it over to a spare partition on the Xserve.
But when I booted into the new partition several things broke.
1st the IP address changed itself despite the fact it is set to Manual, The Alert section of Server.app let me repair this.
Profile Manager no longer worked, the web page just said Profile manager could not be found, was working fine on the test mac
Tried deleting the OD master and resetting Profile Manager but it still didn't work.
DNS needed repairing and restarting
I decided at that point to abandon it and go back to the test mac where everything is still working.
Any tips for overcoming these issues.
I have thought maybe it would be best to turn off all server services before making the clone and then turn them on one at a time once it has been restored to the new partition on the xserve
Also if the certificates that are created when making an OD master were made on the mac mini does that cause a problem when it has been restored to a different machine, should I leave OD off and just set it up when it is in its final place? -
Oracle VM server Install - Media Test on bootable CD fails
I have made 3 cd's on 2 different machines and when I run them to install the VM Server on a machine with a clean hard drive (ok irrelevant) I get an error when I try to run the Media Test. I have verified the checksums on the original ZIP files I downloaded and even downloaded a second copy of the zip to check it - I still get the error. I verified the CD as a part of the Burn process. (Note: I did do this on a different machine than I used to boot/read/install VM Server from.
Before you continue to read below - I guess my primary question is how safe was it to ignore the failure of the media test?
I created the cd with NERO 9 using Nero Burning ROM and selecting CD-ROM (ISO) when I drag the ISO file to Nero I get a message:
"You have added a single image file to an empty compilation. To burn the content of this type of image to a disc, please use the 'Burn Compilation'
function from the main menu.
Would you like to close the current compilation and burn the image instead?"
When I say yes and take the option I get a disc that has the contents of the ISO broken into many files (as I would expect to make a bootable disk). When I say no and then subsequently Burn the disc (without adding any extra files) it creates a disc with one file (the original ISO) on the disc.
It seems like it is trying to verify the the checksum of the original iso file? Or am I missing something. I got frustrated and used the disc without running the media test and it seems to run fine and the VM Server that was installed on my hard drive boots up fine as far as I can see.
Please feel free to point me to a link that explains UNIX (I have used UNIX but have not installed a UNIX system since the early 1980's) boot disk setup - I feel that there is something I am not understanding.
On a similar note I have created the Oracle VM Manager disk with the same process as above to make it a bootable disk. The documentation says that I do not have a bootable version of the Manager disc. Should I have created a disc with the ISO file intact on it instead?
OK I just did some research and now I understand that ISO type files are an archive type (like zip or tar.gz??) that can have boot records on it. Hmm. OK after all of this long dissertation I understand the ISO now but why would NERO have me build a CDROM(ISO) that did not make the ISO bootable?I have exactly the same problem with VM Server 2.2.0. I have downloaded the zip file a couple of times, burnt the cd using different computers and different cd-burning software, I have a pile of spoilt cd by my side, but the media check always fails.
The only difference is that, if I go on with the installation despite the media check failure, the software apparently is not properly installed. When I boot, I get the message "time went backwards", surrounded by a bunch of numbers, and then it all gets stuck.
It is the second time in a year that I try and fail to get started with Oracle VM. Maybe Oracle VM is only for experts. Well, I give up. I will go back to running Oracle on VMWare or Microsoft Virtual Server, which have always worked flawlessly for me.
Regards
Juan Algaba Colera
Maybe you are looking for
-
Swapping Computers and then Restoring
I'm about to swap computers with a buddy of mine. I have this black macbook and he has the new 15 inch macbook pro. I have been backing up with Time Machine since it came out. He is going to restore his computer to the way it was when it came in the
-
What kind of performance should I expect from my Mac Mini?
I just purchased a Mac Mini (Mid 2011) model. I got the 599 model with Core i5 2.3 ghz and 2GB of RAM. So far, I've been really disappointed with the performance. Launching programs like iMovie or iPhoto can take an extremely long time. When I hae iM
-
Select quantity depending on style # choosen
HI, I have a drop down menu with 2 style numbers: 2602 and 2622 If the client choose 2602, then the number 20 gets written in the next field. If the client choose 2622, then the number 40 gets written in the next field. I assume the field that has th
-
Getting 'taglib directive for "f" does not exist or TLD is not found'
Hi, I'm using Eclipse 3.4 and when I open my JSF page in Eclipse, I'm getting red "x"'s next to my JSF directives. For example, <f:view> has a red "x" along the left margin and when I roll over it, it gives me the error, 'taglib directive for "f" doe
-
HT4528 can you interchange the iphone and ipad chargers?
can you interchange iphone and ipad chargers?