Help - Search - Members - Calendar
Full Version: Client on FreeBSD
BatMUD > BatMUD forums > Batclient
Tim
I'm using FreeBSD 6 on my workstation with diablo-jdk15

The client works, however it usually hangs during start up. The java vm seems to crash, the java console stops responding.

I've had these problems on previous versions of the client. I suspect it is my JavaVM, however the client may be implicated. I don't really run other java apps, eclipse worked fine and I don't recall any other problems.

I've included below the text from the java console that I can get when the client does start correctly. When it fails, the console hangs after the first message
"Building desktopXML doc from file".

Is there anything I can do to investigate further? Could anyone else test the client of FreeBSD (anyone who might be able to find out what is broken)?



Java Web Start 1.5.0_07
Using JRE version 1.5.0 Java HotSpot™ Client VM
User home directory = /home/tim
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
0-5: set trace level to <n>
----------------------------------------------------
Building desktopXML doc from file
582
Adding icon for: http://www.bat.org/maps/tiles/dungeon.png
Adding icon for: http://www.bat.org/maps/tiles/pcity.png
Adding icon for: http://www.bat.org/maps/tiles/guild.png
Adding icon for: http://www.bat.org/maps/tiles/shrine.png
Adding icon for: http://www.bat.org/maps/tiles/ss.png
Created 582 markers
Loading desktopXML.
Loading configXML.
Setting RegexpDelim to: '
Loading actionButtonsXML.
Loading keybindingXML.
Loading macroXML.
Loading triggerXML.
Loading desktop config finished...
Loading plugins
Loading plugins...
Finished loading plugins...
Finished loading plugins...
Amarth
Is there a possibility for you to obtain a later version of Java? I'd try that first, the 1.5.0 family is at version 15 (aka 1.5.0_15) currently. Better yet, go for Java6 if possible. ..of course this is not the answer you probably wanted to hear.
Tim
I now have jdk1.5 and jdk1.6

Using javaws to start the batclient is more trouble using jdk1.6.

However, there doesn't appear to be any trouble if I start the thing up manually.

This is what my Javaws seems to do when I use the command: /usr/local/jdk1.6.0/bin/javaws batclient.jnlp
(Java™ Web Start 1.6.0_03-p4 Launching: /usr/local/jdk1.6.0/jre/bin/java)

/usr/local/jdk1.6.0/jre/bin/java
-Xbootclasspath/a:/usr/local/jdk1.6.0/jre/lib/javaws.jar:/usr/local/jdk1.6.0/jre/lib/deploy.jar
-classpath /usr/local/jdk1.6.0/jre/lib/deploy.jar
-Djava.security.policy=file:/usr/local/jdk1.6.0/jre/lib/security/javaws.policy
-DtrustProxy=true
-Xverify:remote
-Djnlpx.home=/usr/local/jdk1.6.0/jre/bin
-Djnlpx.remove=true
-Xmx128m
-Djnlpx.splashport=55446
-Djnlpx.jvm=/usr/local/jdk1.6.0/jre/bin/java
-Djnlpx.vmargs="-Xmx128m"
com.sun.javaws.Main
/tmp/javaws.1ZkNJ7qk

The tmp file appears to be a copy of batclient.jnlp

My java console (using javaws) shows the following, and then hangs:

Java Web Start 1.6.0_03-p4
Using JRE version 1.6.0_03-p4 Java HotSpot™ Client VM
User home directory = /home/tim
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Building desktopXML doc from file
582
Adding icon for: http://www.bat.org/maps/tiles/dungeon.png
Adding icon for: http://www.bat.org/maps/tiles/pcity.png
Adding icon for: http://www.bat.org/maps/tiles/guild.png
Adding icon for: http://www.bat.org/maps/tiles/shrine.png
Adding icon for: http://www.bat.org/maps/tiles/ss.png
Created 582 markers
Loading desktopXML.



It seems there's something funny going on with javaws. However, I don't know what.

SInce I can start the client manually (java com.mythicscape.batclient.Main seems to do the trick after unpacking all the jars), it's probably not a priority to get this debugged.

Tim
I was mistaken. The problems I was having with the batclient appear to occur when manually starting the batclient from the command line (i.e. not using javaws).

The client often hangs during initialization, so far this has been less frequent than when using javaws.

This occurs on both my jdks, version 1.5 and 1.6 (as noted above).

This may or may not having something to do with the client itself. Regardless, I would, ideally, like to find out what is not working and perhaps do something to fix the problem.

Tim
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.