First time starting Appian server error

As subject says, i jus did a first time installation of appian server, I followed instructions the best  i could but when running server cant start it, Any guidelines and help is appreciated in advance

Doing this 3 steps

 

  1. cd <APPIAN_HOME>/server/_scripts/diagnostic/ ./checkengine.sh
  2. <APPIAN_HOME>/search-server/bin/start.sh
  3. <JBOSS_HOME>/bin/standalone.sh

this is the console output.

appian_user@AppianServer:~/Programs/appian/server/_scripts$ ./start-suite.sh
K 3.3 2009-08-26 Copyright (C) 1993-2009 Kx Systems
l64 2CPU appianserver.localdomain 2 TEST 2018-10-17 Appian - Partner Development #53640

The appian.sec shared security token file is not present, is unreadable or invalid. This engine will not require a security token for connections.

Attempting to start the following services:

___SERVICE___ _GWID_ ___HOST___ _GW_PORT_ _KDB_PORT_
forums 1 localhost 5000 5001
notify 1 localhost 5002 5003
notify-email 1 localhost 5004 5005
channels 1 localhost 5006 5007
content 1 localhost 5008 5009
collaboration-statistics 1 localhost 5010 5011
personalization 1 localhost 5012 5013
portal 1 localhost 5014 5015
process-design 1 localhost 5016 5017
process-analytics0 1 localhost 5018 5019
process-analytics1 1 localhost 5020 5021
process-analytics2 1 localhost 5022 5023
process-execution0 1 localhost 5024 5025
process-execution1 1 localhost 5026 5027
process-execution2 1 localhost 5028 5029
bind: Address already in use

Done!
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
bind: Address already in use
Existing Appian Engine Monitor process with PID 18896. This new process will be terminated.
appian_user@AppianServer:~/Programs/appian/server/_scripts$ bind: Address already in use
bind: Address already in use
bind: Address already in use
appian_user@AppianServer:~/Programs/appian/server/_scripts$
appian_user@AppianServer:~/Programs/appian/server/_scripts$ cd diagnostic
appian_user@AppianServer:~/Programs/appian/server/_scripts/diagnostic$ ./checkengine
bash: ./checkengine: No such file or directory
appian_user@AppianServer:~/Programs/appian/server/_scripts/diagnostic$ ./checkengine.sh
K 3.3 2009-08-26 Copyright (C) 1993-2009 Kx Systems
l64 2CPU appianserver.localdomain 2 TEST 2018-10-17 Appian - Partner Development #53640

The appian.sec shared security token file is not present, is unreadable or invalid. This engine will not require a security token for connections.

Querying the 15 gateways now ...
...............
Query complete

 

 

--- --- --- --- --- --- --- ---

## Discussion Forums ## (2017-04-07 00:40:13 GMT) ## Discussion Forums ##


Application Issues (Discussion Forums)
No issues detected.


Gateway Issues (Discussion Forums)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Discussion Forums):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5000 0.001 0 1 3 hrs 59 mins 622 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Notifications Service ## (2017-04-07 00:40:13 GMT) ## Notifications Service ##


Application Issues (Notifications Service)
No issues detected.


Gateway Issues (Notifications Service)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Notifications Service):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5002 0.001 0 1 3 hrs 59 mins 925 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Notifications Email Processor ## (2017-04-07 00:40:13 GMT) ## Notifications Email Processor ##


Application Issues (Notifications Email Processor)
No issues detected.


Gateway Issues (Notifications Email Processor)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Notifications Email Processor):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5004 0.008 0 1 3 hrs 59 mins 686 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Channels ## (2017-04-07 00:40:13 GMT) ## Channels ##


Application Issues (Channels)
No issues detected.


Gateway Issues (Channels)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Channels):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5006 0.008 0 1 3 hrs 59 mins 347 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Collaboration ## (2017-04-07 00:40:13 GMT) ## Collaboration ##


Application Issues (Collaboration)
No issues detected.


Gateway Issues (Collaboration)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Collaboration):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5008 0.007 0 1 3 hrs 59 mins 1 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Collaboration Statistics ## (2017-04-07 00:40:13 GMT) ## Collaboration Statistics ##


Application Issues (Collaboration Statistics)
No issues detected.


Gateway Issues (Collaboration Statistics)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Collaboration Statistics):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5010 0.002 0 1 3 hrs 59 mins 156 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Personalization ## (2017-04-07 00:40:13 GMT) ## Personalization ##


Application Issues (Personalization)
No issues detected.


Gateway Issues (Personalization)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Personalization):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5012 0.004 0 1 3 hrs 59 mins 1 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Portal ## (2017-04-07 00:40:13 GMT) ## Portal ##


Application Issues (Portal)
No issues detected.


Gateway Issues (Portal)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Portal):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5014 0.002 0 1 3 hrs 59 mins 917 KB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Design ## (2017-04-07 00:40:13 GMT) ## Process-Design ##


Application Issues (Process-Design)
No issues detected.


Gateway Issues (Process-Design)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Design):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5016 0.002 0 4 3 hrs 59 mins 4 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Analytics0000 ## (2017-04-07 00:40:13 GMT) ## Process-Analytics0000 ##


Application Issues (Process-Analytics0000)
No issues detected.


Gateway Issues (Process-Analytics0000)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Analytics0000):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5018 0.002 1 3 3 hrs 59 mins 2 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Analytics0001 ## (2017-04-07 00:40:13 GMT) ## Process-Analytics0001 ##


Application Issues (Process-Analytics0001)
No issues detected.


Gateway Issues (Process-Analytics0001)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Analytics0001):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5020 0.001 1 3 3 hrs 59 mins 2 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Analytics0002 ## (2017-04-07 00:40:13 GMT) ## Process-Analytics0002 ##


Application Issues (Process-Analytics0002)
No issues detected.


Gateway Issues (Process-Analytics0002)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Analytics0002):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5022 0.001 1 3 3 hrs 59 mins 3 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Exec00 ## (2017-04-07 00:40:13 GMT) ## Process-Exec00 ##


Application Issues (Process-Exec00)
No issues detected.


Gateway Issues (Process-Exec00)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Exec00):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5024 0.007 0 2 3 hrs 59 mins 5 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Exec01 ## (2017-04-07 00:40:13 GMT) ## Process-Exec01 ##


Application Issues (Process-Exec01)
No issues detected.


Gateway Issues (Process-Exec01)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Exec01):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5026 0.002 0 2 3 hrs 59 mins 5 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 


--- --- --- --- --- --- --- ---

## Process-Exec02 ## (2017-04-07 00:40:13 GMT) ## Process-Exec02 ##


Application Issues (Process-Exec02)
No issues detected.


Gateway Issues (Process-Exec02)

_GW_ _Severity_ _Details_

1 N/A No issues detected.

 

Gateway Details (Process-Exec02):

Gateway Chain(s):


GW 1 (STANDALONE)

_GW_ _Host_ _Port_ _Resp_ _Trans_ _Conn_ _Online_ _Size_
1 localhost 5028 0.001 0 2 3 hrs 59 mins 5 MB

Legend:
Resp - The response time of the gateway (seconds).
Trans - The number of transactions in the log.
Conn - The total number of read/write connections.
Online - The amount of time which the server has been online.
Size - The current size of the database.

 

--- --- --- --- --- --- --- ---

 

S U M M A R Y (2017-04-07 00:40:13.315 GMT) S U M M A R Y

_APP_ _ACTIVE_GW_ _STATUS_ _ISSUES_
Discussion Forums 1/1 Okay

Notifications Service 1/1 Okay

Notifications Email Processor 1/1 Okay

Channels 1/1 Okay

Collaboration 1/1 Okay

Collaboration Statistics 1/1 Okay

Personalization 1/1 Okay

Portal 1/1 Okay

Process-Design 1/1 Okay

Process-Analytics0000 1/1 Okay

Process-Analytics0001 1/1 Okay

Process-Analytics0002 1/1 Okay

Process-Exec00 1/1 Okay

Process-Exec01 1/1 Okay

Process-Exec02 1/1 Okay

appian_user@AppianServer:~/Programs/appian/server/_scripts/diagnostic$ pwd
/home/appian_user/Programs/appian/server/_scripts/diagnostic
appian_user@AppianServer:~/Programs/appian/server/_scripts/diagnostic$ cd^C
appian_user@AppianServer:~/Programs/appian/server/_scripts/diagnostic$ cd /home/appian_user/Programs/appian/search-server/bin
appian_user@AppianServer:~/Programs/appian/search-server/bin$ ./start.sh
Sourcing start.conf
SS_JAVA_OPTS: -Xms1024m -Xmx1024m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT
Appian Search Server process has been started.
appian_user@AppianServer:~/Programs/appian/search-server/bin$ cd /home/appian_user/Programs/EAP-7.0.0/bin
appian_user@AppianServer:~/Programs/EAP-7.0.0/bin$ ./standalone.sh
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /home/appian_user/Programs/EAP-7.0.0

JAVA: /usr/lib/jvm/java-8-oracle/bin/java

JAVA_OPTS: -verbose:gc -Xloggc:"/home/appian_user/Programs/EAP-7.0.0/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms2048m -Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Duser.timezone=GMT -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -server -Dappian.home.ear=/home/appian_user/Programs/appian/ear -Djboss.as.management.blocking.timeout=3600 -Dorg.jboss.resolver.warning=true -Djboss.server.default.config=standalone.xml

=========================================================================

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006ca660000, 1973026816, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1973026816 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/appian_user/Programs/EAP-7.0.0/bin/hs_err_pid22880.log

 

 

Also I attached the /home/appian_user/Programs/EAP-7.0.0/bin/hs_err_pid22880.log

 

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1973026816 bytes for committing reserved memory.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (os_linux.cpp:2627), pid=22880, tid=0x00007f8542c20700
#
# JRE version:  (8.0_121-b13) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

---------------  T H R E A D  ---------------

Current thread (0x00007f853c00c000):  JavaThread "Unknown thread" [_thread_in_vm, id=22881, stack(0x00007f8542b20000,0x00007f8542c21000)]

Stack: [0x00007f8542b20000,0x00007f8542c21000],  sp=0x00007f8542c1f370,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xac703a]  VMError::report_and_die()+0x2ba
V  [libjvm.so+0x4fc7eb]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b
V  [libjvm.so+0x923c43]  os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103
V  [libjvm.so+0x924199]  os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V  [libjvm.so+0x91e4aa]  os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V  [libjvm.so+0xac2d99]  VirtualSpace::expand_by(unsigned long, bool)+0x199
V  [libjvm.so+0xac38ee]  VirtualSpace::initialize(ReservedSpace, unsigned long)+0xee
V  [libjvm.so+0x5faa31]  CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0xf1
V  [libjvm.so+0x4e5f5e]  ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(ReservedSpace, unsigned long, int, CardTableRS*, bool, FreeBlockDictionary<FreeChunk>::DictionaryChoice)+0x4e
V  [libjvm.so+0x5fbaf2]  GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0xf2
V  [libjvm.so+0x5ea92e]  GenCollectedHeap::initialize()+0x1de
V  [libjvm.so+0xa8eff3]  Universe::initialize_heap()+0xf3
V  [libjvm.so+0xa8f55e]  universe_init()+0x3e
V  [libjvm.so+0x63d4f5]  init_globals()+0x65
V  [libjvm.so+0xa72c4e]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
V  [libjvm.so+0x6d1d94]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x745e]  JavaMain+0x9e
C  [libpthread.so.0+0x76ba]  start_thread+0xca


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x00007f853c00c000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=22881, stack(0x00007f8542b20000,0x00007f8542c21000)]

VM state:not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
00400000-00401000 r-xp 00000000 fd:01 770198                             /usr/lib/jvm/java-8-oracle/bin/java
00600000-00601000 rw-p 00000000 fd:01 770198                             /usr/lib/jvm/java-8-oracle/bin/java
01595000-015b6000 rw-p 00000000 00:00 0                                  [heap]
6c0000000-6ca660000 rw-p 00000000 00:00 0 
740000000-7c0000000 ---p 00000000 00:00 0 
7f8520000000-7f8520021000 rw-p 00000000 00:00 0 
7f8520021000-7f8524000000 ---p 00000000 00:00 0 
7f85277ff000-7f8527853000 rw-p 00000000 00:00 0 
7f8527853000-7f8527fff000 ---p 00000000 00:00 0 
7f8527fff000-7f8528000000 rw-p 00000000 00:00 0 
7f8528000000-7f8528021000 rw-p 00000000 00:00 0 
7f8528021000-7f852c000000 ---p 00000000 00:00 0 
7f852c188000-7f852c611000 rw-p 00000000 00:00 0 
7f852c611000-7f852c612000 ---p 00000000 00:00 0 
7f852c612000-7f852c712000 rw-p 00000000 00:00 0 
7f852c712000-7f852c713000 ---p 00000000 00:00 0 
7f852c713000-7f852c81d000 rw-p 00000000 00:00 0 
7f852c81d000-7f852cbd3000 ---p 00000000 00:00 0 
7f852cbd3000-7f852ce43000 rwxp 00000000 00:00 0 
7f852ce43000-7f853bbd3000 ---p 00000000 00:00 0 
7f853bbd3000-7f853bbed000 r-xp 00000000 fd:01 770303                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so
7f853bbed000-7f853bded000 ---p 0001a000 fd:01 770303                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so
7f853bded000-7f853bdee000 rw-p 0001a000 fd:01 770303                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libzip.so
7f853bdee000-7f853bdf9000 r-xp 00000000 fd:01 58453                      /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f853bdf9000-7f853bff8000 ---p 0000b000 fd:01 58453                      /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f853bff8000-7f853bff9000 r--p 0000a000 fd:01 58453                      /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f853bff9000-7f853bffa000 rw-p 0000b000 fd:01 58453                      /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f853bffa000-7f853c000000 rw-p 00000000 00:00 0 
7f853c000000-7f853c03c000 rw-p 00000000 00:00 0 
7f853c03c000-7f8540000000 ---p 00000000 00:00 0 
7f85400a4000-7f85400af000 r-xp 00000000 fd:01 58446                      /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f85400af000-7f85402ae000 ---p 0000b000 fd:01 58446                      /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f85402ae000-7f85402af000 r--p 0000a000 fd:01 58446                      /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f85402af000-7f85402b0000 rw-p 0000b000 fd:01 58446                      /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f85402b0000-7f85402c6000 r-xp 00000000 fd:01 58448                      /lib/x86_64-linux-gnu/libnsl-2.23.so
7f85402c6000-7f85404c5000 ---p 00016000 fd:01 58448                      /lib/x86_64-linux-gnu/libnsl-2.23.so
7f85404c5000-7f85404c6000 r--p 00015000 fd:01 58448                      /lib/x86_64-linux-gnu/libnsl-2.23.so
7f85404c6000-7f85404c7000 rw-p 00016000 fd:01 58448                      /lib/x86_64-linux-gnu/libnsl-2.23.so
7f85404c7000-7f85404c9000 rw-p 00000000 00:00 0 
7f85404c9000-7f85404d1000 r-xp 00000000 fd:01 58455                      /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f85404d1000-7f85406d0000 ---p 00008000 fd:01 58455                      /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f85406d0000-7f85406d1000 r--p 00007000 fd:01 58455                      /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f85406d1000-7f85406d2000 rw-p 00008000 fd:01 58455                      /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f85406d2000-7f85406fd000 r-xp 00000000 fd:01 770330                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so
7f85406fd000-7f85408fc000 ---p 0002b000 fd:01 770330                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so
7f85408fc000-7f85408fe000 rw-p 0002a000 fd:01 770330                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjava.so
7f85408fe000-7f854090b000 r-xp 00000000 fd:01 770281                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so
7f854090b000-7f8540b0a000 ---p 0000d000 fd:01 770281                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so
7f8540b0a000-7f8540b0c000 rw-p 0000c000 fd:01 770281                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libverify.so
7f8540b0c000-7f8540b13000 r-xp 00000000 fd:01 58456                      /lib/x86_64-linux-gnu/librt-2.23.so
7f8540b13000-7f8540d12000 ---p 00007000 fd:01 58456                      /lib/x86_64-linux-gnu/librt-2.23.so
7f8540d12000-7f8540d13000 r--p 00006000 fd:01 58456                      /lib/x86_64-linux-gnu/librt-2.23.so
7f8540d13000-7f8540d14000 rw-p 00007000 fd:01 58456                      /lib/x86_64-linux-gnu/librt-2.23.so
7f8540d14000-7f8540e1c000 r-xp 00000000 fd:01 58447                      /lib/x86_64-linux-gnu/libm-2.23.so
7f8540e1c000-7f854101b000 ---p 00108000 fd:01 58447                      /lib/x86_64-linux-gnu/libm-2.23.so
7f854101b000-7f854101c000 r--p 00107000 fd:01 58447                      /lib/x86_64-linux-gnu/libm-2.23.so
7f854101c000-7f854101d000 rw-p 00108000 fd:01 58447                      /lib/x86_64-linux-gnu/libm-2.23.so
7f854101d000-7f8541ceb000 r-xp 00000000 fd:01 770334                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so
7f8541ceb000-7f8541eeb000 ---p 00cce000 fd:01 770334                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so
7f8541eeb000-7f8541fc4000 rw-p 00cce000 fd:01 770334                     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so
7f8541fc4000-7f854200f000 rw-p 00000000 00:00 0 
7f854200f000-7f85421ce000 r-xp 00000000 fd:01 58449                      /lib/x86_64-linux-gnu/libc-2.23.so
7f85421ce000-7f85423ce000 ---p 001bf000 fd:01 58449                      /lib/x86_64-linux-gnu/libc-2.23.so
7f85423ce000-7f85423d2000 r--p 001bf000 fd:01 58449                      /lib/x86_64-linux-gnu/libc-2.23.so
7f85423d2000-7f85423d4000 rw-p 001c3000 fd:01 58449                      /lib/x86_64-linux-gnu/libc-2.23.so
7f85423d4000-7f85423d8000 rw-p 00000000 00:00 0 
7f85423d8000-7f85423db000 r-xp 00000000 fd:01 58445                      /lib/x86_64-linux-gnu/libdl-2.23.so
7f85423db000-7f85425da000 ---p 00003000 fd:01 58445                      /lib/x86_64-linux-gnu/libdl-2.23.so
7f85425da000-7f85425db000 r--p 00002000 fd:01 58445                      /lib/x86_64-linux-gnu/libdl-2.23.so
7f85425db000-7f85425dc000 rw-p 00003000 fd:01 58445                      /lib/x86_64-linux-gnu/libdl-2.23.so
7f85425dc000-7f85425f1000 r-xp 00000000 fd:01 769413                     /usr/lib/jvm/java-8-oracle/lib/amd64/jli/libjli.so
7f85425f1000-7f85427f1000 ---p 00015000 fd:01 769413                     /usr/lib/jvm/java-8-oracle/lib/amd64/jli/libjli.so
7f85427f1000-7f85427f2000 rw-p 00015000 fd:01 769413                     /usr/lib/jvm/java-8-oracle/lib/amd64/jli/libjli.so
7f85427f2000-7f854280a000 r-xp 00000000 fd:01 58460                      /lib/x86_64-linux-gnu/libpthread-2.23.so
7f854280a000-7f8542a09000 ---p 00018000 fd:01 58460                      /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8542a09000-7f8542a0a000 r--p 00017000 fd:01 58460                      /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8542a0a000-7f8542a0b000 rw-p 00018000 fd:01 58460                      /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8542a0b000-7f8542a0f000 rw-p 00000000 00:00 0 
7f8542a0f000-7f8542a35000 r-xp 00000000 fd:01 58450                      /lib/x86_64-linux-gnu/ld-2.23.so
7f8542b20000-7f8542b23000 ---p 00000000 00:00 0 
7f8542b23000-7f8542c25000 rw-p 00000000 00:00 0 
7f8542c28000-7f8542c30000 rw-s 00000000 fd:01 540703                     /tmp/hsperfdata_appian_user/22880
7f8542c30000-7f8542c31000 rw-p 00000000 00:00 0 
7f8542c31000-7f8542c32000 r--p 00000000 00:00 0 
7f8542c32000-7f8542c34000 rw-p 00000000 00:00 0 
7f8542c34000-7f8542c35000 r--p 00025000 fd:01 58450                      /lib/x86_64-linux-gnu/ld-2.23.so
7f8542c35000-7f8542c36000 rw-p 00026000 fd:01 58450                      /lib/x86_64-linux-gnu/ld-2.23.so
7f8542c36000-7f8542c37000 rw-p 00000000 00:00 0 
7ffc93efe000-7ffc93f20000 rw-p 00000000 00:00 0                          [stack]
7ffc93f69000-7ffc93f6b000 r--p 00000000 00:00 0                          [vvar]
7ffc93f6b000-7ffc93f6d000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

VM Arguments:
jvm_args: -D[Standalone] -verbose:gc -Xloggc:/home/appian_user/Programs/EAP-7.0.0/standalone/log/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms2048m -Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Duser.timezone=GMT -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -Dappian.home.ear=/home/appian_user/Programs/appian/ear -Djboss.as.management.blocking.timeout=3600 -Dorg.jboss.resolver.warning=true -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=/home/appian_user/Programs/EAP-7.0.0/standalone/log/server.log -Dlogging.configuration=file:/home/appian_user/Programs/EAP-7.0.0/standalone/configuration/logging.properties 
java_command: /home/appian_user/Programs/EAP-7.0.0/jboss-modules.jar -mp /home/appian_user/Programs/EAP-7.0.0/modules org.jboss.as.standalone -Djboss.home.dir=/home/appian_user/Programs/EAP-7.0.0 -Djboss.server.base.dir=/home/appian_user/Programs/EAP-7.0.0/standalone
java_class_path (initial): /home/appian_user/Programs/EAP-7.0.0/jboss-modules.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/lib/jvm/java-8-oracle
PATH=/home/appian_user/bin:/home/appian_user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
SHELL=/bin/bash
DISPLAY=:1.0

Signal Handlers:
SIGSEGV: [libjvm.so+0xac78c0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xac78c0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x920ac0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x920ac0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x920ac0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x920ac0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x922300], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none


---------------  S Y S T E M  ---------------

OS:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"

uname:Linux 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64
libc:glibc 2.23 NPTL 2.23 
rlimit: STACK 8192k, CORE 0k, NPROC 15751, NOFILE 65536, AS infinity
load average:0.25 0.30 0.31

/proc/meminfo:
MemTotal:        4046564 kB
MemFree:         1231176 kB
MemAvailable:    1499852 kB
Buffers:           40028 kB
Cached:           467292 kB
SwapCached:            0 kB
Active:          2425376 kB
Inactive:         259620 kB
Active(anon):    2180888 kB
Inactive(anon):    55840 kB
Active(file):     244488 kB
Inactive(file):   203780 kB
Unevictable:        3656 kB
Mlocked:            3656 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:               180 kB
Writeback:             0 kB
AnonPages:       2181384 kB
Mapped:           157428 kB
Shmem:             56632 kB
Slab:              72164 kB
SReclaimable:      47052 kB
SUnreclaim:        25112 kB
KernelStack:        7360 kB
PageTables:        21856 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2023280 kB
Committed_AS:    5119412 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:   1460224 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       86008 kB
DirectMap2M:     4108288 kB
DirectMap1G:           0 kB


CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, lzcnt, tsc, bmi1, bmi2

/proc/cpuinfo:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz
stepping	: 2
microcode	: 0x1
cpu MHz		: 1799.997
cache size	: 30720 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm vnmi ept fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat
bugs		:
bogomips	: 3599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 63
model name	: Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz
stepping	: 2
microcode	: 0x1
cpu MHz		: 1799.997
cache size	: 30720 KB
physical id	: 1
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm vnmi ept fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat
bugs		:
bogomips	: 3599.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:



Memory: 4k page, physical 4046564k(1231176k free), swap 0k(0k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for linux-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 16:36:53 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Fri Apr  7 00:43:26 2017
elapsed time: 0 seconds (0d 0h 0m 0s)

  Discussion posts and replies are publicly visible

  • Forgot to mention, OS is Ubuntu 16.04 64 bits, 4GB RAM
  • Hi rogeliog,

    The minimum amount of memory required to run the software in any capacity is 6-8Gb, if you aren't doing any real development. The error that you are getting is telling you that there is not even enough memory to launch the JVM that will be hosting the application server, which is why it won't come up. Please refer to docs.appian.com/.../System_Requirements.html for more guidance on the system requirements to run Appian.

    Additionally, it appears that you are using JBoss 7, which is an unsupported version of any Appian installation. While this isn't the cause of the issue you are seeing, it may well cause problems down the line.

  • Thanks, what i did was to stop any other procesees not used by appian and change version of JBOSS to 6.4.0 (i couln&#x27;t find 6.4.11 referenced in prerequisites documentation.

    After that, again started appian server, search server and now when starting jboss sends this output

    Any ideas?
  • The console logs show that some ports are already in use.
  • There's something that  says in the output

    Maybe image is not clear. It says

    16:15:40,455 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.3.4.Final-redhat-1
    16:15:40,517 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 29) JBAS014612: Operation ("add") failed - address: ([
    ("subsystem" => "datasources"),
    ("jdbc-driver" => "com.mysql.jdbc")
    ]) - failure description: "JBAS010441: Failed to load module for driver [com.mysql.jdbc]"
    16:15:40,529 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.

     

    It says that could not find the driver but there it is, inside folder "<REPO_HOME>/bin/jboss/jboss-eap-6.4/mysql-connector-java-5.1.41-bin.jar"

     

    And many more Errors

    16:16:01,417 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.BootstrapSpringContextLoaderListener: com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSourceConfig' defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: Factory method 'primaryDataSourceConfig' threw exception; nested exception is com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the Appian data source. (APNX-1-4179-004)
    at com.appiancorp.common.BootstrapSpringContextLoaderListener.createBootstrapContext(BootstrapSpringContextLoaderListener.java:116) [appian-common.jar:]
    at com.appiancorp.common.BootstrapSpringContextLoaderListener.lambda$doContextInitialized$2(BootstrapSpringContextLoaderListener.java:103) [appian-common.jar:]
    at com.appiancorp.security.changelog.AuditLogLocationService.callWithLocation(AuditLogLocationService.java:23) [appian-security.jar:]
    at com.appiancorp.common.BootstrapSpringContextLoaderListener.doContextInitialized(BootstrapSpringContextLoaderListener.java:98) [appian-common.jar:]
    at com.appiancorp.common.web.StartupHaltingServletContextListener.contextInitialized(StartupHaltingServletContextListener.java:66) [appian-common.jar:]
    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
    at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primaryDataSourceConfig' defined in com.appiancorp.common.spring.BootstrapSpringConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: Factory method 'primaryDataSourceConfig' threw exception; nested exception is com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the Appian data source. (APNX-1-4179-004)
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at com.appiancorp.common.BootstrapSpringContextLoaderListener.createBootstrapContext(BootstrapSpringContextLoaderListener.java:112) [appian-common.jar:]
    ... 15 more
    Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appiancorp.rdbms.config.PrimaryDataSourceConfig]: Factory method 'primaryDataSourceConfig' threw exception; nested exception is com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the Appian data source. (APNX-1-4179-004)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 27 more
    Caused by: com.appiancorp.common.config.FatalConfigurationException: com.appiancorp.suiteapi.common.exceptions.AppianException: An unexpected error occurred while trying to initialize and validate the Appian data source. (APNX-1-4179-004)
    at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:45) [appian-suiteapi.jar:]
    at com.appiancorp.common.config.FatalConfigurationException.<init>(FatalConfigurationException.java:23) [appian-common.jar:]
    at com.appiancorp.rdbms.config.PrimaryDataSourceConfig.<init>(PrimaryDataSourceConfig.java:29) [appian-rdbms.jar:]
    at com.appiancorp.common.spring.BootstrapSpringConfig.primaryDataSourceConfig(BootstrapSpringConfig.java:106) [appian-common.jar:]
    at com.appiancorp.common.spring.BootstrapSpringConfig$$EnhancerBySpringCGLIB$$d7f543f7.CGLIB$primaryDataSourceConfig$4(<generated>) [spring-core-4.1.6.RELEASE.jar:]
    at com.appiancorp.common.spring.BootstrapSpringConfig$$EnhancerBySpringCGLIB$$d7f543f7$$FastClassBySpringCGLIB$$806d25ce.invoke(<generated>) [spring-core-4.1.6.RELEASE.jar:]
    at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) [spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309) [spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    at com.appiancorp.common.spring.BootstrapSpringConfig$$EnhancerBySpringCGLIB$$d7f543f7.primaryDataSourceConfig(<generated>) [spring-core-4.1.6.RELEASE.jar:]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_121]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_121]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_121]
    at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_121]
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) [spring-beans-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    ... 28 more
    Caused by: javax.persistence.PersistenceException: Unable to build EntityManagerFactory
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]
    at com.appiancorp.rdbms.hb.HbConfigurationHelper$1.call(HbConfigurationHelper.java:43) [appian-rdbms.jar:]
    at com.appiancorp.rdbms.hb.HbConfigurationHelper$1.call(HbConfigurationHelper.java:40) [appian-rdbms.jar:]
    at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:21) [appian-common.jar:]
    at com.appiancorp.rdbms.hb.HbConfigurationHelper.buildEntityManagerFactory(HbConfigurationHelper.java:47) [appian-rdbms.jar:]
    at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getEntityManagerFactory(DataSourceManagerHbImpl.java:681) [appian-rdbms.jar:]
    at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.getSessionFactory(DataSourceManagerHbImpl.java:674) [appian-rdbms.jar:]
    at com.appiancorp.rdbms.hb.DataSourceManagerHbImpl.initialize(DataSourceManagerHbImpl.java:491) [appian-rdbms.jar:]
    at com.appiancorp.rdbms.config.PrimaryDataSourceConfig.<init>(PrimaryDataSourceConfig.java:20) [appian-rdbms.jar:]
    ... 39 more
    Caused by: org.hibernate.HibernateException: Could not find datasource
    at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:51) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2836) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2832) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1843) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]
    ... 47 more
    Caused by: javax.naming.NameNotFoundException: Error looking up jdbc/AppianDS, service service jboss.naming.context.java.jdbc.AppianDS is not started
    at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:133)
    at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81)
    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)
    at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:243)
    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)
    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)
    at javax.naming.InitialContext.lookup(InitialContext.java:417) [rt.jar:1.8.0_121]
    at javax.naming.InitialContext.lookup(InitialContext.java:417) [rt.jar:1.8.0_121]
    at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.6.3.Final.jar:3.6.3.Final]
    ... 54 more

    16:16:01,433 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.AppianSpringContextLoaderListener: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,434 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.object.locking.DesignObjectLockServletContextListener: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,443 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.common.config.ConfigurationLoader: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,443 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.rdbms.datasource.BusinessDataSourceValidator: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,444 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.plugins.PluginLoader: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,444 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.applications.BundledApplicationsLoader: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,444 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) JBWEB000287: Exception sending context initialized event to listener instance of class com.appiancorp.content.TransientFilesCleanup: com.appiancorp.common.web.StartupHaltingServletContextListener$StartupHaltedException: Startup halted.

    16:16:01,557 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 53) JBWEB001103: Error detected during context /suite start, will stop it
    16:16:01,640 INFO [stdout] (ServerService Thread Pool -- 53) 2017-04-10 16:16:01,637 [ServerService Thread Pool -- 53] INFO com.appiancorp.plugins.PluginLoader - Appian Plug-in Framework stopped in 0:00:00.020
    16:16:01,644 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ServerService Thread Pool -- 53) Closing Spring root WebApplicationContext
    16:16:01,708 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 53) MSC000001: Failed to start service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:99)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
    Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
    at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:168)
    at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61)
    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
    ... 6 more

    16:16:01,740 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "suite.ear")]) - failure description: {
    "JBAS014671: Failed services" => {"jboss.web.deployment.default-host./suite" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./suite: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
    Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context"},
    "JBAS014771: Services with missing/unavailable dependencies" => [
    "jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean.ValidatorFactory is missing [jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean]",
    "jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean.ValidatorFactory is missing [jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean]",
    "jboss.deployment.subunit.\"suite.ear\".\"email-handler.jar\".INSTALL is missing [jboss.deployment.subunit.\"suite.ear\".\"jms-process-integration-handler.jar\".deploymentCompleteService]",
    "jboss.deployment.subunit.\"suite.ear\".\"jms-process-integration-handler.jar\".INSTALL is missing [jboss.deployment.subunit.\"suite.ear\".\"unattended-request-handler.jar\".deploymentCompleteService]",
    "jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean.ValidatorFactory is missing [jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean]",
    "jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean.Validator is missing [jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean]",
    "jboss.deployment.unit.\"suite.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"suite.ear\".\"email-handler.jar\".deploymentCompleteService, jboss.deployment.subunit.\"suite.ear\".\"unattended-request-handler.jar\".deploymentCompleteService, jboss.deployment.subunit.\"suite.ear\".\"jms-process-integration-handler.jar\".deploymentCompleteService]",
    "jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean.Validator is missing [jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean]",
    "jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean.Validator is missing [jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean]"
    ],
    "JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
    "Services that were unable to start:" => [
    "jboss.deployment.subunit.\"suite.ear\".\"email-poller.rar\".CLEANUP",
    "jboss.deployment.subunit.\"suite.ear\".\"unattended-request-handler.jar\".INSTALL",
    "jboss.deployment.subunit.\"suite.ear\".\"unattended-request-poller.rar\".CLEANUP",
    "jboss.deployment.subunit.\"suite.ear\".\"web.war\".CLEANUP",
    "jboss.deployment.subunit.\"suite.ear\".\"web.war\".deploymentCompleteService",
    "jboss.deployment.unit.\"suite.ear\".CLEANUP"
    ],
    "Services that may be the cause:" => [
    "jboss.deployment.subunit.\"suite.ear\".\"email-handler.jar\".deploymentCompleteService",
    "jboss.deployment.subunit.\"suite.ear\".\"jms-process-integration-handler.jar\".deploymentCompleteService",
    "jboss.deployment.subunit.\"suite.ear\".\"unattended-request-handler.jar\".deploymentCompleteService",
    "jboss.jdbc-driver.com_mysql_jdbc",
    "jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean",
    "jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean",
    "jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean"
    ]
    }
    }
    16:16:01,748 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "appian-mysql-ds.xml")]) - failure description: {
    "JBAS014771: Services with missing/unavailable dependencies" => [
    "jboss.data-source.jdbc/AppianDS is missing [jboss.jdbc-driver.com_mysql_jdbc]",
    "jboss.data-source.jdbc/AppianDevDS is missing [jboss.jdbc-driver.com_mysql_jdbc]"
    ],
    "JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
    "Services that were unable to start:" => [
    "jboss.data-source.reference-factory.jdbc/AppianDS",
    "jboss.data-source.reference-factory.jdbc/AppianDevDS",
    "jboss.naming.context.java.jdbc.AppianDS",
    "jboss.naming.context.java.jdbc.AppianDevDS"
    ],
    "Services that may be the cause:" => [
    "jboss.deployment.subunit.\"suite.ear\".\"email-handler.jar\".deploymentCompleteService",
    "jboss.deployment.subunit.\"suite.ear\".\"jms-process-integration-handler.jar\".deploymentCompleteService",
    "jboss.deployment.subunit.\"suite.ear\".\"unattended-request-handler.jar\".deploymentCompleteService",
    "jboss.jdbc-driver.com_mysql_jdbc",
    "jboss.naming.context.java.comp.suite.email-handler.EmailHandlerBean",
    "jboss.naming.context.java.comp.suite.jms-process-integration-handler.JmsProcessIntegrationHandlerBean",
    "jboss.naming.context.java.comp.suite.unattended-request-handler.UnattendedRequestHandlerBean"
    ]
    }
    }

     

     

     

     

     

     

  • rogeliog, it looks like your primary database may be misconfigured, specifically I think you may not have added an "appian-ds.xml" file in "<JBOSS_HOME>/standalone/deployments/" that contains the JNDI name for your primary datasource. Please follow our documentation for configuring your RDBMS here: docs.appian.com/.../Configuring_Relational_Databases.html

    And then look under the heading "Enter the Data Source Property Values".

    If you have already created that file, than it may not be able to connect to that datasource because of the presence of a "appian-ds.xml.failed" or "appian-ds.xml.undeployed" file present in that location.

    Please follow the steps in this KB article to resolve the issue if that is the case.
    community.appian.com/.../kb-1009-could-not-find-datasource-error-thrown-during-jboss-startup