Running CGI scripts

Hi,
I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
to execute CGI script:reports" when I try to execute cgi-bin scripts
(*.cgi).
I have setup the properties file as follows -
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin
and am trying to access cgi script as
http://<host:port>/cgi-bin/reports/ntcgi.cgi
Appreciate your help.
Raja

Marta,
Thanks for your reply. I followed your advice, it still complains
cgi-bin: Failed to exec CGI script:ntcgi.cgi
Any ideas?
Raja
Marta Ramos wrote:
Hi,
I had the same problem. Try this:
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin/reports
And access to the cgi script as
http://<host:port>/cgi-bin/ntcgi.cgi
Do not ask me why, but WebLogic do not admit directories after
the cgi-bin directory at the URL. That is why he is trying to
execute the cgi script "reports".
Hope this help you.
Marta.
Raja Ramanathan <[email protected]> wrote:
Hi,
I am running WebLogic Server 5.1. I get the message - "cgi-bin: Failed
to execute CGI script:reports" when I try to execute cgi-bin scripts
(*.cgi).
I have setup the properties file as follows -
weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
weblogic.httpd.initArgs.cgi-bin=\
cgiDir=/export/home/webbi/NetTracker/cgi-bin
and am trying to access cgi script as
http://<host:port>/cgi-bin/reports/ntcgi.cgi
Appreciate your help.
Raja

Similar Messages

  • Firefox profile got corrupted? can't run cgi scripts anymore

    Something happened recently that hosed my ability to run cgi scripts from my firefox profile.  If I browse to my local webserver at http://localhost/blah I was able to run a cgi script.  Now for some reason, firefox asks me if to save the script rather than running it.
    Opening monitorix.cgi
    You have chosen to open monitorix.cgi
    which is a: BIN file
    from: http://localhost
    Would you like to save this file?
    [Cancel] [Save File]
    If I load firefox with a fresh profile, I am able to run the cgi script with no such problems.  I don't want to create a new profile to solve this.  Does anyone know which setting controls this behavior so I can fix it?
    Thanks!
    EDIT: this is too weird.  If I browse to http://reborn/blah (reborn is the hostname of my local PC) rather than http://localhost/blah, the script runs just fine!  What's going on?  Again, this localhost problem only affect my user's firefox profile.
    Last edited by graysky (2010-02-06 19:52:44)

    Same thing seems to be true when I try connecting to other PC's on my LAN.  If I use their hostname I get nothing, if I use their IP it works.
    Browsing to --> http://mars/http will result in firefox trying to connect "transferring data from mars..." and it hangs as such forever.
    Browsing to --> http://192.168.1.101 will result in the page loading perfectly.
    If I repeat the above using a new profile within firefox, everything works!  I'm at a loss to explain it.
    $ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost reborn
    192.168.0.101 mars
    Last edited by graysky (2010-02-06 19:56:50)

  • Running cgi script placed on one machine by a web server installed on anoth

    I have weblogic installed on machine 1 and
    CGI Script placed on another machine 2.
    Is it possible for Weblogic to service/run CGI Script placed on machine 2. If so how can we do it.

    Mah
    I don't know about Weblogic, but here is some code that POSTs to a CGI script (XXX.pl) with a few parameters and retrieves part of the result (and HTML table) in a large string.
    Maybe you could use this kind of thing:
    protected String getTable(String hostID, Interval interval) throws IOException{
    StringBuffer query=new StringBuffer(100);
    Socket s = new Socket("some.host.com",80);
    BufferedReader in = new BufferedReader
    (new InputStreamReader(s.getInputStream()));
    PrintWriter out= new PrintWriter(s.getOutputStream());
    Calendar c=Calendar.getInstance();
    c.setTime(interval.getStart());
    query.append("s%5fm="+MonthConverter.int2mmm(c.get(Calendar.MONTH)));
    query.append("&s%5fd="+c.get(Calendar.DAY_OF_MONTH));
    query.append("&byear="+c.get(Calendar.YEAR));
    query.append("&Report=Submit");
    out.print("POST /cgi-bin/XXX.pl?site="+hostID+" HTTP/1.0\n");
    out.print("Accept: text/html\n");
    out.print("User-Agent: yourapplicationname\n");
    out.print("From: myemail@myhost\n");
    out.print("Content-type: application/x-www-form-urlencoded\n");
    out.print("Content-length: "+query.length()+"\n\n");
    out.print(query.toString());
    out.flush();
    String line;
    boolean finished=false;
    boolean started=false;
    StringBuffer resultBuffer=new StringBuffer(1000);
    while ((line = in.readLine()) !=null
    && !finished) {
    if (line.indexOf("Tmin,Tmax and Precipitation amount")>-1)
    started=true;
    if (started)
    resultBuffer.append(line);
    if (line.indexOf("</HTML>")>0)
    finished=true;
    out.close();
    in.close();
    return resultBuffer.toString();

  • Error running HAL routine from a perl cgi script via a browser

    Hi,
    I'm getting an error while trying to run a HAL routine from a perl- cgi initiated from a web browser. Perl-Cgi script runs fine when run from command line.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Started
    07/23/2010|183648|AppName/Plan2|Info|Connect|Method Started
    07/23/2010|183648|AppName/Plan2*|Error|Connect|java.lang.UnsatisfiedLinkError: no HssJNIDriver950 in java.library.path*
    07/23/2010|183648|AppName/Plan2|Error|Connect|Method Ended - Connect completed with exceptions.
    07/23/2010|183648|N/A|Info|N/A|Analytic Services Adapter Log File Ended
    I've added the following env. variables in Apache server's httpd.conf file
    SetEnv ARBORPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv APS_HOME "E:\\Hyperion\\products\\Essbase\\aps"
    SetEnv ESSLANG "English_UnitedStates.Latin1@Binary"
    SetEnv EASPATH "E:\\Hyperion\\products\\Essbase\\eas\\server"
    SetEnv HYPERION_HOME "E:\\Hyperion"
    SetEnv ESSBASEPATH "E:\\Hyperion\\products\\Essbase\\EssbaseClient"
    SetEnv EAS_HOME "E:\Hyperion\products\Essbase\eas\console"
    SetEnv CLASSPATH "E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter"
    SetEnv PATH "E:\\Hyperion\\common\\ADM\\9.5.0.0\\Essbase\\9.5.0.0\\bin;E:\\Vignette\\V7\\vbis\\Hyperion\\EssbaseAdapter\\adm;C:\\Program Files (x86)\\Java\\jre1.5.0_17\\bin\\;E:\\Hyperion\\products\\Essbase\\EssbaseClient\\bin;E:\\Hyperion\\products\\Essbase\\EssbaseClient;E:\\Hyperion\\common\\CSS\\9.5.0.0\\bin;E:\\Hyperion\\products\\Essbase\\eas\\console\\bin;"
    Any pointers would be appreciated.
    Thanks in Advance!!

    Vipul,
    Vipul Sanghvi wrote:
    I am facing problem in running a Perl CGI Script on Weblogic
    Application
    Server
    I set the CGIServlet Property in the Weblogic Properties file as
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/weblogic/myserver/public_html/cgi-bin,\
    *.pl=/bin/perl.exe,\It shouldn't end with ,\ right?
    Was it a mistake?
    -Kumar
    >
    I installed the Perl on my system and put the perl exe in the bin
    directory
    of the Weblogic App Server. But I am getting the error "failed to
    execute
    the test.pl ". Where test.pl is a simple test perl script.
    APP server ver is WLE5 Beta[att1.html]

  • Running a Perl CGI Script on WLS5beta

    I am facing problem in running a Perl CGI Script on Weblogic
    Application
    Server
    I set the CGIServlet Property in the Weblogic Properties file as
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/weblogic/myserver/public_html/cgi-bin,\
    *.pl=/bin/perl.exe,\
    I installed the Perl on my system and put the perl exe in the bin
    directory
    of the Weblogic App Server. But I am getting the error "failed to
    execute
    the test.pl ". Where test.pl is a simple test perl script.
    APP server ver is WLE5 Beta

    Vipul,
    Vipul Sanghvi wrote:
    I am facing problem in running a Perl CGI Script on Weblogic
    Application
    Server
    I set the CGIServlet Property in the Weblogic Properties file as
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/weblogic/myserver/public_html/cgi-bin,\
    *.pl=/bin/perl.exe,\It shouldn't end with ,\ right?
    Was it a mistake?
    -Kumar
    >
    I installed the Perl on my system and put the perl exe in the bin
    directory
    of the Weblogic App Server. But I am getting the error "failed to
    execute
    the test.pl ". Where test.pl is a simple test perl script.
    APP server ver is WLE5 Beta[att1.html]

  • LMS 3.2 Apache 403 Error on CGI Scripts

    I've been chasing my tail for a couple of days now, and see no other option than to ask here.  It's probably something reall
    y dumb that I'm just not seeing.
    On a Windows 2008 server with SP1 LMS 3.2 is running fine (as long as no one uses stupid scripts ;o)) on a good day, but whenever I try to access any of the cgi scripts installed under Program Files/CSCOpx/cgi-bin it get the dreaded "You don't have permission to access /cgi-bin/dbadmin/pdbadmin/nph-dbreader.pl on this server".  The httpd.conf section for the CGI handling is as follows:
    ScriptAlias /cgi-bin/ "D:/PROGRA~2/CSCOpx/cgi-bin/"
    <Directory "D:/PROGRA~2/CSCOpx/cgi-bin">
    AllowOverride None
    Options +ExecCGI
    AddHandler cgi-script .pl
    #ScriptInterpreterSource Registry-Strict
    ScriptInterpreterSource Script
    </Directory>
    LoadModule perl_module modules/mod_perl.so
    What I would like to know is what have I missed..?  You can see my first attempt by replacing the ScriptInterpreterSource from Registry-Script to the default, Script, to no avail...
    Also, if I make any modifications to the httpd.conf file I cannot just restart the Apache daemon, I have to stop and start the daemon manager, otherwise no one can access the web login page: is that normal..?  As in the following:
    The Apache daemon is restarted:
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Child process is running
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Acquired the start mutex.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting 500 worker threads.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 1741.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 443.
    Lots of the following messages appear in the error.log file:
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: com.cisco.nm.cmf.servlet.LwmsMainServlet
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: D:/Program Files/CSCOpx/cgi-bin/error/403.pl
    Any help would be most appreciated...
    Regards,
    Sean

    I have no expirience with the W2008 OS yet.
    I get the impression it does things differently.
    If you know the casuser password, I asume you can try to log onto the server and try an run the perl script in a dos box.
    Maybe it will provide a clue.
    if you don't know the casuser password you can set it using CSCOpx\bin\resetpasswd.exe.
    Cheers,
    Michel

  • WebLogic 6.1SP3: CGI Script Displayed, Not Processed

    I've setup CGI support in my WebLogic 6.1SP3 installation, on my Solaris box. I am attempting to run a simple script that prints a message to the screen/browser. When I attempt to run the CGI script, I see the contents of the script on screen. The script is never actually processed.
    Has anyone else encountered such a problem?

    Hi Rick,
    Just a shot in the dark, but does the script have eXecute privs? You
    should ask your question in the webserver newsgroup group:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.webserver&utag=
    Thanks,
    Bruce
    Rick wrote:
    >
    I've setup CGI support in my WebLogic 6.1SP3 installation, on my Solaris box. I am attempting to run a simple script that prints a message to the screen/browser. When I attempt to run the CGI script, I see the contents of the script on screen. The script is never actually processed.
    Has anyone else encountered such a problem?

  • Can servlets/ jsp automatically run perl scripts and executables?

    I'm a student and am new to to servlets and web programming in general.
    I need to know if it's possible to run perl scripts and executables automatically from servlets/ jsp.
    The program I am planning on creating should have a client outside a firewall that uploads perl files to a gateway machine inside the firewall, the servlet should be able to run this perl file, and then pass the resulting file as an argument to an executable, to be run by another servlet on a different server.
    I've tried looking everwhere for an answer to this and am about to revert to a cgi based approach because I'm not sure if it would work so any help/ suggestions would be much appreciated.

    Hallo,
    I think using java Runtime will help. you can do Processes that execute shell or system commands through
    Process process = Runtime.getRuntime().exec("your perl scripts here!");
    Bye

  • How to run CGI-C in Mac?

    What must I do to run CGI-C scripts in Mac?
    We were required in class to use CGI for the server-side processing of HTML. And we use the C programming language.
    Anyway, so what I did was that I made an HTML file in Documents with form action='/Library/WebServer/CGI-Executables/sample3.cgi', made a C file and compiled it in CGI (sample3.cgi). I saved this in /Library/WebServer/CGI-Executables but when I ran the HTML file and clicked some buttons, it opened the folder instead and did not execute the CGI file. My professor said something about setting up a web server first, but he didn't exactly tell me how, why and how it was going to help with anything. Can anyone tell me the best thing that I should do in step-by-step? Or if there was something wrong with the directories I used? Thaank you.
    For additional info, I use 2013 MacBook Air, the gcc compiler for C and Xcode as my editor.

    Sorry been away for a few days.
    If the local web server is running you should be able to access the cgi files by referencing them in your HTML document as
    /cgi-bin/program_name
    I know the folder is CGI-Executables but the httpd.conf file aliases that to cgi-bin so that is the name you use in the HTML code.  Try that and see if it works.
    Here is a simple perl cgi script
    #! /usr/bin/perl
    print "Content-type: text/html\n\n";
    print "<html><body><h1>Hello World!";
    print "</h1></body></html>\n";
    Save that to CGI-Executables as test.pl  chmod it to 755.
    With the above installed you should be ale to open a web browser and enter
    http://localhost/cgi-bin/test.pl
    and the script should run.
    Here is  a simple html document to test it also
    <html><body><h1>It WORKS! in sites</h1>
    <FORM ACTION="/cgi-bin/test.pl"
    METHOD="GET">
    <DIV>Your input:<BR>
    <INPUT NAME="data" SIZE="60" MAXLENGTH="80"><BR>
    <INPUT TYPE="SUBMIT" VALUE="Send"></DIV>
    </FORM>
    </body></html>
    When you press the submit  button  the cgi program will run.
    As I wrote its been a while since I used CGI (most of this has been replaced by php) and I can;t remember if there needs to be any changes to the https.conf if that doesn't work post back and we'll see if the conf file needs to be modified.
    regards

  • Servlet engine invoked FROM CGI script?

    Yes this is a backwards request, but I need a simple servlet engine that can be invoked through a CGI script. I perfectly realize the problems associated with this like session management, benefits in threading, etc not to mention the overhead of JVM startup on each request...
    Anything with which anyone's familiar? Searching returns (of course) how to invoke CGI from Servlet containers which is obviously not what I need.
    Thanks!

    Hi Michael,
    I am running 7.0 on Win NT while its the same case its displaying the whole content
    as it is setted the weblogic.servlet.CGIServlet in the web.xml file and providing
    the compiler for perl also .
    Looking for a quick reply
    Thanks
    Shivani
    Michael Young <[email protected]> wrote:
    Hi.
    What platform/OS version are you running WLS on?
    Thanks,
    Michael
    Suren Jain wrote:
    Hi,
    We are having problems invoking cgi scripts from the browser.
    When we try to access it, it is not executed, instead the script is displayed
    in the browser.
    We are using weblogic 5.1 and sp9.
    In the properties file we have specified
    weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
    weblogic.httpd.initArgs.cgi-bin=\
    cgiDir=/opt/equitydev/geo/cgi-bin,\
    *.pl=/usr/local/bin/perl5,\
    *.sh=/bin/ksh
    Appreciate your help.
    Thanks
    Suren.--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • "cannot execute CGI script " error

    Greetings.
    I am trying to setup a Sun One version 6.1 server. When I try to run a simple cgi script, with a .pl suffix, I get:
    "cannot execute CGI script "
    Is there anything in particular I should look for in resolving hte problem ?
    Thanks.
    alan

    One thing I'd like to mention is this document:
    Document ID: 75347
    Title: Sun[TM] ONE WebServer 6 - cannot execute CGI script - Permission denied
    which states:
    case 2: The value for the chroot is NOT set and NO rights are granted
    for cgi's to execute anywhere.
    <PROPERTY name="chroot" value=""/>
    Note that the value of "value=" above will differ from your setup but that
    the location of the line within the server.xml file should be easily
    identifiable by the formatting described above.
    To quickly identify a fix, grant permissions from the root level by
    modifying the line to look thus:
    <PROPERTY name="chroot" value=""/>
    The problem and fix look to be the same. Any idea what the fix should look like ?
    Thanks.
    alan

  • Start Virtual Machines with CGI-Scripts

    Hi @all,
    i have running some Virtual Machines on my Mac Mini Server that i want to start and stop dynamicly. I thought i can do that with CGI-Scripts. If i know the correct URL the VM will start or stop. The problem is that the script must be started with my user-id. The _www user cannot start the VM's. Is it possible that i run a CGI-Script with a different user-id? Or do you have an other idea how can i realise my requirement.
    Thank you very much
    BR
    Manuel

    thanks for your help Strontium90.
    I have compiled the binary and copied it in the path that apache wishes:
    ls -l /usr/bin/suexec
    -rwsr-x---  1 root  _www  18760 30 Mai 22:41 /usr/bin/suexec
    But when i restart the Apache Server the suexec would not be loaded. When i read the Apache Docu i should see an message an the error log that the Wrapper was loaded, but in my case the message did not appear.
    [Wed May 30 23:10:01 2012] [notice] caught SIGTERM, shutting down
    [Wed May 30 23:10:02 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 with Suhosin-Patch configured -- resuming normal operations
    Have you another tip for me?
    Thank you very much.
    BR
    Manuel

  • Are servlets like cgi scripts?

    hi all,
    are servlets like cgi scripts?
    or
    they should be embedded within the html file,
    thank you very much
    :)

    Yes, Servlets are very similar to CGI scripts -- they both run on the server and grab input from the HTTP GET or POST request, then send generated HTML back to the client browser.
    Often Servlets are described as being superior to CGI scripts because each time a CGI script is run a new process must be created. However, you can run Perl CGI scripts without starting a new process (using mod_perl, for example), and therefore that claim is unfounded.

  • CGI script

    I've made a simple CGI script that reads data from the standard input and appends it to a file, I know the script works because I've used a HTML form to send the information to it, but when I want to send the info using a java app it just doesn�t receive it.. here�s the code, can anyone help me with this??.. thanks
    class WebConn extends Thread{
    private URL url = null;
    private URLConnection conn = null;
    public WebConn(){
    try {
    url = new URL ("http://pablote83.tripod.com/cgi-bin/prueba.cgi");
    } catch (MalformedURLException e) {}
    try{
    conn = url.openConnection();
    } catch (IOException e) {System.err.println("Error en la comunicacion");}
    }//constructor
    public void run (){
    try{           
    conn.setDoOutput(true);
    PrintWriter out = new PrintWriter(conn.getOutputStream());
    out.println(URLEncoder.encode("nombre=Pablo&apodo=Pablotefecha=hoy","UTF-8"));
    out.close();
    } catch (IOException e) {System.err.println("Error al enviar los datos");}
    }//run
    public static void main (String args[]) throws Exception {
    new WebConn().start();
    }

    I added the main method to try the class but this thread is actually executed from another app.. anybody has an idea why this doesn�t work??

  • LoadVariablesNum on button to access cgi script mail form

    Greetings: I've used this method many times in the past to create an email form in a movie clip with a "send button" that accesses a perl, cgi script to email text input fields. It worked fine in past versions of Flash, but now I'm using Flash CS3 (v9.0, AS 2.0). I've tried 3 different cgi scripts I found online for this purpose and am sure the configurations for sendmail server & perl bins, etc are correct. All of the other "if" and "else" statements on the button work fine. But I can see a Safari (browser) error message saying POST was not used, but clearly it is. I'm trying to trouble shoot whether the problem is from the flash button or the cgi script.
    Has something changed in Flash CS3 from previous versions, where I'm certain it has worked before???
    Here is my button code:
    on (release) {
    //Make sure the user filled in all the required fields.
    if (name1 ne "" and name2 ne "" and subject ne "" and email ne "") {
    //Check to make sure the email address includes and @.
    i = "0";
    validmail = 0;
    while (Number(i)<=Number(length(email))) {
    if (substring(email, i, 1) eq "@") {
    validmail = 1;
    i = Number(i)+1;
    //If there's no @ in the email go to the error page.
    if (Number(validmail) == 0) {
    gotoAndStop("error");
    } else {
    //The line below assumes the script is in the same directory as the HTML page.
    loadVariablesNum("http://www.companyname.com/cgi-bin/FormMail.pl", 0, "POST");
    //Go to the confirmation frame.
    gotoAndStop("thankyou");
    } else {
    //if the user left required fields blank, show them an error message.
    gotoAndStop("error");
    Here is the error message I can access on Safari>window>activity:
    "The HTML form fails to specify the POST method, so it would not be correct for this script to take any action in response to your request.
    If you are attempting to configure this form to run with FormMail, you need to set the request method to POST in the opening form tag, like this: <form action="/cgi-bin/FormMail.pl" method="post">
    Why isn't the command from the button in the Flash swf file, being recognized by the html page?
    Thanks in advance for any help.
    Janis

    in version 6, case didn't count. after version 6, it counts.
    so, gotoandPlay(3), used to work but, not now.  you need to use gotoAndPlay(3).
    also, undefined numeric variables were assigned a default value of 0 with flash 6 and prior.  not now, they're undefined.  so, watch for code like
    while(var1<1){
    do something
    var1++;
    where var1 is never initialized.
    about policy files:  check the security class'es loadPolicyFile() method.

Maybe you are looking for

  • Crystal Reports: access to SAP BW tables in own namespace

    Hi BO experts we are running XI3.1 SP2 including reporting tools, integration kit and so on. The installation and the integration to SAP BW is working properly for most szenarios. Starting from Crystal Reports we would like to access a SAP BW table w

  • What is ealrywatch in SAP

    Hello All, Can you please tell me what do you mean by earlywatch service in SAP We have to perform early watch anaylsis if the system but dont know what it is and how to start Neha

  • Desktop App HOME Tab Problem

    Have updated to the latest version of CC desktop and when I am on the HOME tab the "Activity Stream" section that used to list all the updates I have done now just shows a constantly rotating blue circle but never loads the list of changes.  If I go

  • Import issue - folder view not refreshing

    I found this old thread https://discussions.apple.com/message/3316449#3316449 that describes the problem I am having.  The solution was to go into terminal but I don't know how to do that.  Can someone please walk me thru it?  Thanks a bunch!!!

  • Delete pictures from project screen?

    Hi all. I loaded some pics into a new project to practice with. I have deleted the pics, but they still show on my screen in new project. How do I delete them ? (Samsung Galaxy Tab 10.1) Thanks.   Jack