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

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 #606 of 675 |
Solved it - Unable to execute the .wlsh script from perl

I solved this. I had missed out one "/" after bin.

Thanks,
Shiva.
--- In wlshell@yahoogroups.com, "shivashankarst"
<shivashankarst@...> wrote:
>
> 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.
>










Thu Jun 1, 2006 10:52 am

shivashankarst
Offline Offline
Send Email Send Email

Forward
Message #606 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