How to set the working directory for reports in linux

Hi All,
Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
working directory. How can I do this?
Thanks in advance
Arif

Hi,
your rep_srv.conf should look like something like
+<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
+<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
+<server version="10.1.2.0.2">+
+<!--Please do not change the id for reports engine.-->+
+<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
+<cache class="oracle.reports.cache.RWCache">+
+<property name="cacheSize" value="50"/>+
+<!--property name="cacheDir" value="your cache directory"-->+
+<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
+<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
+</cache>+
+<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
+<!--property name="sourceDir" value="your reports source directory"/-->+
+<!--property name="tempDir" value="your reports temp directory"/-->+
+<!--property name="keepConnection" value="yes"/-->+
+</engine>+
+...+
some more definitions
+..+
+<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
+<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
+<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
+<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
*<environment id="APP1">*
*+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
*+</environment>+*
*+<environment id="APP2">+*
*+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
+</environment>+
+</server>+
The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
If you call a report from Forms, then you have to code something like
ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
Hope that helps.
Volker

Similar Messages

  • Sun ONE Studio 4 aka Forte: How to set the output path for classes ?

    Help !
    Beginner's question:
    Sun ONE Studio 4 aka Forte:
    How to set the output path for classes ?
    As default, the class files are created in the same directory as the
    sources.
    In opposite, both JBuilder and Together support that there is a tree
    with the sources and another tree with the classes.
    The first answer I got was "not possible with Forte, but just if you write your own "ANT Build script" !
    a) Please point me to a ready-to-use ANT script for this purpose, if such is available
    b) Is using ANT instead of the MAKE as comfortable ? Besides the separation of sourcecode and classes, I would like to keep everything else to be the same, i.e. I don�t want to edit the ANT file if I enlarge the project by directories or files.
    Tia
    Sincerely
    Rolf

    You can set S1S's options to place newly created .class files in a specific location.
    Identify the compiler that is being used - Open the S1S's Tools/Options window, expand Editing and select Java Sources. Note the Default Compiler value. (If it's one if the Ant options, you use Ant to specify this option, not S1S.)
    Open the S1S's Tools/Options window, expand Building/Compiler Types and select the appropriate compiler.
    The Properties tab of the compiler has the property Target, which sets the filesystem where the compiler output is directed. If you choose <not set>, the .class files are written to their source directory.
    When you set the Target, your change affects all classes that use this compiler.
    Very few options can't be set in S1S; the challenge is finding out where they're set!

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • How to set the Default values for Info Objects in Data Selection of InfoPac

    Hi All,
    Flat file Extracion:
    How to set the Default values for Info Objects in Data Selection Tab  for Info Package
    ex: Fiscal Year Variant  Info Object having values 'K4' 'Y2' etc  in Flat file
    Initially  default value(not constant)  for this info Object value should be 'K4'  in Info Package
    If I set data selection value for this info object K4 it will retreive records with this selection only? how to handle
    Rgds,
    CV

    Hi,
    suppose as your ex. if you are having fiscalyear variant in the dataselection tab then specify K4 in the from column, again the ficalyearvariant row and click on insert duplicate row at the bottom . you will get another row . In that enter Y2 in the from column. now you can extract K4, y2 values .
    haritha

  • How to set the stack size for alchemy application?

    Anybody know how to set the stack size for alchemy application?
    If you know, please tell me how to adjust the stack size for alchemy application?

    Hi,
    The stack size is set as public const gstackSize in the alchemy generated code.  You can see this if you build with ACHACKS_TMPS set.  The default is one megabyte.
    One way to change the stack size is to use llvm-dis to disassemble avm2-libc/lib/avm2-libc.l.bc, generating avm2-libc.l.ll, modify the constant, and then use llvm-as to recompile your modified library and overwrite the old one.  These utilities should be in your path if alchemy is set up.

  • How to generate the ATR files for reports with out manually?

    Hi all,
    how to create the ATR files for reports in OBIEE 11g with out manually?
    is there any other method to create the ATR files by using the OBIEE Server?
    please provide me the solution for this?
    we are creating manually for each and every report, it is time taken process how can we generate ATR files automatically
    by using the OBIEE Server?
    Thanks,

    Hi,
    I am afraid not.ATR are attributes files contains the object's full name, access controllist (ACL), description, and so on.Each catalog object has a corresponding attributes file, I am not sure why do you have to generate the atr files.In case you need info about atr files: http://businessdecisionsystems.com/blog/?p=7
    If you have huge number of similar reports(with filter variations and same kind of layout), try to play around with the xml to minimize the development effort.
    Rgds,
    Dpka
    Edited by: Dpka on Oct 4, 2011 12:00 AM

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • Illustrator needs a Relative mode switch or ability to set a Working directory for each AI file!

    Hi guys,
    I thought I would post in here because I find I'm wanting this feature more and more over the past year.
    This can apply to most of Adobes application but it would be great to see some file management functionality built into the applications themselves. This could then be further expanded in Bridge/Cue to incorporate more applications into the working project but at the very least the application itself the ability to control its own root existence.
    On so many occasions I require Illustrators file linking feature to be relative and NOT absolute which it currently is. The only relative capability it has is if ALL the linked assets are in the same local directory as the AI file itself and this as everyone knows breaks the first rule of proper file management.
    Many of the projects I work on uses many AI files with sometimes over 50 linked in assets in a variety of different formats from a variety of different clients (locations). I cannot easily move this project folder around without the painful task of linking all the data again and this creates a massive issue.
    Ideally an approach similar to Autodesks Maya and Max where you can set project directories. This means all the Save As and other operations will default to that working directory for that file. All linked data will then use the projects working directory as its root and allow the project to move from location to location and not be affected.
    This would Im sure benefit many other designers who work on projects with large amounts of data that may not live always in the same spot. For us we work with so many different people during a production that mobility is a must and at the moment we are finding it very difficult.
    As always, thanks for reading.
    Cheers
    Nick.

    Hello,
    First command
    So what does the wiki meen by: "DEVPATH sets the physical device. You can determine this by executing the command
    readlink -f /sys/class/hwmon/hwmon-device/device | sed -e 's/^\/sys\///'"
    Physical device of what, and what output am I suppose to get: Nothing, a list with output on where the symlinks lead, something else... In my case I got no output, if that is right, I do not know - since I do not understand what the command do.
    Seccond comand
    DEVNAME: Sets the name of the device. Try:
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon-device/device/name
    Does it meen like this - If I during my pwmconfig used hwmon1 wich was coretemp, and hwmon2 wich was nct6775, I should do:
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon1-device/device/name coretemp
    sed -e 's/[[:space:]=]/_/g' /sys/class/hwmon/hwmon2-device/device/name nct6775
    And that will direct every occurrence of hwmon1 and hwmon2 to the correct sensor chip?
    Regards
    Martin
    Last edited by onslow77 (2015-01-23 21:46:04)

  • How to set my working directory?

    Hy! This is my first post on this forum. I hope you can help me.
    I need to save a file in an existing folder, inside my current working directory. I've tried to set the folder where I want to save my file as the working directory.This is what I tried to do:
    try{
              System.setProperty("user.dir",myDirectoryName);
              PrintWriter file = new PrintWriter(new BufferedWriter(new FileWriter(jtp.getTitleAt(jtp.getSelectedIndex()))));
                                  file.print(((JTextArea)jtp.getSelectedComponent()).getText());
    file.close();          
    }catch(IOException mes){
              System.out.println("Nu pot sa creez fisier");
    But....is not working,because the file is created in the old working directory.
    I thought that using a file chooser could help me,but the problem is that this saving is just an intermediate step in compiling the file,so the use of a FileChooser would not be appropiate.
    Thank's.

    Thank you,it helped me a lot.
    I have now another problem: I want to run some 16 bits programs. Since there are some problems with that, I've created some 32 bit programs in C that run those 16 bit programs,and then I ran those programs from my Java program. The problem is that this approach works fine only for some programs,not for all. I'll put below the code I wrote(hope it won't be too much):
         try{//the launching programs runs tasm.exe program-works fine
              //          Process proc=Runtime.getRuntime().exec(args);
                        Process proc = new ProcessBuilder("launching","p0.asm"/*"p"+jtp.getSelectedIndex()+".asm"*/).start();
                        InputStream istr = proc.getInputStream();
         BufferedReader br = new BufferedReader(new InputStreamReader(istr));
         String str; // Temporary String variable
         while ((str = br.readLine()) != null) temp+=(str+"\n");
         try { proc.waitFor(); }
         catch (InterruptedException ee){
                             System.err.println("Process was interrupted");
    //...link program runs tlink.exe program- the tlink.exe doesn't stops,altough it //works fine when it runs from the command line
         Process proc = new ProcessBuilder("link","p0").start();
    The launching program is:
    #include <shlobj.h>
    #include <shlwapi.h>
    int main(int argc, char* argv[])
         SHELLEXECUTEINFO ShExecInfo;
         ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
    ShExecInfo.fMask = NULL;
    ShExecInfo.hwnd = NULL;
    ShExecInfo.lpVerb="open";
         ShExecInfo.lpFile="tasm.exe";
         ShExecInfo.lpParameters=argv[1];
    ShExecInfo.lpDirectory = NULL;
    ShExecInfo.nShow = SW_MAXIMIZE;
    ShExecInfo.hInstApp = NULL;
    ShellExecuteEx(&ShExecInfo);
         return 0;
    The link program is:
    #include <shlobj.h>
    #include <shlwapi.h>
    int main(int argc, char* argv[])
         SHELLEXECUTEINFO ShExecInfo;
         ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
    ShExecInfo.fMask = NULL;
    ShExecInfo.hwnd = NULL;
    ShExecInfo.lpVerb="open";
         ShExecInfo.lpFile="tlink.exe";
         ShExecInfo.lpParameters=argv[1];
    ShExecInfo.lpDirectory = NULL;
    ShExecInfo.nShow = SW_MAXIMIZE;
    ShExecInfo.hInstApp = NULL;
    ShellExecuteEx(&ShExecInfo);
         return 0;
    My question is: why does it work for tasm and doesn't work for tlink? The programs are pretty much the some,don't they?
    Thanks again for youre help.

  • How to set the deployment directory ?

    Hi all,
    I am using Sun One Studio 3.0 with iWS6.0.
    For every new application that I write, compile and execute,
    it is getting deployed to the same
    directory.
    Because Sun One Studio is always using the same directory,
    for every application I have
    to manually delete the deployment directory.
    Is there any way to set different deployment
    directory for every new application that I write ?
    If yes, how to do this ?
    Thanks
    Swap

    I dont have the product installed, so I cannot try it right now. But I think the context root is part of the directory name in which the application is deployed. By default the context root is empty. If you change that, your application would be deployed in a different directory. To change context root, right click on WEB-INF node, and select "Properties" from the menu.
    Alternatively, you could try changing the directory name by right-clicking on the web.xml node under WEB-INF. You should see an iWS tab on the property sheet, where you could enter a directory name.

  • How to set the initial directory

    Using the FileChooser in JavaFX 2.0. How do you correctly set the initial directory?
    In Swing you would do the following:
    JFileChooser Choose = new JFileChooser();
    Choose.setCurrentDirectory(new File("."));But in JavaFX:
    Choose.setInitialDirectory(new File("."));does not work and causes JavaFX to bomb out when this code is triggered.
    Edited by: 863626 on 30-Oct-2011 05:30

    javafx.stage.FileChooser choose = newjavafx.stage.FileChooser();
    File d = new File(getClass().getResource(".").getFile());
    choose.setInitialDirectory(d);

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • How to set the target directory from source filename using adaptor module.

    Hi,
    How im using a logical bypass scenario.I have to set the target directory using the sorce filename.There is no chance of using a Java UDF as my scenario does not have a Mapping(as it is a Bypass Scenario).The only option that i got is to use a Adaptor module.Can anyone help  me this.
    Thanks,
    Bhargav

    Hi,
    See this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm
    hope it helps.
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.

Maybe you are looking for

  • Sending a text document as pdf by email.

    Hi, I have a plain text document that needs to be send as a pdf document by email. The line type of the text document is PC408-linda, which is 132-character length. I am trying to use the FM ‘SO_NEW_DOCUMENT_ATT_SEND_API1’ for sending the document wh

  • Why can't my image be displayed?

    Anybody could help me with the code? the image does not seem to appear when i run it...is it because JPanel cannot work with Canvas? or is it because of the error in getImage() method? This are the code for the ImageClient import java.awt.*; import j

  • Calculated Members in a Cross Tab

    I have a Cross Tab report with Year as the Column Headers and Product Name as the Row Headers with Sales as the Summarized Field.  There are 5 Year values (e.g. 2004 to 2009 Inclusive) and I have created 5 new Calculated Member columns that do compar

  • FGAC - About license

    Hi all... Is Fine grained access control part of Oracle Enterprise Edition or is it available also for standard edition? Thanks Marcos

  • PLEASE HELP ME ON MY IPOD?

    My ipod is disabled because of the password thing and it says to connect to itunes I did that aready and it says restore i clicked that and it hust says it nedds like 6 or 7 hours and it fhinishes and it says done but noting happens it still says dis