Set PATH for xgrid job env

Hi all
When I enter:
xgrid -job submit /usr/bin/env
I get:
XGRIDPROCESSORCOUNT=2
XGRIDPROCESSORSPEED=2400
XGRIDAGENTNAME=aha
SECURITYSESSIONID=94b51520
PATH=/usr/bin:/bin:/usr/sbin:/sbin
TMPDIR=/var/folders/zz/zzzivhrRnAmviueezzzzzjzzzzs/-Tmp-/
SHELL=/usr/bin/false
HOME=/var/empty
USER=nobody
LOGNAME=nobody
My question is how do a modify the path so that my xgrid job can find scripts that are in my normal users path??
For the time being im rapping scripts in a bash script that exports my PATH before actually making any calls. But this is very messy.
cheers!

The formscfg file you could to this kind of changes.
Greetings.

Similar Messages

  • Set path for emacs

    Hi
    The emacs located in /opt/sfw/bin
    But how to set path for that so i can use emacs or other software in any other directory.
    I put
    set path=(/opt/sfw/bin $ path)
    in my home dir /export/home/joanna/.cshrc
    but it did not work.
    Which file should i modify and the format i put in ~/.cshrc is correct or not?
    Thanks
    Joanna

    The PATH variable is PATH and not path (The case of the shrinking Alphabets...?)
    And I think in the csh, it should be setenv and not set.
    BTW, csh is not really a good shell to be working on - use ksh instead.
    man csh
    man ksh

  • Set $PATH for current session in Terminal

    Hello,
    I want to modify the environment variable $PATH for the current terminal session. To modify it in $HOME/.profile (etc) is no option.
    So I created a shell script called envsetup.sh which contains
    ATLAS_HOME=/Applications/Development/atl-plugin-sdk
    PATH=$ATLAS_HOME/bin:$PATH
    export ATLAS_HOME PATH
    When I execute the script, $PATH will only modified while running the script but does not alter it for the current session. But then I copy and paste it into the terminal, $PATH gets modified for the current session. What's wrong with it? On my Linux box, it works ...

    Linux box, it works ...
    This CANNOT work on your Linux box.
    When you run a shell script (Mac OS X, Linux, HP-UX, Solaris, Tru64 UNIX, AIX, etc...), the shell script is runs in a child process. Any environment variables set or changed in that child process get destroyed when that child process ends, which happens as soon as the script ends. The parent process (your shell) will never see those child process environment variables. This has been true since the earliest versions of UNIX that I am aware of, and that goes back to at least '79.
    Alternative approaches. You could create a shell function in your .profile
    envsetup()
    export ATLAS_HOME="/Applications/Development/atl-plugin-sdk"
    export PATH="$ATLAS_HOME/bin:$PATH"
    The next time you login, your .profile will run and you will have a new command "envsetup". When you invoke the command envsetup it will run within the context of your current shell, so those environment variables will be set and visible.
    You could also create an alias that sources your envsetup.sh
    alias envsetup 'source /path/to/envsetup.sh'
    This would give you an easy to call command that would source into the current shell the export commands, as well as provide you with a script that can be sourced into other scripts that happen to need those specific exports.
    Message was edited by: BobHarris

  • Setting path for third party class files

    I am using some third party classfiles in my JSPs for JDBC. When I use these files, in normal Java Programs everything is working fine ( I am setting the path by using the CLASSPATH environment variable).
    I did not understandt how to set classpath for these files (com.informix.jdbc.*) for use in iplanet 6.0.
    I have tried to keep this "com" folder in /usr/java/j2sdk1.4.3_01/lib folder, but, it is not still working. I tried to change the start-jvm file, but, I am still having problems.
    Can someone help me !!!
    --Murthy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I changed the jvm12.conf file, but, it did not work. I changed the JDK Runtime Classpath in the Global Settings tab of the Administration Server and restarted both the webserver and the administration server and it worked.
    Thanks for your response.
    --Murthy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Set path for package InCopy

    I noticed that on a Mac, when an InCopy Package file is opened, it 'unpacks' in the /user/documents folder (On a PC in 'Documents user'?).
    Is this path 'hardcoded' or is there a way to set the path to a desired folder?

    Gee I was hoping *you* would know, Bob! ;-)
    There's no user interface for it, so I'm guessing it's hard wired.
    FWIW on Windows the default location for unpacked assignments is "InCopy Assignments" at the top level of the user's My Documents folder.
    More control over default file paths for saving/unpacking is a great feature request for CS4.
    AM

  • Setting path for "Content-disposition" filename

    I'm trying to figure out how to set the filename in the following:
    String path = "/usr/local/jakarta-tomcat-4.1.29/webapps/myapp/my_images.zip";
    response.setContentType("application/octet-stream");
    response.setHeader("Content-disposition","attachment; filename=" +path);The file that I'd like the user to download is called my_images.zip. It resides here: /usr/local/jakarta-tomcat-4.1.29/webapps/myapp/my_images.zip
    However, when I run the servlet, it pops up a dialog box with this as the filename: usrlocal_jakarta-tomcat-4.1.29_webapps_myapp_my_images.zip
    It's replaced the slashes with underscores. What's going on? The zip file resides in the root folder of my app. The servlet is in a subfolder called "fpauto".

    Ah, ok. Right, so when you set that heading what you are saying to the client is: "The response from this web request is actually a file with the following name..."
    For example you could set it to be README.TXT and then use
    response.getWriter().println("Hello World.");as the only other line of your servlet. That would send a text "file" called README.TXT to the client containing the text "Hello World" only. Setting that response header doesn't tell the servlet to do anything other than inform the client what filename to use.
    It would be nice if there was a method called "transmit file" or somesuch, but there isn't. The simplest reason why is that if you just want to send a file you can usually provide it directly from the web (or app) server by putting it into the content. For example create a file my_files.zip in the root of your war and it will typically be made available as a file anyway.
    The assumption is that servlets are for generating content not just sending content that already exists.
    However, if you have a good reason for wanting to do this, you can create a loop that reads in the file and sends its contents to the response's output stream. I usually use the commons-io IOUtil [copy |http://commons.apache.org/io/api-1.4/org/apache/commons/io/IOUtils.html#copy(java.io.InputStream,%20java.io.OutputStream)] functions to do this.
    So why do you want to use a servlet to send "static" content?

  • Setting paths for JSPs and Servlets

    I have some java servlets and JSPs lying under a directory structure. I want to deploy them on OC4J. Is there any other way of doing this other than copying my directory structure to the /default-web-app directry etc.. etc..? I mean is it possible to configure OC4J to use any directory as the root directory for a deployed web application or an application. TomCat server can be configured like this but I am unble to configure OC4J. Is there anybody who knows how to do this?

    Yes.
    In server.xml (under the config dir of the oc4j installation) there is an application tag for each web application installed. One parameter for the tag is path, which can be set to anywhere on the filesystem.
    Jonny
    null

  • Issue Setting Paths For Sickbeard

    Hi again everyone.
    Man I am having no end of trouble with my system at the moment. At first I had issues with SABnzbd but finally got it sorted but the thing that I am having a lot of trouble with at the moment is sickbeard. I only installed sickbeard this week from AUR.
    I already have a heap of tv shows that I want to add but I am unable to set the path to them or even add a new show and set the path to there.
    I want to set the path to /home/media/video/TVShows which is on my LVM but I can't get it set. I have even set the permissions at one point to 777 to try and get it to write there but it just won't.
    [media@media ~]$ ls -l / | grep home
    drwxr-xr-x 5 root root 4096 Sep 21 2010 home
    [media@media ~]$ ls -l /home | grep media
    drwxrwx--- 39 media users 4096 Nov 5 16:42 media
    [media@media ~]$ ls -l /home/media | grep video
    drwxrw-rw- 8 media users 103 Nov 5 02:22 video
    [media@media ~]$ ls -l /home/media/video | grep TVShows
    drwxrwxr-x 26 sickbeard users 4096 Nov 2 23:02 TVShows
    [media@media ~]$
    I'm just not sure how to solve this one and am hoping someone can help me get it solved.
    Last edited by morphjk (2011-11-05 10:05:14)

    Yes.
    In server.xml (under the config dir of the oc4j installation) there is an application tag for each web application installed. One parameter for the tag is path, which can be set to anywhere on the filesystem.
    Jonny
    null

  • How to set paths for  bc4j Project in release 2

    Hi
    I have a workspace with 2 projects 1 bc4j and the other contains my jsps etc
    They were created in JDev9i RC
    I have recreated my connections in release 2
    I have opened the projects in Release 2 I am trying to run the bc4j Project to test if all is working in release 2 and I got a whole host of errors like:
    -jsp files must reside in the server root directory or a subdirectory beneath it
    -cannot access directory javax\servlet\jsp : verify that directory is reachable from classpath and \or sourcepath
    -cannot access class oracle.jsp.runtime.HttpJsp : file oracle\jsp\runtime\Http.Class not found
    It seems like there is something I need to specify in the classpath /path
    but I am not sure what
    Any one know?
    thanks

    Hi
    Thanks for your response
    The bc4j project compiles and runs fine now
    but I am still getting a runtime error
    when I run the jsp project
    the error is
    JBO-33001: Cannot find the configuration file /IntranetPackage2/common/bc4j.xcfg in the classpath
    I have tried including that path in the java source path but still no effect
    It appears there is a little snag at each step of the way

  • How to set Path for a properties file

    Hi,
    I am using a SQL.properties file to load all my SQL statements to my EJB JDBC prepared Statement. I have placed the SQL.properties file in com.company.sql package. I have another SQL class in the same package which is loading the SQL.properties file to cache for future use. I am using the path as "SQL.properties" (the file name straight ) in the SQL class to access the properties file.
    I am using Sun App Server 7. To get access to this file I need to copy the SQL.properties file to the config directory of the app server instance. Otherwise it is not able to locate the file. I don't want to put the properties file in the config directory of the app server instance. Please help me, what path I have to give to access the file from the package itself, rather from the config directory of server instance.
    I think , some one who is doing localization can help me out here. They have to put the localized properties file to access the text out of it. Please help me. Thanks in advance.
    Thanks
    Amit

    I am using the propeties file to get the SQL statements. I have all the SQL query statement in the properties file. I am creating a preparedstatement after getting the statement from the properties file with the id like we do in ResourceBundle. If I keep the properties file in the config directory of the Sun App Server instance , then it is working fine. But If I don't keep it there, then it is giving me a file not found exception.
    My SQL class which is accessing the properties file are in same package (com.company.sql). But still it is not able to find the file. As suggested by you, I tried it by giving the path as com.company.sql.SQL. Still it did not found the file. The file is there inside the WEB-INF/classess/com/company/sql/.
    Thanks
    Amit

  • Set path for native dll in NT

    Hi Javapeople,
    I have a signed applet which downloads a dll to the client machine for JNI access. I was wondering if there is a way to specify that the dll goes to some folder other than 'C:\WINNT\system32' and still have it accessible from my Java code?
    Thanking you in advance.

    so long as the dll is in a directory in your PATH, it will be found.

  • Set path for InCopy packages

    I noticed that on a Mac, when an InCopy Package file is opened, it 'unpacks' in the /user/documents folder (On a PC in 'Documents user'?).
    Is this path 'hardcoded' or is there a way to set the path to a desired folder?
    (cross posted at InCopy forum)

    Answered in the IC forum.
    Bob

  • Set Path for running servlets

    Hi,
    Just started learning JSP.
    Am trying to run the helloworld.java
    from command prompt has c:\Tomcat 4.1\webapps\examples/WEB-INF/classes/HelloWorld.java.It says pacakage javax.servlet.http doesnot exist.Why is this?am i doing some thing wrong?
    I tried to run it from Tomcat as well.
    http://localhost:8080/examples/WEB-INF/classes/HelloWorld.java
    It says The requested resource (/examples/servlets/helloworld) is not available.
    Any help appreciated
    Thanx
    Shenoy

    You can not run servlets from the command line. You need to run them from the browser. The url should look like:
    http://localhost:8080/examples/servlet/HelloWorld.java
    Look at the tomcat examples at
    http://localhost:8080/index.jsp

  • Environment setting for cron job

    What are necessary oracle varaibles to run a oracle job from crontab.
    does any one has some example. I can run er export job from the command line but when i scheduled that from crontab, it did not run. I need to set environment for that but my knowledge in unix is close to zero. ur help will be hughly appreciated. Thanks

    Basically following 3 variable needed to run cron job
    ORACLE_SID=<SID>
    ORACLE_HOME=<ORACLE_HOME>
    PATH=$ORACLE_HOME/bin;$PATH
    - Virag

  • How to set up the path for report in 10gAS?

    I have a report which can be run in one folder A but not in the other folder B, both folder are included in the forms_path in default.env of AS. How can I set up the path for the report in AS so that the report server knows to look for the report in the folder B?

    Hello,
    If you don't specify the "full path name" for your reports, the file will be searched in the directories listed in REPORTS_PATH or in the directory specified in the property sourceDir
    For more details :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/envvars/envvar_reports_path.htm
    and
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm
    Regards

Maybe you are looking for

  • Can I Watch BT Sport On My BT Youview Box WITHOUT ...

    Hi I hope I have a simple question that has a simple answer! I have a recently supplied by BT Youview box(Humax I believe). BT line rental and BT Broadband as well. I am in an area that does NOT get Affinity. Can I get BT Sport on my Youview box? If

  • No keyboard rotation in some apps

    Hello, in some apps (in landscape modus), when I want to give in some text, the keyboard will be opened into portrait mode. So i have to rotate the iPhone, then I give in my text, and after sending text, I have to rotate back to landscape modus. Happ

  • What does the InvntSttus field in the Sales Order Rows table mean?

    Hello, I have a Sales Order with 8 lines in it. I was trying to bring the last line up in the Pick and Pack Manager to create a Pick List for it so we could ship it. For some reason though, it didn't show up (even though it is open in the SO and my c

  • Font  Choas

    I am developing an application using jdk1.3 in "My LOCAL LANGAUGE of India(Maharashtra) NAMED Marathi". In it Data entry will also be in LOCAL LANGAUGE, Java is supporting Fonts with antialising of LOCAL LANGAUGE But all the chaos is when data is sto

  • Can logic express 7.2 run in LION?

    I just got a new Macbook Pro, apparently my Logic Express 7.2 will not launch on this computer. can logic express 7.2 run in LION? Any workaround?