Re: Timed wait fails under WebStart in Java 1.6 prerelease?



<having trouble with my news server, hope this
gets posted...>

OK, in an effort to contribute something, I did a clean install
of 1.6.0-rc-b104 and a reboot, on Windows XP Pro. Here's
the system properties, but the software runs beautifully from
the java command line. The problem comes in when I run it
from its Webstart configuration. Anyway, I can run it from the
command line perfectly using this command:

java.exe -client -dsa -Xms128m -Xmx384m -Xnoclassgc -cp
ZoneTrader.jar;ZoneTraderAuth.jar;ZoneTraderSounds.jar;ZoneTraderChart.jar;ZoneTraderContracts.jar
-Dsun.java2d.noddraw=true com/twc/trader/ZoneTrader
C:\Eclipse311\ZoneTrader\deploy

This is a very complex multi-threaded (about 85 threads) realtime Swing
application
for online futures daytrading.

Here are the system properties of the successful command line run, and after
that I show you the jnlp specs for the configuration which does not run:

java.runtime.name: <Java(TM) SE Runtime Environment>
sun.boot.library.path: <C:\Program Files\Java\jre1.6.0\bin>
java.vm.version: <1.6.0-rc-b104>
java.vm.vendor: <Sun Microsystems Inc.>
java.vendor.url: <http://java.sun.com/>
path.separator: <;>
java.vm.name: <Java HotSpot(TM) Client VM>
file.encoding.pkg: <sun.io>
user.country: <US>
sun.java.launcher: <SUN_STANDARD>
sun.os.patch.level: <Service Pack 2>
java.vm.specification.name: <Java Virtual Machine Specification>
user.dir: <C:\Eclipse311\ZoneTrader\deploy>
java.runtime.version: <1.6.0-rc-b104>
java.awt.graphicsenv: <sun.awt.Win32GraphicsEnvironment>
java.endorsed.dirs: <C:\Program Files\Java\jre1.6.0\lib\endorsed>
os.arch: <x86>
java.io.tmpdir: <C:\TEMP\>
line.separator: <

java.vm.specification.vendor: <Sun Microsystems Inc.>
user.variant: <>
os.name: <Windows XP>
sun.java2d.noddraw: <true>
sun.jnu.encoding: <Cp1252>
java.library.path:
<C:\WINDOWS\system32;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program
Files\Common
Files\GTK\2.0\bin;.;c:\PROGRA~1\java\jdk1.5.0_06\bin;c:\PROGRA~1\java\jre1.5.0_06\bin;C:\Blazix;>
java.specification.name: <Java Platform API Specification>
java.class.version: <50.0>
sun.management.compiler: <HotSpot Client Compiler>
os.version: <5.1>
user.home: <C:\Documents and Settings\bfry>
user.timezone: <America/New_York>
java.awt.printerjob: <sun.awt.windows.WPrinterJob>
file.encoding: <Cp1252>
java.specification.version: <1.6>
user.name: <bfry>
java.class.path:
<ZoneTrader.jar;ZoneTraderAuth.jar;ZoneTraderSounds.jar;ZoneTraderChart.jar;ZoneTraderContracts.jar>
java.vm.specification.version: <1.0>
sun.arch.data.model: <32>
java.home: <C:\Program Files\Java\jre1.6.0>
java.specification.vendor: <Sun Microsystems Inc.>
user.language: <en>
awt.toolkit: <sun.awt.windows.WToolkit>
java.vm.info: <mixed mode, sharing>
java.version: <1.6.0-rc>
java.ext.dirs: <C:\Program
Files\Java\jre1.6.0\lib\ext;C:\WINDOWS\Sun\Java\lib\ext>
sun.boot.class.path: <C:\Program
Files\Java\jre1.6.0\lib\resources.jar;C:\Program
Files\Java\jre1.6.0\lib\rt.jar;C:\Program
Files\Java\jre1.6.0\lib\sunrsasign.jar;C:\Program
Files\Java\jre1.6.0\lib\jsse.jar;C:\Program
Files\Java\jre1.6.0\lib\jce.jar;C:\Program
Files\Java\jre1.6.0\lib\charsets.jar;C:\Program Files\Java\jre1.6.0\classes>
java.vendor: <Sun Microsystems Inc.>
file.separator: <\>
java.vendor.url.bug: <http://java.sun.com/cgi-bin/bugreport.cgi>
sun.cpu.endian: <little>
sun.io.unicode.encoding: <UnicodeLittle>
sun.desktop: <windows>
sun.cpu.isalist: <>

The jars are all then signed and moved to a website, with the jnlp as
follows, which
is the configuration in which it hangs. I have not yet determined exactly
where
the software is hanging but will try and find out and post a followup:

<?xml version="1.0" encoding="UTF-8" ?>
<jnlp spec="1.0+" codebase="http://TradeWithConfidence.com/zonetrader";
href="ZoneTrader.jnlp">

<information>
<title>Zone Trader</title>
<vendor>TradeWithConfidence.com</vendor>
<description>Futures Trader</description>
<homepage href="http://TradeWithConfidence.com/zonetrader"; />
<offline-allowed />
</information>

<security>
<all-permissions />
</security>

<resources>
<j2se version="1.5.0+"
java-vm-args=" -client -dsa -Xbatch -Xss92k -Xms256m -Xmx256m -Xnoclassgc -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
-Dswing.metalTheme=steel -Duser.timezone=America/New_York -Duser.language=en
-Duser.region=US"/>
<jar href="sZoneTrader.jar" download="eager" />
<jar href="sZoneTraderChart.jar" download="eager" />
<jar href="sZoneTraderSounds.jar" download="eager" />
<jar href="sZoneTraderAuth.jar" download="eager" />
<jar href="sZoneTraderContracts.jar" download="eager" />
<property name="sun.java2d.noddraw" value="true"/>
</resources>

<application-desc main-class="com.twc.trader.ZoneTrader">
<argument>command-line-argument</argument>
</application-desc>

</jnlp>


.



Relevant Pages

  • Re: show / copy pre-shared key in plaintext
    ... configured an appropriate tftp-server command. ... When you hard set that within a configuration ... pix uses that to get it's config at every boot. ...
    (comp.dcom.sys.cisco)
  • Re: show / copy pre-shared key in plaintext
    ... configured an appropriate tftp-server command. ... When you hard set that within a configuration the ... pix uses that to get it's config at every boot. ...
    (comp.dcom.sys.cisco)
  • Re: networking problem
    ... > Static IP address configuration in Windows XPe environment HOWTO ... > To be able to be pingable with one ethernet card in your target machine, ... > Network Command Shell ... > Command Shell Interface Context ...
    (microsoft.public.windowsxp.embedded)
  • Re: Repost: Code behind events are not firing
    ... IE in a separate window through http. ... unchecked in the file type configuration. ... When a browser runs Word on the command line, ...
    (microsoft.public.vsnet.vstools.office)
  • [XXE] XMLmind XML Editor V3.0 Patch 1
    ... Previously, this directory contained a configuration which could be used to create documents conforming to DocBook NG, ... corresponding tool bar button) was bound to command "xpathSearch ", which made this facility non intuitive to use. ... used to invoke another process command within a process command. ...
    (comp.text.xml)