Solved

Error in flash applet for HVAC equipment

Posted on 2010-09-13
6
1,523 Views
Last Modified: 2013-11-24
I have a client that asked me to look at a problem that he is having accessing a HVAC interface. The guy who programmed it is saying that it must be a problem on the clients end. However I think that it is a problem on his end, but I have no programming experience  and would like some opinions.  

What happens is that you log into a web portal for the HVAC unit and it launches a Java applicaion called Niagra Central. The applet shell seems to launch but the content never loads. From what I can see it is due to a corrupted dependency that it is trying to load, but I could be totally off. Here is the error that is given from the client end. I dont have access to the server end.

I have tried this on 2 different PC's with IE8, Firefox, and Chrome. All of them have the same error. However it works on a Mac that someone tested it from, dont know the version.

Does this look like a server side error and what can I tell this guy?
javax.baja.xml.XException: Cannot load module 'jci=jciFxDriver' [7:83]
   at javax.baja.io.BogDecoder.err(BogDecoder.java)
   at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)
   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
   at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)
   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
   at javax.baja.io.BogDecoder.decode(BogDecoder.java)
   at javax.baja.sync.LoadOp.decode(LoadOp.java)
   at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)
   at com.tridium.fox.sys.broker.BBrokerChannel.syncFromMaster(BBrokerChannel.java)
   at com.tridium.fox.sys.broker.BBrokerChannel.load(BBrokerChannel.java)
   at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxLoadCallbacks.loadSlots(BFoxComponentSpace.java)
   at com.tridium.sys.schema.ComponentSlotMap.loadSlots(ComponentSlotMap.java)
   at javax.baja.sys.BComplex.loadSlots(BComplex.java)
   at javax.baja.naming.BSlotScheme.resolve(BSlotScheme.java)
   at javax.baja.naming.BOrd.resolve(BOrd.java)
   at javax.baja.naming.BOrd.resolve(BOrd.java)
   at com.tridium.workbench.shell.BNiagaraWbShell.resolve(BNiagaraWbShell.java)
   at com.tridium.workbench.shell.NHyperlinkInfo.resolve(NHyperlinkInfo.java)
   at com.tridium.workbench.shell.NHyperlinkInfo.hyperlink(NHyperlinkInfo.java)
  javax.baja.sys.ModuleException: Cannot resolve dependency jciParser-0 for jciFxDriver-Johnson Controls-3.3.22.34
     at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
     at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
     at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
     at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)
     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
     at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)
     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
     at javax.baja.io.BogDecoder.decode(BogDecoder.java)
     at javax.baja.sync.LoadOp.decode(LoadOp.java)
     at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)
     at com.tridium.fox.sys.broker.BBrokerChannel.syncFromMaster(BBrokerChannel.java)
     at com.tridium.fox.sys.broker.BBrokerChannel.load(BBrokerChannel.java)
     at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxLoadCallbacks.loadSlots(BFoxComponentSpace.java)
     at com.tridium.sys.schema.ComponentSlotMap.loadSlots(ComponentSlotMap.java)
     at javax.baja.sys.BComplex.loadSlots(BComplex.java)
     at javax.baja.naming.BSlotScheme.resolve(BSlotScheme.java)
    javax.baja.sys.ModuleException: Cannot resolve dependency jcin2-0 for jciParser-Johnson Controls-3.3.22.34
       at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
       at java.security.AccessController.doPrivileged(Native Method)
       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
       at java.security.AccessController.doPrivileged(Native Method)
       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
       at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
       at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)
       at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
       at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)
       at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)
       at javax.baja.io.BogDecoder.decode(BogDecoder.java)
       at javax.baja.sync.LoadOp.decode(LoadOp.java)
       at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)
      javax.baja.sys.ModuleException: Cannot open jar: C:\Users\myusername\niagara\wbapplet\modules\jcin2-3.3.22.34.jar
         at com.tridium.sys.module.ModuleManager.makeModule(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.find(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
        java.util.zip.ZipException: error in opening zip file
           at java.util.zip.ZipFile.open(Native Method)
           at java.util.zip.ZipFile.<init>(Unknown Source)
           at java.util.zip.ZipFile.<init>(Unknown Source)
           at com.tridium.util.jar.JarFile.<init>(JarFile.java)
           at com.tridium.sys.module.ModuleManager.makeModule(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.find(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)
           at java.security.AccessController.doPrivileged(Native Method)
           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)
           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

Open in new window

0
Comment
Question by:ryan80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 22

Expert Comment

by:NovaDenizen
ID: 33702564
0
 
LVL 12

Author Comment

by:ryan80
ID: 33703006
I did look that over before, but the reason in the detail log seemed to boils down to a incompatibility issue with an extension, where mine seems to be a zip issue. I still think that it could be something like a zip file issue on the server but I would like to be a little more sure.
0
 
LVL 22

Expert Comment

by:NovaDenizen
ID: 33703119
 javax.baja.sys.ModuleException: Cannot open jar: C:\Users\myusername\niagara\wbapplet\modules\jcin2-3.3.22.34.jar

I think there's something wrong with this jar file.  It's missing or corrupt or incomplete or locked or permissions aren't set correctly or something.  
0
 
LVL 12

Author Comment

by:ryan80
ID: 33703266
Now I have tried this from multiple machines with Windows 7 and XP. Do you think that this would be a client side or server side issue?

I have read places where if the zip file isnt compressed with java tools than there can bee issues opening it?
0
 
LVL 22

Accepted Solution

by:
NovaDenizen earned 500 total points
ID: 33703521
A jar file is actually a zip file with a few added constraints.  You need a zip library to programmatically use the contents of a jar file.  I suppose there could be problems if someone rolled their own jar file using a generic zip utility, but it's more likely that they use an official jar utility.  It's also remotely possible that there is a software incompatibility between the jar utility that created the jcin jar and the jre that is trying to use it, but I find it much more likely that there is a file integrity issue and the jcin.jar file is simply not available or valid.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A solution for Fortify Path Manipulation.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question