Cisco ASDM not working on Ubuntu 9.04

Asked by Tariq Rahman

I just started using Ubuntu 9.04 desktop and would like to use the Cisco ASDM software package in Ubuntu in order to manage my Cisco ASA firewalls. I can navigate to my firewall's ASDM webpage and download a *.jnlp file, which I think I'm supposed to run using my java runtime install. Unfortunately, I'm getting an error message when attempting to run it.

-) I download the *.jnlp file to my computer
-) I open a terminal and attempt to run "javaws asdm.jnlp"

I get the following error message:

-----
javaws asdm.jnlp
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:372)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:600)
Caused by: java.lang.NullPointerException
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:358)
 ... 1 more
Caused by:
java.lang.NullPointerException
 at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:358)
 at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:600)
-----

I saw a reference to running an earlier version of the JRE and I tried downgrading from "sun-java6" to "sun-java5" in the Synaptic Package Manager, to no avail.

Anyone out there know how to get the ASDM running in 9.04?

Thanks,

Tariq

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

Please try this solution:

http://locateadam.com/2008/12/18/cisco-asdm-on-ubuntu-810/

Remember to put "sudo" without the quotes in front of each command.

Regards,

Mark

Revision history for this message
Félim Whiteley (felimwhiteley) said :
#2

That webpage is having some problems, so for anyone else having the issue you can download Hardy's packages:

http://packages.ubuntu.com/hardy-updates/sun-java6-plugin
http://packages.ubuntu.com/hardy-updates/sun-java6-jre
http://packages.ubuntu.com/hardy-updates/sun-java6-bin

Then downgrade the packages (This is different from the webpage above as he says to uninstall which creates horrible dependency resolution issues):

sudo dpkg --install --force-downgrade sun-java6-jre_6-07-3ubuntu2_all.deb sun-java6-plugin_6-07-3ubuntu2_i386.deb sun-java6-bin_6-07-3ubuntu2_i386.deb

Then you should be good to go, bear in mind the version in my install will differ most likely than yours. You should also mark them for "hold", ie. not to upgrade them. Do this by first entering the following at a terminal:

dpkg --get-selections|grep -i sun-java6

This will then leave you with a blank line below the command, paste in the 3 following entries then hit control-D to apply it:

sun-java6-bin hold
sun-java6-jre hold
sun-java6-plugin hold

And that should be it working for you !

Can you help with this problem?

Provide an answer of your own, or ask Tariq Rahman for more information if necessary.

To post a message you must log in.