One Star

[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
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] Commandline installation issues

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!!
8 REPLIES
One Star

Re: [resolved] Commandline installation issues

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

Re: [resolved] Commandline installation issues

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Commandline installation issues

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

Re: [resolved] Commandline installation issues

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.ProxyRepositoryFactory - Administrador, Administrator logged on FACTURES_TELEFONIA

ExecutionServer
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
WARN AbstractDataCleaner - pathFolder is not a directory: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/./TalendJobServersFiles/archiveJobs
WARN AbstractDataCleaner - pathFolder is not a directory: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/./TalendJobServersFiles/archiveJobs

Log4j (TAC)
2011-02-07 12:10:26 WARN  SoaManagerCommand  - SoaManager server needs to be running for this action, currently, it's not
2011-02-07 12:10:27 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-07 12:10:29 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-07 12:10:30 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-07 12:10:44 INFO JMXClient - JMX connection: service:jmx:jmxmp://localhost:8888 The client has been closed.
2011-02-07 12:13:59 ERROR ExecutionTaskHandler - java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ, contextParams=null]
org.talend.administrator.scheduler.exception.ExecutionTaskException
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1160)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.talend.administrator.common.exception.SystemException: java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ
2011-02-07 12:17:45 INFO JMXClient - Connecting a JMX connector (1) for URL: service:jmx:jmxmp://localhost:8888
2011-02-07 12:18:16 INFO RemoteJobExecution - ###### Task STARTED - ExecutionTask, contextParams=null]
2011-02-07 12:19:35 ERROR ExecutionTaskHandler - java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ, contextParams=null]
org.talend.administrator.scheduler.exception.ExecutionTaskException
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1160)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.talend.administrator.common.exception.SystemException: java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ
2011-02-07 12:24:16 INFO RemoteJobExecution - ###### Task STARTED - ExecutionTask, contextParams=null]
2011-02-07 12:25:33 ERROR ExecutionTaskHandler - InputStream closed.
java.io.IOException: InputStream closed.
at org.talend.commandline.client.util.ReaderWriterHandler.throwException(Unknown Source)
at org.talend.commandline.client.util.ReaderWriterHandler.readUntil(Unknown Source)
at org.talend.commandline.client.util.ResponseInterpreter.parse(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.sendCommandAndParse(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.getStatus(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.getCommandStatusAndWait(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.addCommandAndWait(Unknown Source)
at org.talend.administrator.commandline.CommandLineCommandManager.setUserComponentPath(CommandLineCommandManager.java:41)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:452)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:783)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1071)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2011-02-07 12:25:33 ERROR RemoteJobExecution - ###### Exception 'class org.talend.administrator.scheduler.exception.ExecutionTaskException': null:ExecutionTask, contextParams=null]
org.talend.administrator.scheduler.exception.ExecutionTaskException
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1160)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.io.IOException: InputStream closed.
at org.talend.commandline.client.util.ReaderWriterHandler.throwException(Unknown Source)
at org.talend.commandline.client.util.ReaderWriterHandler.readUntil(Unknown Source)
at org.talend.commandline.client.util.ResponseInterpreter.parse(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.sendCommandAndParse(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.getStatus(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.getCommandStatusAndWait(Unknown Source)
at org.talend.commandline.client.CommandLineJavaClient.addCommandAndWait(Unknown Source)
at org.talend.administrator.commandline.CommandLineCommandManager.setUserComponentPath(CommandLineCommandManager.java:41)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:452)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:783)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1071)
... 4 more
2011-02-07 12:25:33 INFO RemoteJobExecution - ###### Task ENDED with error(s) - ExecutionTask
2011-02-09 13:22:17 INFO TriggerHandler - Quartz Trigger '1' can't be found to be removed, it may have been already consumed.
2011-02-09 13:22:33 INFO RemoteJobExecution - ###### Task STARTED - ExecutionTask, contextParams=null]
2011-02-09 13:26:51 ERROR ExecutionTaskHandler - java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ, contextParams=null]
org.talend.administrator.scheduler.exception.ExecutionTaskException
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1160)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.talend.administrator.common.exception.SystemException: java.lang.Exception: java.lang.NoSuchMethodError: org.talend.designer.runprocess.ProcessorUtilities.generateCode(Lorg/talend/core/model/properties/ProcessItem;Ljava/lang/String;ZZZ
2011-02-10 09:31:44 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-10 09:31:45 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-10 09:39:30 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-10 09:39:31 WARN SoaManagerCommand - SoaManager server needs to be running for this action, currently, it's not
2011-02-10 09:40:56 INFO TriggerHandler - Quartz Trigger '1' can't be found to be removed, it may have been already consumed.
2011-02-10 09:41:08 INFO RemoteJobExecution - ###### Task STARTED - ExecutionTask, contextParams=null]
2011-02-10 09:45:30 ERROR ExecutionTaskHandler - org.talend.designer.runprocess.ProcessorException: java.lang.reflect.InvocationTargetException:
at org.talend.commandline.util.JobHandler.export(Unknown Source)
at org.talend.commandline.command.CommandProcessor.doExportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessor.exportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseExportJobCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException:
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.run(Unknown Source)
... 9 more
Caused by: java.io.FileNotFoundException: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/archiveJobs/task_1/1297327268607_task_1.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.talend.repository.documentation.ZipFileExporterFullPath.<init>(Unknown Source)
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.initialize(Unknown Source)
... 10 more
org.talend.administrator.common.exception.SystemException: org.talend.designer.runprocess.ProcessorException: java.lang.reflect.InvocationTargetException:
at org.talend.commandline.util.JobHandler.export(Unknown Source)
at org.talend.commandline.command.CommandProcessor.doExportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessor.exportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseExportJobCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException:
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.run(Unknown Source)
... 9 more
Caused by: java.io.FileNotFoundException: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/archiveJobs/task_1/1297327268607_task_1.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.talend.repository.documentation.ZipFileExporterFullPath.<init>(Unknown Source)
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.initialize(Unknown Source)
... 10 more
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:505)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:783)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1071)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.talend.commandline.client.command.CommandStatusWrapException: org.talend.designer.runprocess.ProcessorException: java.lang.reflect.InvocationTargetException:
at org.talend.commandline.util.JobHandler.export(Unknown Source)
at org.talend.commandline.command.CommandProcessor.doExportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessor.exportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseExportJobCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException:
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.run(Unknown Source)
... 9 more
Caused by: java.io.FileNotFoundException: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/archiveJobs/task_1/1297327268607_task_1.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.talend.repository.documentation.ZipFileExporterFullPath.<init>(Unknown Source)
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.initialize(Unknown Source)
... 10 more
2011-02-10 09:45:31 ERROR RemoteJobExecution - ###### Exception 'class org.talend.administrator.scheduler.exception.ExecutionTaskException': null:ExecutionTask, contextParams=null]
org.talend.administrator.scheduler.exception.ExecutionTaskException
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1160)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.executeRemoteJob(RemoteJobExecution.java:296)
at org.talend.administrator.scheduler.jobs.RemoteJobExecution.execute(RemoteJobExecution.java:187)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: org.talend.administrator.common.exception.SystemException: org.talend.designer.runprocess.ProcessorException: java.lang.reflect.InvocationTargetException:
at org.talend.commandline.util.JobHandler.export(Unknown Source)
at org.talend.commandline.command.CommandProcessor.doExportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessor.exportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseExportJobCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException:
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.run(Unknown Source)
... 9 more
Caused by: java.io.FileNotFoundException: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/archiveJobs/task_1/1297327268607_task_1.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.talend.repository.documentation.ZipFileExporterFullPath.<init>(Unknown Source)
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.initialize(Unknown Source)
... 10 more
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:505)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:783)
at org.talend.administrator.scheduler.business.ExecutionTaskHandler.runJobUnit(ExecutionTaskHandler.java:1071)
... 4 more
Caused by: org.talend.commandline.client.command.CommandStatusWrapException: org.talend.designer.runprocess.ProcessorException: java.lang.reflect.InvocationTargetException:
at org.talend.commandline.util.JobHandler.export(Unknown Source)
at org.talend.commandline.command.CommandProcessor.doExportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessor.exportJob(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseExportJobCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException:
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.run(Unknown Source)
... 9 more
Caused by: java.io.FileNotFoundException: /opt/talend/org.talend.remote.jobserver_4.0.3_r47759/archiveJobs/task_1/1297327268607_task_1.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at org.talend.repository.documentation.ZipFileExporterFullPath.<init>(Unknown Source)
at org.talend.repository.documentation.ArchiveFileExportOperationFullPath.initialize(Unknown Source)
... 10 more
2011-02-10 09:45:31 INFO RemoteJobExecution - ###### Task ENDED with error(s) - ExecutionTask
Community Manager

Re: [resolved] Commandline installation issues

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Commandline installation issues

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
Community Manager

Re: [resolved] Commandline installation issues

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Commandline installation issues

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!!