The appeonserver.bat file (Windows) or appeonserver.sh file (Unix\Linux) is the batch program run by Status Monitor when it detects that Appeon Server has shut down.
The appeonserver.bat file contains the following code:
REM if use EAServer6, please replace <EAServer6> with real path and uncomment the line below. start cmd /c "<EAServer6>\bin\start-server.bat" -jdk15 REM if use WebLogic, please replace <Domain> with real path and uncomment the line below. REM @start call "<Domain>\startWebLogic.cmd" REM if use WebSphere, please replace <WebSphere> with real path and uncomment the line below. REM @start call "<WebSphere>\AppServer\bin\startServer.bat" server1 REM if use JBoss, please replace <JBoss> with real path uncomment and the line below. REM @start call "<JBoss>\bin\run.bat"
Make the following changes to the file:
-
Remove the notation "REM" before the command line that starts the application server/Appeon Server.
-
Replace the wildcard character string, which stands for the application server, with the home directory of the application server.
For example, if Appeon Server works on EAServer 6.x, the following script should be modified.
Original script:
REM start cmd /c "<EAServer6>\bin\start-server.bat" -jdk15
Modified script:
start cmd /c "C:\Program Files\Sybase\EAServer6\bin\start-server.bat" -jdk15
The appeonserver.sh file contains the following script:
#If use EAServer6, please uncomment the line below. #"<EAServer6>/bin/start-server.sh" -jdk15 #If use WebLogic, please uncomment the line below. #"<Domain>/startWebLogic.sh" #If use WebSphere, please uncomment the line below. #"<WebSphere>/AppServer/bin/startServer.sh" server1 #If use JBoss, please uncomment the line below. # "<Jboss>/bin/run.sh"
Make the following changes to the file:
-
Remove the notation "#" before the command line that starts the application server/Appeon Server.
-
Replace the wildcard character string that stands for the application server, with the home directory of the application server.
For example, if Appeon Server is installed to EAServer 6.x, the following script should be modified.
Original script:
#"<EAServer6>/bin/start-server.sh" -jdk15
Modified script:
"/export/home/user/Sybase/EAServer/bin/start-server.sh" -jdk15