Installed products (BE, BW, etc.) not shown in Administrator and tsm.log shows similar errors as following: "com.tibco.pof.entity.EntityStoreException: java.io.IOException: Cannot read from the stream until the onStore method is called for stream"
book
Article ID: KB0094148
calendar_today
Updated On:
Products
Versions
TIBCO Administrator
-
Not Applicable
-
Description
Resolution: Title: Installed products (BE, BW, etc.) not shown in Administrator and tsm.log shows similar errors as following: "com.tibco.pof.entity.EntityStoreException: java.io.IOException: Cannot read from the stream until the onStore method is called for stream: AdministratorModel/1307308a_11b7ea23419_-7fcf39381284/com.tibco.pof.administrator.model.AdministratorPlugInFile/15f6eb6c_11c466e6e9b_-7ffc39146b41.AdministratorPlugInFile"
Resolution: ===== 2009 May 07 14:08:10:073 GMT 0 tsm Info [] [TRA-000000] Adding:be 3.0 /data/tibco/be/3.0
2009 May 07 14:08:10:152 GMT 0 tsm Error [] [TRA-000000] com.tibco.pof.entity.EntityStoreException: java.io.IOException: Cannot read from the stream until the onStore method is called for stream: AdministratorModel/1307308a_11b7ea23419_-7fcf39381284/com.tibco.pof.administrator.model.AdministratorPlugInFile/15f6eb6c_11c466e6e9b_-7ffc39146b41.AdministratorPlugInFile at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.getInputStream(MutableAdminDomainImpl.java:1161) at com.tibco.pof.admindomain.impl.DefaultFileContent.onStore(DefaultFileContent.java:85) at com.tibco.pof.entitystore.AbstractEntityTransaction.validate(AbstractEntityTransaction.java:281) at com.tibco.pof.entitystore.AbstractEntityTransaction.a(AbstractEntityTransaction.java:687) at com.tibco.pof.entitystore.AbstractEntityTransaction.commit(AbstractEntityTransaction.java:674) at com.tibco.pof.entity.impl.MutableDomainChildFactory.commit(MutableDomainChildFactory.java:462) at com.tibco.pof.entity.impl.MutableDomainChildFactory.commit(MutableDomainChildFactory.java:457) at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.commit(MutableAdminDomainImpl.java:508) at com.tibco.administrator.inventory.MachineInventory.addProductToPOF(MachineInventory.java:333) at com.tibco.administrator.TSM.TSMFunctions.syncronizeProductsWithDomain(TSMFunctions.java:455) at com.tibco.tra.tsm.TsmSyncInventory.run(TsmSyncInventory.java:96) =====
This error indicates that the Hawk Agent (TSM) cannot upload the admin plugin war file of this product to the Administrator. It's not very clear why this error occurs.
But we can skip the uploading process if we can make sure the latest version of the plugin war file of this product has been in the <ADMIN_HOME>/<VERSION>/administrator-plugins folder.
Steps: 1. Find the product which is causing the problem. (Just above the exception, there should be a line similar as "Adding:be 3.0 /data/tibco/be/3.0 ". The product is BE in this case) 2. Make sure that the product plugin war file is existed in the <ADMIN_HOME>/<VERSION>/administrator-plugins folder. 3. If it's not existed, copy the war/jar file from the product_home/<VERSION>/admin-plugins folder to that folder. 4. Remove the war/jar file from the product_home/<VERSION>/admin-plugins folder. 5. Restart Admin & Hawk
After the software is listed in the Admin GUI, the customer still needs to put the war/jar file back to the product_home/<VERSION>/admin-plugins folder in order for successful deployment, see SOL1-AYEGHO for more details.
Issue/Introduction
Installed products (BE, BW, etc.) not shown in Administrator and tsm.log shows similar errors as following: "com.tibco.pof.entity.EntityStoreException: java.io.IOException: Cannot read from the stream until the onStore method is called for stream"