In the recent days I’ve had problems with our install of Cisco Wireless Control Station v126.96.36.199. After a system restart, the service did not start and no apparent reasons where given to the user.
The Cisco support wasn’t of much help too, as apparently did not encounter the error before.
Whenever I tried to start the WCS via the batch file the result was an error:
Java Virtual Machine Launcher: Could not find the main class: com.zerog.lax.LAX .
In fact all the batch files associated with the control functions of the WCS (START SERVER / STOP SERVER / DATABASE BACKUP / RESTORE) presented the same error when started.
Also trying to start the WCS service, via the computer management console, did not helped as the service terminated unexpectedly (error 1067).
So I started a quest in dissecting the WCS to see what part of it was affected and by what application. The final goal of my research was to backup the DB (I had a very old backup so it was critical to restore the DB present on the crashed system) and start a new install.
The WCS uses Tanuki Java Service Wrapper to keep its components glued together so the install will be almost the same on multiple platforms. After I have studied the batch files I have found the location of the WCS log files.
The wrapper log file (found under %WCS INSTALL PATH%webnms/logs) presented this error:
STATUS | wrapper | | Launching a JVM…
INFO | jvm 1 | | java.lang.NoClassDefFoundError: org/tanukisoftware/wrapper/WrapperSimpleApp
INFO | jvm 1 | | Caused by: java.lang.ClassNotFoundException: org.tanukisoftware.wrapper.WrapperSimpleApp
INFO | jvm 1 | | at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
INFO | jvm 1 | | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | | at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO | jvm 1 | | at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
INFO | jvm 1 | | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
INFO | jvm 1 | | at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
INFO | jvm 1 | | Could not find the main class: org.tanukisoftware.wrapper.WrapperSimpleApp. Program will exit.
INFO | jvm 1 | | Exception in thread “main”
ERROR | wrapper | | JVM exited while loading the application.
STATUS | wrapper | | JVM Restarts disabled. Shutting down.
But this lead gave me nothing of particular. Only after making a cross reference with this log and the system logs I have found the culprit: Windows update.
At the end, after poking around with the entire system logs one could conclude that after some critical windows patches were applied the JVM ambient was modified and the Cisco WCS System had crashed. For good! There was no way to restore the ambient as it’s included in the install and is independent from the one presented on the system. Even if I have tried to re-install the product the setup arrived at one point in which presented an error and did not continue.
The only thing was to backup the DB manually (in non documented way)… But that’s for another post.
Copyright (c) 2011 Mihai Radoveanu. All Rights Reserved.
Note: Copying this article to your website is strictly NOT allowed.