In the java/server/classes dir
echo "localhost" > dxserver.hosts
There is also an "output" dir (on the same level as htmlpages?) that should be
writable, your files go there.
Harry Mangalam wrote:
> Hi All,
>
> I seem to be within striking distance of getting Java DX to work on this
> system (Debian potato/Progeny 2xPII, SMP, DX compiled for SMP, using IBM's
> JDK1.3,
>
> DX by itself works fine.
>
> The problem seems to be in diplaying the images generated by the JavaDX
> server - everything works as far as I can tell - except that the resultant
> image is never displayed to the applet. The applet
> controls work, the CPU is working in response to the controls, it's just that
> I never see the updated result.
>
> The directories are symlinked into the html tree ie:
>
> /var/www/jdx -> /usr/local/dx/java/
>
> but the images in the /usr/local/dx/java/htmlpages never get updated (tho the
> dir is writable)
>
> the java server responds like:
>
> 136 % ./java/server/bin/startserver -webpage
> /usr/local/dx/java/htmlpages/Status.html -dxroot /usr/local/dx -debug
> -foreground
> java.lang.NullPointerException
> at java.lang.Throwable.<init>(Throwable.java:84)
> at java.lang.Exception.<init>(Exception.java:35)
> at java.lang.RuntimeException.<init>(RuntimeException.java:39)
> at java.lang.NullPointerException.<init>(NullPointerException.java:45)
> at java.io.File.<init>(File.java:187)
> at server.DXServer.ReadHostFile(DXServer.java:411)
> at server.DXServer.main(DXServer.java:97)
> at DXServer.main(DXServer.java:5)
> Starting DXServer... ready for clients
> DXServer: versionMatch(true) dx.protocol.server.statusMsg|1,2.0.0
> DXServer: versionMatch(true) dx.protocol.server.startMsg|1,2.0.0
> DXServer: dx.protocol.server.startMsg|1
> DXServer: versionMatch(true) dx.protocol.server.statusMsg|5,2.0.0
> DXServer: versionMatch(true) dx.protocol.server.startMsg|1,2.0.0
> DXServer: dx.protocol.server.startMsg|1
>
> I'm not a Java programmer at all so I don;t have a good idea whether the
> initial
> java.lang.NullPointerException is serious or not. But the system works well
> otherwise..
>
> --
> Cheers, Harry
>
> Harry J Mangalam -- (949) 856 2847 (v&f) -- [EMAIL PROTECTED]
> [plain text appreciated, if possible]