One Star

[resolved] Talend Remote job server installation error

Hello,
I have problem while adding Talend Remote job server to window services. I have tried running Job server manually through command line, it runs fine without any issues.
I have followed the the adding Talend Remote server to windows service as per documentation. I have changed the default jsl.exe with jslstatic.exe since my OS is 64 bit. I have given the error details below. Please help. 
Talend Enterprise Version 5.3.1 Build id: r104014
Operating System: Windows 2008 R2 server 64 bit
Java: JDK "1.6.0_37" 64 bit
E:\Talend\5.3.1\jobserver>jsl.exe -debug
Env Entry: cmdline =
Env Entry: jrepath = E:\Program Files\Java\jdk1.6.0_37
Env Entry: jvmtype =
Env Entry: dependencies =
Env Entry: starttype = auto
Env Entry: account =
Env Entry: password =
Env Entry: loadordergroup =
Env Entry: wrkdir =
Env Entry: appname = TalendJobServers
Env Entry: servicename = talend-rjs
Env Entry: displayname = Talend Remote Job Server
Env Entry: servicedescription = Talend Remote Job Server
Env Entry: stdout =
Env Entry: stderr =
Env Entry: stdoutappend = no
Env Entry: stderrappend = no
Env Entry: systemout =
Env Entry: systemerr =
Env Entry: systemoutappend = no
Env Entry: systemerrappend = no
Env Entry: interactwithdesktop = no
Env Entry: onexiterror = ignore
Env Entry: reportservicestoppedonmainthreadexit = no
Env Entry: stopclass = java/lang/System
Env Entry: stopmethod = exit
Env Entry: stopsignature = (I)V
Env Entry: stopparams =
Env Entry: pauseclass =
Env Entry: pausemethod =
Env Entry: pausesignature =
Env Entry: pauseparams =
Env Entry: contclass =
Env Entry: contmethod =
Env Entry: contsignature =
Env Entry: contparams =
Env Entry: premainclass =
Env Entry: premainmethod = run
Env Entry: premainsignature = ()I
Env Entry: premainparams =
Env Entry: useconsolehandler = yes
Env Entry: path =
Env Entry: modulepath =
Env Entry: export =
Env Entry: param00 = -cp
Env Entry: param00 = -cp
Env Entry: param01 = E:\Talend\5.3.1\jobserver\agent;E:\Talend\5.3.1\jobserver\a
gent\lib\jmxremote_optional.jar;
Env Entry: param02 = -Djava.library.path=E:\Talend\5.3.1\jobserver\agent\jsysmon
-20061229\native\windows\
Env Entry: param03 = -Dcom.sun.management.jmxremote
Env Entry: param04 = -Dtalend_props=E:\Talend\5.3.1\jobserver\agent\conf\TalendJ
obServer.properties
Env Entry: param05 = org.talend.remote.jobserver.service.WindowsJobServer
Debugging Talend Remote Job Server.
Now starting JVM
Path for JVM: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows
\System32\WindowsPowerShell\v1.0\;E:\Program Files\TortoiseSVN\bin;E:\Program Fi
les\Java\jdk1.6.0_37\bin;E:\Talend\5.3.1\jobserver\agent;E:\Program Files\Java\j
dk1.6.0_37\jre\bin
ControlHandler registered after JVM start
Exception in thread "main" java.lang.NoClassDefFoundError: com/roeschter/jsl/Sto
pable
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Caused by: java.lang.ClassNotFoundException: com.roeschter.jsl.Stopable
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 12 more
Now destroying JVM
Stopping Talend Remote Job Server.
Trying to stop service via JNI call to java/lang/System.exit
Done
Exiting

Regads,
Karthick
4 REPLIES
Seventeen Stars

Re: [resolved] Talend Remote job server installation error

I know, installing a java program as Windows service is a nightmare.
I usually avoid this and setup for the jobserver a task scheduler entry. There is a trigger called "System starts" and this event triggers the batch file to start the job server and another event is used to stop the server. Probably this is much easier to handle for you as the jsl crap.
OR better you switch to Linux ;-) 
Community Manager

Re: [resolved] Talend Remote job server installation error

Hi
Are the procedures you've checked on the documentation the following:
https://help.talend.com/search/all?query=Configuring+JSL+and+.ini+file+for+the+CommandLine+and+JobSe...
and then
https://help.talend.com/search/all?query=JobServer&content-lang=en
If so, then you could open a ticket with the Support portal to get a quick assistance.
Elisa
Community Manager

Re: [resolved] Talend Remote job server installation error

Actually there is also this KB article to help: https://community.talend.com/t5/Installation/Installing-Job-Server-as-a-Microsoft-Windows-Service/ta-p/21687/jump-to/first-unread-message
Employee

Re: [resolved] Talend Remote job server installation error

Hi,
If you can send your jsl ini fine (jsl.ini or jsl_static.ini base on your OS) i can check and let you know.
Make sure that your path of the libraries are on the same line in the ini file.
Thanks,