PCF - dotnet_core_buildpack => Getting error exec: "git": executable file not found in %PATH% - .net-core

I am getting an error => exec: "git": executable file not found in %PATH%
When I try to push the .Net Core 2 application to PCF.
The command I am using is :
cf push BTH -b https://github.com/cloudfoundry/dotnet-core-buildpack#v2.1.5
Updating app BTH...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
354.38 KiB / 354.38 KiB [=================================================================================] 100.00% 2s
Waiting for API to complete processing files...
Staging app and tracing logs... Cell
f518b117-f7b5-49c7-a13b-5e4a803f5bf5 successfully created container
for instance d820ec8d-86d6-4662-bc24-ca23fa2a2557 Downloading app
package... Downloaded app package (10.6M) exec: "git":
executable file not found in %PATH% Exit status 1 Cell
f518b117-f7b5-49c7-a13b-5e4a803f5bf5 stopping instance
d820ec8d-86d6-4662-bc24-ca23fa2a2557 Cell
f518b117-f7b5-49c7-a13b-5e4a803f5bf5 destroying container for instance
d820ec8d-86d6-4662-bc24-ca23fa2a2557 Cell
f518b117-f7b5-49c7-a13b-5e4a803f5bf5 successfully destroyed container
for instance d820ec8d-86d6-4662-bc24-ca23fa2a2557 Error staging
application: Staging error: staging failed FAILED
The staging gets failed.

Related

Error staging application: App staging failed in the buildpack compile phase in HWC Buildpack

I am trying to deploy my application built in ASP.Net 4.6.1. So I am using HWC Buildpack.
Below is my manifest.yml
---
applications:
- name: DRSN
random-route: true
memory: 128M
buildpack:
https://github.com/cloudfoundry/hwc-buildpack.git
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
The error that I am receiving is below.
Waiting for API to complete processing files...
Staging app and tracing logs...
Cell 0f7012eb-9e32-4fdf-ba92-85aee4639139 creating container for instance 34107c3c-1acb-4aa5-b435-b06516abcfcb
Cell 0f7012eb-9e32-4fdf-ba92-85aee4639139 successfully created container for instance 34107c3c-1acb-4aa5-b435-b06516abcfcb
Downloading app package...
Downloading build artifacts cache...
Downloaded build artifacts cache (231B)
Downloaded app package (19.5M)
Failed to compile droplet: Failed to compile droplet: fork/exec /tmp/buildpackdownloads/6c6dca8d638ac0d145d6581f9eb9a96a/bin/compile: permission denied
Exit status 223
Cell 0f7012eb-9e32-4fdf-ba92-85aee4639139 stopping instance 34107c3c-1acb-4aa5-b435-b06516abcfcb
Cell 0f7012eb-9e32-4fdf-ba92-85aee4639139 destroying container for instance 34107c3c-1acb-4aa5-b435-b06516abcfcb
Error staging application: App staging failed in the buildpack compile phase
Can anyone help me resolve this issue? Am I not correct in my manifest.yml? Or is it something else?
I believe that the problem is that you're telling the system to use the HWC buildpack, but at the same time you're not setting the Windows stack (at least based on what info I can see). That means it's going to default to the Linux stack, which I believe is why you're seeing the fork/exec /tmp/buildpackdownloads/... error.
Try adding stack: windows to your manifest.yml or -s windows to your cf push command (for future reference, when you need help always include the full cf push command you're running).
PS: you shouldn't use https://github.com/cloudfoundry/hwc-buildpack.git that is telling the system to grab the master branch in whatever state it's currently in. That's a.) not reproducible and b.) not guaranteed to be in a working state. You should either use the platform provided buildpack names (from cf buildpacks) or append #<branch_or_tag> to the end of the URL so it picks a specific branch. All CF Buildpacks have tags for each release. It's strongly recommended you use a tagged release.

Gradle Build failed for the Hello World example in the Corda website

I followed the IOU example on the Corda website. I have Java 1.8 121 version.
Not sure why this problem happening.
I am running my application in my intelliJ in windows box.
I have copy pasted the gradle file content in the IOU example. Alternatively I used the same gradle file which was there in the downloaded zip itself.
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
nodeDefaults {
projectCordapp {
deploy = false
}
cordapp project(':contracts')
cordapp project(':workflows')
}
node {
name "O=Notary,L=London,C=GB"
notary = [validating : false]
p2pPort 10002
rpcSettings {
address("localhost:10003")
adminAddress("localhost:10043")
}
}
node {
name "O=PartyA,L=London,C=GB"
p2pPort 10005
rpcSettings {
address("localhost:10006")
adminAddress("localhost:10046")
}
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
}
node {
name "O=PartyD,L=New York,C=US"
p2pPort 10008
rpcSettings {
address("0.0.0.0:10009")
adminAddress("0.0.0.0:10010")
}
rpcUsers = [[ user: "user1", "password": "test", "permissions": ["ALL"]]]
}
}
task installQuasar(type: Copy) {
destinationDir rootProject.file("lib")
from(configurations.quasar) {
rename 'quasar-core(.*).jar', 'quasar.jar'
}
}
Below is the complete error
D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java>gradlew clean deployNodes
Picked up _JAVA_OPTIONS: -Xmx512M
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :deployNodes
Running Cordform task
Deleting D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes
Bootstrapping local test network in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes
Generating node directory for Notary
Generating node directory for PartyA
Generating node directory for PartyD
Waiting for all nodes to generate their node-info files...
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs ####
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyD\logs ####
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\Notary\logs ####
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
> Task :deployNodes FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':deployNodes'.
> Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
> Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 41s
15 actionable tasks: 14 executed, 1 up-to-date
D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java>gradlew clean deployNodes --stacktrace
Picked up _JAVA_OPTIONS: -Xmx512M
> Task :deployNodes
Running Cordform task
Deleting D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes
Bootstrapping local test network in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes
Generating node directory for Notary
Generating node directory for PartyA
Generating node directory for PartyD
Waiting for all nodes to generate their node-info files...
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs ####
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\Notary\logs ####
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
#### Error while generating node info file D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyD\logs ####
CAPSULE EXCEPTION: Could not parse version line: Picked up _JAVA_OPTIONS: -Xmx512M (for stack trace, run with -Dcapsule.log=verbose)
USAGE: java <options> -jar corda.jar
Actions:
capsule.version - Prints the capsule and application versions.
capsule.modes - Prints all available capsule modes.
capsule.jvms - Prints a list of all JVM installations found.
capsule.help - Prints this help message.
Options:
capsule.mode=<value> - Picks the capsule mode to run.
capsule.reset - Resets the capsule cache before launching. The capsule to be re-extracted (if applicable), and other possibly cached files will be recreated.
capsule.log=<value> (default: quiet) - Picks a log level. Must be one of none, quiet, verbose, or debug.
capsule.java.home=<value> - Sets the location of the Java home (JVM installation directory) to use; If 'current' forces the use of the JVM that launched the capsule.
capsule.java.cmd=<value> - Sets the path to the Java executable to use.
capsule.jvm.args=<value> - Sets additional JVM arguments to use when running the application.
Picked up _JAVA_OPTIONS: -Xmx512M
> Task :deployNodes FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':deployNodes'.
> Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
> Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':deployNodes'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:293)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.InvalidUserCodeException: Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
at net.corda.plugins.Baseform.bootstrapNetwork(Baseform.kt:244)
at net.corda.plugins.Cordform.build(Cordform.kt:70)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:801)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:768)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:293)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 31 more
Caused by: java.lang.IllegalStateException: Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyA\logs.
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.printNodeInfoGenLogToConsole(NetworkBootstrapper.kt:135)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.generateNodeInfo(NetworkBootstrapper.kt:114)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.access$generateNodeInfo(NetworkBootstrapper.kt:67)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:93)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:67)
at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130)
at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt)
at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142)
at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22)
Suppressed: java.lang.IllegalStateException: Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\Notary\logs.
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.printNodeInfoGenLogToConsole(NetworkBootstrapper.kt:135)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.generateNodeInfo(NetworkBootstrapper.kt:114)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.access$generateNodeInfo(NetworkBootstrapper.kt:67)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:93)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:67)
at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130)
at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt)
at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142)
at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Suppressed: java.lang.IllegalStateException: Error while generating node info file. Please check the logs in D:\Arvinth\BlockChain\Corda\corda-java\cordapp-template-java\build\nodes\PartyD\logs.
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.printNodeInfoGenLogToConsole(NetworkBootstrapper.kt:135)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.generateNodeInfo(NetworkBootstrapper.kt:114)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.access$generateNodeInfo(NetworkBootstrapper.kt:67)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:93)
at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion$generateNodeInfos$1$1.invoke(NetworkBootstrapper.kt:67)
at net.corda.core.internal.concurrent.ValueOrException$DefaultImpls.capture(CordaFutureImpl.kt:130)
at net.corda.core.internal.concurrent.OpenFuture$DefaultImpls.capture(CordaFutureImpl.kt)
at net.corda.core.internal.concurrent.CordaFutureImpl.capture(CordaFutureImpl.kt:142)
at net.corda.core.internal.concurrent.CordaFutureImplKt$fork$$inlined$also$lambda$1.run(CordaFutureImpl.kt:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
* Get more help at https://help.gradle.org
BUILD FAILED in 20s
15 actionable tasks: 14 executed, 1 up-to-date
The problem was due to the java. I had multiple java versions. I cleaned up all java. in-fact I uninstalled all the Java, restarted, and installed freshly Java1.8_221 version.And able to solve it.

Symfony2 app deployment with HWIOAuth and Capifony

After some days I deploy manually a SF2 app, I wrote a Capifony script to automate app deployment.
But the deployment crash with this error :
** [Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
** The child node "firewall_name" at path "hwi_oauth" must be configured.
** Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
*** [RuntimeException]
*** An error occurred when executing the "'cache:clear --no-warmup'" command.
Everything work fine on my local environment and when I deploy manually.
I never success to deploy this app, so there is no cache.
I don't understand.

Error Installing Content Manager IBM Connections 4.5

I'm trying to install IBM Connections 4.5 on Oracle 11.2, but I'm having a problem with only 'Content Manager'. After Install process, the IBM Installation Manager appears this summary:
Install results :
CLFRP0038E: IBM Connections Content Manager failed to be configured on WebSphere Application Server. Error Step : Step "action-config-ce-ccm"
** One or more components failed installation. Please review. **
And in ConfigTrace log file appear this error:
config-ce-applicationserver-xml-config:
Target finished: config-ce-applicationserver-xml-config
Target started: config-ce-configurebootstrap-xml-config
c
Target finished: c
[echo] ... generating CCM Content Engine profile completed
[echo] Running Content Engine configuration tasks
[exec] There was an error executing the Configure GCD JDBC Data Sources task.
[exec] Running the task failed with the following message: The data source configuration failed:
[exec] WASX7209I: Connected to process "dmgr" on node svconnectionsCellManager01 using SOAP connector; The type of process is: DeploymentManager
[exec] testing Database connection
[exec] WASX7017E: Exception received while running file "E:/IBM/Connections/addons/ccm/ContentEngine/tools/configure/tmp/configurejdbcgcd.tcl"; exception information: javax.management.MBeanException
[exec] c: DSRA8000E: Java archive (JAR) or compressed files do not exist in the path or the required access is not allowed. Path: E:/app/Administrator/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar
The 'ojdbc6.jar' exist on the path, but the application report this error.
What can be this question?
Thanks
Can you confirm that KSH is installed? I have seen these errors on linux systems if the korne shell is not installed on the system. It is documented that CCM requires KSH but most people miss that part of the requirements.

flexunit on jenkins server --- ant unable to build without error

I have already installed vncserver, flex sdk 4.6 and xvnc plugin in my jenkins.
Not sure what else i need to do.
This is my last build error message from jenkins
Building in workspace <http://example.com:8080/job/flexproject%20develop/ws/>
Checkout:flexproject develop / <http://example.com:8080/job/flexproject%20develop/ws/> - hudson.remoting.LocalChannel#78da5318
Using strategy: Default
Last Built Revision: Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git#github.com:simkimsia/STORYBOT.git
Commencing build of Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Checking out Revision 6eca1f87e583b1b7a99825ff075f2e4e4f3b87ea (origin/develop)
Starting xvnc
[flexproject develop] $ vncserver :16
New 'web1:16 (jenkins)' desktop is web1:16
Starting applications specified in /var/lib/jenkins/.vnc/xstartup
Log file is /var/lib/jenkins/.vnc/web1:16.log
[flexproject develop] $ ant
Buildfile: <http://example.com:8080/job/flexproject%20develop/ws/build.xml>
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean-all:
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit/generated-flexunit-config.xml>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/report/flexunit>
[delete] Deleting <http://example.com:8080/job/flexproject%20develop/ws/build/output/report>
clean:
[echo] Storybot :: clean finished.
test-air:
[copy] Copying 1 file to <http://example.com:8080/job/flexproject%20develop/ws/build/output/unit>
[echo] run-flexunit :: setting FLEX_HOME to ${env.FLEX_HOME}
[mkdir] Created dir: <http://example.com:8080/job/flexproject%20develop/ws/build/output/report/flexunit>
BUILD FAILED
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/target/test-air.xml>:4: The following error occurred while executing this line:
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/base/base-macros.xml>:212: The following error occurred while executing this line:
<http://example.com:8080/job/flexproject%20develop/ws/buildsupport/base/base-macros.xml>:174: Please specify, or verify the location for, the FLEX_HOME property. It is required when testing with 'air' as the player or when using the 'testSource' element. It should point to the installation directory for a Flex SDK.
Total time: 2 seconds
Build step 'Invoke Ant' marked build as failure
Terminating xvnc.
$ vncserver -kill :16
Killing Xvnc4 process ID 28784
Recording test results
inside my workspace project, i ran ant build.xml
i get
jenkins#web1:~/workspace/flexproject$ ant build.xml
Buildfile: /var/lib/jenkins/workspace/flexproject/build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
BUILD FAILED
Target "build.xml" does not exist in the project "flexproject".
Total time: 2 seconds
int he same folder when i run ant
i get
Buildfile: /var/lib/jenkins/workspace/flexproject/build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
clean-all:
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/unit/generated-flexunit-config.xml
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/unit
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/report/flexunit
[delete] Deleting /var/lib/jenkins/workspace/flexproject/build/output/report
clean:
[echo] Storybot :: clean finished.
test-air:
[copy] Copying 1 file to /var/lib/jenkins/workspace/flexproject/build/output/unit
[echo] run-flexunit :: setting FLEX_HOME to /opt/flex
[mkdir] Created dir: /var/lib/jenkins/workspace/flexproject/build/output/report/flexunit
BUILD FAILED
/var/lib/jenkins/workspace/flexproject/buildsupport/target/test-air.xml:4: The following error occurred while executing this line:
/var/lib/jenkins/workspace/flexproject/buildsupport/base/base-macros.xml:212: The following error occurred while executing this line:
/var/lib/jenkins/workspace/flexproject/buildsupport/base/base-macros.xml:174: Could not create test runner from template.
Please advise.
Thank you.
Could not load definitions from resource flexTasks.task
hints that you missed to set the path to your flex4.6 directory (lib/*.jar inside) correctly.

Resources