diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/auth.pl b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/auth.pl deleted file mode 100644 index 87e34f73b75..00000000000 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/auth.pl +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/perl -w -#******************************************************************************* -# Copyright (c) 2005, 2006 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -#******************************************************************************* - -use Shell; - -if (!defined($ARGV[0]) || !defined($ARGV[1]) || !defined($ARGV[2]) || !defined($ARGV[3]) || !defined($ARGV[4])) -{ - print("command usage:\n"); - print("auth.pl USER, PATH, PORT, TIMEOUT, TICKET\n"); -} -else -{ - $userIN = $ARGV[0]; - $pathIN = $ARGV[1]; - $portIN = $ARGV[2]; - $timeoutIN = $ARGV[3]; - $ticketIN = $ARGV[4]; - - if (defined($ARGV[5])) - { - $javaHome = $ARGV[5]; - $javaExe = "$javaHome/bin/java"; - } - else - { - $javaExe = "java" - } - - $pwdIN = ; - chomp($pwdIN); - - - @passwdStruct = getpwnam($userIN); - - if (@passwdStruct == 0) - { - print("invalid user name\n"); - 0; - } - else - { - $passwd=$passwdStruct[1]; - $encryptedPWD = crypt($pwdIN, $passwd); - $classpath=$ENV{CLASSPATH}; - $suOptions="-"; - - if ($passwd eq $encryptedPWD) - { - print("success\n"); - - system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'"); - 1; - } - else - { - print("incorrect password\n"); - 0; - } - } -} diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/daemon.pl b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/daemon.pl deleted file mode 100644 index d101d2933a3..00000000000 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/daemon.pl +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/perl -w -#******************************************************************************* -# Copyright (c) 2005, 2006 IBM Corporation and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -#******************************************************************************* - -$port = "4035"; -$helpFlag = "-h"; - -if (defined($ARGV[0])) -{ - $port = $ARGV[0]; -} - - -$isHelp = $helpFlag cmp $port; -if ($isHelp == 0) -{ - print("command usage:\n"); - print("daemon.linux [ | -] [ -]\n"); - 0; -} -else -{ - $trace = $ENV{DSTORE_TRACING_ON}; - $user=`whoami`; chomp($user); - $match = $user cmp "root"; - - if ($match != 0) - { - print("WARNING: To run the server daemon, you must have root authority\n"); - } - - { - $dir= $ENV{PWD}; - $plugins_dir=$dir; - - $ENV{A_PLUGIN_PATH}="$plugins_dir/"; - - $oldClasspath = $ENV{CLASSPATH}; - - $ENV{"CLASSPATH"}="$plugins_dir:$plugins_dir/dstore_extra_server.jar:$plugins_dir/dstore_core.jar:$plugins_dir/dstore_miners.jar:$plugins_dir/clientserver.jar:$oldClasspath"; - - if (defined($ARGV[1])) - { - system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -DDSTORE_TRACING_ON=$trace org.eclipse.dstore.core.server.ServerLauncher $port $ARGV[1]"); - } - else - { - system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -DDSTORE_TRACING_ON=$trace org.eclipse.dstore.core.server.ServerLauncher $port"); - } - } -} diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/server.sh b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/server.sh deleted file mode 100644 index 79fcfb11a1f..00000000000 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/aix/server.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -#******************************************************************************* -# Copyright (c) 2005, 2006 IBM Corporation, Wind River Systems, Inc. and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -# Martin Oberhuber (Wind River) - Fix for solaris (Bourne Shell export statement) -#******************************************************************************* -# Shell script to start an RSE communications server -# This script will start the datastore server listening on an available socket - -serverpath=.; -PATH=/usr/java131/jre/bin:$PATH -CLASSPATH=/usr/java131/jre/lib/rt.jar:/usr/jdk_base/lib/classes.zip:$CLASSPATH -CLASSPATH=.:dstore_extra_server.jar:dstore_core.jar:dstore_miners.jar:clientserver.jar:$CLASSPATH; -export serverpath PATH CLASSPATH -java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 &