Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hopgal

    DB2 Developer's Guide, 5th edition

    I have it, and I think it is good if you are a DBA, but not necessarily for Java or C++ Programmers who write code to connect to DB2. It has a lot of information I DON'T need, but not some things that I DO, need. For example, it will explain the concept of pooled data sources but does not tell...
  2. hopgal

    Runtime.exec possible to change LOGNAME, USER env vars?

    stefanwagner: Yes, this might help, thanks, I will check it out! As it is, I have been working with the IS Security people to change the ssh key to the one the app is really running under (most of the time). However, since this sometimes runs under root as well, it is not an ideal solution...
  3. hopgal

    Is there a way to get sudo to not ask for a password?

    What about using the sudo -S option so that you can input the password via stdin instead of the terminal?
  4. hopgal

    Runtime.exec possible to change LOGNAME, USER env vars?

    [morning] No, changing the env params didn't work. Even though the env appears to have the parameters set as I requested, the ssh command is still prompting me for a password as if it is being executed by someone other than wkadmin, and my process is still returning 255. Here is my output...
  5. hopgal

    Runtime.exec possible to change LOGNAME, USER env vars?

    I am trying to run a UNIX ssh command from a Java application, which needs to be run by a specific username or it won't have the correct permissions to execute. The application runs under a different username. I have tried setting the env. variables for LOGNAME and USER and USERNAME to the one...
  6. hopgal

    SRVE0023E Virtual Host/Web Group not found error

    Did you add this application to your server configuration? I am using 5.0, but this worked for me.
  7. hopgal

    Disabling Several buttons through Script

    Thanks! I finally realized mine wasn't working because I wasn't putting quotes around the word "true"!!! :-)
  8. hopgal

    Getting utl_file.invalid_path exception in Oracle9i

    Dima, I didn't know this was a server-side package. I thought it was a feature built into PL/SQL, like a library function in C. It would seem like a good thing to have. Thanks to everybody for your help & suggestions, but I decided to just write a Java class to do what I need. Oh well, at...
  9. hopgal

    Getting utl_file.invalid_path exception in Oracle9i

    The case_ids file contains a list of test case id's. It is not the result of a query. I am trying to extract some data from a test database and put it into text files so that it is in a format I can use for input into a LoadRunner script. That's why I need the output to go into a file. I...
  10. hopgal

    Getting utl_file.invalid_path exception in Oracle9i

    I have written a script to read data from a file, execute a SQL query, then write the data to an output file. I was getting this error: "ORA-20000: utl_file.invalid_path" when I had my read/write files in C:\scripts on my local drive. In SQL*Plus, I executed "show parameters" and the...
  11. hopgal

    Need help getting started with UNIX scripting

    Any recommendations for websites to get me started or with some sample shell scripts? I am a Java/C programmer who has never written a shell script before. I have to write one that will retrieve some tar files via FTP and then untar them, create a new directory with the same name as the date...
  12. hopgal

    Ethernet Card model recommendations for Win2K

    Are there any cards which work especially well/are easily installed on Windows 2000? I have had trouble with 2 brands of cards so far, and am about to give up. Details: I have had trouble getting ethernet adapter/network cards to work on my Compaq Presario laptop, which is running Windows...
  13. hopgal

    Ampersand character in strings to be concatenated

    Yes, that was it. It wasn't the ampersand at all. I am more used to using Strings in Java, which is much easier! Thanks for your help.
  14. hopgal

    Sorting an array of strings!!

    Thanks, bigtamscot! I will look at this, but was hoping for an easier way than creating a new function. Oops, I meant to start this as a new thread. [blush] Anyone else who has an answer, please reply under the other thread. Thanks.
  15. hopgal

    Ampersand character in strings to be concatenated

    I want to create a string using strcat, problem is it will contain the ampersand character. How do you handle special characters like this using the string manipulation functions? Here is my code that is failing on the last line with a memory access violation (I think because & is used in...
  16. hopgal

    Sorting an array of strings!!

    I want to create a string using strcat, problem is it will contain the ampersand character. How do you handle special characters like this using the string manipulation functions? Here is my code that is failing on the last line with a memory access violation (I think because & is used in...
  17. hopgal

    Making a form "always on top" / form persistence

    Thanks so much! I was looking for some code to do this. You are my hero! :-) Remove "nospam" from my email address to reply.
  18. hopgal

    Error Message not appearing on client when using RAISERROR

    I thought that the app would have been programmed to display SQL errors of any kind. But obviously it isn't. I guess I am going to have to write some C++ or VB code to pop up a message box. Remove "nospam" from my email address to reply.
  19. hopgal

    What does it mean by extends

    This is a very important concept in java: inheritance. "Extends" is a keyword meaning that the TEST class inherits the fields and methods of AnotherClass. TEST is a subclass of AnotherClass. For example, you might have a class called Shapes with subclasses of Circle, Square...
  20. hopgal

    Error Message not appearing on client when using RAISERROR

    No, it's PVCS Tracker, a defect tracking tool. I am trying to set it up with some extra triggers to enforce our SQA rules. The vendor says there is no way to pass the error messages back through their app. I am now trying to find some alternate way to display the error messages. I can't...

Part and Inventory Search

Back
Top