Mango Installation Stuck at Starting Mango (Windows)
-
Yes, and I did not have quick edit mode enabled.
-
For some reason I thought it was later in the boot process. It's at installing/loading modules. Does your Mango/web/modules/ directory still have zip files in it? You mean need to redownload one or more modules. See if things go better with an empty Mango/web/modules/ directory.
-
The directory doesn't have any zip file. I tried to run with an empty modules folder, still nothing.
-
Bizarre. I almost think you should redownload everything. But, that seems like it would error somehow if the files were wrong. I tested the free core download after your post, it worked for me.
I wonder,
- What's your
java -version
on the command line? - Could it be some self righteous antivirus software you've installed?
- What's your
-
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)I don't have any antivirus software running on my system.
I tried to install version 2.8.8, it worked.
-
I can't quit running by pressing ctrl+c. It seems like nothing works but ctrl+break. When I press ctrl+break, it shows these:
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode):
"SIGINT handler" #15 daemon prio=9 os_prio=2 tid=0x000000005c01f000 nid=0x1ea8 w
aiting for monitor entry [0x00000000579ff000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.lang.Shutdown.exit(Unknown Source)
- waiting to lock <0x00000000a3ee4f08> (a java.lang.Class for java.lang.
Shutdown)
at java.lang.Terminator$1.handle(Unknown Source)
at sun.misc.Signal$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)"pool-1-thread-1" #10 prio=5 os_prio=0 tid=0x000000005c020000 nid=0x2118 in Obje
ct.wait() [0x000000005fb4e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ee3efd80> (a org.apache.logging.log4j.core.appen
der.AsyncAppender$AsyncThread)
at java.lang.Thread.join(Unknown Source)
- locked <0x00000000ee3efd80> (a org.apache.logging.log4j.core.appender.
AsyncAppender$AsyncThread)
at org.apache.logging.log4j.core.appender.AsyncAppender.stop(AsyncAppend
er.java:135)
at org.apache.logging.log4j.core.config.AbstractConfiguration.stop(Abstr
actConfiguration.java:336)
at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:3
51)
at org.apache.logging.log4j.core.LoggerContext$1.run(LoggerContext.java:
279)
at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry$Re
gisteredCancellable.run(DefaultShutdownCallbackRegistry.java:109)
at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.ru
n(DefaultShutdownCallbackRegistry.java:74)
at java.lang.Thread.run(Unknown Source)"SIGINT handler" #14 daemon prio=9 os_prio=2 tid=0x000000005c01e800 nid=0x1fa8 i
n Object.wait() [0x000000005f8ef000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000a2920338> (a java.lang.Thread)
at java.lang.Thread.join(Unknown Source)
- locked <0x00000000a2920338> (a java.lang.Thread)
at java.lang.Thread.join(Unknown Source)
at java.lang.ApplicationShutdownHooks.runHooks(Unknown Source)
at java.lang.ApplicationShutdownHooks$1.run(Unknown Source)
at java.lang.Shutdown.runHooks(Unknown Source)
at java.lang.Shutdown.sequence(Unknown Source)
at java.lang.Shutdown.exit(Unknown Source)
- locked <0x00000000a3ee4f08> (a java.lang.Class for java.lang.Shutdown)at java.lang.Terminator$1.handle(Unknown Source) at sun.misc.Signal$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
"AsyncAppender-async" #11 daemon prio=5 os_prio=0 tid=0x00000000589d7000 nid=0x2
1fc runnable [0x0000000057e6e000]
java.lang.Thread.State: RUNNABLE
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source
)
- locked <0x00000000ee47c720> (a java.util.concurrent.ConcurrentHashMap$
ReservationNode)
at com.serotonin.m2m2.i18n.Translations.getTranslations(Translations.jav
a:35)
at com.serotonin.m2m2.i18n.Translations.<init>(Translations.java:104)
at com.serotonin.m2m2.i18n.Translations.lambda$getTranslations$0(Transla
tions.java:37)
at com.serotonin.m2m2.i18n.Translations$$Lambda$1/630489928.apply(Unknow
n Source)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source
)
- locked <0x00000000ee47c6b0> (a java.util.concurrent.ConcurrentHashMap$
ReservationNode)
at com.serotonin.m2m2.i18n.Translations.getTranslations(Translations.jav
a:35)
at com.serotonin.m2m2.i18n.Translations.<init>(Translations.java:104)
at com.serotonin.m2m2.i18n.Translations.lambda$getTranslations$0(Transla
tions.java:37)
at com.serotonin.m2m2.i18n.Translations$$Lambda$1/630489928.apply(Unknow
n Source)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source
)
- locked <0x00000000ee47c720> (a java.util.concurrent.ConcurrentHashMap$
ReservationNode)
at com.serotonin.m2m2.i18n.Translations.getTranslations(Translations.jav
a:35)
at com.serotonin.m2m2.i18n.Translations.getTranslations(Translations.jav
a:31)
at com.serotonin.m2m2.rt.console.LoggingConsoleRT.<init>(LoggingConsoleR
T.java:34)
at com.serotonin.m2m2.rt.console.LoggingConsoleRT.<clinit>(LoggingConsol
eRT.java:26)
at com.serotonin.m2m2.rt.console.MangoFrontendAppender.append(MangoFront
endAppender.java:70)
at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(
AppenderControl.java:156)
at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(Ap
penderControl.java:129)
at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPrev
entRecursion(AppenderControl.java:120)
at org.apache.logging.log4j.core.config.AppenderControl.callAppender(App
enderControl.java:84)
at org.apache.logging.log4j.core.appender.AsyncAppender$AsyncThread.call
Appenders(AsyncAppender.java:459)
at org.apache.logging.log4j.core.appender.AsyncAppender$AsyncThread.run(
AsyncAppender.java:412)"Service Thread" #9 daemon prio=9 os_prio=0 tid=0x00000000571ba800 nid=0x19ac ru
nnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x0000000057132000 nid=0xf74
waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x0000000057131800 nid=0x22e
c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x000000005712c000 nid=0x229
4 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x0000000057124000 nid=0x21d4 r
unnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x0000000057123000 nid=0x120c
waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE"Finalizer" #3 daemon prio=8 os_prio=1 tid=0x0000000055d1f000 nid=0x22cc in Obje
ct.wait() [0x000000005710e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ee350db0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000ee350db0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)"Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000055cd7800 nid=0x1c8
8 in Object.wait() [0x0000000056e3e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000ee5416d8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
- locked <0x00000000ee5416d8> (a java.lang.ref.Reference$Lock)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)"main" #1 prio=5 os_prio=0 tid=0x000000000203b800 nid=0x20f4 waiting for monitor
entry [0x000000000238f000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.util.concurrent.ConcurrentHashMap.clear(Unknown Source)
- waiting to lock <0x00000000ee47c720> (a java.util.concurrent.Concurren
tHashMap$ReservationNode)
at com.serotonin.m2m2.i18n.Translations.clearCache(Translations.java:46)at com.serotonin.m2m2.Main.main(Main.java:110)
"VM Thread" os_prio=2 tid=0x0000000055cd0000 nid=0xca8 runnable
"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x0000000002052000 nid=0x218c runn
able"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x0000000002053800 nid=0x142c runn
able"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000000002055000 nid=0x23c4 runn
able"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000000002058800 nid=0x23e4 runn
able"VM Periodic Task Thread" os_prio=2 tid=0x0000000057223800 nid=0x145c waiting on
conditionJNI global references: 230
Heap
PSYoungGen total 218624K, used 67668K [0x00000000e0b80000, 0x00000000ef880
000, 0x0000000100000000)
eden space 196608K, 31% used [0x00000000e0b80000,0x00000000e4858fd0,0x00000000
ecb80000)
from space 22016K, 24% used [0x00000000ee300000,0x00000000ee83c1c0,0x00000000e
f880000)
to space 23040K, 0% used [0x00000000ecb80000,0x00000000ecb80000,0x00000000ee
200000)
ParOldGen total 64512K, used 32265K [0x00000000a2200000, 0x00000000a61000
00, 0x00000000e0b80000)
object space 64512K, 50% used [0x00000000a2200000,0x00000000a41825a8,0x0000000
0a6100000)
Metaspace used 18047K, capacity 18322K, committed 18688K, reserved 106496
0K
class space used 2408K, capacity 2489K, committed 2560K, reserved 1048576K -
Is it possible you only have the jre installed and not the jdk? What is the result of "echo $JAVA_HOME"
-
Hi mmmmmt,
What are your computer's timezone and language settings?
If you can, can you post the results of the hard kill on a startup without modules?
-
Hi, I have the same problem with the new version 3.2.0. when I try to boot the ma-start in windows and in Linux, it does not work. I did other way too, in the modules folder, I download the zip modules with every dependency module and restart too but it does not work either. Now, I have installed the version 3.0 and I want to upgrade because I need to use the SVG object like "ma-svg" because of the version 3.0 does not exist. I have Java 8 installed and the version 3.0 is working, then I don't know if the specification have changed or it is a bug in the new version.
Could you tell me what is wrong and how to resolve it?Thank you in advance.
-
Hi mmmmt and susana,
I have sent you both an email with a possible solution. Please try it and let me know if it solves the issue!
-
Issue fixed, thanks.
-
Thanks for getting us that console output!
-
@phildunlap It looks like the same issue i have posted on my mini mac
I got the java to hang.
Please provide the same info and post a answer on the forum what happens -
Hi stensma,
We'll be releasing the fix in 3.2.1 on Monday most likely. I will go ahead and email you the fix too, but you'll want to delete it next time you update.
That sentence is an imperative! You can consult github if you like, but it's a bug. mmmmmt's thread dump is what happens.
-
3.2.1 was released with this fix and a few other updates.
-
Hello,
I'm getting the following msg when Starting after performing an upgrade,
"Core upgrade found...
No Jar utility found to extract upgrade, Please manually unzip core upgrade and
restart Mango..."How do I rectify this please?
Thanks
-
Hi bux236,
I would expect that to be a path problem. Either you haven't defined JAVA_HOME to point at your JDK root directory, jdk1.8.0_xxx/bin/ is not on your path, or you have installed a JRE instead of a JDK.
-
Hello,
Thank you for your reply, I have now set JDK in the JAVA_HOME.
I now getting the following errors when trying to run upgrade.bat or mastart.bat
C:\Program Files (x86)\mango automation\bin>upgrade.bat Running upgrade script... Using C:\Program Files (x86)\mango automation as MA_HOME C:\Program Files (x86)\mango automation\overrides\classes;C:\Program Files (x86) \mango automation\classes;C:\Program Files (x86)\mango automation\overrides\prop erties;C:\Program Files (x86)\mango automation\overrides\lib\*;C:\Program Files (x86)\mango automation\lib\* Using Java at C:\Program Files\Java\jdk1.8.0_65\bin\java Error: Could not find or load main class com.serotonin.m2m2.Main C:\Program Files (x86)\mango automation\bin>ma-start.bat Using C:\Program Files (x86)\mango automation as MA_HOME C:\Program Files (x86)\mango automation\overrides\classes;C:\Program Files (x86) \mango automation\classes;C:\Program Files (x86)\mango automation\overrides\prop erties;C:\Program Files (x86)\mango automation\overrides\lib\*;C:\Program Files (x86)\mango automation\lib\* Using Java at C:\Program Files\Java\jdk1.8.0_65\bin\java Error: Could not find or load main class com.serotonin.m2m2.Main C:\Program Files (x86)\mango automation\bin>```
What am I doing wrong please!?
Many Thanks,
Chris
-
That means there is no ma-priv-3.x.x.jar JAR file in the directories specified on the path output after "Using ... as MA_HOME"
Running upgrade.bat is only sufficient to upgrade anything if you already have the new m2m2-core-3.x.x.zip in your Mango/ directory. Then you would have seen this message from ma-start.bat:
Core upgrade found...
So my guess is something has gone wrong with your upgrading, and you should place an m2m2-core-3.x.x.zip in your Mango/ directory and restart Mango.
-
Hi Phildunlap,
That did the trick!
Thanks for you help
Chris