GIS-GSAP 7.6.300.04 : service crash while starting

Hello,

Sincen we use the last version of the GIS-GSAP, we have a problem by starting it like a windows service.

Genesys Integration Server
Genesys Telecommunications Laboratories, Inc.
Product (Component)
Name Genesys Integration Server
Package Version 7.6.300.04
Build Date 2010-03-24
Build Number 1
Language English (United States)
Release Type General

When I try to use the “startserver.bat” it works correctly.

When I try to use the service, I have the following error :

2010-06-30 18:18:38,166 INFO  [           main] gging.LoggingService Enabling console logger Logging.console=ERROR (F)
2010-06-30 18:18:38,182 INFO  [           main] gging.LoggingService Disabling message server logger  (F)
2010-06-30 18:18:38,182 INFO  [           main] gging.LoggingService GSAP logger goes non-addititve (F)
2010-06-30 18:18:38,182 INFO  [           main] gging.LoggingService Removing starup appender (F)
2010-06-30 18:18:38,182 INFO  [           main] gging.LoggingService Disabling appender:RootFile (F)
2010-06-30 18:18:38,182 INFO  [           main] gging.LoggingService Disabling appender:RootConsole (F)
2010-06-30 18:18:38,182 DEBUG [           main] gging.LoggingService <- start (F)
2010-06-30 18:18:38,182 INFO  [           main] config.ServiceConfig Starting:LicenseService[LicenseService.licensefile=7260@INCTIR01;LicenseService.blockSize=1;LicenseService.heartbeatInterval=10000] (F)
2010-06-30 18:18:38,182 INFO  [           main] erver.LicenseService Starting with config:LicenseService[LicenseService.licensefile=7260@INCTIR01;LicenseService.blockSize=1;LicenseService.heartbeatInterval=10000] (F)
2010-06-30 18:18:38,854 INFO  [           main] erver.LicenseService Feature GIS : 1 license(s) checked out (F)
2010-06-30 18:18:38,870 INFO  [           main] erver.LicenseService Server license checked out:com.genesyslab.gsap.server.LicenseService$1@1ebd75b (F)
2010-06-30 18:18:38,870 INFO  [           main] erver.LicenseService blockSize=1 (F)
2010-06-30 18:18:38,870 DEBUG [           main] .ReactorErrorHandler -> configure (F)
2010-06-30 18:18:38,870 INFO  [           main] .ReactorErrorHandler No server.process.skipexceptions configured, using default (F)
2010-06-30 18:18:38,870 DEBUG [           main] .ReactorErrorHandler <- configure (F)
2010-06-30 18:18:38,870 DEBUG [           main] ap.server.LCAService -> start (F)
2010-06-30 18:18:38,870 INFO  [           main] config.ServiceConfig Starting:LCAService[LCAService.app=Genesys.CfgLib.CfgApplication[isDelta=false,DBID=153,name=GIS_GSAP,state=CFGEnabled,userProperties=null,deletedUserProperties=null,changedUserProperties=null,type=CFGIntegrationServer,version=7.6.300.04,options=Genesys.ComLib.TKV.TKVList@19d0a1,deletedOptions=null,changedOptions=null,password=,appServerDBIDs=[Genesys.CfgLib.CfgConnInfo[appServerDBID=150,connProtocol=,timoutLocal=0,timoutRemote=0,mode=CFGTMBoth]],deletedAppServerDBIDs=null,tenantDBIDs=[101],deletedTenantDBIDs=null,isServer=CFGTrue,serverInfo=Genesys.CfgLib.CfgApplication$CfgServer[hostDBID=103,port=6080,backupServerDBID=0,timeout=10,attempts=1],appPrototypeDBID=278,flexibleProperties=null,workDirectory=D:\GCTI\GIS\server\GSAP761,commandLine=GISGSAPDriver.exe,commandLineArguments=-service GIntegSrv,autoRestart=CFGFalse,startupTimeout=90,shutdownTimeout=90,startupType=CFGSUTAutomatic,redundancyType=ColdStandby,isPrimary=CFGTrue];LCAService.lcaport=4999;LCAService.configuredServerRole=STANDALONE] (F)
 ...
2010-06-30 18:19:57,268 INFO  [           main] .commons.net.Reactor Precreating threads:2000 (F)
2010-06-30 18:20:02,284 DEBUG [           main] b.gsap.server.Server <- start (F)
2010-06-30 18:20:02,284 FATAL [           main] .gsap.server.Manager Startup failed (F)
java.lang.OutOfMemoryError: unable to create new native thread
 at java.lang.Thread.start(Native Method)
 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(Unknown Source)
 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.createThreads(Unknown Source)
 at com.genesyslab.gsap.commons.net.Reactor.<init>(Reactor.java:73)
 at com.genesyslab.gsap.server.Server.start(Server.java:50)
 at com.genesyslab.gsap.server.Manager.startPrimary(Manager.java:117)
 at com.genesyslab.gsap.server.Manager.start(Manager.java:101)
 at com.genesyslab.gsap.server.Bootstrapper.doStartService(Bootstrapper.java:56)
 at com.genesyslab.gsap.server.Bootstrapper.main(Bootstrapper.java:42)
2010-06-30 18:20:02,300 DEBUG [           main] .gsap.server.Manager -> shutdown (F)

Any ideas or it is a bug ?

Have you tried to change memory allocation limits of the startup file? (service.bat??) Change the -Xmx option to give bigger amount of memory..

1 Like

Yes, but it changes nothing.

The funny thing is that it is working using the BATCH file !

GIS 7.6.3 need JDK and JAVA_HOME environment variable set correctly.

If not, it will not start as a service - only as an application.

Been there myself… :frowning: