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...
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
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...
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
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
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
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...
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...
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...
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...
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...
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
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.