Java and CCA 2.0

Unanswered Question
Jul 17th, 2009

Is there a known issue between Java Version 6 Update 14 and CCA 2.0?

When I launch CCA 2.0, the welcome sound plays and it connects to my UC520. As soon as I click any of the to configure. As it loads the configuration it errors out with a java lang error usually around 60% or 100%

java.lang.NullPointerException

Anyone come across this or have any insight?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Steven Smith Fri, 07/17/2009 - 14:44

I am running that version of Java.  I don't have this problem.  This usually means that changes were made outside of CCA like Marcos suggested.

mantis32 Sun, 07/19/2009 - 09:39

Yes, back when CCA wasn't soo great, I configured it outside of CCA. Now with the latest changes, I would like to see what CCA can do. At the time the out of band pdf didn't exist. What are my options to getting things back to where I can use the CCA? Start over?

Marcos Hernandez Mon, 07/20/2009 - 07:01

I know this means a lot of work, but unfortunately we do not have a procedure to convert customized configurations.


Thanks for your patience and I apologize for the inconvenience.


Marcos

mantis32 Tue, 07/21/2009 - 20:39

Forced to the GUI:

How can I start over using the GUI? Since I'm starting over, how can I go from SBCS 1.4 (4.2.9) to 1.5 (????)

Any links would be helpful.

Space avail on flash 94.26

C:\UC520-7.0.3.zip

Maintenance -> Software Upgrade -> Upgrade Settings
-Error: Cannot retrieve CUE version information.

Whether I select All, IOS, or CUE

I've even unpacked the zip and tried selecting the files within with the options, IOS, CUE, ALL to no avail.

Is there a need to delete the sbn files like the past or is there a better way now?

Steven Smith Wed, 07/22/2009 - 07:10

You could try to reset everything to a factory default first, then perform the upgrade.  Also, make sure you don't have any antivirus or firewalls on.  This sometimes blocks communications to the CUE module.

mantis32 Wed, 07/22/2009 - 08:52

Disabled all AV, watched the Video. Still get the error.

I shouldn't have to blow away the config just to upgrade....or should I? I have been able to upgrade successfully in the past without blowing away the config. Unless the new process is CCA doesn't allow an upgrade when the config is custom and it's really not all that custom, I just did a few things that the CCA couldn't do in the CLI back in SBCS 1.3.

I was able to use CCA to go to SBCS 1.4 w/out doing it with a new config.

Steven Smith Wed, 07/22/2009 - 10:12

I thought by starting over, you meant that you were erasing the config.

It sounds like we should check to see if the CUE module is online.

UC500#service-module integrated-Service-Engine 0/0 status  

mantis32 Wed, 07/22/2009 - 12:07

After the upgrade I will start over. But assuming I was a client, starting over just to do an upgrade isn't an option, so I want to approach the upgrade from that point of view.

Cisco Configuration Assistant. Version: 1.8. Mon Dec 29 02:29:03 EST 2008

UC520#service-module integrated-Service-Engine 0/0 status
Service Module is Cisco Integrated-Service-Engine0/0
Service Module supports session via TTY line 2
Service Module is in Steady state
Service Module heartbeat-reset is enabled
Getting status from the Service Module, please wait..

Cisco Unity Express 3.2.1
CUE running on UC500

Steven Smith Wed, 07/22/2009 - 12:12

I am a little confused by the date and CCA version in the last post...

Either way, can you turn off the dashboard in CCA and send me the CCA logs from when you get the CUE error?

mantis32 Wed, 07/22/2009 - 12:35

How do I send you that? I pasted that from a putty session.

David Trad Mon, 07/27/2009 - 15:28

SIGH!!!!

Hi Mantis,

I can sense the frustration in you, maybe cause i have been in your position many times allready.

One thing i have noticed is that Manual Upgrades of the system are not heavily promoted on here, and i think that is becuase a fair bit of time and effort has gone into CCA to assist everyone who works with the UC500 systems, thus making sure that people learn and come to understnad how it works and its limitations.

The only thing i can advise you on is how to upgrade the IOS via the CLI which is not at all that hard:

  1. Download the latest IOS release and upload it to the flash memory
  2. Delete the old one
  3. Reload the system

However keep this in mind, by doing this you should make a full backup of your Config before doing so, you should also be aware that if you upgrading from a really old IOS (Maybe the original one used) then some of the code may not be compatible or have issues with the latest IOS (KEEP THIS IN MIN).

When using CCA to do the upgrade (Assuming the system was first configured by CCA with no custom CLI code), then it will know what to change and where to change it with the upgrade proceedure, on the other hand you doing it manually need to know what will work and what wont, unfortunantly i cant tell you this i dont know.

I wont go into how to upgrade the CUE on here, for a few reasons but in particular it is a longer process and many.. MANY things can go wrong and i dont want to be responsible for your system being nuked by my instructions, i am happy to noose myself and nuke my own systems but not willing to go that far on someone elses.

If you are going to do and upgrade via CLI of your CUE, PLEASE..PLEASE..PLEASE log into the Web UI and make a full backup of your CUE before you do anything, at least this way a restoration is possible.

Also please make sure you are using CCA-2.0.1

Sorry i could not be of anymore help.

Cheers,

David.

mantis32 Sun, 08/09/2009 - 19:40

I would like to solve this problem via the CCA and upgrade via the CCA. Once that is accomplished, I'll go ahead and wipe the config and start over purely using the CCA paying special care to any configuration changes done via the CLI. My interest in troubleshooting this upgrade before wiping is purely to simulate a client situation where the option to wipe their config just to do an upgrade isn't an option.

I went ahead and generated the log and have pasted it. Goal is to upgrade via the GUI, if that truly doesn't work or can no longer be done, then I'll go the CLI route. I know I'm not the first facing space issues when trying to upgrade the box which has a small CF card in it.

See attached

David Trad Sun, 08/09/2009 - 22:17

Hi Eugene,

This error here makes me nervous:

220.178 com.cisco.nm.lib.cmdsvc.OpEnterBladeSession.invoke(OpEnterBladeSession.java:64) [ERROR] WARNING: OpEnterBladeSession: old prompt 'UC520#' and new prompt 'UC520#' are identical
com.cisco.nm.lib.cmdsvc.CmdSvcException: Current platform 'IOS' does not match expected platform [email protected]'.
Failed to session into the service blade.

Prior to this error it was able to log in, and below this error it was able to log in, from what i read of it, unless ofcourse i am reading it wrong.

Can i ask, is the config on the system now the standard config? Has it been modified in anyway?

So just to rehash (And i know some people dont like to do this) you did the following?

  • Tried to upgrade the IOS on its own (Using either 7.0.3 or 7.1.1EA Versions)
  • You also tried to do the CUE upgrade on its own?
  • You chose the option to format the flash and reset to factory defaults?

You shouldnt be having these troubles, however can you tell me the following please:

  • Wht OS are you running (XP, Vista, Windows-7)
  • What version of Java are you currently using?
  • Are you plugged directly into the UC-500, and if not can you try it using port 7 (Or port 8 how ever see the ports)
  • What firewalls, antivirus, antispam are you currently running on the system

I know you have been allready told this or asked it, but have you tried it from another system, and have you made sure all the NIC cards on the system have been disabled (Not just "not in use" but actually fully disabled)?

Can you provide some screen shots of any error dialogue boxes that show up? Also do any of the Monitoring section on CCA lockup after you have loaded it up and logged into the UC-500? What i mean by locking up, is that it says it is trying to retrieve Data and just stays on that and does not move from it.

I am really keen to see this problem of yours resolved, for the interest of myself, yours and i guess many others.

(PS) I admire your willingness to stick with it and get to the bottom of the problem, you can bet it will help you out immensly later on down the track, you would have learned what others avoided ;)

Cheers,

David.

mantis32 Tue, 08/11/2009 - 10:44

So just to rehash (And i know some people dont like to do this) you did the following?

  • Tried to upgrade the IOS on its own (Using either 7.0.3 or 7.1.1EA Versions)   - tried 7.0.3
  • You also tried to do the CUE upgrade on its own? - tried that too
  • You chose the option to format the flash and reset to factory defaults? - tried that too

You shouldnt be having these troubles, however can you tell me the following please:

  • Wht OS are you running (XP, Vista, Windows-7) - XP SP2
  • What version of Java are you currently using? - Java Version 6 Update 14
  • Are you plugged directly into the UC-500, and if not can you try it using port 7 (Or port 8 how ever see the ports) - I'm connected to the back of the phone 7970
  • What firewalls, antivirus, antispam are you currently running on the system -  ASA 5510, Symantec (disabled), Cisco Anti-SPAM

I know you have been allready told this or asked it, but have you tried it from another system, and have you made sure all the NIC cards on the system have been disabled (Not just "not in use" but actually fully disabled)? - no tyet, but I will try. Doesn't take much to have only one nic running. i have a switch to disable the wireless.

Screenshot attached. I get the same regardless of IOS or ALL

For CUE I got Cannot retrieve CUE version information.

Attachment: 
David Trad Tue, 08/11/2009 - 15:35

Hi Eugene,

Screenshot attached. I get the same regardless of IOS or ALL

For CUE I got Cannot retrieve CUE version information.

I know this is probably frustrating you to know end, but stick with it :)

OK assuming you set this device up using CCA to begin with, your system should be at default config.

Steps:

  1. Log into the WEB GUI on http://10.1.10.1 and go to administration and control panel, then save the CUE and the CME, then choose the option to reloa the CUE.
  2. session into the CUE via the command line Router# service-module intergrated-service-engine0/0 session
  3. log into the CUE and then do a show run, capture the running config and post the text file (Please removeanys esative data).

Can you also try the following please:

  • Plug directly in the UC-500 and not through a phone, we need to work on the device by being plugge directly into it to remove any points of failure (I.E Phone)
  • If you are able to reset the system back to factory default, go to the 7.0.3 folder and tftp to the flash card (Or use a flash card reader) the .cfg file that suits your system, then copy it over to start-up  "copy start-up then reload the system. This will put your system back to factory defaults.

In all of this pelase make sure you make a backup of yoru CUE and the CME, the CUE you can do via the Web GUI using a TFTP program (3CDAEMON is highly recommended), and the CME running config can be done via CLI using putty and appending the "sh run" to a txt file.

If we bring everything back to the begining and start from a fresh we might be able to narrow down on the problem.

Cheers,

David.

mantis32 Tue, 08/25/2009 - 08:27

OK! I would like to give it a rest. Start over...blow the config and upgrade, then reconfigure.

What's the best route to take?

Eivind Jonassen Tue, 08/25/2009 - 10:22

Eugene,

Launch CCA and go to maintnance tab, reset the UC to factory default, you can also upgrade from here.

Regards

Eivind

mantis32 Tue, 08/25/2009 - 11:18

I couldn't factory reset from the GUI...so I did it from the CLI.

Reset CUE - service-module Integrated-Service-Engine 0/0 session

and

Reset CME - copy flash:UC520W-8U-4FXO-K9-factory-7.0.2.cfg startup-config

did a reload when complete

I plugged my laptop into port 7 on the unit, connected CCA and got the same error as posted earlier when trying to do an upgrade.

mantis32 Tue, 08/25/2009 - 16:59

Finally got it going on a third machine over the network with multiple nics going. Strange. I stopped it before it started the update and did it with one nic and with the image sitting on the local HD.

Sad that I had to blow my custom config. Interested to see how far I can get with the GUI.

Steven Smith Mon, 08/10/2009 - 07:52

It looks like the CUE is not responding or is in a bad state.  It might be best to try to restart CUE.

service-module integrated-Service-Engine 0/0 reset

Give it about 5-10 minutes, then try again.

mantis32 Tue, 08/11/2009 - 10:34

Restarted the CUE and still no go. 'Cannot retrieve CUE version information'

Actions

This Discussion