Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums

6 Posted Topics

Member Avatar for sciwizeh

I used your code and executed it with localhost (as name of my computer) and the port 4000. echoSocket = new Socket("localhost", 4000); It works without errors. you can use code for server like this: [code]try{ serverSocket = new ServerSocket(4000); } catch (IOException e) { System.err.println("Could not listen on port: …

Member Avatar for sciwizeh
0
3K
Member Avatar for amjad277

[B]- I try here to close the XAConnection and XASession session.close() connection .close() - but the server shows me this Exception:[/B] 2008-07-18 09:30:14,093 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE java.net.SocketException: Socket closed at java.net.SocketInputStream.read(SocketInputStream.java:162) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664) at …

Member Avatar for amjad277
0
191
Member Avatar for amjad277

When one thread is executing a synchronized method for an object, all other threads that invoke synchronized methods for the same object block. What is happen when too many threads (for the same object) for example 100 Threads invoke this method and want to send data? In which order can …

Member Avatar for yzg1236
0
102
Member Avatar for amjad277

Does J2EE support TCP connection? If yes, how can I use these in J2EE: java.io.DataInputStream, java.io.DataOutputStream and java.net.ServerSocket Some one said to me there is no chance: Specifically, enterprise beans should not: listen on, accept connections on, or multicast from a network socket! Is this correct? Please help!?!

0
69
Member Avatar for geeths

Here you see all jabber clients: [url]http://www.jabber.org/clients[/url] I think Spark and Adium will be helpful for you.

Member Avatar for amjad277
0
80
Member Avatar for amjad277

Hello, does anybody know what is the difference between thies two codes? [B]1- With this code I get "NullPointerException at process1.getCurrentNode();"[/B] public void signal(ProcessEntity process) { ProcessEntity process1 = getEntityManager().find(ProcessEntity.class, process.getId()); if (process1 == null) { try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } signal(process); } NodeEntity currentNode …

Member Avatar for amjad277
0
106

The End.