Problem on startup only load till 40% only
-
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\sql
Console\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,698 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module sqlds
WARN 2016-04-15 22:57:24,700 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-sqlds-1.6.2.zip. Is this module built for the core
version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\sql
ds\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,704 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module ssh
WARN 2016-04-15 22:57:24,706 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-ssh-1.1.1.zip. Is this module built for the core ve
rsion that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\ssh
\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,714 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module sstGlobalScripts
WARN 2016-04-15 22:57:24,716 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-sstGlobalScripts-1.5.1.zip. Is this module built fo
r the core version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\sst
GlobalScripts\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,721 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module sstGraphics
WARN 2016-04-15 22:57:24,736 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-sstGraphics-1.1.1.zip. Is this module built for the
core version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\sst
Graphics\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,741 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module TCPIP
WARN 2016-04-15 22:57:24,742 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-TCPIP-1.1.4.zip. Is this module built for the core
version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\TCP
IP\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,749 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module templateConfig
WARN 2016-04-15 22:57:24,751 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-templateConfig-1.0.8.zip. Is this module built for
the core version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\tem
plateConfig\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,755 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module twilio
WARN 2016-04-15 22:57:24,757 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-twilio-1.1.2.zip. Is this module built for the core
version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\twi
lio\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,764 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module virtualDS
WARN 2016-04-15 22:57:24,766 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-virtualDS-1.5.1.zip. Is this module built for the c
ore version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\vir
tualDS\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,771 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module vmstat
WARN 2016-04-15 22:57:24,772 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-vmstat-1.5.1.zip. Is this module built for the core
version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\vms
tat\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:24,784 (com.serotonin.m2m2.Main.openZipFiles:181) - Insta
lling module watchlists
WARN 2016-04-15 22:57:24,788 (com.serotonin.m2m2.Main.openZipFiles:242) - Error
while opening zip file m2m2-watchlists-1.7.4.zip. Is this module built for the
core version that you are using? Module ignored.
java.io.FileNotFoundException: C:\Program Files\Mango Automation\web\modules\wat
chlists\RELEASE-NOTES (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.serotonin.m2m2.Main.writeFile(Main.java:667)
at com.serotonin.m2m2.Main.openZipFiles(Main.java:223)
at com.serotonin.m2m2.Main.main(Main.java:98)
INFO 2016-04-15 22:57:25,033 (com.serotonin.m2m2.Lifecycle.loadLic:464) - Check
ing license...
INFO 2016-04-15 22:57:25,034 (com.serotonin.m2m2.Lifecycle.loadLic:544) - Licen
se file not found
INFO 2016-04-15 22:57:25,106 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:42)- Initializing H2 connection manager
FATAL 2016-04-15 22:57:26,609 (com.serotonin.m2m2.db.DatabaseProxy.initialize:19
-
- Unable to connect to database of type H2
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Co
nnection; nested exception is org.h2.jdbc.JdbcSQLException: Error while creating
file "C:/Program Files/Mango Automation/databases" [90062-181]
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
aSourceUtils.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:
- Unable to connect to database of type H2
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:68
-
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:71
-
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:72
-
at com.serotonin.db.spring.ExtendedJdbcTemplate.queryForObject(ExtendedJ
dbcTemplate.java:39)
at com.serotonin.db.spring.ExtendedJdbcTemplate.queryForObject(ExtendedJ
dbcTemplate.java:63)
at com.serotonin.m2m2.db.H2Proxy.tableExists(H2Proxy.java:244)
at com.serotonin.m2m2.db.DatabaseProxy.newDatabaseCheck(DatabaseProxy.ja
va:204)
at com.serotonin.m2m2.db.DatabaseProxy.initialize(DatabaseProxy.java:106
)
at com.serotonin.m2m2.Lifecycle.databaseInitialize(Lifecycle.java:602)
at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:280)
at com.serotonin.m2m2.Main.main(Main.java:116)
Caused by: org.h2.jdbc.JdbcSQLException: Error while creating file "C:/Program F
iles/Mango Automation/databases" [90062-181]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:274)
at org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:42)
at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:309)
at org.h2.store.FileLock.lockFile(FileLock.java:345)
at org.h2.store.FileLock.lock(FileLock.java:135)
at org.h2.engine.Database.open(Database.java:631)
at org.h2.engine.Database.openDatabase(Database.java:266)
at org.h2.engine.Database.<init>(Database.java:260)
at org.h2.engine.Engine.openSession(Engine.java:60)
at org.h2.engine.Engine.openSession(Engine.java:167)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145)
at org.h2.engine.Engine.createSession(Engine.java:128)
at org.h2.engine.Engine.createSession(Engine.java:26)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:347)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92)
at org.h2.Driver.connect(Driver.java:72)
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190
)
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:3
85)
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.j
ava:227)
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java
:199)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(D
ataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
aSourceUtils.java:77)
... 12 more
ERROR 2016-04-15 22:57:26,614 (com.serotonin.m2m2.Main.main:120) - Error during
initialization
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Co
nnection; nested exception is org.h2.jdbc.JdbcSQLException: Error while creating
file "C:/Program Files/Mango Automation/databases" [90062-181]
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
aSourceUtils.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:
615)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:68
0)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:71
2)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:72
2)
at com.serotonin.db.spring.ExtendedJdbcTemplate.queryForObject(ExtendedJ
dbcTemplate.java:39)
at com.serotonin.db.spring.ExtendedJdbcTemplate.queryForObject(ExtendedJ
dbcTemplate.java:63)
at com.serotonin.m2m2.db.H2Proxy.tableExists(H2Proxy.java:244)
at com.serotonin.m2m2.db.DatabaseProxy.newDatabaseCheck(DatabaseProxy.ja
va:204)
at com.serotonin.m2m2.db.DatabaseProxy.initialize(DatabaseProxy.java:106
)
at com.serotonin.m2m2.Lifecycle.databaseInitialize(Lifecycle.java:602)
at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:280)
at com.serotonin.m2m2.Main.main(Main.java:116)
Caused by: org.h2.jdbc.JdbcSQLException: Error while creating file "C:/Program F
iles/Mango Automation/databases" [90062-181]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.store.fs.FilePathDisk.createDirectory(FilePathDisk.java:274)
at org.h2.store.fs.FileUtils.createDirectory(FileUtils.java:42)
at org.h2.store.fs.FileUtils.createDirectories(FileUtils.java:309)
at org.h2.store.FileLock.lockFile(FileLock.java:345)
at org.h2.store.FileLock.lock(FileLock.java:135)
at org.h2.engine.Database.open(Database.java:631)
at org.h2.engine.Database.openDatabase(Database.java:266)
at org.h2.engine.Database.<init>(Database.java:260)
at org.h2.engine.Engine.openSession(Engine.java:60)
at org.h2.engine.Engine.openSession(Engine.java:167)
at org.h2.engine.Engine.createSessionAndValidate(Engine.java:145)
at org.h2.engine.Engine.createSession(Engine.java:128)
at org.h2.engine.Engine.createSession(Engine.java:26)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.jav
a:347)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:108)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:92)
at org.h2.Driver.connect(Driver.java:72)
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:190
)
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:353)
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:3
85)
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.j
ava:227)
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java
:199)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(D
ataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(Dat
aSourceUtils.java:77)
... 12 more
INFO 2016-04-15 22:57:26,617 (com.serotonin.m2m2.Lifecycle.terminate:344) - Man
go Lifecycle terminating...
Exception in thread "high-pool-1-thread-1" java.lang.NullPointerException
at com.serotonin.m2m2.CoreLicenseDefinition$2.run(CoreLicenseDefinition.
java:149)
at com.serotonin.timer.sync.Synchronizer$TaskWrapper.run(Synchronizer.ja
va:155)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:745)
INFO 2016-04-15 22:57:26,670 (com.serotonin.m2m2.Lifecycle.terminate:446) - Man
go Lifecycle terminated.
INFO 2016-04-15 22:57:26,671 (com.serotonin.m2m2.Lifecycle.terminate:344) - Man
go Lifecycle terminating...
C:\Program Files\Mango Automation\bin> - Initializing H2 connection manager
-
Hi Khairul,
- Some of your modules are not the right versions for your core. Once you get it to start, you can update your modules and/or Mango from the modules page.
- You have what appears to be a permissions problem creating a databases directory. Perhaps you can manually create the directory so Mango only has to try and create the H2 database? Or you could run it in C:\Users[MyUser]\
- I don't really enjoy reading stack traces without having at least a little thinking done on your part as to what you want me to be looking for. You are most welcome here, but i'm more likely to read something if a human took the time to say it AND provided me the machine's opinion on the subject too.