Spring-boot slow to start - jhipster

When I launch my jhipster app using "mvn spring-boot:run", it takes up to 60 seconds to start...
First part of my log is :
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jhipster 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) # jhipster ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 22 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # jhipster ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # jhipster ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster ---
[INFO] Attaching agents: []
Listening for transport dt_socket at address: 5005
--> Then it hangs for around 30 seconds before continuing :
[INFO] com.mycompany.myapp.Application - Starting Application on MacBook-Pro.local with PID 5130 (/Users/othomas/Developpement/jhipster-1.9.0/target/classes started by othomas in /Users/othomas/Developpement/jhipster-1.9.0)
[DEBUG] com.mycompany.myapp.Application - Running with Spring Boot v1.1.9.RELEASE, Spring v4.0.8.RELEASE
[DEBUG] org.jboss.logging - Logging Provider: org.jboss.logging.Log4jLoggerProvider
...
I remember having used older versions of jhipster generator (0.17 etc) et it started in 15-20 seconds.
Is it normal or is there a problem on my side ? Where to look for ?
Thanks,
O.

I've been suffering slow startup times myself and wondering what the cause was. I get all the console messages saying various things have started and then it hangs just before the final message to say the app has loaded.
Eventually I found I could use Java VisualVM as part of the JDK to see what was going on. If you have the jdk installed its jvisualvm.exe in the bin folder. Then when I select to debug as Application.java the tomcat process pops up and you can track what's going on.
I took a couple of thread dumps where it hangs and it always seemed to be where the swagger API docs are being generated. A bit more digging and this is configured in a class called MetricsConfiguration which is excluded if you run with a profile called "fast".
In eclipse I edited my debug configuration to include a program argument of:
--spring.profiles.active=dev,fast
This cuts down the startup time from 230 seconds to just 25!
I had a quick scan and fast seems to disable all sorts of things. It mainly looks like the stuff under the admin menu which you'll probably not need during development anyway. Personally I would prefer a fast bootup to being able to see the rest docs during development.
Swagger being such a hog made me wonder if it's such a good idea after all. Is it worth the cost? i then read this http://java.dzone.com/articles/swagger-great and I'm considering just removing it altogether. It's a nice idea but seems to add 33mb to the build + for me was causing really slow startup times.
For info I have around 16 entities. So not small but not excessively large either.

Make sure you aren't running the server in debug mode and have a breakpoint set. This reduced the startup time of one of my applications from 3 min to 22 sec.

This is weird.
Indeed, it should start in 5-15 seconds depending on your machine and specific setup.
But it should not hang for 30 seconds: the line you show is a bit new, it's because we launch the application in debug mode when you use the dev profile -> you can attach a debugger on it.
It looks like it's waiting for you to connect a debugger: I've never seen it myself, so maybe you have some specific JVM option for attaching a debugger at start up, with a timeout of 30 seconds?

Thanks for your feedback. I investigated and put more logs in the app (Application.java).
Actually the problem does not come from the debug mode, the application does not hang here.
The first big "pause" comes from the scanning of liquibase packages (addLiquibaseScanPackages(); in Application.java ) : 26 seconds !
My second pause is still related to Liquibase (log "Configuring Liquibase" ) : 20 seconds. During that time, if I put Liquibase log level to DEBUG, I see that a lock is set and then released but it happens very quickly.
I really don't understand. I am using h2 in-memory database, jdk 1.7.0_25 and Maven 3.0.5, running on MacBook Pro with SSD.
Here is my full log when I run with "mvn spring-boot:run".
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jhipster 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) # jhipster ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 22 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) # jhipster ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) # jhipster ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) # jhipster ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.1.9.RELEASE:run (default-cli) # jhipster ---
[INFO] Attaching agents: []
Listening for transport dt_socket at address: 5005
Wed Nov 26 16:32:23 CET 2014 Added log : Application is about to start
Wed Nov 26 16:32:28 CET 2014Added log : Application started, now we set banner to false
Wed Nov 26 16:32:28 CET 2014Added log : About to add Default profile
Wed Nov 26 16:32:28 CET 2014Added log : Default Profile added. Now we scan liquibase packages
Wed Nov 26 16:32:28 CET 2014Added log : Liquibase pakages scanned. Now we run the app
2014-11-26 16:32:54,564 [INFO] com.mycompany.myapp.Application - Starting Application on MacBook-Pro.local with PID 25452 (/Users/othomas/Developpement/jhipster-1.9.0/target/classes started by othomas in /Users/othomas/Developpement/jhipster-1.9.0)
2014-11-26 16:32:54,567 [DEBUG] com.mycompany.myapp.Application - Running with Spring Boot v1.1.9.RELEASE, Spring v4.0.8.RELEASE
2014-11-26 16:32:57,429 [DEBUG] org.jboss.logging - Logging Provider: org.jboss.logging.Log4jLoggerProvider
2014-11-26 16:32:57,559 [DEBUG] com.mycompany.myapp.config.AsyncConfiguration - Creating Async Task Executor
2014-11-26 16:32:58,305 [DEBUG] com.mycompany.myapp.config.MetricsConfiguration - Registering JVM gauges
2014-11-26 16:32:58,379 [INFO] com.mycompany.myapp.config.MetricsConfiguration - Initializing Metrics JMX reporting
2014-11-26 16:32:58,445 [DEBUG] com.mycompany.myapp.config.DatabaseConfiguration - Configuring Datasource
2014-11-26 16:32:59,353 [DEBUG] com.mycompany.myapp.config.DatabaseConfiguration - Configuring Liquibase
2014-11-26 16:33:19,489 [DEBUG] com.mycompany.myapp.config.CacheConfiguration - Starting Ehcache
2014-11-26 16:33:19,491 [DEBUG] com.mycompany.myapp.config.CacheConfiguration - Registering Ehcache Metrics gauges
2014-11-26 16:33:23,419 [DEBUG] com.mycompany.myapp.config.MailConfiguration - Configuring mail server
2014-11-26 16:33:24,559 [INFO] com.mycompany.myapp.config.WebConfigurer - Web application configuration, using profiles: [dev]
2014-11-26 16:33:24,560 [DEBUG] com.mycompany.myapp.config.WebConfigurer - Initializing Metrics registries
2014-11-26 16:33:24,564 [DEBUG] com.mycompany.myapp.config.WebConfigurer - Registering Metrics Filter
2014-11-26 16:33:24,565 [DEBUG] com.mycompany.myapp.config.WebConfigurer - Registering Metrics Servlet
2014-11-26 16:33:24,567 [DEBUG] com.mycompany.myapp.config.WebConfigurer - Registering GZip Filter
2014-11-26 16:33:24,569 [DEBUG] com.mycompany.myapp.config.WebConfigurer - Initialize H2 console
2014-11-26 16:33:24,570 [INFO] com.mycompany.myapp.config.WebConfigurer - Web application fully configured
2014-11-26 16:33:29,753 [INFO] com.mycompany.myapp.Application - Running with Spring profile(s) : [dev]
2014-11-26 16:33:30,012 [INFO] com.mycompany.myapp.config.ThymeleafConfiguration - loading non-reloadable mail messages resources
2014-11-26 16:33:30,896 [DEBUG] com.mycompany.myapp.aop.logging.LoggingAspect - Enter: com.mycompany.myapp.repository.CustomAuditEventRepository.auditEventRepository() with argument[s] = []
2014-11-26 16:33:30,905 [DEBUG] com.mycompany.myapp.aop.logging.LoggingAspect - Exit: com.mycompany.myapp.repository.CustomAuditEventRepository.auditEventRepository() with result = com.mycompany.myapp.repository.CustomAuditEventRepository$1#1edce963
2014-11-26 16:33:37,229 [INFO] com.mycompany.myapp.Application - Started Application in 68.311 seconds (JVM running for 73.972)
Wed Nov 26 16:33:37 CET 2014Added log : App is running
Thanks,
Olivier

It is advised to start the application with the debug points disabled unless you want to debug while starting up

you can just modify xmx like java -jar -Xmx1024m.
Because when Spring boot started, it loads lots of spring bean. You can add heap memory to improve it's performance.

Related

Strange AZ Function logs - Linux different to windows logs

I've swapped my AZ Functions to linux (Cheaper), and the logs I'm getting are vastly different from the Windows ones.
How can I get my windows style logs, in linux.
Host.json:
"logging": {
"logLevel": {
"default": "Information",
},
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
}
(And is it normally it appears to be constantly restarting? Its running as expected.
EventHub Trigger and writing to a SQL Db fine)
Linux:
2022-05-26T12:32:25 Welcome, you are now connected to log-streaming service.
Starting Log Tail -n 10 of existing logs ----
/appsvctmp/volatile/logs/runtime/32d570889ada5fffd4821e889d028629adf71f5ff36ea7394911d6816e8e8aff.log
2022-05-26T12:08:53.855237110Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] [SystemAssigned] Added Identity with ClientId: <CLIENT-ID>
2022-05-26T12:08:53.856038609Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] Starting TokenService from /app with the following: IsLinuxDedicated: True, IsLinuxConsumption: False, IsWindows: False.
2022-05-26T12:08:53.970340540Z: [INFO] Hosting environment: Production
2022-05-26T12:08:53.970368740Z: [INFO] Content root path: /app
2022-05-26T12:08:53.970380340Z: [INFO] Now listening on: http://[::]:8081
2022-05-26T12:08:53.970385040Z: [INFO] Application started. Press Ctrl+C to shut down.
2022-05-26T12:08:54.993790139Z: [INFO] function-name : [5986fb39-9525-43c0-a14d-06bfdbe0fb9c] Incoming request on /healthcheck?api-version=2021-08-01
2022-05-26T12:08:59.151768328Z: [INFO] function-name : [bcc7a3ba-02b1-434c-bfd2-32f04990418f] Incoming request on /robots933456.txt
2022-05-26T12:09:25.450404632Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] Configuration update started. Site: function-name
2022-05-26T12:09:25.450426232Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] [SystemAssigned] Added Identity with ClientId: <CLIENT-ID>
/appsvctmp/volatile/logs/runtime/6acd2cf91b88dfaffb90c31b64b88a8ea919b18e2d1c9d75e97e6a27f39fb89f.log
2022-05-26T11:12:17.982676382Z: [INFO] Starting OpenBSD Secure Shell server: sshd.
2022-05-26T11:12:24.343773510Z: [INFO] Hosting environment: Production
2022-05-26T11:12:24.343798510Z: [INFO] Content root path: /azure-functions-host
2022-05-26T11:12:24.343812510Z: [INFO] Now listening on: http://[::]:80
2022-05-26T11:12:24.343816410Z: [INFO] Application started. Press Ctrl+C to shut down.
/appsvctmp/volatile/logs/runtime/321fcf9de2622c3c3dcc032a4cd3545b35e8797501f155b040b2397e2f7d31ea.log
2022-05-26T12:07:53.867902158Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] [SystemAssigned] Added Identity with ClientId: <CLIENT-ID>
2022-05-26T12:07:53.867933758Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] Starting TokenService from /app with the following: IsLinuxDedicated: True, IsLinuxConsumption: False, IsWindows: False.
2022-05-26T12:07:54.147981531Z: [INFO] Hosting environment: Production
2022-05-26T12:07:54.148010631Z: [INFO] Content root path: /app
2022-05-26T12:07:54.148262830Z: [INFO] Now listening on: http://[::]:8081
2022-05-26T12:07:54.148272330Z: [INFO] Application started. Press Ctrl+C to shut down.
2022-05-26T12:07:55.448095518Z: [INFO] function-name : [bcd344a8-ebd4-4b29-980c-7139da3f211d] Incoming request on /healthcheck?api-version=2021-08-01
2022-05-26T12:07:58.753565940Z: [INFO] function-name : [328b58ab-cfca-4cf8-876c-ae705493510d] Incoming request on /robots933456.txt
2022-05-26T12:08:50.957872214Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] Configuration update started. Site: function-name
2022-05-26T12:08:50.957900814Z: [INFO] function-name : [00000000-0000-0000-0000-000000000000] [SystemAssigned] Added Identity with ClientId: <CLIENT-ID>
Where as my windows logs:
Executing 'Functions.SourceReader' (Reason='(null)', Id=0b300c0f-ed5e-446e-a6ac-4ca6e049cdca)
[2022-05-26T12:37:00.624Z]
[2022-05-26T12:37:00.626Z] Trigger Details: PartionId: 4, Offset: 87823505798976-87823505806248, EnqueueTimeUtc: 2022-05-19T12:30:40.8030000+00:00-2022-05-19T12:30:40.8030000+00:00, SequenceNumber: 677125426-677125435, Count: 10
[2022-05-26T12:37:00.624Z] My Console Log
Azure linux logs gives Detailed Information about each and every detail because of which logs are more, Syslog is a widely used Linux event logging mechanism. Messages are sent by applications and may be saved locally or forwarded to a Syslog collector. The Log Analytics agent for Linux configures the local Syslog daemon to forward messages to the agent when it is installed. After that, the agent delivers the message to Azure Monitor, which creates a record for it because of which logs are more.
For more information you can go through the Microsoft Documentation.

EB CLI create failed with error: TypeError - expected str, bytes or os.PathLike object, not NoneType

I'm first time I deploy an nodejs expresss application to AWS using EB CLI follow by aws guide
First step, I run eb init success.
Next step, I run eb create my-env to create an environment. And I get a error message:
ERROR: TypeError - expected str, bytes or os.PathLike object, not NoneType
Update: This's log when I run eb logs
/var/log/eb-engine.log
----------------------------------------
2021/02/24 02:37:43.600169 [INFO] Executing instruction: RunAppDeployPreDeployHooks
2021/02/24 02:37:43.600179 [INFO] The dir .platform/hooks/predeploy/ does not exist in the application. Skipping this step...
2021/02/24 02:37:43.600191 [INFO] Executing instruction: stop X-Ray
2021/02/24 02:37:43.600196 [INFO] stop X-Ray ...
2021/02/24 02:37:43.600212 [INFO] Running command /bin/sh -c systemctl show -p PartOf xray.service
2021/02/24 02:37:43.607595 [WARN] stopProcess Warning: process xray is not registered
2021/02/24 02:37:43.607611 [INFO] Running command /bin/sh -c systemctl stop xray.service
2021/02/24 02:37:43.615106 [INFO] Executing instruction: stop proxy
2021/02/24 02:37:43.615123 [INFO] Running command /bin/sh -c systemctl show -p PartOf httpd.service
2021/02/24 02:37:43.623248 [WARN] deregisterProcess Warning: process httpd is not registered, skipping...
2021/02/24 02:37:43.623266 [INFO] Running command /bin/sh -c systemctl show -p PartOf nginx.service
2021/02/24 02:37:43.628431 [WARN] deregisterProcess Warning: process nginx is not registered, skipping...
2021/02/24 02:37:43.628457 [INFO] Executing instruction: FlipApplication
2021/02/24 02:37:43.628462 [INFO] Fetching environment variables...
2021/02/24 02:37:43.628470 [INFO] setting default port 8080 to application
2021/02/24 02:37:43.628559 [INFO] Purge old process...
2021/02/24 02:37:43.628593 [INFO] Register application processes...
2021/02/24 02:37:43.628598 [INFO] Registering the proc: web
Update 2: Now, I deployed my application to AWS EB by manual (upload source zip). I still find and fix above problem.
I search many time but I not found solution to fix it. If you understand my problem, please help me. Thank you so much.
FINAL UPDATE: I resolved problem by this comment. problem involve to git config.

Node-red Out of Memory issue

I used this documentation (Node-red doc for RPI) for node-red install. The installation work works fine. But after start node-red-start or node-red-pi I see next log with errors. I am not expert in nodejs. In log is the npm and nodejs version.
Mar 22:48:23 - [info]
Welcome to Node-RED
===================
4 Mar 22:48:23 - [info] Node-RED version: v0.19.6
4 Mar 22:48:23 - [info] Node.js version: v10.15.2
4 Mar 22:48:23 - [info] Linux 4.9.35-v7+ arm LE
4 Mar 22:48:25 - [info] Loading palette nodes
4 Mar 22:48:30 - [info] Worldmap version 1.5.29
4 Mar 22:48:31 - [info] Dashboard version 2.14.0 started at /ui
4 Mar 22:48:35 - [warn] ------------------------------------------------------
4 Mar 22:48:35 - [warn] [node-red-contrib-generic-ble/generic-ble] Error: Cannot find module 'bluetooth-hci-socket'
4 Mar 22:48:35 - [warn] ------------------------------------------------------
4 Mar 22:48:35 - [info] Settings file : /home/pi/.node-red/settings.js
4 Mar 22:48:35 - [info] Context store : 'default' [module=memory]
4 Mar 22:48:35 - [info] User directory : /home/pi/.node-red
4 Mar 22:48:35 - [warn] Projects disabled : editorTheme.projects.enabled=false
4 Mar 22:48:35 - [info] Flows file : /home/pi/.node-red/flows_server.json
4 Mar 22:48:35 - [info] Server now running at https://127.0.0.1:1880/
4 Mar 22:48:35 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
4 Mar 22:48:35 - [info] Starting flows
4 Mar 22:48:37 - [info] [worldmap:1ac45205.ff98ee] started at /worldmap
4 Mar 22:48:37 - [info] [worldmap:ac8fa4a4.314918] started at /worldmap
4 Mar 22:48:38 - [info] [worldmap:20c6db58.a44e34] started at /worldmap
4 Mar 22:48:38 - [info] [worldmap:bf26442c.e7f3b8] started at /worldmap
4 Mar 22:48:38 - [info] [worldmap:ee74d5bc.e8f268] started at /worldmap
4 Mar 22:48:38 - [info] Started flows
4 Mar 22:48:38 - [info] [mqtt-broker:mqtt] Connected to broker: mqtt://localhost:1883
<--- Last few GCs --->
[24581:0x34f1a28] 138171 ms: Mark-sweep 702.7 (729.7) -> 702.7 (733.2) MB, 9657.7 / 0.1 ms (average mu = 0.092, current mu = 0.004) allocation failure scavenge might not succeed
[24581:0x34f1a28] 148339 ms: Mark-sweep 706.3 (733.2) -> 706.3 (733.2) MB, 9979.6 / 0.1 ms (average mu = 0.055, current mu = 0.019) allocation failure scavenge might not succeed
<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: MarkCompactCollector: semi-space copy, fallback in old gen Allocation failed - JavaScript heap out of memory
Now I have more informations available, stack trace...
==== JS stack trace =========================================
0: ExitFrame [pc: 0x37deae9c]
1: StubFrame [pc: 0x37dec080]
Security context: 0x4b492701 <JSObject>
2: encode(aka encode) [0x4fdd867d] [/home/pi/.node-red/node_modules/qs/lib/utils.js:~118] [pc=0x20067594](this=0x36c8438d <undefined>,str=0x43a423d1 <Very long string[17508]>)
3: arguments adaptor frame: 2->1
4: stringify(aka stringify) [0x4fdd737d] [/home/pi/.node-red/node_modules/qs/lib/stringify.js:61] [bytecode=0x289...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Mean this that in my nodes are nodes with errors? If yes, how I can find which node has error?
The important part of the error is:
fallback in old gen Allocation failed - JavaScript heap out of memory
This means that the NodeJS Virtual Machine that Node-RED is running on has run out of memory.
Without a proper understanding of what your flow is doing it's not possible to say why this is happening, but a fair guess would be that you are either trying to process incoming messages (from somewhere) slower than they are arriving, or may be you are storing things in the Context and never removing them so they build up over time.
EDIT:
The stack trace for the OOM doesn't necessarily help, that is just what was trying to allocate at the instant that there was no more room. It does not mean that it is the cause.
As previously mentioned the only way to debug this is to have a detailed understanding of what your flow is doing (and Stack Overflow is probably not the best place to work through this. You may do better on the Node-RED forum or slack where you might find somebody who can work through it with you)
Problem was in wrong telegram node configuration. This has called self in qs/lib/utils.js:~118 the string was bigger, until heap space...
Thx

cassandra and vault error logs

after upgrading a node in cassandra, these error in log occured:
I want to investigate but dont have a direction, any clue will help
thanks
2016/09/19 06:24:49 [INFO] core: post-unseal setup starting
2016/09/19 06:24:49 [INFO] core: mounted backend of type generic at secret/
2016/09/19 06:24:49 [INFO] core: mounted backend of type cubbyhole at cubbyhole/
2016/09/19 06:24:49 [INFO] core: mounted backend of type system at sys/
2016/09/19 06:24:49 [INFO] core: mounted backend of type cassandra at cassandra/
2016/09/19 06:24:49 [INFO] rollback: starting rollback manager
2016/09/19 06:24:50 [INFO] expire: restored 2 leases
2016/09/19 06:24:50 [INFO] core: post-unseal setup complete
2016/09/19 06:24:55 gocql: unable to dial control conn node-0.cassandra-app.mesos:9042: dial tcp 10.0.2.42:9042: getsockopt: connection refused
2016/09/19 06:25:12 error: failed to connect to 10.0.2.42:9042 due to error: gocql: no response to connection startup within timeout
Cassandra cluster is not cross-version compatible, you can not upgrade a node only, you have to upgrade the cluster. This is a common mistake people tend to do, please see this video here it mentiones this problem, also it is very very useful with lots of good info.

Unable to Start Production Profile in Jhipster Version 1.0.0

Helo Everyone,
I have just take update of jipster to 1.0.0 but when i created project without webscoket i.e Atmosphere is not working on Production profile giving these exception while try to run Project on Production Profile Please Help Me.
[DEBUG] com.application.gom.config.AsyncConfiguration - Creating Async Task Executor
[DEBUG] com.application.gom.config.MetricsConfiguration - Registring JVM gauges
[INFO] com.application.gom.config.MetricsConfiguration - Initializing Metrics JMX reporting
[INFO] com.hazelcast.instance.DefaultAddressPicker - null [dev] [3.2.5] Prefer IPv4 stack is true.
[INFO] com.hazelcast.instance.DefaultAddressPicker - null [dev] [3.2.5] Picked Address[192.168.1.11]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
[INFO] com.hazelcast.system - [192.168.1.11]:5701 [dev] [3.2.5] Hazelcast 3.2.5 (20140814) starting at Address[192.168.1.11]:5701
[INFO] com.hazelcast.system - [192.168.1.11]:5701 [dev] [3.2.5] Copyright (coffee) 2008-2014 Hazelcast.com
[INFO] com.hazelcast.instance.Node - [192.168.1.11]:5701 [dev] [3.2.5] Creating MulticastJoiner
[INFO] com.hazelcast.core.LifecycleService - [192.168.1.11]:5701 [dev] [3.2.5] Address[192.168.1.11]:5701 is STARTING
[INFO] com.hazelcast.nio.SocketConnector - [192.168.1.11]:5701 [dev] [3.2.5] Connecting to /192.168.1.12:5701, timeout: 0, bind-any: true
[INFO] com.hazelcast.nio.TcpIpConnectionManager - [192.168.1.11]:5701 [dev] [3.2.5] 55994 accepted socket connection from /192.168.1.12:5701
[INFO] com.hazelcast.nio.TcpIpConnection - [192.168.1.11]:5701 [dev] [3.2.5] Connection [Address[192.168.1.12]:5701] lost. Reason: java.io.EOFException[Remote socket closed!]
[WARN] com.hazelcast.nio.ReadHandler - [192.168.1.11]:5701 [dev] [3.2.5] hz.gomapplication.IO.thread-in-0 Closing socket to endpoint Address[192.168.1.12]:5701, Cause:java.io.EOFException: Remote socket closed!
[INFO] com.hazelcast.nio.SocketConnector - [192.168.1.11]:5701 [dev] [3.2.5] Connecting to /192.168.1.12:5701, timeout: 0, bind-any: true
[INFO] com.hazelcast.nio.TcpIpConnectionManager - [192.168.1.11]:5701 [dev] [3.2.5] 55995 accepted socket connection from /192.168.1.12:5701
The error you have has nothing to do with Atmosphere, but HazelCast.
It looks like you selected the HazelCast option, and that it can't create its cluster, because of an issue with host 192.168.1.12 -> this is probably a network error, do you have a firewall running?

Resources