Jump to content

Admin console startup issues


stevehoyt

Recommended Posts

Posted

Every now and then the admin console does not seem to start. I see system busy at the bottom of the screen, but no device status appears. It seems to be trying to initialize them but is caught in a loop. Oddly though I can still do certain things such as read the log, modify programs etc.

 

Viewing the log file shows hundreds of the entries.

0 null Thu 2010/02/18 04:29:25 PM System -5012

0 null Thu 2010/02/18 04:29:25 PM System -5012

0 null Thu 2010/02/18 04:29:25 PM System -5012

0 uuid:00 Thu 2010/02/18 04:29:25 PM System -5011

0 uuid:00 Thu 2010/02/18 04:29:25 PM System -5011

0 uuid:00 Thu 2010/02/18 04:29:25 PM System -5011

 

Sometimes clearing the Java cache will fix the problem, but sometimes not and I have to reboot the ISY.

 

Any thoughts as to why this is happening. It has happened over the last few versions. I am running 2.7.11 currently

 

Thanks

Steve

Posted

Hi stevehoyt,

 

As AnthemAVM suggested, it might be your firewall software (although we have found TrendMicro to be the least intrusive of firewalls). Also, you might want to make sure you have cleared your Java cache and that you are using the correct URL for accessing your ISY (if you are going through our website).

 

With kind regards,

Michel

Posted

I am not sure if it is firewall software and will keep watching to see if there is something I am missing.

 

I am running the ISY on a Windows 7 PC using Norton. The windows firewall is off and I have configured the ISY as a fully trusted device in Norton.

 

It is connected on a local LAN with a D-Link router with, as far as I can tell, no restrictions between devices on the LAN.

 

Steve

Posted

Hi

 

Sometimes clearing Java cache fixes it sometimes not and I have to reboot the ISY.

 

Sometimes it will fail in IE and work in Safari.

 

Sometimes if I wait and hour or 2 and try again it will work.

 

I suspect it is a browser/ Windows 7 issue.....I will keep seeing if I can narrow done exactly what causes it

 

Not a big deal just wanted to let you guys know.

 

Thanks also Michel for the help with my scene problems and Smarthome. I have made great strides...we are 90% there. I will send you an email when I resolve the issues as to what I had to do.

Posted

I encountered the same issue yesterday with 2.7.11 alpha. I tried to turn on a lamplinc and due to Insteon communication issue, ISY is unable to turn on the lamplinc and threw an error. Since then I get 'System Busy'. I closed the console and tried opening it again in two different PCs (totally tried from three systems, one of them is Mac). Finally I gave up and unplugged ISY and plugged it back.

Can any expert comment on this? This is a serious issue for me, as sometimes I will be controlling ISY remotely when I am not home and it would not be possible to power cycle the device.

Posted

Hi tummalarb,

 

Apologies for the inconvenience. The next time it happens, would you be kind enough to try the HTML page and see if you can turn anything on/off? In short, we need to figure out if the problem is in the Admin Console/Java or ISY.

 

With kind regards,

Michel

I encountered the same issue yesterday with 2.7.11 alpha. I tried to turn on a lamplinc and due to Insteon communication issue, ISY is unable to turn on the lamplinc and threw an error. Since then I get 'System Busy'. I closed the console and tried opening it again in two different PCs (totally tried from three systems, one of them is Mac). Finally I gave up and unplugged ISY and plugged it back.

Can any expert comment on this? This is a serious issue for me, as sometimes I will be controlling ISY remotely when I am not home and it would not be possible to power cycle the device.

Posted

Sure will. Thank you.

Hi tummalarb,

 

Apologies for the inconvenience. The next time it happens, would you be kind enough to try the HTML page and see if you can turn anything on/off? In short, we need to figure out if the problem is in the Admin Console/Java or ISY.

 

With kind regards,

Michel

Posted

I experienced the hang again today. I was able to clear it by exiting the admin console and clearing the Java cache. I was using safari. As I mentioned sometimes clearing Java cache fixes it sometimes I need to reboot the ISY only...not the PLM.

 

To answer your questions I was able to turn lights on and off in the devices HTML screen.

 

When starting the admin console it was stuck in the system busy state with the Windows 7 revolving circle. No status' appeared for any of the devices. It looked like it was stuck trying to update them. I was able turn lights on and off in the admin console and navigate the tabs, make program changes etc.. All works fine (although very slowly many seconds between clicking anything and a response) except no status appears, ever, even when I bring the MY lighting screen up in the admin console.

 

The log has hundreds of these entries.

 

0 null Sat 2010/02/27 05:00:04 PM System -5012

0 null Sat 2010/02/27 05:00:04 PM System -5012

0 null Sat 2010/02/27 05:00:04 PM System -5012

0 uuid:00 Sat 2010/02/27 05:00:04 PM System -5011

0 uuid:00 Sat 2010/02/27 05:00:04 PM System -5011

0 uuid:00 Sat 2010/02/27 05:00:04 PM System -5011

0 uuid:00 Sat 2010/02/27 05:00:04 PM System -5011

0 uuid:00 Sat 2010/02/27 05:00:04 PM System -5011

 

I hope this helps narrow it down.

 

Steve

Posted

All,

 

I have been experiencing a similar issue. Seems like it started when I tried to link with my ELK M1...

 

Same issue ISY-99i becomes almost "unresponsive" Admin Console shows no status for devices, and "System Busy" can be seen at the bottom. Lots of the following messages in the logs...

 

0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011
0	uuid:00	 	Wed 03/03/2010 02:51:35 PM	System	-5011

 

If I leave it alone, just seems to sit, busy, Scheduled tasks and triggers seem unresponsive. Unplugging the ISY and plugging it back in generally fixes it, but I have also found if the Console with close (some times it won't) and I control any device in HTML interface, then open the Console again it seems to go to a "Ready" State and be happy again. I can do additional testing as it seems to be happening often now, 5 times last night, 2 times today. I cleared the Elk programing (IP/PORt, save) for a bit, and it didn't happen again, but would have to do it for longer to confirm.

 

ISY99 Ver 2.7.7

 

Client System Windows XP no Firewall turned ON

 

Anti-Virus Avast

 

thanks,

Bobby

Posted

Hi Bobby,

 

Thank you! -5011 means that ISY tried to contact the client (Admin Console) and failed.

 

My recommendations:

1. Please do ensure that ISY is in the white/trusted list on your Avast (this has been reported before with the same symptoms)

2. Please do be kind enough to upgrade to 2.7.12

 

With kind regards,

Michel

Posted

Thanks Michel,

 

 

I upgraded last night to 2.7.12 and adjusted my Avast Web Shield settings on my Admin System.

 

 

 

In avast Web Shield settings, select customize, select Basic tab, in the Ignored Addresses field enter:

http://IP_OF_ISY

substituting your IP address for your ISY-99. 

 

I also refreshed the Firmware (already updated had been updated to the latest, but did it again) of my ELK M1-XEP. Everything seems to be working better now...

 

 

Will update, if problem returns.

 

Bobby

Posted

I have seen this intermittent console startup hang as well, initially in 2.7.6 and 2.7.7. I've now upgraded to 2.7.12, and see it just as often. I just spent some time doing detailed debugging, and here's what I found:

 

My environment: ISY99i/2.7.12; Windows XP sp3; java 1.6.0_18-b07; no firewall running on XP other than default Windows internal firewall.

 

Java cache purged before loading any 2.7.12 java apps.

 

Symptoms:

 

About half the time when starting jnlp console (initially loaded via //isy/admin.jnlp), the console hangs after entering username/password and displaying what appears to be complete main My Lighting page. Cursor is hourglass, and nothing works when clicked in the console.

 

When console is hung like this, access via html works fine (//isy/devices, //isy/scenes) -- ISY receives and executes these commands ok.

 

Hung console closed by clicking window-close X button. Much of the time, simply restarting the console by double-clicking the "Administrative Console" jnlp icon on desktop works fine. If hung the second time, it almost always works the third time and thereafter.

 

The hung console startup seems to happen about 100% of the time after the ISY was accessed in some other manner (browser-based admin console, html-based commands.).

 

I've only seen the hang in the jnlp console (//isy/admin.jnlp), and never with the browser-based console (//isy/admin).

 

I was able to capture java stack traces for both normal and hung startups, attached below. Included are all the UDI threads; the non-UDI threads all appear to be the same in each case.

 

I hope this helps!

 

--Mark

 

Threads from hung startup:

 

2010-03-06 12:30:09
Full thread dump Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing):

"Thread-12" prio=10 tid=0x03490400 nid=0xe80 runnable [0x045df000]
  java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
- locked <0x23340080> (a java.lang.Object)
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(Unknown Source)
- locked <0x233400f8> (a java.lang.Object)
at sun.nio.ch.ChannelInputStream.read(Unknown Source)
- locked <0x23340100> (a sun.nio.ch.SocketAdaptor$SocketInputStream)
at java.io.InputStream.read(Unknown Source)
at sun.nio.ch.ChannelInputStream.read(Unknown Source)
- locked <0x23340100> (a sun.nio.ch.SocketAdaptor$SocketInputStream)
at com.universaldevices.upnp.UDProxyDevice$EventsHandler.run(Unknown Source)

"Thread-10" prio=6 tid=0x03518c00 nid=0x89c waiting on condition [0x0449f000]
  java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.universaldevices.ui.views.SystemConfigurationView$ClockUpdater.run(Unknown Source)

"Thread-9" prio=6 tid=0x0352e400 nid=0xda0 waiting on condition [0x0444f000]
  java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.universaldevices.ui.SystemStatusMonitor.run(Unknown Source)

"Thread-6" prio=6 tid=0x0344f800 nid=0xa38 in Object.wait() [0x03b9f000]
  java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27f0f020> (a java.lang.Boolean)
at java.lang.Object.wait(Object.java:485)
at com.universaldevices.upnp.UDProxyDevice.subscribeToEvents(Unknown Source)
- locked <0x27f0f020> (a java.lang.Boolean)
at com.universaldevices.ui.UPnPClientApplet.prepareAuthenticatedSession(Unknown Source)
at com.universaldevices.ui.UPnPClientApplet.authenticate(Unknown Source)
at com.universaldevices.ui.UPnPClientApplet.onDeviceOnLine(Unknown Source)
at com.universaldevices.upnp.UDControlPoint.onLine(Unknown Source)
- locked <0x28284d88> (a com.universaldevices.upnp.UDControlPoint)
at com.universaldevices.upnp.UDControlPoint.updateDeviceInfo(Unknown Source)
- locked <0x28284d88> (a com.universaldevices.upnp.UDControlPoint)
at com.universaldevices.upnp.UDControlPoint.addDevices(Unknown Source)
at com.universaldevices.ui.UPnPClientApplet.start(Unknown Source)
at com.universaldevices.ui.UPnPClientApplet$7.run(Unknown Source)

 

 

Threads from normal startup:

 

2010-03-06 12:25:56
Full thread dump Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing):

"Thread-8" prio=6 tid=0x02cb7800 nid=0xd20 waiting on condition [0x03ccf000]
  java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.universaldevices.upnp.UDControlPoint$DeviceLifeMonitor.run(Unknown Source)

"Thread-7" prio=6 tid=0x02cb7000 nid=0x254 runnable [0x03c7f000]
  java.lang.Thread.State: RUNNABLE
at java.net.PlainDatagramSocketImpl.peekData(Native Method)
- locked <0x28d3d7c0> (a java.net.PlainDatagramSocketImpl)
at java.net.DatagramSocket.receive(Unknown Source)
- locked <0x22c0e6c8> (a java.net.DatagramPacket)
- locked <0x28d3d508> (a java.net.MulticastSocket)
at com.universaldevices.upnp.SSDPClient.run(Unknown Source)

"Thread-12" prio=10 tid=0x02cc5400 nid=0x718 runnable [0x03bdf000]
  java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
- locked <0x28ccb1e8> (a java.lang.Object)
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(Unknown Source)
- locked <0x28ccb1e0> (a java.lang.Object)
at sun.nio.ch.ChannelInputStream.read(Unknown Source)
- locked <0x28ccee68> (a sun.nio.ch.SocketAdaptor$SocketInputStream)
at java.io.InputStream.read(Unknown Source)
at sun.nio.ch.ChannelInputStream.read(Unknown Source)
- locked <0x28ccee68> (a sun.nio.ch.SocketAdaptor$SocketInputStream)
at com.universaldevices.upnp.UDProxyDevice$EventsHandler.run(Unknown Source)

"Thread-10" prio=6 tid=0x03d39400 nid=0xf2c waiting on condition [0x0454f000]
  java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.universaldevices.ui.views.SystemConfigurationView$ClockUpdater.run(Unknown Source)

"Thread-9" prio=6 tid=0x03d9f400 nid=0x448 in Object.wait() [0x044ff000]
  java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x28b5ba00> (a java.lang.Boolean)
at java.lang.Object.wait(Object.java:485)
at com.universaldevices.common.UDClientStatus.waitNotBusy(Unknown Source)
- locked <0x28b5ba00> (a java.lang.Boolean)
at com.universaldevices.ui.SystemStatusMonitor.run(Unknown Source)

Posted
I think we found the problem. Would you be kind enough to do a test with any of the following URLs:

Wow, that was fast even for you guys!

 

I tested the jnlp url (http://www.universal-devices.com/99i/2.7.12/admin.jnlp'>http://www.universal-devices.com/99i/2.7.12/admin.jnlp) a bunch of times this morning, and did not see it hang a single time. Accessed the ISY in between via other methods, as yesterday. So it appears to work so far! I'll keep using it and let you know if I see any problems.

 

The other URL you listed (http://www.universal-devices.com/99i) loads the browser-based console. But it appears to be down-rev, since none of my folders are displayed and devices/scenes are shown the old way. So I didn't continue testing this version.

 

BTW, I noticed a java exception when closing the browser-based console loaded from the ISY (//isy/admin); details attached. The console still closed okay, and didn't seem to affect anything afterwards either.

 

--Mark

 

 

Exceptions when closing //isy/admin (2.7.12)

 

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM

----------------------------------------------------

Exception in thread "AWT-EventQueue-2" java.util.NoSuchElementException
at java.util.LinkedList.getFirst(Unknown Source)
at java.awt.SequencedEvent.getFirst(Unknown Source)
at java.awt.SequencedEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Disposal was interrupted:
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.Window.doDispose(Unknown Source)
at java.awt.Window.dispose(Unknown Source)
at com.universaldevices.common.ui.GUISystem.Stop(Unknown Source)
at com.universaldevices.ui.UPnPClientApplet.stop(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


  • 2 weeks later...
Posted

Hi Steve,

 

Thanks so very much for the feedback.

 

May I humbly ask "which" issue you are experiencing? Is it the System Busy issue or the exception when you close your Admin Console.

 

If the former, are you certain you are using the correct URL?

 

With kind regards,

Michel

Posted

It was the system busy issue. I stopped using the url referenced in the post of March 6th when I installed 2.7.13. I assumed the fix was in it.

 

My mistake I will go back to using the url.

 

Thanks

Guest
This topic is now closed to further replies.

×
×
  • Create New...