users@glassfish.java.net

Re: Startup Problem - Port used

From: <glassfish_at_javadesktop.org>
Date: Sun, 06 Dec 2009 23:52:04 PST

I believe it is some kind of GF problem, or the way the it opens ports to listen.

On the same server I started a simple Groovy Script to listen a port as XML RPC Server and it works fine

[b]import groovy.net.xmlrpc.*;
def server = new XMLRPCServer()
server.echo = { return it + ' TEST BLA' }
def serverSocket = new ServerSocket(12126)
server.startServer(serverSocket)
[/b]
How does GF open ports for listening ?

Thanks
[Message sent by forum member 'itdude' ]

http://forums.java.net/jive/thread.jspa?messageID=375090