Skip to content

docker composer up iservice_1 could not find main class #6

@marinko386

Description

@marinko386

Error:
on run docker composer up

iservice_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication
webservice2_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication
webservice1_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication

C:\Users<user>\Documents\VetManager>docker-compose up
Starting vetmanager_mariadb_1 ... done
Starting vetmanager_mongo_1 ... done
Starting vetmanager_iservice_1 ... done
Starting vetmanager_redis_1 ... done
Starting vetmanager_webservice1_1 ... done
Starting vetmanager_webservice2_1 ... done
Starting vetmanager_haproxy_1 ... done
Attaching to vetmanager_redis_1, vetmanager_mariadb_1, vetmanager_iservice_1, vetmanager_mongo_1, vetmanager_webservice2_1, vetmanager_webservice1_1, vetmanager_haproxy_1
redis_1 | 1:C 28 Oct 14:08:03.905 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | .
redis_1 | .-__ ''-._ redis_1 | _.- . . ''-._ Redis 3.0.3 (00000000/0) 64 bit
redis_1 | .- .-```. ```\/ _.,_ ''-._ redis_1 | ( ' , .-` | `, ) Running in standalone mode redis_1 | |`-._`-...-` __...-.-.|'_.-'| Port: 6379 redis_1 | | -. ._ / _.-' | PID: 1 redis_1 | -._ -._ -./ .-' .-'
redis_1 | |-._-.
-.__.-' _.-'_.-'| redis_1 | | -.
-._ _.-'_.-' | http://redis.io redis_1 | -._ -._-..-'.-' .-'
redis_1 | |-._-.
-.__.-' _.-'_.-'| redis_1 | | -.
-._ _.-'_.-' | redis_1 | -._ -._-.
.-'_.-' _.-'
redis_1 | -._ -..-' _.-'
redis_1 | -._ _.-' redis_1 | -.
.-'
redis_1 |
redis_1 | 1:M 28 Oct 14:08:04.006 # Server started, Redis version 3.0.3
redis_1 | 1:M 28 Oct 14:08:04.007 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 28 Oct 14:08:04.007 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 28 Oct 14:08:04.008 * DB loaded from disk: 0.001 seconds
redis_1 | 1:M 28 Oct 14:08:04.008 * The server is now ready to accept connections on port 6379
mariadb_1 | 2018-10-28 14:08:05 0 [Note] mysqld (mysqld 10.3.10-MariaDB-1:10.3.10+mariabionic) starting as process 1 ...
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Using Linux native AIO
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Uses event mutexes
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Number of pools: 1
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Using SSE2 crc32 instructions
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Waiting for purge to start
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: 10.3.10 started; log sequence number 1630833; transaction id 21
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mariadb_1 | 2018-10-28 14:08:06 0 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1 | 2018-10-28 14:08:06 0 [Note] Server socket created on IP: '::'.
mariadb_1 | 2018-10-28 14:08:06 0 [Note] InnoDB: Buffer pool(s) load completed at 181028 14:08:06
iservice_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication
mariadb_1 | 2018-10-28 14:08:06 0 [Warning] 'proxies_priv' entry '@% root@c8602056a70e' ignored in --skip-name-resolve mode.
mariadb_1 | 2018-10-28 14:08:06 0 [Note] Reading of all Master_info entries succeded
mariadb_1 | 2018-10-28 14:08:06 0 [Note] Added new Master_info '' to hash table
mariadb_1 | 2018-10-28 14:08:06 0 [Note] mysqld: ready for connections.
mariadb_1 | Version: '10.3.10-MariaDB-1:10.3.10+maria
bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
mongo_1 | $@
mongo_1 | 2018-10-28T14:08:05.009+0000 I STORAGE [main] Compression: snappy
mongo_1 | 2018-10-28T14:08:05.018+0000 I STORAGE [main] MaxWriteMBPerSec: 1024
mongo_1 | 2018-10-28T14:08:05.018+0000 I STORAGE [main] Crash safe counters: 0
mongo_1 | 2018-10-28T14:08:05.018+0000 I STORAGE [main] Counters: 1
mongo_1 | 2018-10-28T14:08:05.018+0000 I STORAGE [main] Use SingleDelete in index: 0
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] MongoDB starting : pid=7 port=27017 dbpath=/data/db 64-bit host=bf3b439ea251
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] db version v3.6.2
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] git version: 489d177dbd0f0420a8ca04d39fd78d0a2c539420
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.0f 25 May 2017
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] allocator: tcmalloc
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] modules: rocks
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] build environment:
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] distarch: x86_64
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] target_arch: x86_64
mongo_1 | 2018-10-28T14:08:05.106+0000 I CONTROL [initandlisten] options: { config: "etc/mongo/config.yml", net: { bindIp: "0.0.0.0", port: 27017 }, storage: { dbPath: "/data/db", engine: "rocksdb", journal: { enabled: true } } }
mongo_1 | 2018-10-28T14:08:05.156+0000 I STORAGE [initandlisten] 0 dropped prefixes need compaction
mongo_1 | 2018-10-28T14:08:05.164+0000 I CONTROL [initandlisten]
mongo_1 | 2018-10-28T14:08:05.164+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
mongo_1 | 2018-10-28T14:08:05.164+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
mongo_1 | 2018-10-28T14:08:05.164+0000 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended.
mongo_1 | 2018-10-28T14:08:05.164+0000 I CONTROL [initandlisten]
mongo_1 | 2018-10-28T14:08:05.201+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
mongo_1 | 2018-10-28T14:08:05.202+0000 I NETWORK [initandlisten] waiting for connections on port 27017
webservice2_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication
webservice1_1 | Error: Could not find or load main class es.urjc.etsii.mtenrero.VetmanagerApplication
vetmanager_iservice_1 exited with code 1
vetmanager_webservice2_1 exited with code 1
vetmanager_webservice1_1 exited with code 1
haproxy_1 | [WARNING] 300/140809 (1) : config : monitor-uri will be ignored for frontend 'public' (needs 'mode http').
haproxy_1 | [WARNING] 300/140809 (1) : config : 'stats' statement ignored for frontend 'public' as it requires HTTP mode.
haproxy_1 | [WARNING] 300/140809 (1) : config : 'redirect' rules ignored for frontend 'public' as they require HTTP mode.
haproxy_1 | [ALERT] 300/140809 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:42] : 'server webservice0' : could not resolve address 'webservice0'.
haproxy_1 | [ALERT] 300/140809 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:43] : 'server webservice1' : could not resolve address 'webservice1'.
haproxy_1 | [ALERT] 300/140809 (1) : Failed to initialize server(s) addr.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions