I get a failing pipeline (deployment stage) because of backend pod error - Azure - spring

It is Kotlin-Spring application, deployed on the cloud.
One pod for the backend and the second for the MongoDB.
Both of them are currently with status "Running" (even with this error!)
After pushing some code changes to the GitLab repo, I tried to run the pipeline but it fails in the deployment stage (after "helm upgrade").
This the pipeline GitLab logs:
And this is what I find in the backend pod which has the status "Running" (using Lens):
2022-09-05 21:35:16.664 INFO 1 --- [ter.local:27017] org.mongodb.driver.cluster : Exception in monitor thread while connecting to server nl-dev-mongodb.nl-fe.svc.cluster.local:27017
com.mongodb.MongoSocketException: nl-dev-mongodb.nl-fe.svc.cluster.local: Name or service not known
at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:188) ~[mongodb-driver-core-3.8.2.jar!/:na]
at com.mongodb.internal.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:64) ~[mongodb-driver-core-3.8.2.jar!/:na]
at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:62) ~[mongodb-driver-core-3.8.2.jar!/:na]
at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:126) ~[mongodb-driver-core-3.8.2.jar!/:na]
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:117) ~[mongodb-driver-core-3.8.2.jar!/:na]
at java.lang.Thread.run(Thread.java:750) [na:1.8.0_322]
Caused by: java.net.UnknownHostException: nl-dev-mongodb.nl-fe.svc.cluster.local: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_322]
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[na:1.8.0_322]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[na:1.8.0_322]
at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[na:1.8.0_322]
at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[na:1.8.0_322]
at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[na:1.8.0_322]
at java.net.InetAddress.getByName(InetAddress.java:1077) ~[na:1.8.0_322]
at com.mongodb.ServerAddress.getSocketAddress(ServerAddress.java:186) ~[mongodb-driver-core-3.8.2.jar!/:na]
... 5 common frames omitted
2022-09-05T21:35:16.665025861Z
Also I get this error in the pod: not starting up correctly
This is an extract of the "application.properties" file:
This the Dockerfile used in the project:
How can fix this?
Is it because he is not finding the .jar file in the target folder (from Dockerfile)? but I didn't touch there!
Is it realated to the "na" in the logs?

Related

Artifactory upgrade 6.16.2 -> 7.12.6 failing with Application could not be initialized: UNAVAILABLE: Network closed for unknown reason

When upgrading Jfrog Artifactory from 6.16.2 -> 7.12.6 on a Windows machine, following the official instructions (Link) i am getting the following error in artifactory-service.log
2021-01-23T12:22:20.896Z [jfrt ] [ERROR] [87face30ccb5d82c] [ctoryContextConfigListener:126] [art-init ] - Application could not be initialized: UNAVAILABLE: Network closed for unknown reason
java.lang.reflect.InvocationTargetException: null
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:265)
at org.artifactory.lifecycle.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:122)
Caused by: org.springframework.beans.factory.BeanInitializationException: Failed to initialize bean 'org.artifactory.security.access.AccessService'.; nested exception is io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
at org.artifactory.spring.ArtifactoryApplicationContext.initReloadableBeans(ArtifactoryApplicationContext.java:302)
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:284)
at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:174)
... 6 common frames omitted
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:262)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:243)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:156)
at com.jfrog.router.v1.registry.ServiceResourceGrpc$ServiceResourceBlockingStub.registerService(ServiceResourceGrpc.java:281)
at org.jfrog.access.accessrouterclient.RouterClientImpl.registerService(RouterClientImpl.java:69)
at org.jfrog.access.client.grpc.RouterGrpcClientImpl.registerService(RouterGrpcClientImpl.java:41)
at org.jfrog.access.client.AccessClientBootstrap.<init>(AccessClientBootstrap.java:138)
at org.artifactory.security.access.AccessServiceImpl.bootstrapAccessClient(AccessServiceImpl.java:1290)
at org.artifactory.security.access.AccessServiceImpl.lambda$bootstrapAccessClient$23(AccessServiceImpl.java:1251)
at io.vavr.control.Try.mapTry(Try.java:634)
at io.vavr.control.Try.map(Try.java:585)
at org.artifactory.security.access.AccessServiceImpl.bootstrapAccessClient(AccessServiceImpl.java:1251)
at org.artifactory.security.access.AccessServiceImpl.initAccessService(AccessServiceImpl.java:421)
at org.artifactory.security.access.AccessServiceImpl.initAccessClientIfNeeded(AccessServiceImpl.java:410)
at org.artifactory.security.access.AccessServiceImpl.init(AccessServiceImpl.java:403)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy231.init(Unknown Source)
at org.artifactory.spring.ArtifactoryApplicationContext.initReloadableBeans(ArtifactoryApplicationContext.java:300)
... 8 common frames omitted
2021-01-23T12:22:22.687Z [jfrt ] [ERROR] [ ] [o.a.w.s.ArtifactoryFilter:213 ] [http-nio-8081-exec-5] - Artifactory failed to initialize: Context is null
http://localhost:8082/ui is reachable, and showing "JFrog Platform will be available shortly" With Router as healthy, and Access, Event and Metadata as Unhealthy Peer with message "Service is healthy; there are missing services: jfrt,jffe"
http://localhost:8081/ shows the startup image for Artifactory for a while, and then throws a 500-error.
The rest of the log looks ok ,and i can't find anything in other logs either.
Remove the following line:
artifactory.access.client.serverUrl.override
From:
$ARTIFACTORY_HOME/var/etc/artifactory/artifactory.system.properties

Glue does not work from the Docker Container

I am trying to run a simple Glue Job that takes the content from AWS S3 and dumps it into AWS Aurora Postgresql. While the job runs fine from the AWS Console, it just refuses to work while trying to run it out of a Docker Container on an EC2 instance. I have unchecked the "Require SSL" option while creating the Glue Connection. Despite that it is looking for some SSL certificate. I have kept the Aurora instance publicly accessible. Does anyone know what the problem is? Has anyone faced a similar issue?
20/10/24 10:20:17 ERROR Driver: Connection error:
org.postgresql.util.PSQLException: Could not open SSL root certificate file .
at org.postgresql.Driver$ConnectThread.getResult(Driver.java:401)
at org.postgresql.Driver.connect(Driver.java:259)
at com.amazonaws.services.glue.util.JDBCWrapper$$anonfun$8.apply(JDBCUtils.scala:895)
at com.amazonaws.services.glue.util.JDBCWrapper$$anonfun$8.apply(JDBCUtils.scala:891)
at com.amazonaws.services.glue.util.JDBCWrapper$.com$amazonaws$services$glue$util$JDBCWrapper$$catchSSLException(JDBCUtils.scala:852)
at com.amazonaws.services.glue.util.JDBCWrapper$.connectWithSSLAttempt(JDBCUtils.scala:847)
at com.amazonaws.services.glue.util.JDBCWrapper$.connectionProperties(JDBCUtils.scala:890)
at com.amazonaws.services.glue.util.JDBCWrapper.connectionProperties$lzycompute(JDBCUtils.scala:670)
at com.amazonaws.services.glue.util.JDBCWrapper.connectionProperties(JDBCUtils.scala:670)
at com.amazonaws.services.glue.util.JDBCWrapper.writeDF(JDBCUtils.scala:814)
at com.amazonaws.services.glue.sinks.PostgresDataSink.writeDynamicFrame(PostgresDataSink.scala:40)
at com.amazonaws.services.glue.DataSink.pyWriteDynamicFrame(DataSink.scala:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:282)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at org.postgresql.ssl.jdbc4.LibPQFactory.<init>(LibPQFactory.java:124)
at org.postgresql.ssl.MakeSSL.convert(MakeSSL.java:42)
at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:359)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:148)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)
at org.postgresql.Driver.makeConnection(Driver.java:450)
at org.postgresql.Driver.access$100(Driver.java:60)
at org.postgresql.Driver$ConnectThread.run(Driver.java:360)
... 1 more
20/10/24 10:20:20 INFO JDBCWrapper$: INFO: using ssl properties: Map(loginTimeout -> 10, sslmode -> require)

Taurus Execution failure via yaml scripts for jmeter jmx scripts behind proxy

I am trying to execute some jmeter jmx scripts using Tarus via yaml scripts named "ParallelExecution.yml".
Yaml Script:
execution:
- executor: jmeter
execution:
- scenario:
script: C:\Users\SampleScripts\WSO2ServiceAPI.jmx
- scenario:
script: C:\Users\SampleScripts\KongServiceAPI.jmx
reporting:
- module: blazemeter
report-name: TaurusPerformanceTest
test: WSO2andKong
project: SampleProject
But, its fetching the following error after I execute the command "bzt ParallelExecution.yml -report".
C:\Users\YmlScripts>bzt ParallelExecution.yml
12:38:28 INFO: Taurus CLI Tool v1.13.8
12:38:28 INFO: Starting with configs: ['ParallelExecution.yml']
12:38:28 INFO: Configuring...
12:38:28 INFO: Artifacts dir: C:\Users\YmlScripts\2019-11-09_12-38-28.188921
12:38:28 INFO: Preparing...
12:38:28 WARNING: Failed to check for updates
12:38:29 INFO: 1 obsolete CookieManagers are found and fixed
12:38:36 WARNING: Failed to detect plugins for C:\Users\SampleScripts\modified_WSO2ServiceAPI.jmx: Command '['C:\\Users\\.bzt\\jmeter-taurus\\5.1.1\\bin\\PluginsManagerCMD.bat', 'install-for-jmx', 'C:\\Users\\SampleScripts\\modified_WSO2ServiceAPI.jmx']' returned non-zero exit status 1.
>>> START OF STDOUT >>>
2019-11-09 12:38:31,632 INFO o.j.r.PluginManagerCMD: Command is: install-for-jmx
2019-11-09 12:38:32,697 INFO o.j.r.JARSourceHTTP: Requesting https://jmeter-plugins.org/repo/?installID=docker-64602d8e8eb9f2a1a3b0804261cdb5e6-nongui
<<< END OF STDOUT <<<
>>> START OF STDERR >>>
ERROR: java.lang.RuntimeException: Failed to perform cmdline operation: jmeter-plugins.org
*** Problem's technical details go below ***
Home directory was detected as: C:\Users\.bzt\jmeter-taurus\5.1.1\lib
Exception in thread "main" java.lang.RuntimeException: Failed to perform cmdline operation: jmeter-plugins.org
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:100)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:62)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:115)
Caused by: java.net.UnknownHostException: jmeter-plugins.org
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:499)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:494)
at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:152)
at org.jmeterplugins.repository.JARSourceHTTP.getRepositories(JARSourceHTTP.java:276)
at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:304)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:71)
at org.jmeterplugins.repository.PluginManagerCMD.getPluginsManager(PluginManagerCMD.java:110)
at org.jmeterplugins.repository.PluginManagerCMD.installPluginsForJmx(PluginManagerCMD.java:120)
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:79)
... 7 more
<<< END OF STDERR <<<
12:38:36 INFO: 1 obsolete CookieManagers are found and fixed
12:38:46 WARNING: Failed to detect plugins for C:\Users\SampleScripts\modified_KongServiceAPI.jmx: Command '['C:\\Users\\.bzt\\jmeter-taurus\\5.1.1\\bin\\PluginsManagerCMD.bat', 'install-for-jmx', 'C:\\Users\\SampleScripts\\modified_KongServiceAPI.jmx']' returned non-zero exit status 1.
>>> START OF STDOUT >>>
2019-11-09 12:38:39,605 INFO o.j.r.PluginManagerCMD: Command is: install-for-jmx
2019-11-09 12:38:42,035 INFO o.j.r.JARSourceHTTP: Requesting https://jmeter-plugins.org/repo/?installID=docker-64602d8e8eb9f2a1a3b0804261cdb5e6-nongui
<<< END OF STDOUT <<<
>>> START OF STDERR >>>
ERROR: java.lang.RuntimeException: Failed to perform cmdline operation: jmeter-plugins.org
*** Problem's technical details go below ***
Home directory was detected as: C:\Users\.bzt\jmeter-taurus\5.1.1\lib
Exception in thread "main" java.lang.RuntimeException: Failed to perform cmdline operation: jmeter-plugins.org
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:100)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:62)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:115)
Caused by: java.net.UnknownHostException: jmeter-plugins.org
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressesFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:499)
at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:494)
at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:152)
at org.jmeterplugins.repository.JARSourceHTTP.getRepositories(JARSourceHTTP.java:276)
at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:304)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:71)
at org.jmeterplugins.repository.PluginManagerCMD.getPluginsManager(PluginManagerCMD.java:110)
at org.jmeterplugins.repository.PluginManagerCMD.installPluginsForJmx(PluginManagerCMD.java:120)
at org.jmeterplugins.repository.PluginManagerCMD.processParams(PluginManagerCMD.java:79)
... 7 more
<<< END OF STDERR <<<
12:38:46 WARNING: No BlazeMeter API key provided, will upload anonymously
12:38:46 ERROR: Network Error: Request to https://a.blazemeter.com/api/v4/web/version failed
12:38:46 INFO: Post-processing...
12:38:46 INFO: Test duration: 0:00:00
12:38:46 INFO: Artifacts dir: C:\Users\YmlScripts\2019-11-09_12-38-28.188921
12:38:46 WARNING: Done performing with code: 1
I am not sure why I taurus is not able to execute the script. It runs correctly as jmeter scripts via jmeter.
Any help would be highly appreticated
Looking into this line:
Caused by: java.net.UnknownHostException: jmeter-plugins.org
It appears that the underlying JMeter Plugins Manager is not able to reach JMeter Plugins backend, presumably this is due to the fact you're using corporate proxy for the internet access.
You can configure Taurus to use the proxy of your choice by adding the next lines to your YAML config file:
settings:
proxy:
address: http://localhost:8080
username: johndoe
password: secret
of course replace address, username and password with your own values. Once done - restart the test and Taurus will propagate proxy settings to the downstream JMeter. JMeter Plugins Manager respects JMeter proxy settings so you should be able to execute the test normally.
Just in case check out Plugins Manager Network Configuration page.

Hygieia Installation Error

We got this error while Hygieia dashboard installation. Please confirm if anyone has come across this. this looks related to spring boot and got it while I was installing the UI for Hygieia
2017-07-11 20:50:41,551 ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat servlet container
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:165) ~[spring-boot-1.3.0.RELEASE.jar!/:
1.3.0.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:290) ~[spring-boot-1.3.0
.RELEASE.jar!/:1.3.0.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141) ~[spring-boot-1.3.0.RELEASE.jar!/:1
.3.0.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.R
ELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:295) ~[spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) [spring-boot-1.3.0.RELEASE.jar!/:1.3.0.RELEASE]
at com.capitalone.dashboard.Application.main(Application.java:37) [api.jar!/:2.0.5-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [api.jar!/:2.0.5-SNAPSHOT]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
Caused by: java.lang.IllegalStateException: Tomcat connector in failed state
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:159) ~[spring-boot-1.3.0.RELEASE.jar!/:
1.3.0.RELEASE]
... 15 common frames omitted
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat servlet container
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:165)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:290)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:141)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:347)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:295)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
at com.capitalone.dashboard.Application.main(Application.java:37)
... 6 more
Caused by: java.lang.IllegalStateException: Tomcat connector in failed state
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.start(TomcatEmbeddedServletContainer.java:159)
... 15 more
Is this the full log ? You should always send the complete log.
Besides your question is wrong, there is nothing to install as far as Hygieia is considered.
there are simple steps that one needs to follow, namely -
1.Get the repo in you system
2.setup all the requirements of Hygieia (Mongodb, maven etc etc)
3.mvn clean install on the root directory
Create proper properties file for the jars
Run Hygieia
But Even I have faced a lot of problems with setting up Hygieia, so you should take care of these -
Always get the fresh/latest code from github
If you are on corporate/Company N/W then do ensure you have proxies to maven and system proxy setup.
If you add the full trace log then I just might get the problem
You need to follow some steps
Download Hygieia rep from this link:
https://github.com/Hygieia/Hygieia
Install maven and java :-
https://linuxize.com/post/how-to-install-apache-maven-on-ubuntu-18-04/
Also need to download subdivision-collector folder inside this directory
Hygieia/collectors/scm:-
https://github.com/Hygieia/hygieia-scm-subversion-collector
Now open \Hygieia folder and run
$ mvn clean install

Starting teamcity 6.5 manually results in java.lang.NoClassDefFoundError

I try to start teamcity manually but I get an error:
*Exception in thread "main" java.lang.NoClassDefFoundError: jetbrains/buildServer
/agent/Check*
First I stop the windows service:
C:\>net stop tcbuildagent
The TeamCity Build Agent Service service is stopping..
The TeamCity Build Agent Service service was stopped successfully.
Then I start the agent:
C:\>C:\TeamCity\buildAgent\bin\agent.bat start
Exception in thread "main" java.lang.NoClassDefFoundError: jetbrains/buildServer
/agent/Check
Caused by: java.lang.ClassNotFoundException: jetbrains.buildServer.agent.Check
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: jetbrains.buildServer.agent.Check. Program will
exit.
What is causing this issue?
It looks like your installation is broken, reinstalling TeamCity and the build agent should help.

Resources