Reply to Thread

Post a reply to the thread: Strange problem with Jace 6

Your Message

 
 

You may choose an icon for your message from this list

Register Now

Please enter the name by which you would like to log-in and be known on this site.

Please enter a password for your user account. Note that passwords are case-sensitive.

Please enter a valid email address for yourself.

Log-in

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-18-2014, 03:35 PM
    MatrixTransform
    Am I right in thinking this happens with the browser only?
    We have a problem occasionally with 3.7 where access via browser doesn't always download our company specific jar file to the browser cache.

    I suspect it is a file permissions thing on the jar file but perhaps it is a 3.7 issue. Dunno, haven't got to the bottom of it yet.

    Try grabbing the jar file (lonworks) from yr Niagara workbench directory and dropping it in the browser cache manually.
  • 03-17-2014, 07:05 PM
    dapper
    ruchc30, I went ahead and reloaded the 3 patch files just to be sure there wasn't an issue there. I overwrote the wbapplet.jar. The baja.jar and fox.jar were the same. I cleared all of the caches as outlined in the tech document and then began logging into the Jace with two different PCs with IE and Firefox. At first I was able to log in successfully ten times before the problem arose. After that was 8 more successful log ins before the problem.
    This is the output from the Application Director:
    MESSAGE [18:55:14 17-Mar-14 EDT][fox] Opened: 15 <- 0 :: WbApplet @ Mercury
    javax.baja.xml.XException: java.io.IOException: circuit closed
    at javax.baja.xml.XWriter.error(XWriter.java)
    at javax.baja.xml.XWriter.write(XWriter.java)
    at javax.baja.xml.XWriter.w(XWriter.java)
    at javax.baja.io.BogEncoder.encodeValue(BogEncoder.ja va)
    at javax.baja.io.BogEncoder.encodeSlot(BogEncoder.jav a)
    at javax.baja.io.BogEncoder.encodeValue(BogEncoder.ja va)
    at javax.baja.io.BogEncoder.encode(BogEncoder.java)
    at javax.baja.sync.LoadOp.encode(LoadOp.java)
    at javax.baja.sync.SyncBuffer.encode(SyncBuffer.java)
    at com.tridium.fox.sys.broker.BBrokerChannel.syncFrom Master(BBrokerChannel.java)
    at com.tridium.fox.sys.broker.BBrokerChannel.circuitO pened(BBrokerChannel.java)
    at com.tridium.fox.sys.BFoxConnection.circuitOpened(B FoxConnection.java)
    at com.tridium.fox.session.SessionCircuits$ServiceThr ead.run(SessionCircuits.java)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: circuit closed
    at com.tridium.fox.session.FoxCircuit.assertOpen(FoxC ircuit.java)
    at com.tridium.fox.session.FoxCircuit.writeOut(FoxCir cuit.java)
    at com.tridium.fox.session.FoxCircuit$CircuitOutputSt ream.write(FoxCircuit.java)
    at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(Unkn own Source)
    at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(Unkno wn Source)
    at sun.nio.cs.StreamEncoder.write(Unknown Source)
    at sun.nio.cs.StreamEncoder.write(Unknown Source)
    at java.io.OutputStreamWriter.write(Unknown Source)
    at java.io.Writer.write(Unknown Source)
  • 03-17-2014, 07:45 AM
    ruchc03
    Since this is a 3.6.406 version, can you verify that you placed the patched wbapplet.jar in the "lib" folder of the JACE using the "File Transfer Client" and the patched baja.jar and fox.jar in the "modules" folder of the JACE using the "Software Manager" and then rebooted the JACE?
    I have a feeling the wbapplet.jar was not placed in the "lib" folder.

    https://www.dropbox.com/s/5we571z3zn...a7Update25.pdf
  • 03-15-2014, 09:42 PM
    dapper
    mechmike, I tried that after posting the last post. I logged on just fine with IE and Firefox after that the first time, but subsequent times there was no data. 'Config > Drivers' tree will not open. It seems that the LON Network driver is the problem or the java function that opens the LON network data is not working sometimes.
  • 03-15-2014, 05:08 PM
    mechmike2
    Are the Java settings the same in each PC? I have found unchecking keep temp files on computer fixes browser issues.
  • 03-15-2014, 04:07 PM
    dapper
    Ok, I've spent some time and logged in using the restricted User credentials with Workbench and have no issue. I can simultaneously log in with another PC with either Firefox or IE and I get no data. What I have found is that the Drivers tree is not accessible when the data does not load. Lon is the primary network driver but I also had Modbus too. I deleted Modbus to eliminate it as the problem. When it does not load one browser will say 'Cannot expand tree' and the other will say 'unable to open plug in'.
    This is a portion of the Details in the error message:

    javax.baja.xml.XException: Cannot instantiate type 'l:LonNetwork' [5:76]
    at javax.baja.io.BogDecoder.err(BogDecoder.java)
    at javax.baja.io.BogDecoder$TypeResolver.newInstance( BogDecoder.java)
    at com.tridium.fox.sys.broker.BBrokerChannel$BrokerTy peResolver.newInstance(BBrokerChannel.java)
    at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java )
    at javax.baja.io.BogDecoder.parseSlots(BogDecoder.jav a)
    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.syncFrom Master(BBrokerChannel.java)
    at com.tridium.fox.sys.broker.BBrokerChannel.subscrib e(BBrokerChannel.java)
    at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxS ubscribeCallbacks.subscribe(BFoxComponentSpace.jav a)
    at javax.baja.sys.Subscriber.updateSpaceSubscription( Subscriber.java)
    at javax.baja.sys.Subscriber.subscribe(Subscriber.jav a)
    at javax.baja.sys.Subscriber.subscribe(Subscriber.jav a)
    at com.tridium.sys.engine.LeaseManager.lease(LeaseMan ager.java)
    at javax.baja.sys.BComponent.lease(BComponent.java)
    at javax.baja.sys.BComponent.lease(BComponent.java)
    at com.tridium.workbench.shell.NHyperlinkInfo.resolve (NHyperlinkInfo.java)
    javax.baja.sys.TypeException: java.lang.NoClassDefFoundError: Could not initialize class javax.baja.lonworks.BLonNetwork lonworks:LonNetwork=javax.baja.lonworks.BLonNetwor k

    None of this makes much sense to me but maybe it does to someone else. It does however look as if there is some sort of Java issue.
    This problem happens with several PCs with different browsers and different versions of Java, both 7.45 and 7.51.
  • 03-13-2014, 08:35 AM
    ruchc03
    This problem does not occur in Workbench as I am not logging in with alternate user accounts.
    Using your workbench, log into the station with the user with the restricted permissions. We want you to do this to see if it is just a permissions issue or perhaps a permissions AND browser issue.

    If the problem is present using your workbench, it is probably just a permissions issue. You will have to go through your category service and give admin rights to all that is necessary to give your user access to the views but still restrict them to not cause any trouble.
  • 03-13-2014, 07:45 AM
    dapper
    Just another note. We deleted the user and added new users with permission, always the same result. Hit or miss when data is loaded in px pages.
  • 03-13-2014, 07:28 AM
    dapper
    After a lot more investigation this is what I've found. The problem seems to be in the 'Category Service' or the permissions software. If I change the problem user to 'super user' there is no problem logging in, loading graphics and loading data. If I set permissions for the user then the problem occurs on occasion where the graphics load but no data loads. If I scroll the mouse over 'pop-up bindings' on the graphics I see in the lower left corner what is there on the graphic but clicking on it does nothing. Once I change the User Account back to super user everything works.
    This problem does not occur in Workbench as I am not logging in with alternate user accounts. It only happens with accounts that have restricted permissions, and not all the time but frequently.
    Here is what I found in the Application Director:
    javax.baja.xml.XException: java.io.IOException: circuit closed
    at javax.baja.xml.XWriter.error(XWriter.java)
    at javax.baja.xml.XWriter.write(XWriter.java)
    at javax.baja.xml.XWriter.w(XWriter.java)
    at javax.baja.io.BogEncoder.encodeSlot(BogEncoder.jav a)
    at javax.baja.io.BogEncoder.encodeValue(BogEncoder.ja va)
    at javax.baja.io.BogEncoder.encode(BogEncoder.java)
    at javax.baja.sync.LoadOp.encode(LoadOp.java)
    at javax.baja.sync.SyncBuffer.encode(SyncBuffer.java)
    at com.tridium.fox.sys.broker.BBrokerChannel.syncFrom Master(BBrokerChannel.java)
    at com.tridium.fox.sys.broker.BBrokerChannel.circuitO pened(BBrokerChannel.java)
    at com.tridium.fox.sys.BFoxConnection.circuitOpened(B FoxConnection.java)
    at com.tridium.fox.session.SessionCircuits$ServiceThr ead.run(SessionCircuits.java)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: circuit closed
    at com.tridium.fox.session.FoxCircuit.assertOpen(FoxC ircuit.java)
    at com.tridium.fox.session.FoxCircuit.writeOut(FoxCir cuit.java)
    at com.tridium.fox.session.FoxCircuit$CircuitOutputSt ream.write(FoxCircuit.java)
    at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(Unkn own Source)
    at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(Unkno wn Source)
    at sun.nio.cs.StreamEncoder.write(Unknown Source)
    at sun.nio.cs.StreamEncoder.write(Unknown Source)
    at java.io.OutputStreamWriter.write(Unknown Source)
    at java.io.Writer.write(Unknown Source)
    ... 12 more
    javax.baja.security.PermissionException
    at com.tridium.fox.sys.file.BFileChannel.head(BFileCh annel.java)
    at com.tridium.fox.sys.file.BFileChannel.process(BFil eChannel.java)
    at com.tridium.fox.sys.BFoxConnection.process(BFoxCon nection.java)
    at com.tridium.fox.session.SessionDispatcher.dispatch (SessionDispatcher.java)
    at com.tridium.fox.session.SessionDispatcher.run(Sess ionDispatcher.java)
    at java.lang.Thread.run(Unknown Source)

    This means nothing to me but I am hoping someone here can interpret this.
    OBTW... It is a Jace 6E with dist. 3.6.406
    All Java related fixes have been added to the Jace. Trying Jave 7 update 51 now with same results.
    Any ideas?
  • 11-18-2013, 05:51 PM
    hvac69
    Doesn't sound like missing jar files in the Jace. It is probably a JAVA issue or Firefox with one of their recent updates. Firefox is not as dependable as I once found it to be.
  • 11-18-2013, 04:25 PM
    ruchc03
    Can you confirm what lwarren suggested and see if it reacts the same in your workbench?

    You may be missing .jar file(s) on the JACE. Let us know if this occurs using your workbench.
  • 11-17-2013, 06:47 PM
    dapper
    Just cleared the Java cache, browser cache and wbapplet module files per the Niagara update info.
    Tried logging in with Firefox.... no data. Switched to IE and all data comes in. Switched back to Firefox and all data is there now.
    Just a note... when I say data, it is all data from the LONnetwork. The LONnetwork will not even show up under Devices in the tree when there is 'no data'
    I do however get the weather data
  • 11-17-2013, 01:13 PM
    ruchc03
    I want to say it is a Java issue. Have you tried clearing the Java cache, browser cache, and deleting your "niagara" folder under the user's directory according to "Clear the various caches associated with the browser." section at the end of: https://community.niagara-central.co...va_7_Update_25 ?
  • 11-17-2013, 08:01 AM
    dapper
    I did some more testing and this is what I found. See if this makes any sense.
    There are a few User accounts on this Jace. Most are liimited, mine is SuperUser.
    If I initially try to login with Firefox under my credentials, in most cases I won't get data. The limited accounts will not work either.
    I then go to IE and login with my credentials and the data fills in. If I use a limited account initially in IE there is no data.
    Once I establish data in IE with my SuperUser credentials, I can login with a limited account and the data will fill in.
    If I then go to Firefox and try a limited account, no data. Login with my credentials this time and data is there. Subsequent login
    with a limited account and data fills in.
    This makes no sense to me. To recap.... I must first login with my credentials using IE to establish data. Afterwards the limited accounts
    will get data in IE. I can then login with my credentials using Firefox and get data. This seems to allow limited accounts to get data in
    Firefox afterwards.
    Any ideas.
    I have not yet done a clean install of the dist. files. I will do that the next time I am at the site.
    lwarren, you were correct, i had not loaded pxeditor in the Jace.
  • 11-15-2013, 08:03 AM
    jbeckham
    I've noticed some odd happenings with a jace 7 and jace 2 recently. The 7 was at 3.6 and the 2 is at 3.7. They are both branded JCI Fx jaces, and the issue is that the Fx App "Root" directory seems to disappear from the navigation tree. I ended up doing a clean dist and upgrading the 7 to 3.7, and that seems to have corrected the problem. I haven't done anything to the 2 yet, since I'm trying to analyze what has happened.

    I thought I had done something to the 7 that caused this, since that the first place I noticed it, but after it happened to the 2, I'm not so sure.


    Sent from my iPhone using Tapatalk
  • 11-14-2013, 08:36 AM
    dapper
    Haven't gone to the site yet to connect.
  • 11-14-2013, 08:23 AM
    lwarren
    So you are seeing the same issues when connected with Workbench as you do when connecting via a browser?
  • 11-14-2013, 08:15 AM
    dapper
    I have to believe the problem is with AX because I've tried several PCs and different browsers. Now that you mention it, I'm not 100% sure if PXeditor is indtalled on the Jace.
  • 11-14-2013, 07:32 AM
    lwarren
    Quote Originally Posted by dapper View Post
    lwarren, I didn't see anything there that indicated a definitive solution or cause. Did I miss it?

    Noticed another problem tonight. I cannot access px editor remotely either. I'm pretty sure I could do this before. This Jace has only been in for a month or so.
    Well you still haven't stated whether this is an issue through the browser, AX or both. Is the px editor installed on the jace?
  • 11-13-2013, 09:55 PM
    hvac69
    Are you seeing these problems using a web browser or workbench? What I gathered from those posts it is basically what happen to me and what I did by reinstalling a clean dist and clearing the cache.
This thread has more than 20 replies. Click here to review the whole thread.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •