Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[resolved] Commandline installation issues

Hi,
We've been trying to install commandline but installation guide is not clear enough and I suspect we're missing something. I give you five cents on our architecture, we have on the same Ubuntu 10.04 x32bit:
Tomcat6 + TAC
TISTE 4.0.3 -> at /opt/talend/TISTE
Apache SVN Repository: http://localhost/tiste
ExecutionJobServer running

In the installation guide says:
? Copy your Talend Integration Suite Studio archive file on the same machine as your web
application, Talend Integration Suite Administration Center.
? Unzip it under a folder the name of which does NOT contain any space character.
? Then rename the decompressed folder to CommandLine.

So we did the following steps:
cp /opt/talend/TISTE /opt/talend/CommandLine

We had TISTE uncompressed at /opt/talend/TISTE so we copy that directory.
Next step asks to:
"For reasons of right management, make sure you launch the CommandLine using the same administrator
account as for Tomcat. E.g.: Create an account TISAdmin for both Tomcat and Commandline."

Since our tomcat user is tomcat6 we did:
sudo chown tomcat6 /opt/talend/CommandLine -R
sudo chgrp tomcat6 /opt/talend/CommandLine -R

Then we started CommandLine with the same administraor accound as we launch tomcat (wich is sudo, root user);
cd /opt/talend/CommandLine
sudo ./commandline.sh

We get the following output:
!SESSION 2011-02-09 12:54:02.509 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=es_ES
Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002
Command-line arguments: -os linux -ws gtk -arch x86 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
!ENTRY org.talend.commandline 1 0 2011-02-09 12:54:12.541
!MESSAGE Starting up Command Line Application
talend>

When we try to execute a Job via JobScheduler we get the following:
!ENTRY org.eclipse.core.resources 2 10035 2011-02-09 12:55:57.010
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.talend.libraries 1 0 2011-02-09 12:56:12.884
!MESSAGE 2011-02-09 12:56:12,882 INFO org.talend.repository.model.ProxyRepositoryFactory - Administrador, Administrator logged on FACTURES_TELEFONIA

The project we're launching via JobScheduler is FACTURES_TELEFONIA so it seems to be fine.
And at ExecutionJobServer we get:
INFO  TalendJobServerMain - Starting the Talend Job server agent
INFO TalendJobServerMain -
!!--------------------------------------------------------------------------------------------------!!
!! !!
!! Talend Job server agent !!
!! Version: 4.0.2 Compatible with versions: 4.0.2 !!
!! !!
!!--------------------------------------------------------------------------------------------------!!
INFO PropertiesLoader - Loading Properties from file: '/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/conf/TalendJobServer.properties'
INFO TalendJobServer - PROPERTIES: List of input properties:
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/opt/talend/org.talend.remote.jobserver_4.0.3_r47759:/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/lib/log4j-1.2.15.jar:/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/lib/jmxremote_optional.jar:/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/lib/commons-io-1.3.2.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/java-6-sun-1.6.0.22/jre
java.io.tmpdir=/tmp
java.library.path=/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/jsysmon-20061229/native/linux_2.6/
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_22-b04
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_22
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=17.1-b03
line.separator=
org.talend.monitoring.jmx.api.OsInfoRetriever.FORCE_LOAD=false
org.talend.monitoring.jmx.api.OsInfoRetriever.OS_PARTITIONS=/,/dev,/home
org.talend.remote.jobserver.server.JobServerConfiguration.FREQUENCY_CLEAN_ACTION=600
org.talend.remote.jobserver.server.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_EXECUTIONS_LOGS=7776000
org.talend.remote.jobserver.server.JobServerConfiguration.MAX_DURATION_BEFORE_CLEANING_OLD_JOBS=7776000
org.talend.remote.jobserver.server.JobServerConfiguration.MAX_OLD_EXECUTIONS_LOGS=1000
org.talend.remote.jobserver.server.JobServerConfiguration.MAX_OLD_JOBS=200
org.talend.remote.jobserver.server.JobServerConfiguration.ROOT_PATH=./TalendJobServersFiles
org.talend.remote.jobserver.server.TalendJobServer.COMMAND_SERVER_PORT=8000
org.talend.remote.jobserver.server.TalendJobServer.FILE_SERVER_PORT=8001
org.talend.remote.jobserver.server.TalendJobServer.LOCAL_HOST=localhost
org.talend.remote.jobserver.server.TalendJobServer.MONITORING_PORT=8888
org.talend.remote.jobserver.server.fileevent.FileChangedSensor.FileEvent.checkFileCountBeforeFire=10
os.arch=i386
os.name=Linux
os.version=2.6.32-28-generic-pae
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes
sun.boot.library.path=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot Tiered Compilers
sun.os.patch.level=unknown
talend_props=/opt/talend/org.talend.remote.jobserver_4.0.3_r47759/conf/TalendJobServer.properties
user.country=ES
user.dir=/opt/talend/org.talend.remote.jobserver_4.0.3_r47759
user.home=/home/talend
user.language=es
user.name=talend
user.timezone=Europe/Madrid
PROPERTIES: End of list.
INFO AbstractDataCleaner - JobServerCleaner started.
WARN AbstractDataCleaner - pathFolder is not a directory: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/./TalendJobServersFiles/archiveJobs
INFO MultiSocketServer - FileServer Started on 0.0.0.0/0.0.0.0:8001
INFO MultiSocketServer - CommandServer Started on 0.0.0.0/0.0.0.0:8000
INFO OSInformationAgent - Talend OS Information agent Version: 2.0.0
INFO OSInformationAgent - Create the MBean server with service URL: service:jmx:jmxmp://localhost:8888
INFO OSInformationAgent - Register the OsInfoRetrieverMBean
INFO OSInformationAgent - Create and start the JMX connector server
INFO OSInformationAgent - The JMX connector server successfully started.
INFO TalendJobServer - =========== JobServer successfully started ===========
WARN AbstractDataCleaner - pathFolder is not a directory: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/./TalendJobServersFiles/archiveJobs

But it gets stuck at that point, after some minutes JobScheduler passes from "Generating..." status to "Error while generating Job"
What am I doing wrong?
Thanks
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi Shong,
Thanks for answering so quick.
I gave bash to tomcat6 user and I did the following:
sudo - su tomcat6
cd /opt/talend/Cmdline/TIS_TE-All-r47759-V4.0.3
./commandline.sh

And the job launched properly!!
Many thanks!!

View solution in original post

8 Replies
_AnonymousUser
Specialist III
Specialist III
Author

Just to clarify...
I wrote down SVN url wrong, the right one should be: http://localhost/repotis
Anonymous
Not applicable

Hi Jocoves
1. Don't name or rename the folder as 'commandline', we have updated the installation guide. It is better to specify the path when you unzip the archive file. eg:
unzip TDQ_EE_MPX-All-r43696-V4.0.2.zip -d /opt/talend/Cmdline
2. From the output of commandline, I see that you have successfully launched commandline. If you are getting this message on output,
"!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes."
try to stop the commandline, delete the commandline-workspace and restart it again.
3. if you are failed to generate a job, ." status to "Error while generating Job", make sure you are able to connect to commandline, and send us the tac log.
Best regards
Shong
Anonymous
Not applicable

Hi Shong,
Thanks for you answer. Could you send me the last version of installation guide?
Do you need log4jc.xml?
Anonymous
Not applicable

I uncompressed commandline as you said and relaunched the whole
process. I attach the following logs:
commandline, executionserver and log4j (TAC).
I'm waiting for your answer.
Thanks
Commandline
!
SESSION 2011-02-10 09:39:17.048 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=es_ES
Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002
Command-line arguments: -os linux -ws gtk -arch x86 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
!ENTRY org.talend.commandline 1 0 2011-02-10 09:39:20.962
!MESSAGE Starting up Command Line Application
!ENTRY org.talend.libraries 1 0 2011-02-10 09:41:22.103
!MESSAGE 2011-02-10 09:41:22,101 INFO org.talend.repository.model.P


To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable

Hi
What's the status of task now? ready to generate or ready to run? From the tac log, I see it is an access permission problem, do you use the same user to launch jobserver?
Best regards
Shong
Anonymous
Not applicable

Hi Shong,
The status is "Ready to generate" but it also shows the following warning: "Error while generating job".
My picture is the following:
S.O. user: talend
TISTE user: talend
JobServer user: talend
CommandLine user: talend
TAC user : tomcat6
But for the configuration to work I had to change the owner of /opt/talend/Cmdline to tomcat6 because otherwise it raises an error at configuration at TAC. What should I do?
Note: talend user belongs to tomcat6 group
Anonymous
Not applicable

Hello
Use the same user tomcat6 to launch commandline and try to generate the task again, if the problem still be "Error while generating job", please send me the new error message in tac log.
Best regards
Shong
Anonymous
Not applicable

Hi Shong,
Thanks for answering so quick.
I gave bash to tomcat6 user and I did the following:
sudo - su tomcat6
cd /opt/talend/Cmdline/TIS_TE-All-r47759-V4.0.3
./commandline.sh

And the job launched properly!!
Many thanks!!