Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th April 2009, 05:31 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
OpenJDK and SunJRE issue in a particular website

I am looking for help to find why a Java application in this website does not work correclty on my machine:
https://tramitesdigitales.sat.gob.mx...nea/Login.aspx
...sorry, it requires user and password.

The application works fine on IE6 over Windows and the website claims that it works also on Firefox 3, but they don't specify Linux or Windows.

I am using Fedora 10 x86_64, wtih Firefox 3.0.8, and tried both plugins:
* Open JDK -> java-1.6.0-openjdk-plugin.x86_64
* Sun JRE -> jre-6u13-linux-x64-rpm.bin

I got both plugins to work with other websites with Java content, I even verified the SunJRE plugin with the test applet at their website successfully. But when I used the site above the Java application crashes, and I don't know where to look to find the problem.

The status bar shows "Applet started", but the applet doesn't show up, only a a customized non-technical error message appears in its place stating that I provided incorrect data, which isn't the case.

So far I only found an error in the Java Console "_item is null" and by looking at the web page code it looks like an error in JavaScript, not in Java.

Any ideas? Is this applet tied to Windows somehow?
Reply With Quote
  #2  
Old 16th April 2009, 12:42 AM
warkbt's Avatar
warkbt Offline
Registered User
 
Join Date: Nov 2008
Location: Argentina, Buenos Aires - Capital Federal
Posts: 189
No, unless you post a copy of the applet I don't think that someone could help you...
__________________
Knowledge is power.:cool:

Regards
KBT
Reply With Quote
  #3  
Old 16th April 2009, 02:58 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
The "_item is null" Javascript error I mentioned before was from the Firefox Java console.

The Sun Java console shows:

basic: Applet made visible
basic: Starting applet
java.lang.Exception: El DeclaraSAT en Línea aplica solo para personas físicas. El RFC debe ser de 13 caracteres.
at desl.DESL.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Applet started
basic: Told clients applet is started

After this the applet freezes.
Reply With Quote
  #4  
Old 16th April 2009, 03:43 AM
warkbt's Avatar
warkbt Offline
Registered User
 
Join Date: Nov 2008
Location: Argentina, Buenos Aires - Capital Federal
Posts: 189
First of all check via navigator bar:
Code:
about:plugins
You should see this:
Code:
Java(TM) Plug-in 1.6.0_13-b03

    File name: libjavaplugin_oji.so
    Java(TM) Plug-in 1.6.0_13
And a table with ~33 yes.

The explanation of what java console throws is:
Quote:
basic: Applet made visible
basic: Starting applet
Nothing special
Quote:
java.lang.Exception: El DeclaraSAT en Línea aplica solo para personas físicas. El RFC debe ser de 13 caracteres.
at desl.DESL.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The applet throws an exception (its like an error but not critical, generally controlled by the programmer) it can print a message on the console like here 'El DeclaraSAT en Línea aplica solo para personas físicas'. And 'at desl.DESL.start(Unknown Source)' means at some class (with hierarchy desl DESL) the 'Unknown Source' is because it was compiled with no debug option. The others are similar and appear cuz nesting classes.
Quote:
basic: Applet started
basic: Told clients applet is started
Nothing special but not sure.

As you can see there is no way I can help you because I can't reproduce your problem. That's why you need to post the applet, however it may be not enough...
__________________
Knowledge is power.:cool:

Regards
KBT

Last edited by warkbt; 16th April 2009 at 03:54 AM.
Reply With Quote
  #5  
Old 16th April 2009, 06:42 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
about : plugins shows a bit different from yours
Code:
libnpjp2.so
     File name: libnpjp2.so
Not sure if this is completely right, I am using 64 bit.

And it also shows the table with 33 rows "Java" and "Yes"

Last edited by lmgutie; 16th April 2009 at 06:45 AM.
Reply With Quote
  #6  
Old 16th April 2009, 02:59 PM
warkbt's Avatar
warkbt Offline
Registered User
 
Join Date: Nov 2008
Location: Argentina, Buenos Aires - Capital Federal
Posts: 189
Yeah it look likes that for amd64 --> libnpjp2.so
__________________
Knowledge is power.:cool:

Regards
KBT
Reply With Quote
  #7  
Old 23rd May 2009, 06:16 PM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
I found another website that doesn't work with Sun JRE.
I still think that something is wrong in my installation.
Can someone check if they work? These links don't require a password.
http://www.bmv.com.mx/wb3/wb/BMV/BMV...a_intradia_ipc
http://www.bmv.com.mx/wb3/wb/BMV/BMV..._historica_ipc
Reply With Quote
  #8  
Old 23rd May 2009, 07:35 PM
warkbt's Avatar
warkbt Offline
Registered User
 
Join Date: Nov 2008
Location: Argentina, Buenos Aires - Capital Federal
Posts: 189
I don't know what you understand by "doesn't work" here are 2 screen shots:





As for me, it seems to work both...

Note: Java (TM) Plug-in 1.6.0_13-b3 | Firefox 3.0.10
__________________
Knowledge is power.:cool:

Regards
KBT
Reply With Quote
  #9  
Old 23rd May 2009, 07:44 PM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
Thanks.
Good news: This site works on Fedora+FF+SunJRE.
Bad news: Something must be wrong on my software as I can't get the graphs. What could be wrong? Any missing C/C++ libraries perhaps?

I only get a blank applet box instead of the graph, and the following error detail:

Quote:
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at applets.graph.WBGraph.getParams(WBGraph.java:283)
at applets.graph.WBGraph.setZoomData(WBGraph.java:208 )
at applets.graph.WBGraph.getParams(WBGraph.java:256)
at applets.graph.WBGraph.init(WBGraph.java:176)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NumberFormatException: null
Ignored exception: java.lang.NumberFormatException: null
What should I check in my Fedora installation?
Reply With Quote
  #10  
Old 23rd May 2009, 08:05 PM
warkbt's Avatar
warkbt Offline
Registered User
 
Join Date: Nov 2008
Location: Argentina, Buenos Aires - Capital Federal
Posts: 189
A fast but dirty solution would be to install firefox 32bit version with sun plugin of 32bit and test if it works...

https://admin.fedoraproject.org/pkgd...ame/firefox-32

Or: install nspluginwrapper and use java 32bit plugin on firefox 64bit

I will search that error and try to find a better work around but no promise...
__________________
Knowledge is power.:cool:

Regards
KBT

Last edited by warkbt; 23rd May 2009 at 08:26 PM.
Reply With Quote
  #11  
Old 23rd May 2009, 08:11 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847
How did you install sun java ?
http://dnmouse.org/java.html
Reply With Quote
  #12  
Old 23rd May 2009, 08:40 PM
Loki1950's Avatar
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
More data it also does not work for me 32 -bit install and i used your autoten script Dm to install Java the applet does not initialize and the errors are warnings that seem related to language and fonts

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
  #13  
Old 23rd May 2009, 09:23 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847
I have just updated autoten for f10 with the latest version of sun java, give that a try you may have more luck
http://dnmouse.org/autoten.html
Reply With Quote
  #14  
Old 24th May 2009, 03:34 AM
coleys Offline
Registered User
 
Join Date: May 2009
Location: Ktown, Canada
Age: 23
Posts: 26
Quote:
Originally Posted by Loki1950 View Post
More data it also does not work for me 32 -bit install and i used your autoten script Dm to install Java the applet does not initialize and the errors are warnings that seem related to language and fonts

Enjoy the Choice
Proprietry(Sp) sucks.

su -c 'yum install java-1.6.0-openjdk-plugin'

OpenJDK firefox plugin works great in firefox x64.

(Of course remove link to the x64 sun jre, or the actual file if it is not symbolicly linked)

Good luck.
__________________
Kde ftw =)
Reply With Quote
  #15  
Old 24th May 2009, 03:56 AM
Loki1950's Avatar
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
Yeah but does it work on the site that the OP what's to access.

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
Reply

Tags
java, openjdk, plugin, sunjava

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
website problem, java or 64bit flash player issue? Icm76 Using Fedora 4 15th August 2009 07:42 PM
java-1.6.0-openjdk - do I need it? Palooka Using Fedora 2 7th August 2009 06:00 PM
openjdk daniel_I_l Using Fedora 2 8th April 2009 06:07 AM
installed java-1.6.0-openjdk attilahooper Using Fedora 2 2nd November 2008 01:44 PM
Where is OpenJdk stored? LChalupa Using Fedora 1 13th October 2008 04:43 PM


Current GMT-time: 07:06 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat