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 SkipVought 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: *

  • Users: patnim17
  • Order by date
  1. patnim17

    loop through a string delimited by "|"

    Its all Shell Scripting that we are using in Linux Env...I am wondering it that has anything to do with this. I tried differnt options to get this to work. Here is what my script looks like..and I get the error at line 5 saying: set: -A: invalid option Str="Tom-Andy-Jacob-Sid-Pat" echo $Str...
  2. patnim17

    loop through a string delimited by "|"

    I tried the script suggested by Annihilannic. But I get an Error saying set -A Usage is not right.. I could'nt get that code to work...
  3. patnim17

    loop through a string delimited by "|"

    Hi, If I have String that is delimited by "|", say Str="Tom|Andy|Jacob|Sid|Pat" and it can have any number fo fields... How can a loop though this string a get each name into a variable and display? pat
  4. patnim17

    field count in a delimited string

    Just out of curiosity..I was also trying to write this one mentioned by "bdintegrations": #!/usr/bin/awk -f BEGIN { string="yxs|yud|abc|def|ghi"; n=split(string,array,"|"); print(n); exit; } How do I do this inside a shell script. I poened up test.sh and copied the above in it and it doesn't...
  5. patnim17

    field count in a delimited string

    thanks that worked like a charm !!
  6. patnim17

    field count in a delimited string

    Hi, I have a String delimited by a pipes."|" eg: yxs|yud|abc|def|ghi I want to find the count of the fields, so in this case it should be 5. How can I get it linux/unix? pat
  7. patnim17

    JSP/Servelets - when do they get compiled

    Hi, I am not sure if this is a Weblogic or JSP related question but I will ask here anyways... When you have a JSP/servlet bundled into an EAR and deployed in Weblogic, does weblogic try to compile it when you try to access this JSP page? Pat
  8. patnim17

    Best way to Parse XML files in Java..

    Hi, I am trying to find out the best possible way to load and parse XML files in Java..I have heard of JAXP, JAXB etc..but is there an industry standard that every only is following? pat
  9. patnim17

    building conditions dynamically and executing in If stmts

    if eval ["$VAR1]" worked fine.... thanks.
  10. patnim17

    building conditions dynamically and executing in If stmts

    I have weblogic managed instances for different sites we support in out application. now, the number of managed instances for a site is not constant. Some sites have 2, some have 4 some have 6 managed instances. So we have kept this informatio in a separate file, with the site code nnd number of...
  11. patnim17

    building conditions dynamically and executing in If stmts

    Hi, I am building this condition check in a loop dynamicallly into a variable say, VAR1..something this this: for i in 1 2 3 do VAR1 = "$VAR1"string that builds the condition done Now after the for loop I wnat to put this condition into the "if" construct and use it..something like if...
  12. patnim17

    Using SSH to start a remote script..hangs..

    SamBones, This command seems to be working. ssh user@ServerB 'nohup B.sh > B.log 2>&1 &' I know "&" runs this in the background process...what does: 2>&1 doing here? Also, thanks for your advice on Node Manager. Apparently BEA has a know issue with Nodemanagers running on Linux..so we had to...
  13. patnim17

    Using SSH to start a remote script..hangs..

    Hi, We have Weblogic Servers running on Linux (red hat ver 4). One of the things that I am trying to do is to start the Weblogic managed instance remotely using SSH. So here is the scenario: I have Linux Server A - has Weblogic Admin and Sever B has the Weblogic Managed instance. Script A.sh...
  14. patnim17

    Distinguishing terminals from specific vendors..

    edfair, When we run this application, it works fine, but in some of the screen in the application it displays an inverted "?". That is the issue that I am tryint ot reslolve. An Inverted "?" indicates that some characters from the application was not interpreted by the dumb terminal correctly...
  15. patnim17

    Distinguishing terminals from specific vendors..

    Is there any documentation on what codes can we try and what command to use to get hte terminal info?
  16. patnim17

    Distinguishing terminals from specific vendors..

    thanks for the response. The fact that there is a possibility for doing something like this is helpful. I will try somthing on these lines..and see if it helps. thanks pat
  17. patnim17

    Distinguishing terminals from specific vendors..

    Hi, We are running a java application on a HP Unix Box (11). The users connect to this unix box using dumb Terminals from different vendors. Some of the Terminals (from a specific vendor) seems to have a problem with this application during startup. My Question is, in the unix startup shell...
  18. patnim17

    Disabling the Timer Service registered in Weblogic

    I am using Weblogic 9.2.We have Timer Beans in our application that gets initialized during start up through a startup servlet. Is there a way to disable the timer service after the weblogic startup is completed? Pat
  19. patnim17

    Convert LinkedList to ArrayList

    I am guessing I can use ArrayList aa = new ArrayList(lnkList); where lnkList is the LinkedList.. pat

Part and Inventory Search

Back
Top