I am receiving the following error when I try and compile a class I am working on.
My socket is being initialized this way:
The offending line is:
Any help would be greatly appreciated.
Code:
$ javac -classpath /usr/local/coldfusionmx/bea/user_projects/srn/applications/cfusion/WEB-INF/lib/cfx.jar CFX_JSocket.java
CFX_JSocket.java:59: Method setKeepAlive(boolean) not found in class java.net.Socket.
socket.setKeepAlive(toBoolean(request.getAttribute("KEEPALIVE")));
^
1 error
My socket is being initialized this way:
Code:
Socket socket = new Socket(request.getAttribute("HOST"), Integer.parseInt(
request.getAttribute("PORT")));
The offending line is:
Code:
if (request.attributeExists("KEEPALIVE"))
{
socket.setKeepAlive(toBoolean(request.getAttribute("KEEPALIVE")));
}
Any help would be greatly appreciated.