Highlighted
Frequent Visitor.
136 views

OO 2019.11 Error : Unable to execute mojo: java.lang.reflect.InvocationTargetException

Greeting Experts !!!

I am getting the belowerror while execution a flow on central which is to set system property value on central.

Set System Property: <Empty Transition Description> (Failed to execute content action: com.hp.oo:oo-oo-plugin:2.4.0 -> SetSystemProperty
Reason: Unable to execute mojo: java.lang.reflect.InvocationTargetException
This error might occur either because content packs/plugins were not deployed or because of content packs/plugins version mismatch.)

Any help is appreciated !!!

I have also attached the inputs passed to the operation-> Set System Property (belongs to Micro Focus Solutions (2.5.0) CP)

i am using below CPs on central:

Base (1.16.0)

Micro Focus Solutions (2.5.0)

 

Below is complete execution log from Central/var/logs 

-----------------------------------------------------------------------------------------------------------------------

2020-04-06 14:58:22,130 [1_WorkerExecutionThread-13_135000565] (ReflectionAdapterImpl.java:104) ERROR - Failed to run the action! Class: com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions, method: executeContentAction, reason: Failed to execute content action: com.hp.oo:oo-oo-plugin:2.5.0 -> SetSystemProperty
Reason: Unable to execute mojo: java.lang.reflect.InvocationTargetException
This error might occur either because content packs/plugins were not deployed or because of content packs/plugins version mismatch.
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1362.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:92)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:572)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:170)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:161)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:39)
at java.lang.Thread.run(Thread.java:748)
Caused by: io.cloudslang.score.exceptions.FlowExecutionException: Failed to execute content action: com.hp.oo:oo-oo-plugin:2.5.0 -> SetSystemProperty
Reason: Unable to execute mojo: java.lang.reflect.InvocationTargetException
This error might occur either because content packs/plugins were not deployed or because of content packs/plugins version mismatch.
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:159)
... 14 more
Caused by: java.lang.RuntimeException: Failed to resolve goals for plugin [com.hp.oo:oo-oo-plugin:2.5.0]
at com.hp.oo.maven.PluginAdapterImpl.createPluginGoals(PluginAdapterImpl.java:464)
at com.hp.oo.maven.PluginAdapterImpl.getPluginGoals(PluginAdapterImpl.java:420)
at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:325)
at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:257)
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:105)
... 14 more
Caused by: java.lang.RuntimeException: Unable to execute mojo: java.lang.reflect.InvocationTargetException
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:288)
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:231)
at com.hp.oo.maven.PluginAdapterImpl.getPluginMetadata(PluginAdapterImpl.java:495)
at com.hp.oo.maven.PluginAdapterImpl.createPluginGoals(PluginAdapterImpl.java:436)
... 18 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:96)
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:277)
... 21 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.twdata.maven.mojoexecutor.MavenCompatibilityHelper.loadPluginDescriptor(MavenCompatibilityHelper.java:78)
at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:85)
... 22 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1619.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.twdata.maven.mojoexecutor.MavenCompatibilityHelper.loadPluginDescriptor(MavenCompatibilityHelper.java:73)
... 23 more
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin com.hp.oo:oo-oo-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.hp.oo:oo-oo-plugin:jar:2.5.0
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:122)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)
at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)
... 27 more
Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.hp.oo:oo-oo-plugin:jar:2.5.0
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:288)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:108)
... 29 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.hp.oo:oo-oo-plugin:pom:2.5.0 from/to (https://ME-TEST-PAS1.ME-TEST.COM:9443/oo/m2/artifacts😞 java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
... 32 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.hp.oo:oo-oo-plugin:pom:2.5.0 from/to (https://ME-TEST-PAS1.ME-TEST.COM:9443/oo/m2/artifacts😞 java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
... 1 more
Caused by: org.apache.maven.wagon.TransferFailedException: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:567)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)
... 4 more
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1640)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:750)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:446)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:561)
... 8 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:602)
at com.hp.oo.rest.client.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:76)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1099)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1622)
... 27 more
2020-04-06 14:58:22,134 [1_WorkerExecutionThread-13_135000565] (ExecutionServiceImpl.java:610) ERROR - Error occurred during operation execution. Execution id: 135000565
io.cloudslang.score.exceptions.FlowExecutionException: Failed to execute content action: com.hp.oo:oo-oo-plugin:2.5.0 -> SetSystemProperty
Reason: Unable to execute mojo: java.lang.reflect.InvocationTargetException
This error might occur either because content packs/plugins were not deployed or because of content packs/plugins version mismatch.
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:105)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:572)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:170)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:161)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:39)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1362.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:92)
... 10 more
Caused by: io.cloudslang.score.exceptions.FlowExecutionException: Failed to execute content action: com.hp.oo:oo-oo-plugin:2.5.0 -> SetSystemProperty
Reason: Unable to execute mojo: java.lang.reflect.InvocationTargetException
This error might occur either because content packs/plugins were not deployed or because of content packs/plugins version mismatch.
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:159)
... 14 more
Caused by: java.lang.RuntimeException: Failed to resolve goals for plugin [com.hp.oo:oo-oo-plugin:2.5.0]
at com.hp.oo.maven.PluginAdapterImpl.createPluginGoals(PluginAdapterImpl.java:464)
at com.hp.oo.maven.PluginAdapterImpl.getPluginGoals(PluginAdapterImpl.java:420)
at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:325)
at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:257)
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:105)
... 14 more
Caused by: java.lang.RuntimeException: Unable to execute mojo: java.lang.reflect.InvocationTargetException
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:288)
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:231)
at com.hp.oo.maven.PluginAdapterImpl.getPluginMetadata(PluginAdapterImpl.java:495)
at com.hp.oo.maven.PluginAdapterImpl.createPluginGoals(PluginAdapterImpl.java:436)
... 18 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo
at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:96)
at com.hp.oo.maven.execution.PluginExecutorImpl.execute(PluginExecutorImpl.java:277)
... 21 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.twdata.maven.mojoexecutor.MavenCompatibilityHelper.loadPluginDescriptor(MavenCompatibilityHelper.java:78)
at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:85)
... 22 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1619.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.twdata.maven.mojoexecutor.MavenCompatibilityHelper.loadPluginDescriptor(MavenCompatibilityHelper.java:73)
... 23 more
Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin com.hp.oo:oo-oo-plugin:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.hp.oo:oo-oo-plugin:jar:2.5.0
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:122)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)
at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)
... 27 more
Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.hp.oo:oo-oo-plugin:jar:2.5.0
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.readArtifactDescriptor(DefaultRepositorySystem.java:288)
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:108)
... 29 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.hp.oo:oo-oo-plugin:pom:2.5.0 from/to (https://ME-TEST-PAS1.ME-TEST.COM:9443/oo/m2/artifacts😞 java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
... 32 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.hp.oo:oo-oo-plugin:pom:2.5.0 from/to (https://ME-TEST-PAS1.ME-TEST.COM:9443/oo/m2/artifacts😞 java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
... 1 more
Caused by: org.apache.maven.wagon.TransferFailedException: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:567)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)
... 4 more
Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1640)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:750)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:446)
at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:561)
... 8 more
Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020
at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)
at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:602)
at com.hp.oo.rest.client.EasyX509TrustManager.checkServerTrusted(EasyX509TrustManager.java:76)
at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1099)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1622)
... 27 more

 

 

 

 

 

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: OO 2019.11 Error : Unable to execute mojo: java.lang.reflect.InvocationTargetException

Hello Roshan,

 

From the log provided, it seems your certificate is not yet valid and therefore the artifact needed can't be transfer to the node:

 

Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Fri May 01 12:34:35 EDT 2020

 

Please check the following guide or instructions of how to replace the Central certificate: https://docs.microfocus.com/itom/Operations_Orchestration:2020.02/AuthenticateServerCertificate

 

Regards! 

Carlos Rojas
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.