Serial port in webstart version cannot handle it anymore.

grin's picture

Stopped working since last time. My command to start:

javaws http://soft.bt747.org/BT747_J2SE_Latest_RXTX2.2_Install.jnlp
And the result is:

/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
PATH = /usr/local/j2re1.4.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

3336 - BT747 2.X.1781 Build:BT747_mdeweerd.1781.20100908215836233
3337 - Initial: 1019x577  Screen: 1280x1024 Final: 1019x577
3338 - Linux
3338 - i386
3338 - 2.6.34-narya2
3338 - 1.6.0_18
3339 - 32
3339 - Fail com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Fail com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
Success com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.gtk.GTKLookAndFeel

7223 - Classgps.connection.GPSRxTxPort
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
        at gps.connection.GPSRxTxPort.openPort(Unknown Source)
        at gps.connection.GPSrxtx.myOpenPort(Unknown Source)
        at gps.connection.GPSrxtx.setFreeTextPortAndOpen(Unknown Source)
        at bt747.model.Controller.openFreeTextPort(Unknown Source)
        at bt747.j2se_view.BT747Main.access$300(Unknown Source)
        at bt747.j2se_view.BT747Main$7.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
        at java.awt.Component.processMouseEvent(Component.java:6108)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:5873)
        at java.awt.Container.processEvent(Container.java:2105)
        at java.awt.Component.dispatchEventImpl(Component.java:4469)
        at java.awt.Container.dispatchEventImpl(Container.java:2163)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
        at java.awt.Container.dispatchEventImpl(Container.java:2149)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

But when I download the zipped version, it works fine:

 1/lib/rxtx-2.1-7-bins-r2/Linux/i686-unknown-linux-gnu
PATH = /usr/local/j2re1.4.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

3325 - BT747 2.X.1776 Build:BT747_mdeweerd.1776.20100902000024183
3326 - Initial: 1019x577  Screen: 1280x1024 Final: 1019x577
3326 - Linux
3327 - i386
3327 - 2.6.34-narya2
3327 - 1.6.0_18
3327 - 32
3327 - Fail com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Fail com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel
Success com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.gtk.GTKLookAndFeel

5879 - Classgps.connection.GPSRxTxPort
Experimental:  JNI_OnLoad called.
6017 - Port opened
6024 - Attempting saving settings to /home/grin/BT747SettingsJ2SE.pdb
6039 - Writing settings success for /home/grin/BT747SettingsJ2SE.pdb

mdeweerd's picture

Thanks for reporting that.

Thanks for reporting that.  I'll check it out when I can.

I am surprised, but will check it.

grin's picture

To be honest I have tried to

To be honest I have tried to apply some of the other webstart related thingies before nagging you. But I realised I do not want to manually decrypt huge xmls with unknown structure. :-)

I'm open to run any test for you if it helps.

mdeweerd's picture

When problems are not

When problems are not reported, how can they get solved?

I prefer a constructive complaint rather than no complaint ;-).

grin's picture

If you only knew how many

If you only knew how many bugreports of mine collecting dust on the net... :-)

But you see, I report them eventually, after narrowed down the case as far as I can and my time permits.

And thanks for being so responsive.

grin's picture

do you need any further

do you need any further input?

mdeweerd's picture

I need more time - and I got

I need more time - and I got more work for my business...

grin's picture

That's okay, just I wasn't

That's okay, just I wasn't sure what's happening. Take your time and earn money first. :-) Since I am able to use the standalone version it's not a huge problem.

Thanks!

Post new comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.
  • Use the special tag [adsense:format:slot] or [adsense:format:[group]:[channel][:slot]] or [adsense:block:location] to display Google AdSense ads.
  • Images can be added to this post.

More information about formatting options