Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 19:12:23 -0800
From:      "David Sayed" <d_sayed@hotmail.com>
To:        <freebsd-java@freebsd.org>
Subject:   Problem on 5.2-RC2 but not 4.9-RELEASE with jdk-1.4.2p5
Message-ID:  <BAY9-DAV34H9AyHN25A0002b146@hotmail.com>

next in thread | raw e-mail | index | archive | help
I recently moved to FreeBSD 5.2-RC2 because it supports my chipset better
than 4.9-RELEASE.

I use a Java server based on a customised version of Tomcat for my Prismiq
media player. It ran OK under 4.9 with jdk-1.4.2p5 but throws the following
exception under 5.2-RC2:

Adding engine (org.apache.catalina.core.StandardEngine/1.0)
Exception in thread "main" java.lang.IllegalArgumentException: Port value
out of range: 65536 at java.net.ServerSocket.<init>(ServerSocket.java:180)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at com.oxygnet.mediaserver.util.PortFinder.testPort(PortFinder.java:121)
at com.oxygnet.mediaserver.util.PortFinder.findFreePort(PortFinder.java:103)

at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:64)
at com.oxygnet.mediaserver.util.PortFinder.findPort(PortFinder.java:45)
at Tomcat.EmbeddedTomcat.startTomcat(EmbeddedTomcat.java:124)
at Tomcat.EmbeddedTomcat.main(EmbeddedTomcat.java:252)

As far as I am aware, the highest port number should be 65535, however,
changing the program isn't an option for me (since I don't have the source)
and the port number doesn't seem to be set in a config file.

Any ideas?

Thanks,

David.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY9-DAV34H9AyHN25A0002b146>