tib:base64-to-string giving error in tibco bw 6.3 - tibco

In a mapper activity I have passed the encoded data to tib:base64-to-string but while running it, getting the initialization error as follows.
ERROR [Job_Executor0] com.tibco.thor.frwk.Application -
TIBCO-THOR-FRWK-600026: Failed to start BW Application
[ServiceNow.v1.0.application:1.0]. Reason: TIBCO-BW-FRWK-600053:
Failed to initialize BW Component [ComponentAssyst_Attachment].
com.tibco.bw.core.runtime.api.BWEngineException:
TIBCO-BW-CORE-500232: Failed to initialize BW Component
[ServiceNow_Attachment], Application [ServiceNow.v1.0.application:1.0]
due to activity initialization error.
com.tibco.bw.core.runtime.ActivityInitException: TIBCO-BW-CORE-500618:
Failed to initialize the activity [TransformXml] in process
[ServiceNow.v1.0.ServiceNow_Attachment], module [ServiceNow.v1.0] due
to unexpected activity lifecycle error.
java.lang.AssertionError: resolver cannot be null.
23:22:36.900 INFO [Job_Executor0] com.tibco.thor.frwk.Application -
TIBCO-THOR-FRWK-300008: Stopped BW Application
[ServiceNow.v1.0.application:1.0]
can anyone help me on this to resolve this on priority.

i don't think it's because you mapped the encoded data in tib:base64-to-string, it seems more like an error due the version, try to increment the version and all the modules must have the same version.

Related

ListAzureBlobStorage failed to obtain value from ZooKeeper for component with ID

The ListAzureBlobStorage was working fine with setting: .
Until it failed with the below error without anything being changed. I have restarted the nifi and reset all the properties again. However, the error still remains. I have looked into the similar questions: Link 1, Link 2, they do not provide solution to my specific problem.
ListAzureBlobStorage[id=34c1ea1d-0186-1000-aad1-11c9a28c4c83] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.io.IOException: Failed to obtain value from ZooKeeper for component with ID 34c1ea1d-0186-1000-aad1-11c9a28c4c83 with exception code CONNECTIONLOSS: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/components/34c1ea1d-0186-1000-aad1-11c9a28c4c83
↳ causes: java.io.IOException: Failed to obtain value from ZooKeeper for component with ID 34c1ea1d-0186-1000-aad1-11c9a28c4c83 with exception code CONNECTIONLOSS
I appreciate any help and direction to resolve this issue.
In the above case, nifi was set up using docker. Restarting the zookeeper container helped to resolve this issue.

While generate HTML report via cmd show error

Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :Begin size 0 is not equal to fixed size 5
Sounds like a JMeter bug, I think you should report it via JMeter Bugzilla
Try downgrading to i.e. Java 8 (the minimum Java version you can run JMeter 5.4 with) and it should resolve your issue.

Hyperledger composer Rest API filter not working for asset

I am trying to execute Rest API using following filter
api/Commodity?filter={"where":{"owner":"resource:org.example.mynetwork.Trader%231"},%20"include":"resolve"}
but getting following error -
{"error":{"statusCode":500,"name":"Error","message":"2 UNKNOWN: error executing chaincode: transaction returned with failure: Error: ExecuteQuery not supported for leveldb","code":2,"metadata":{"_internal_repr":{}},"details":"error executing chaincode: transaction returned with failure: Error: ExecuteQuery not supported for leveldb","stack":"Error: 2 UNKNOWN: error executing chaincode: transaction returned with failure: Error: ExecuteQuery not supported for leveldb\n at new createStatusError (/home/composer/.npm-global/lib/node_modules/#ibmblockchain/composer-rest-server/node_modules/grpc/src/client.js:64:15)\n at /home/composer/.npm-global/lib/node_modules/#ibmblockchain/composer-rest-server/node_modules/grpc/src/client.js:583:15"}}
Kindly suggest what is wrong here?
The important part of the response is here Error: ExecuteQuery not supported for leveldb
This says that your fabric is configured to use the inbuilt leveldb system for storing the world state. Because of this you cannot perform any type of query on it, and that includes rest filters.
You need to change your fabric setup to use couchdb as the world state store instead.
Fabric documentation can be found here about building fabric networks and on this page there is a specific section about enabling couchdb.
see https://hyperledger-fabric.readthedocs.io/en/release-1.2/build_network.html

[Error]: Failed to run command with error: Error Domain=Parse Code=428

I get this error sometimes when trying to save things to Parse or to fetch data from it.
This is not constant and appear once in a while making the operation to fail.
I have contacted Parse for that. Here is their answer:
Starting on 4/28/2016, apps that have not migrated their database may see a "428" error code if the request cannot be handled by the remaining shared pool of resources. If you see this error in your logs, we highly recommend migrating the database for your app without delay.
Means this happens because of starting this date all apps are on low priority but those who started DB migration. So, Migration of the DB should resolve that.

Trouble in getting rid of warning in glassfish server

Hi I tried to run a Spring JPA application in glassfish server the application is up and running but everytime a DB query is getting accessed the below warning is displayed in the logs:
javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.pool.resizer
Error while Resizing pool MediaTrackPool. Exception : WEB9031: WebappClassLoader unable to load resource [com.mysql.jdbc.SQLError], because it has not yet been started, or was already stopped.
Though there is no problem with the app running but everytime the warning is displayed. Can some one help me in getting rid of the same.

Resources