0
votes
1answer
22 views

several threads from client side connecting to same serversocket, all on localhost

I have a server with a serversocket, and a client which is also a thread. in the main client, i creates 80 instances of the client thread, and each one of those opens a connection (using sockets) with ...
0
votes
1answer
29 views

HttpClient is not working with localhost

I developed a web service in java Jersey REST. I used HttpClient to call a a basic GET method. When using this URL http://localhost:8080/myserver/rest/location on browser, it works. When using this ...
0
votes
2answers
40 views

Can anyone point to the cause of this error in tomcat localhost log?

11-Apr-2013 12:56:04 org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incoming RPC call java.net.SocketException: Connection reset at ...
0
votes
1answer
42 views

Sending and receiving that same data by the same program, over a network socket

I'm trying to send a data packet, and receive that same data packet, by a java program over a socket. The point is to measure the time it takes to go over the network and return to my program itself. ...
1
vote
1answer
712 views

Local Applet Security Exception

I'm trying to run a basic hello world Java applet in my browser, but I keep getting "Application Blocked by Security Settings" with the following message: SecurityException: Your security settings ...
0
votes
1answer
33 views

Connection to MySQL with JDBC

I have been trying to connect to my external MySQL server location at http://mysql10.000webhost.com using JDBC in eclipse, but I keep getting an error. Here is my code: import ...
2
votes
1answer
64 views

DriverManager no suitable driver mysql

We're having some trouble finding out why we are getting an error message when creating a connection with DriverManager. Here is our code package Databank; import java.sql.Connection; import ...
2
votes
6answers
66 views

How to specify path to mySQL using localhost?

I have been having issues specifying the path (I have two files: comments.frm and db.opt in the following folder: C:\xampp\mysql\data\feedback)... I am using XAMPP and mySQL. I am not sure why I am ...
0
votes
0answers
8 views

Sending JInternalFrames across the net

So here's the problem. I've got two applications, one to receive a JInternalFrame from the computer, and one to send it. This is all taking place on one computer sending it through ...
0
votes
1answer
43 views

smtp and pop3 how to work with localhost

I am new with smtp and pop3. I want to create a client application that sends and received emails using pop3 and smtp. I need a localhost domain and I don't know how to set this. I am working on ...
0
votes
1answer
79 views

Connecting to SQL via JDBC to an IP hosting MySQL Server [duplicate]

I am trying to connect to an MYSQL database using JDBC. In my.conf file I have commented out the bind-address option. I am using phpmyadmin. In MYSQL privileges table, it shows that user : sumitb ...
0
votes
0answers
107 views

How to delete XML file from conf/Catalina/localhost of Tomcat through Java code

I have created an XML file in conf/Catalina/localhost. It is used by the Tomcat manager to create a new domain which points to the same application. Again I need to delete this XML file from the ...
0
votes
0answers
104 views

Java Client can't connect to Server on a different IP

Alright so I've been trying to make a game which utilizes a multi-threaded server-client connection. It works perfectly fine through the localhost, but when I try to connect via the IP it doesn't show ...
0
votes
1answer
321 views

Use Jmeter localhost with custom port

I have a Java web-server. It uses localhost, and port 9090.(custom, but not 8080) (Socket[addr=/127.0.0.1,port=59507,localport=9090]) // in the log It works fine, and I wont to test it using Apache ...
0
votes
1answer
44 views

How to get serever Status of localhost(tomcat)?

I need to know the status of a Tomcat server (http://localhost:8081) - whether or not it is started using Java code. How can I do this if it is possible?

1 2 3 4 5
15 30 50 per page