
Anonymous
Not applicable
2011-08-03
04:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[resolved] commandline will not listen on port 8002
OS : RHEL 5.4 64 bit
Talend 4.2.2
Summary: Command line starts but there is no listener on port 8002
Steps to reproduce
1. Unzip Talend-All-r63143-V4.2.2.zip
2. Cd Talend-All-r63143-V4.2.2
3. Run 64 bit talend in gui mode to verify it works ./Talend-linux-gtk-x86_64
4. Enter license key, connect to project, run job ? all work fine
5. Modify command.sh to use 64 bit version of Talend. Command now is:
./Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
6. Run the command in the background
./commandline.sh &
23522
# !SESSION 2011-08-03 08:18:01.652 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002
Command-line arguments: -os linux -ws gtk -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
!ENTRY org.talend.commandline 1 0 2011-08-03 08:18:08.569
!MESSAGE Starting up Command Line Application
7. This starts two processes:
ps -ef | grep Talend-linux-gtk
root 23523 23522 0 08:18 pts/2 00:00:00 ./Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
root 23524 23523 9 08:18 pts/2 00:00:11 /usr/share/java-1.6.0/jdk1.6.0_26/bin/java -Xms64m -Xmx1536m -XX:MaxPermSize=256m -jar /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os linux -ws gtk -arch x86_64 -launcher /opt/apps/talend/Talend-All-r63143-V4.2.2/Talend-linux-gtk-x86_64 -name Talend-linux-gtk-x86_64 --launcher.library /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so -startup /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 1a800e -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 -vm /usr/share/java-1.6.0/jdk1.6.0_26/bin/java -vmargs -Xms64m -Xmx1536m -XX:MaxPermSize=256m -jar /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
root 23574 18495 0 08:20 pts/2 00:00:00 grep Talend-linux-gtk
8. But there is no listener on port 8002
# telnet localhost 8002
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
# netstat -ln | grep 8002
How to get the command service to accept connections?
Talend 4.2.2
Summary: Command line starts but there is no listener on port 8002
Steps to reproduce
1. Unzip Talend-All-r63143-V4.2.2.zip
2. Cd Talend-All-r63143-V4.2.2
3. Run 64 bit talend in gui mode to verify it works ./Talend-linux-gtk-x86_64
4. Enter license key, connect to project, run job ? all work fine
5. Modify command.sh to use 64 bit version of Talend. Command now is:
./Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
6. Run the command in the background
./commandline.sh &
23522
# !SESSION 2011-08-03 08:18:01.652 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application org.talend.commandline.CommandLine startServer -p 8002
Command-line arguments: -os linux -ws gtk -arch x86_64 -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
!ENTRY org.talend.commandline 1 0 2011-08-03 08:18:08.569
!MESSAGE Starting up Command Line Application
7. This starts two processes:
ps -ef | grep Talend-linux-gtk
root 23523 23522 0 08:18 pts/2 00:00:00 ./Talend-linux-gtk-x86_64 -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002
root 23524 23523 9 08:18 pts/2 00:00:11 /usr/share/java-1.6.0/jdk1.6.0_26/bin/java -Xms64m -Xmx1536m -XX:MaxPermSize=256m -jar /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os linux -ws gtk -arch x86_64 -launcher /opt/apps/talend/Talend-All-r63143-V4.2.2/Talend-linux-gtk-x86_64 -name Talend-linux-gtk-x86_64 --launcher.library /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.0.v20100503/eclipse_1307.so -startup /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 1a800e -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 -vm /usr/share/java-1.6.0/jdk1.6.0_26/bin/java -vmargs -Xms64m -Xmx1536m -XX:MaxPermSize=256m -jar /opt/apps/talend/Talend-All-r63143-V4.2.2/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
root 23574 18495 0 08:20 pts/2 00:00:00 grep Talend-linux-gtk
8. But there is no listener on port 8002
# telnet localhost 8002
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
# netstat -ln | grep 8002
How to get the command service to accept connections?
532 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2011-08-15
11:12 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem turned out to be a corrupt JAR in the install. I re-extracted and it works fine without the & at the end as you suggest. Now how to run the command line as a service? When I run in the background it doesn't work, it seems tied to the console.
532 Views
2 Replies

Anonymous
Not applicable
2011-08-08
01:50 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try without & at the end of the command
./commandline.sh
Then do a telnet in another shell.
Then if it is working, shutdown the commandline by stopServer command and install the commandline as service.
./commandline.sh
Then do a telnet in another shell.
Then if it is working, shutdown the commandline by stopServer command and install the commandline as service.
532 Views

Anonymous
Not applicable
2011-08-15
11:12 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem turned out to be a corrupt JAR in the install. I re-extracted and it works fine without the & at the end as you suggest. Now how to run the command line as a service? When I run in the background it doesn't work, it seems tied to the console.
533 Views
