Search the web
Sign In
New User? Sign Up
wlshell
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Unable to execute the .wlsh script from perl   Message List  
Reply | Forward Message #607 of 675 |
Re: [wlshell] Unable to execute the .wlsh script from perl

It looks like your system call is missing a forward slash between bin and wlsh.sh. Try using:
 
system("$ENV{WLSHELLHOME}/bin/wlsh.sh -f version.wlsh > version.txt");

Give that a try.

----- Original Message ----
From: shivashankarst <shivashankarst@...>
To: wlshell@yahoogroups.com
Sent: Wednesday, May 31, 2006 5:12:31 AM
Subject: [wlshell] Unable to execute the .wlsh script from perl

Hi All,

My perl script contains:
system("$ENV{WLSHELLHOME}/bin wlsh.sh -f version.wlsh > version.txt");

where the WLSHELLHOME variable is defined (checked it using echo).
When I exeucte the above script, I get the below msg:
"sh: /export/home/perfuser/wlshell/bin: cannot execute".

But, when i just execute wlsh.sh -f version.wlsh > version.txt
separately at the console (w/o perl), it goes thru fine.

Thanks,
Shiva.








SPONSORED LINKS


YAHOO! GROUPS LINKS





Thu Jun 1, 2006 4:12 am

xenos_mak
Offline Offline
Send Email Send Email

Forward
Message #607 of 675 |
Expand Messages Author Sort by Date

Hi All, My perl script contains: system("$ENV{WLSHELLHOME}/bin wlsh.sh -f version.wlsh > version.txt"); where the WLSHELLHOME variable is defined (checked it...
shivashankarst
Offline Send Email
May 31, 2006
12:48 pm

I solved this. I had missed out one "/" after bin. Thanks, Shiva. ... version.txt");...
shivashankarst
Offline Send Email
Jun 1, 2006
12:48 pm

Is it possible to use wlshell with weblogic express for deployments? Anyone else using WLX? Thanks, Mike...
Michael King
xenos_mak
Offline Send Email
Jun 2, 2006
1:44 am

It looks like your system call is missing a forward slash between bin and wlsh.sh. Try using: system("$ENV{WLSHELLHOME}/bin/wlsh.sh -f version.wlsh >...
Michael King
xenos_mak
Offline Send Email
Jun 1, 2006
12:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help