Web Application Works on Windows, Not on Linux (Needs a file)

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Hal Vaugha » Fri, 20 Jul 2007 01:55:23


I've been using a web application to find part numbers and info for an
antique car I've been working on for a while. I used to go to the
manufacturer's website, log in ($20 a year fee, otherwise I'd link to it),
click on the link, and the program would run just fine under Linux.
Recently I upgraded my system (from Ubuntu Edgy to Ubuntu Feisty) and now
this app will run in Firefox on Windows XP but won't run on Linux. Now I
get an error that it can't find the file hpwin32 in the java.library.path.
(The full stack trace is below.)

I searched my hard drives on the WinXP system and there's no trace of this
file, so I'm guessing it's a file on their end that isn't loading. This
worked fine when I was using Java 1.4.2 but won't work now, with Java 6
installed.

Any ideas on what I can do to make this work again? What other info would I
need to provide that might help track this problem down? (The supplier
doesn't officially support Linux, so I can't get help from them.)

Hal
--------------Stack Trace from Error Message--------------
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1205)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1151)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:998)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsatisfiedLinkError: no hpwin32 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at
com.hp.tis.ewo.common.win32.Hpwin32DllLoader.loadLibrary(Hpwin32DllLoader.java:63)
at com.hp.tis.ewo.common.win32.Environment.<clinit>(Environment.java:257)
at com.hp.tis.ewo.setup.ContextController.<init>(ContextController.java:54)
at
com.hp.tis.ewo.setup.cookie.CookieEngine.getWorkshopID(CookieEngine.java:181)
at
com.hp.tis.ewo.clienttools.trigger.CookieTrigger.execute(CookieTrigger.java:89)
at com.hp.tis.ewo.clienttools.trigger.TriggerLoop.run(TriggerLoop.java:82)
at
com.hp.tis.ewo.clienttools.connectivity.http.EwaHttpUrlConnection.getBaseHttpConnection(EwaHttpUrlConnection.java:312)
at
com.hp.tis.ewo.clienttools.connectivity.http.EwaHttpUrlConnection.<init>(EwaHttpUrlConnection.java:251)
at
com.hp.tis.ewo.clienttools.ServiceFactory.getConnection(ServiceFactory.java:165)
at
com.proquest.epc.view.bl.ServerConnectionBL.sendToAppServer(ServerConnectionBL.java:110)
at
com.proquest.epc.view.bl.ServerConnectionBL.sendRequest(ServerConnectionBL.java:65)
at com.proquest.epc.view.rh.LoginRequestor.execute(LoginRequestor.java:24)
at
com.proquest.epc.view.impl.MBEPCApplication.main(MBEPCApplication.java:310)
... 9 more
 
 
 

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Jeff Higgi » Fri, 20 Jul 2007 02:32:34


Java 6 seems to be a problem according to this.
< http://www.yqcomputer.com/ ;

 
 
 

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Hal Vaugha » Fri, 20 Jul 2007 03:03:10


It doesn't seem to be just Java 6. The only post in that thread that
mentions the same issue is from 2002. Since I posted, I found some old JRE
install files and created other instances of the JRE on my system and tried
1.4.2 and 1.5, changing the default javaws app in Firefox to each of them
in turn and I got the same error.

The one that is working on Windows XP is Java 5. I don't want to upgrade
that system and risk losing the functionality, since I don't think I have
another Java 5 jre backup to to install.

I'm going to hunt around and see if there might some issue with parameters.

Hal
 
 
 

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Roedy Gree » Thu, 26 Jul 2007 09:30:55

On Wed, 18 Jul 2007 12:55:23 -0400, Hal Vaughan
< XXXX@XXXXX.COM > wrote, quoted or indirectly quoted someone
who said :


I take it the antique car site provides this program and you don't
have source? If so, it is their problem to solve. It may mean merely
adding a few lines to the JNLP file. If there is a JNLP file, have a
look at it, and see if it covers your platform. See
http://www.yqcomputer.com/
--
Roedy Green Canadian Mind Products
The Java Glossary
http://www.yqcomputer.com/
 
 
 

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Hal Vaugha » Tue, 31 Jul 2007 20:09:56


It's their problem to solve, but when so few gearheads are using Linux and
the site is mainly for their dealers, it is my problem that they don't
solve it. :-(


I'll check their JNLP file to see. I know, though, that this worked just
fine with Firefox on Linux until I upgraded the system, so I'm betting that
it was something simple in a config on my end that, when changed, effected
what their program did. I wish I knew what ID string Firefox was sending
before I upgraded.

Hal
 
 
 

Web Application Works on Windows, Not on Linux (Needs a file)

Post by Roedy Gree » Wed, 01 Aug 2007 01:19:05

On Mon, 30 Jul 2007 07:09:56 -0400, Hal Vaughan
< XXXX@XXXXX.COM > wrote, quoted or indirectly quoted someone
who said :

Hmmm.
JNLP does nothing different depending on browser.
Sometimes Webservers check the User-Agent. The Canadian Income Tax
people insist on some versions of browsers no longer available. You
can't get in with any modern browser!
see http://www.yqcomputer.com/
to see the typical User-Agent strings emitted by the various browsers.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://www.yqcomputer.com/