Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
TIBCO BusinessEvents 4.0 not showing in Installed Software of TIBCO Administrator.
Environment:
===========
TIBCO BusinessEvents 4.0.1
All Operating Systems
Symptoms:
=========
The following error is found in the tsm log:
2012 Oct 17 11:03:19:602 GMT 8 tsm Info [] [TRA-000000] Adding:be 4.0 /tibco/ste/etc/bw/esbapp1_esb_ap2_dom/3.2/be/4.0
2012 Oct 17 11:03:19:785 GMT 8 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/-4d015010_12456bace69_-7f677f000001/com.tibco.pof.administrator.model.AdministratorPlugInFile/-30e2e717_139e04a5859_-7f65810eea15.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)
Caused by: java.io.IOException: Cannot read from the stream until the onStore method is called for stream: AdministratorModel/-4d015010_12456bace69_-7f677f000001/com.tibco.pof.administrator.model.AdministratorPlugInFile/-30e2e717_139e04a5859_-7f65810eea15.AdministratorPlugInFile
at com.tibco.pof.admindomain.impl.DefaultFileContent$DelayedInputStream.read(DefaultFileContent.java:178)
at java.io.InputStream.read(InputStream.java:154)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at com.tibco.archive.helpers.ApplicationArchiveFactory.getOutputStream(ApplicationArchiveFactory.java:174)
at com.tibco.archive.helpers.ApplicationArchiveFactory.getBytes(ApplicationArchiveFactory.java:187)
at com.tibco.pof.notification.impl.CreateInputStreamNotificationImpl.getInputStream2(CreateInputStreamNotificationImpl.java:40)
at com.tibco.pof.entity.impl.MutableDomainChildFactory.getInputStream(MutableDomainChildFactory.java:636)
at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.getInputStream(MutableAdminDomainImpl.java:1159)
... 10 more
Cause:
======
The error in tsm log indicated that Hawk Agent (TSM) could not upload BE admin plugin file to the Administrator.
Resolution:
========
1). Copy be-admin.jar from <BE_home>/admin-plugins to <ADMIN_home>/administrator-plugins (the product Administrator instead of domain).
2). Backup be-admin.jar from <BE_home>/admin-plugins, move it to /tmp.
3). Restart Admin & Hawk.
BE should now be visible under installed software but may not be deployable.
4). Copy be-admin.jar from /tmp back to <BE_HOME>/admin-plugins
5). Add <BE_home>/admin-plugins to the beginning of tibco.class.path.extended in the hawkagent_<domain name>.tra file of the client machine.
6). Restart Hawk on the client machine.