cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4969
Views
0
Helpful
4
Replies

ASA, ASDM & Java Issues

nbharakhada
Level 1
Level 1

Evening all, I've been playing with an issue for the last two hours and no where near a solution...

Situation: We have a remote ASA (without SSH connectivity) and we are trying to log onto the FW via ASDM.

What I've found, with Java JRE 5.0 update 22, when attempting to log in, I am prompted for a username/password - when entered, the software loads cache and the ASDM-IDM launcher hangs when the software update is complete.

Looking at the Java Console, I'm seeing the following error:

Exception in thread "SGZ Loader: applet thread" java.lang.UnsupportedClassVersionError: Bad version number in .class file

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at com.cisco.nm.dice.loader.l.loadClass(DashoA19*..:232)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at com.cisco.nm.dice.loader.Loader.a(DashoA19*..:397)

    at com.cisco.nm.dice.loader.Loader.run(DashoA19*..:354)

    at java.lang.Thread.run(Unknown Source)

After reading (many) threads, most people have been able to resolve this issue by upgrading their Java install. I've tried at least 10 different versions of Java, all of them still do not let me connect, with the console giving me "Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"

I have checked and confirmed that I do not have proxy setup in my browser, the Java application (through Control Panel) is setup to have a direct connection out but still get this!

According to the Java console, the 'Server Version' is 7.0(2)...

Can anyone please point me in the right direction?

Many thanks

Nilesh

4 Replies 4

Julio Carvajal
VIP Alumni
VIP Alumni

Hello,

Please post the ASA version you are running, the ASDM version that you will attempt to run.

The java version  you are currently running

The following asa commands:

sh run http

sh run asdm

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

asa# sh run http

http server enable

http 192.168.1.0 255.255.255.0 management

http 0.0.0.0 0.0.0.0 inside

http 0.0.0.0 0.0.0.0 outside

asa# sh run asdm

asdm image disk0:/asdm-702.bin

no asdm history enable

I'm running Java "J2SE Runtime Environment 5.0 Update 22"

According to this documentation, the bug is fixed in version 7.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6687282

you can find the suggested fix,

http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/a954a6f3be6f

HTH

Hello,

Can you go to java version 6.update 21 or to the latest one (7 track ) as you are running ASDM version 7.0(2) then we are not going to hit any known bugs,

Regards,

Julio

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Review Cisco Networking products for a $25 gift card