Tagged Questions
0
votes
2answers
49 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
28 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
43 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
1answer
45 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.
...
0
votes
1answer
48 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 ...
0
votes
1answer
354 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
938 views
Applet stops at “Applet loaded” and displays nothing, works perfectly on BlueJ AppletViewer
Background: I have a basic applet from various tutorials and books written that adheres to their instructions and, after much toil over getting it to display anything at all, I finally have it ...
-2
votes
1answer
116 views
How can I get the users IP and hostname using Java
InetAddress addr = java.net.InetAddress.getRemoteHost();
MyHost = addr.getHostName();
IPaddressString = addr.getHostAddress();
The above code returns the users local data being 127.0.0.1 and ...
1
vote
0answers
264 views
Java look up at 127.0.0.1 fail on tomcat
I am working in a VPN (actually I don't know if it affects the situation) on Ubuntu 12.10 and I am running an application in Tomcat 6 that fails to start returning:
Caused by: java.lang.Exception: ...
1
vote
0answers
433 views
Send postfix mail to Java application running on Tomcat
I have a Postfix mail server, and I want to forward my received emails to my application written in Java and running on a Tomcat web server.
As far as I know, it is possible to forward the whole ...
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
0answers
116 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
120 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
0answers
71 views
Cant locate jar files from localhost
I ve got a Main.java file which call some libraries as jars. I built the project and took the jar file of the Main file. I tried to execute the jar file of the main from php. I put the
jar file in ...
0
votes
0answers
79 views
Connection to server returns an IO Exception
I've been having problems connecting to the server. This code works okay in a separate program, but when I merged the code with my other project, it's not connecting.
This is in my onCreate:
i= ...