Thanks peter.
No the application doent open any window
Iam able to solve the problem.
In the jsl.exe -debug mode, the configuration file is to be placed outside the application jar, but while running the application as a service ,it was not able to find the config file which is in the root directory.The config file should be placed inside the jar.
Iam able to debug this by uncommenting
systemerr=c:\systemerr.log
in the jsl.ini file