Error connecting to remote JMX agent! while starting Nodetool - cassandra

I am trying to use nodetool against our Cassandra production database. But I am getting exception as soon as I try to start nodetool against Cassandra production cluster from my local machine.
S:\Apache Cassandra\apache-cassandra-1.2.3\bin>nodetool -h pdb.vip.phx.host.com compactionstats
Starting NodeTool
Error connecting to remote JMX agent!
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error duri
ng JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out]
at javax.management.remote.rmi.RMIConnector.connect(Unknown Source)
at javax.management.remote.JMXConnectorFactory.connect(Unknown Source)
at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:145)
at org.apache.cassandra.tools.NodeProbe.<init>(NodeProbe.java:115)
at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:966)
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exce
ption is:
java.net.SocketTimeoutException: Read timed out]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(Unknown Source)
at javax.management.remote.rmi.RMIConnector.findRMIServer(Unknown Source)
... 5 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
... 10 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readByte(Unknown Source)
... 14 more
Can anyone provide some thoughts why I am seeing this exception? Any help will be appreciated.

"Use JVM option '-Djava.rmi.server.hostname=$IP' (where $IP is the ip address of the interface you want to reach from the remote machine)."
From: wiki.apache.org/cassandra/JmxGotchas

Related

Databricks Cluster failed to respond

On Azure, I have database (delta) on ADLS (gen2) which can be accessed by Databricks.
I am doing a performance test from a client application which usage Simba JDBC driver to connect to data bricks and get data from database. When I do a continuous load of around 6 millions of data, the process breaks after 1 millions of data due to an error from databricks. I checked the cluster didn’t went down in this time but my client was not able to connect and throw below error.
My Databricks Cluster config is:
Worker Type : Standard_DS4_v2 - 28 GB, 8 cores
Driver Type:Standard_DS5_v2 - 56 gb , 16 core
I also tried to increase Driver Type to (Driver Type: Standard_DS5_v2 - 56 gb , 16 cores) but that failed
Error:
[Access(81040)00-ids.databricks] ERROR <date time> com.denodo.vdb.engine.wrapper.raw.jdbc.adapter.SQLPlugin [] - Error validating connection
java.sql.SQLException: [Simba][SparkJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: com.simba.spark.jdbc42.internal.apache.http.NoHttpResponseException: <Databricks URL> failed to respond.
at com.simba.spark.hivecommon.api.HS2Client.handleTTransportException(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.api.HS2Client.executeStatementInternal(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.api.HS2Client.executeStatement(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.executeQuery(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.dataengine.HiveJDBCNativeQueryExecutor.<init>(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.dataengine.HiveJDBCDataEngine.prepare(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.jdbc.common.SStatement.executeNoParams(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.jdbc.common.SStatement.execute(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.jdbc42.Hive42Statement.execute(Unknown Source) ~[SparkJDBC42.jar:?]
at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:194) ~[commons-dbcp2.jar:2.7.0]
at com.denodo.vdb.engine.wrapper.raw.jdbc.adapter.SQLPlugin.executeValidationQuery(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.connection.jdbc.JDBCConnectionFactory.a3(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.connection.jdbc.JDBCConnectionFactory.validateConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at org.apache.commons.dbcp2.PoolableConnectionFactory.validateObject(PoolableConnectionFactory.java:648) [commons-dbcp2.jar:2.7.0]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:472) [commons-pool2.jar:2.7.0]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:349) [commons-pool2.jar:2.7.0]
at com.denodo.vdb.misc.connection.jdbc.JDBCConnectionPool.borrowObject(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.connection.jdbc.JDBCConnectionPool.getCredentialedConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.datasource.credentialed.CredentialedDatasource.getCredentialedConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.datasource.JDBCDataSource.c3(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.datasource.JDBCDataSource.getConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.datasource.JDBCXADataSource.getNonXAConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.datasource.JDBCXADataSource.getNonXAConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.misc.connection.jdbc.JDBCRoute.getConnection(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.engine.wrapper.raw.jdbc.JDBCAccess.doRun(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.engine.wrapper.RawAccess.run(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.engine.thread.WorkWrapper.a3(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.engine.thread.ReusableThread.d3(Unknown Source) [denodo-vdp-server.jar:8.0.0]
at com.denodo.vdb.engine.thread.ReusableThread.run(Unknown Source) [denodo-vdp-server.jar:8.0.0]
Caused by: com.simba.spark.support.exceptions.ErrorException: [Simba][SparkJDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: com.simba.spark.jdbc42.internal.apache.http.NoHttpResponseException: <Databricks URL> failed to respond.
Caused by: com.simba.spark.jdbc42.internal.apache.thrift.transport.TTransportException: com.simba.spark.jdbc42.internal.apache.http.NoHttpResponseException: <Databricks URL> failed to respond
at com.simba.spark.hivecommon.api.TETHttpClient.flushUsingHttpClient(Unknown Source) ~[SparkJDBC42.jar:?]
at com.simba.spark.hivecommon.api.TETHttpClient.flush(Unknown Source) ~[SparkJDBC42.jar:?]

Fail to start backend generated with JHipster

I have generated a backend app using JHipster version 6.10.1
For generation I have used:
jhipster --skip-fronted -db MySQL -auth JWT
The app was created as fallows:
microservice application
user Spring WebFlux
name of the app
port
package
JHipster Registry (uses Eureka, provides Spring Cloud Config support and monitoring dashboards)
JWT auth
MySQL db
Maven
Search engine using Elasticsearch
i18n : yes
cucumber
Every time when I try to start the app I get this error from eureka:
2020-08-28 08:58:07.382 ERROR 1420 --- [nfoReplicator-0] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://admin:admin#localhost:8761/eureka/}
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect
at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)
at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
at com.sun.jersey.api.client.Client.handle(Client.java:652)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)
at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.register(AbstractJerseyEurekaHttpClient.java:57)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
at com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.executeOnNewServer(RedirectingEurekaHttpClient.java:118)
at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.execute(RedirectingEurekaHttpClient.java:79)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:120)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)
at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77)
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.register(EurekaHttpClientDecorator.java:56)
at com.netflix.discovery.DiscoveryClient.register(DiscoveryClient.java:850)
at com.netflix.discovery.InstanceInfoReplicator.run(InstanceInfoReplicator.java:121)
at com.netflix.discovery.InstanceInfoReplicator$1.run(InstanceInfoReplicator.java:101)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:134)
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:118)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)
... 30 common frames omitted
Connection refused for server.
What I am missing here?

JHipster application error on start

I encounter following error each time I try to run the blank application from Spring Tool Suite Eclipse (with JHipster plugins installed). What am I doing wrong? Running aplication via "yarn start" seems to work without problems. STS Version 3.9.4. JHipster version 5. Also I am getting error that Java is not 1.8 (it's 10) - but I thought this is the correct Java version for release 5.
2018-06-21 15:32:53.124 WARN 10648 --- [ restartedMain] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8761/config/bookstore/dev/master": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
2018-06-21 15:32:53.132 INFO 10648 --- [ restartedMain] com.bookstore.BookstoreApp : The following profiles are active: dev,swagger
2018-06-21 15:32:54.976 ERROR 10648 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalStateException: Error processing condition on org.springframework.cloud.netflix.ribbon.eureka.RibbonEurekaAutoConfiguration
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:64)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.shouldSkip(ConfigurationClassBeanDefinitionReader.java:441)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:128)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:117)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:328)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:233)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
at com.bookstore.BookstoreApp.main(BookstoreApp.java:62)
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.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.netflix.hystrix.HystrixAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader#764c12b6]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:659)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:556)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:541)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:726)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:667)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:635)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1489)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1012)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:164)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.addBeanType(BeanTypeRegistry.java:153)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.updateTypesIfNecessary(BeanTypeRegistry.java:203)
at org.springframework.boot.autoconfigure.condition.BeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:115)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:265)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:254)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:196)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:81)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition$MemberOutcomes.getConditionOutcome(AbstractNestedCondition.java:191)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition$MemberOutcomes.<init>(AbstractNestedCondition.java:184)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition$MemberConditions.lambda$getMatchOutcomes$0(AbstractNestedCondition.java:162)
at java.util.Map.forEach(Unknown Source)
at java.util.Collections$UnmodifiableMap.forEach(Unknown Source)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition$MemberConditions.getMatchOutcomes(AbstractNestedCondition.java:162)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition$MemberMatchOutcomes.<init>(AbstractNestedCondition.java:81)
at org.springframework.boot.autoconfigure.condition.AbstractNestedCondition.getMatchOutcome(AbstractNestedCondition.java:65)
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47)
... 20 common frames omitted
Caused by: java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/hystrix/HystrixMetricsBinder
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641)
... 45 common frames omitted
Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.hystrix.HystrixMetricsBinder
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)
... 49 common frames omitted
2018-06-21 15:32:54.985 WARN 10648 --- [ restartedMain] o.s.boot.SpringApplication : Unable to close ApplicationContext
java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.netflix.hystrix.HystrixAutoConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader#764c12b6]
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:659)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:556)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:541)
at org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods(ReflectionUtils.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:726)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:667)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:635)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1489)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:420)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:390)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:511)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:503)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1198)
at org.springframework.boot.SpringApplication.getExitCodeFromMappedException(SpringApplication.java:889)
at org.springframework.boot.SpringApplication.getExitCodeFromException(SpringApplication.java:875)
at org.springframework.boot.SpringApplication.handleExitCode(SpringApplication.java:861)
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:810)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
at com.bookstore.BookstoreApp.main(BookstoreApp.java:62)
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.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.NoClassDefFoundError: io/micrometer/core/instrument/binder/hystrix/HystrixMetricsBinder
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethods(Unknown Source)
at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:641)
... 23 common frames omitted
Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.hystrix.HystrixMetricsBinder
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)
... 27 common frames omitted
It has 2 issues. The first one - it tries to connect to Jhipster Registry. Read more here https://www.jhipster.tech/jhipster-registry/.
Just clone it and run using ./mvnw.
Second issue I resolved by commenting following exclude
compile ("org.springframework.boot:spring-boot-starter-actuator") {
// exclude module: 'micrometer-core'
}

Failed to connect to remote host in wildfly11

We are using AWS windows wildfly 11 application .
We are able to access the application without any issues with VPN connection. But we are getting the errors with the URL without VPN.
We are able to access the application but not able to login without VPN connection, we are getting below error i.e; problem with remote errors.
Can anyone help me with solution.
12:04:49,360 ERROR [AppServiceLocator] [ERROR IN AppServiceLocator:] javax.naming.CommunicationException: WFNAM00018: Failed to connect to remote host [Root exception is java.net.ConnectException: Connection timed out: no further information]
12:05:10,403 ERROR [AppServiceLocator] [ERROR IN AppServiceLocator:] javax.naming.CommunicationException: WFNAM00018: Failed to connect to remote host [Root exception is java.net.ConnectException: Connection timed out: no further information]
12:05:31,408 ERROR [AppServiceLocator] [ERROR IN AppServiceLocator:] javax.naming.CommunicationException: WFNAM00018: Failed to connect to remote host [Root exception is java.net.ConnectException: Connection timed out: no further information]
12:05:31,408 ERROR [AppServiceLocator] [ERROR IN GETTING REMOTE HOME:] interface com.ipacs.framework.controller.interfaces.ServerControllerHome
12:05:31,410 ERROR [EJBModelLoader] [AppServiceLocatorException:]
com.ipacs.als.gui.exception.AppServiceLocatorException: [ERROR IN GETTING REMOTE HOME:] interface com.ipacs.framework.controller.interfaces.ServerControllerHome
at com.ipacs.als.gui.util.AppServiceLocator.getRemoteHome(AppServiceLocator.java:93)
at com.ipacs.als.gui.model.EJBModelLoader.doBusinessAction(EJBModelLoader.java:83)
at com.ipacs.als.gui.model.EJBModelLoader.doBusinessEvent(EJBModelLoader.java:66)
at com.ipacs.als.gui.model.ModelLoader.doBusiness(ModelLoader.java:37)
at com.ipacs.als.gui.model.BusinessEventHelper.callBizService(BusinessEventHelper.java:285)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:175)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:167)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:162)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:348)
at com.ipacs.ntuc.Startup.initProject(Startup.java:232)
at com.ipacs.ntuc.Startup.main(Startup.java:223)
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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12:05:31,420 ERROR [Startup] com.ipacs.als.gui.exception.AppServiceLocatorException: [ERROR IN GETTING REMOTE HOME:] interface com.ipacs.framework.controller.interfaces.ServerControllerHome
Kewill Forwarding Application Run Time Exception
at com.ipacs.als.gui.model.EJBModelLoader.doBusinessAction(EJBModelLoader.java:104)
at com.ipacs.als.gui.model.EJBModelLoader.doBusinessEvent(EJBModelLoader.java:66)
at com.ipacs.als.gui.model.ModelLoader.doBusiness(ModelLoader.java:37)
at com.ipacs.als.gui.model.BusinessEventHelper.callBizService(BusinessEventHelper.java:285)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:175)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:167)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:162)
at com.ipacs.als.gui.model.BusinessEventHelper.doBusiness(BusinessEventHelper.java:348)
at com.ipacs.ntuc.Startup.initProject(Startup.java:232)
at com.ipacs.ntuc.Startup.main(Startup.java:223)
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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.ipacs.als.gui.exception.AppServiceLocatorException: [ERROR IN GETTING REMOTE HOME:] interface com.ipacs.framework.controller.interfaces.ServerControllerHome
at com.ipacs.als.gui.util.AppServiceLocator.getRemoteHome(AppServiceLocator.java:93)
at com.ipacs.als.gui.model.EJBModelLoader.doBusinessAction(EJBModelLoader.java:83)
... 18 more
12:05:52,566 ERROR [AppServiceLocator] [ERROR IN AppServiceLocator:] javax.naming.CommunicationException: WFNAM00018: Failed to connect to remote host [Root exception is java.net.ConnectException: Connection timed out: no further information]
12:06:13,575 ERROR [AppServiceLocator] [ERROR IN AppServiceLocator:] javax.naming.CommunicationException: WFNAM00018: Failed to connect to remote host [Root exception is java.net.ConnectException: Connection timed out: no further information]

Getting java.io.IOException: JMX connection closed. when manually ran repair on pratition range of a keyspace using nodetool

[2016-07-06 17:28:51,593] Lost notification. You should check server log for repair status of keyspace operations
Exception occurred during clean-up. java.lang.reflect.UndeclaredThrowableException
error: JMX connection closed. You should check server log for repair status of key space operations(Subsequent keyspaces are not going to be repaired).
-- StackTrace --
java.io.IOException: JMX connection closed. You should check server log for repair status of keyspace operations(Subsequent keyspaces are not going to be repaired).
at org.apache.cassandra.tools.RepairRunner.handleNotification(NodeProbe.ja va:1485)
at javax.management.NotificationBroadcasterSupport.handleNotification(Unkn own Source)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Unknow n Source)
at javax.management.NotificationBroadcasterSupport$1.execute(Unknown Sourc e)
at javax.management.NotificationBroadcasterSupport.sendNotification(Unknow n Source)
at javax.management.remote.rmi.RMIConnector.sendNotification(Unknown Sourc e)
at javax.management.remote.rmi.RMIConnector.access$1200(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RMIClientCommunicatorAdmin.got IOException(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RMINotifClient.fetchNotifs(Unk nown Source)
at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchOneN otif(Unknown Source)
at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.fetchNoti fs(Unknown Source)
at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.doRun(Unk nown Source)
at com.sun.jmx.remote.internal.ClientNotifForwarder$NotifFetcher.run(Unkno wn Source)
at com.sun.jmx.remote.internal.ClientNotifForwarder$LinearExecutor$1.run(U nknown Source)

Resources