03-16-2017 06:56 AM - edited 03-12-2019 02:04 AM
Hi
Since a long time i'm dealing with different ASDM issues.
Now i have a new Problem ... and i can't fix it.
index.html shows up different ... so i cannot connect to the ASDM anymore with my Ubuntu (14.04) machine.
Can anybody help?
Does anybody know why ASDM is such a crap for a so long time?
Thanks a lot
Rainer
Solved! Go to Solution.
03-29-2023 05:40 AM
Now it is 2022-2023 and this solution needs a tweak. Cisco has not updated the asdm-launcher.sh for the current 7.18 + ASDM. But they DID update "run.bat". Instead of the java launch parameters from the old linux shell command, I had to use the line from run.bat, replacing semi-colons with colons (for sh vs cmd.)
My final adsm.sh is as follows:
#! /usr/bin/bash
# Script asdm.sh to launch ASDM java application under Linux
# gnome-desktop and xRDP installed on Ubuntu server 22.04
# Running with Oracle JRE Version 8 2023-mar-29
#
# To set up....
# download jre-8u361-linux-x64.tar.gz (from Oracle) and unpack
# Copy jre from downloaded/unpacked to /usr/share/java
# (/usr/share/java will now contain a bin folder with the java run files)
# On Win after installing ASDM-IDM on Win....
# Use sftp to copy C:\Program Files (x86)\Cisco Systems\ASDM to /usr/share/asdm
# /usr/share/asdm now contains the needed jar files and cert.PEM
# copy this file (asdm.sh) to /usr/share/asdm
# I needed to strip ^M and \r from my asdm.sh after copying from win.
# Search How to remove CTRL-M (^M) characters (I use sed)
# Change ownership and make the script executable chown and chmod +x
#
# If the chown and chmod are correct...
# log on to desktop. start a terminal. run /usr/share/asdm/asdm.sh to start the party
ASDMLIB=/usr/share/asdm/
JAVABIN=/usr/share/java/bin/
echo Starting ASDM Launcher
exec ${JAVABIN}java -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true \
-classpath lzma.jar:jploader.jar:asdm-launcher.jar:retroweaver-rt-2.0.jar \
com.cisco.launcher.Launcher cert.PEM
# ASDMLIB and JAVABIN are absolute path to the directories
~
12-15-2023 07:54 PM
02-13-2020 05:32 AM
I've only been able to get it working by following this guide:
https://noobient.com/2019/09/26/cisco-asdm-on-64-bit-ubuntu-18-04/
64bit java (and the lack of 32bit support under Ubuntu) was the cause of my getting this error when trying to launch asdm:
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
If you don't have real certs on your devices you'll probably need to run the ContolPanel script in your 32bit java directory and add an exception in the security tab.
03-29-2023 05:43 AM
See my 2023-mar-29 reply
The cert.PEM is critical to downloading the modules now.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide