Reports 9i: can't use P_JDBCPDS in cgicmd.dat

I have created a key in cgicmd.dat to store the database connection data so that it's not visible in the URL.
The key is like this:
conndata: %*P_JDBCPDS=user/pass@server:port:sid
and the url I use to run the report is like
http://server:8888/reports/RWServlet?conndata&report=rep.xml&destype=cache&desformat=pdf
When I run it I always get an error:
REP-50003: Linea de comandos erronea (wrong command line)
P_JDBCPDS parameter cannot be put in cgicmd.dat ?
which can be the problem ?
Thanks

Hello,
You can use P_JDBCPDS in the CGICMD.DAT keymap file. The entry in the file should be something like:
keyname: %* p_jdbcpds=user/pass@machine:port:sid
I have verified that the above key works with the URL:
http://machine:port/reports/rwservlet?keyname&report=jdbcpds.rdf&server=rep_svr&destype=cache&desformat=html
Please ensure that you restart your OC4J web server and Reports Server after changing the keymap file.
Thanks,
The Oracle Reports Team.

Similar Messages

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

  • I recently purchased an iPod touch for my classroom.  Can I use homesharing to transfer data from an app to my student's computers?

    I recently purchased an iPod touch for my classroom.  Can I use homesharing to transfer data from an app to my student's computers?

    No since you can only sync with one computer.
    To switch syncing computers:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Can I use iPad air cellular data in nepal? Does iPad air is carrier locked?

    Can I use iPad air cellular data in nepal? Does iPad air is carrier locked when we buy? Please give idea.

    Hi Narayanfromct,
    If you have questions about using cellular data while traveling with your iPad, you may find the following article helpful:
    iPhone and iPad: Using cellular networks while in another country
    http://support.apple.com/kb/ht1807
    Regards,
    - Brenden

  • Can I use LabVIEW to load data directly into system memory? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Win32 function to read the data from the card and now I want it to go directly to system memory.

    Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Call Library function to read the data from the card and now I want it to go directly to system memory.
    The data is being received at 1Mbps.
    Thanks

    Two questions:
    One, if it's a serial card, then presumably it gives you more serial ports, like COM3, COM4, etc. If so, VISA would see the COM ports, and not the card directly. The drivers for the card should make it so that you see the extra serial ports from the OS. If you don't see the extra COM ports from VISA, then it sounds like the drivers for the card are not installed properly. Do the extra COM ports show up in Device Manager?
    Two, you said that you're using a Call Library function to get the data and you want to put it into system memory. Errr.... you just read the data and you have it in memory by definition. Are you saying you need a way to parse the data so it shows up on a graph or something?

  • Can we use actual and plan data for same cube?

    hi friends,
    can we use actual data and plan data in same cube in bps.
    Thanking u
    suneel.

    Hi,
    Let us take std cube 0SD_C03 where we store billing info,sales order info and delivery info. But still in reporting we can get values without any mismatch in their respective KF. It is possible because of a cahracterstic called Documnet category which gets values in update rule by constant .
    Similarly we can have 2 types of data (plan and actual) in a single cube by having different value for a characterstic. Most frequently used characterstics for this are 0VERSION and Value type.
    With rgds,
    Anil Kumar Sharma .P

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
    java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.

    Hi,
    You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data...

  • How Can I use a Variable  in Data Controls query. Frank Kindly check...

    Hii,
    I am using JDeveloper 11g ADF BC.
    My Requirement is that I hv a login screen which is taken from [http://blogs.oracle.com/shay/simpleJSFDBlogin.zip].
    I hv attached BC in this application. I want to use the login usercode in the next pages after login screen. Next screen contains 3 list items which will be populating based on the user. So I created <af:selectOneChoice> using the BC( Just drag & dropped the column into the page from the data controls). But in the data control i want to use this usercode for passing the condition. Now Data is coming without any condition.
    So How can I use the usercode in the Data controls query.
    When I tried to display the usercode in the next page it is showing by binding the value. its code is follows
    <af:outputText value="#{backing_getUser.uid}"
    The program for checking the username & Password is follows.
    package login.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import java.sql.*;
    import java.util.List;
    import java.util.Map;
    import oracle.adf.view.rich.component.rich.output.RichMessage;
    import oracle.jdbc.OracleDriver;
    public class GetUser {
    private RichInputText uid;
    private RichInputText pid;
    private RichCommandButton commandButton1;
    private RichInputText inputText1;
    private RichInputText inputText2;
    public void setUid(RichInputText inputText1) {
    this.uid = inputText1;
    public void setPid(RichInputText inputText2) {
    this.pid = inputText2;
    public RichInputText getUid() {
    return uid;
    public RichInputText getPid() {
    return pid;
    public void setCommandButton1(RichCommandButton commandButton1) {
    this.commandButton1 = commandButton1;
    public RichCommandButton getCommandButton1() {
    return commandButton1;
    public String login_action() {
    // Add event code here...
    String user = this.getUid().getValue().toString();
    // String pass = inputText2.getValue().toString();
    String pid = this.getPid().getValue().toString();
    Connection conn;
    conn = getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery ("SELECT usercode FROM guser where usercode = '"+user.toUpperCase()+"' and pwd=F_TEST('"+pid.toUpperCase()+"')");
    if (rset.next()) {
    conn.close();
    return "good";
    conn.close();
    } catch (SQLException e) {
    System.out.println(e);
    return "bad";
    public static Connection getConnection() throws SQLException {
    String username = "ACCTS";
    String password = "ACCTS";
    String thinConn = "jdbc:oracle:thin:@SERVER1:1521:G5PS";
    DriverManager.registerDriver(new OracleDriver());
    Connection conn =
    DriverManager.getConnection(thinConn, username, password);
    conn.setAutoCommit(false);
    return conn;
    public void setInputText1(RichInputText inputText1) {
    this.inputText1 = inputText1;
    public RichInputText getInputText1() {
    return inputText1;
    public void setInputText2(RichInputText inputText2) {
    this.inputText2 = inputText2;
    public RichInputText getInputText2() {
    return inputText2;
    -----

    Hi,
    I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
    Anyway, you could add this before return "good"; in your login_action()
    FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
    Pedja

  • Can you use iCloud to transfer data from one iPod to another?

    Hi, I'm a newbie to Apple. I'm getting another iPod touch with bigger storage, the only data I care about is Clash of Clans. Can I use iCloud to back up the data, and restore it to the iPod I want? Please help, I don't want to lose my data without the right directions.

    Yes.  Back up your current device to iCloud, the when setting up your new one, restore it to this backup.  It will include your apps and app data (as well as other data and settings).  See http://support.apple.com/kb/ht2109.

  • Equium A100 - can I use E drive for data saving?

    My Equium A100-27 has an 80GB hard drive, this is slit in half C drive and E drive.
    I understand that the E drive is used for system recovery purposes but can I also use it to store data on?
    If I do use it for data how much room should be left clear for system recovery?

    Hi
    I think the E partition is used for Recover image. The Toshiba notebooks are preinstalled with an Toshiba recover disk creator. This tool allows you to create a own disk. And the image is placed on the additional partition

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

  • Can I use Dreamweaver to import data into specific fields on a website?

    We need to build a website that will allow us to import data from an existing database, into specific fields on website (desktop and mobile).  Is it possible to do that in Dreamweaver?

    Ben answered your question. You asked if one CAN use DW to call data. Just understand that it isn't necessary to use DW for this, and there are good reasons not to.
    Using a plug-in or data behaviors allows you to get up and running quickly, but they are like training wheels on a bicycle. Eventually they cripple your capabilities and you have to go back to the beginning to learn how to do things right, which means making the connections and writing the code yourself. Why not just do it the right way from the start?
    If you script the database connections and queries yourself, you can still work within DW.
    You did not specify which kind of server, database or scripting language you plan to use. The typical configuration is MySQL database and PHP scripting on Linux.

  • Can ME_PURCHDOC_POSTED use to update ekko data

    hi all,
    can i use ME_PURCHDOC_POSTED to update ekko data..i tested but it didnt work, it will update ekko data provided i changed ekpo data...
    pls advise

    Try writing a personalization on the PO screen that adds the following condition to the where clause
    "and authorization_status !='APPROVED'
    However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
    Hope this helps,
    Sandeep Gandhi

  • Report Builder: Can I use a prompt filter in multiple ways?

    Hi,
    I'm new to Report Builder 3, which we use at my office for a number of custom made reports to access our project management server. On one of these we basically want to allow the user to pick a date, and then see all historic data before that date,
    and all forecast data after that date.
    Thus far the only way we can achieve this is by adding a prompt filter on a date at the field filter level; but as one of these is a
    before X and another is on or after X this creates two input filter prompts, and in some cases we end up needing the user to put the same date in 4 separate input fields!
    Does anyone know a way around this - I basically want to allow them to input a single variable date, and then be allowed to filter that in different ways.
    Thanks,
    James

    "adding a prompt filter on a date at the field filter level"
    Not sure what you mean by that. All you should need to do is create the parameter in the report as a Date/time type parameter; I will call it @FocusDate. If you have 2 datasets, HistoricalData and ForecastData, you would set the parameter in the filter criteria.
    If both are SQL queries then:
    HistoricalData:
    SELECT [field list] FROM history WHERE history.Date < @FocusDate
    ForecastData:
    SELECT [field list] FROM forecast WHERE forecast.Date > @FocusDate
    I am guessing this is not your scenario so I will need more information. Are you using the parameter to filter the data in a tablix (table, list, matrix) instead of the dataset query? Are you trying to display both historical and forecast data in the same
    tablix? If so is the data in  single dataset?
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Can I use Non-standard XSD Data Types in my XSD; if so how?

    Please help if you can, this is a complex question, so bear with me.
    Also note that I am in Livecycle 8.2 ES (not ES2 or higher).
    I am working on creating XSD schemas to map to form objects.
    I have created one master schema document that is wired into multiple forms, and I have one separate schema for reusable form objects, that I refer to as a "common node".
    All of my individual form schemas are brought together in this one Master Schema via the use of include statements.
    EXAMPLE: This is like my Master Schema
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema written by Benjamin P. Lyons - Twin Technologies July 2010-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" >
    <xs:include schemaLocation="./commonElementsNode.xsd" />
    <xs:include schemaLocation="./form1111.xsd" />
    <xs:include schemaLocation="./form2222.xsd" />
    <xs:include schemaLocation="./form3333.xsd" />
    <xs:element name="form">
    <xs:complexType>
      <xs:sequence>
       <xs:element ref="commonElementsNode" />
       <xs:element ref="form1111" />
       <xs:element ref="form2222" />
       <xs:element ref="form3333" />
      </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    This works fine.
    I can load this up in Designer in the Data View and everything appears in the Data View hierarchy correctly, with "form" as the top node.
    And as long as I use standard "xs:" data types - everything works great.  So if I go into LiveCycle Designer and I go to File --> Form Properties --> Preview --> Generate Preview Data and generate dummy XML data - it respects my XSD conventions.
    Now here is where the problem arises:
    In these schemas, I need to define the data types.
    The client I am working for needs me to use their data types.
    These data types are not standard xs: data types, like "xs:string" or "xs:date".
    Rather, the data types are ones that have been defined in other schemas and reserved to a namespace.
    For instance, rather than use xs:date I need to use something like:  "myns:DateType"
    This "myns:DateType" is defined as:
    <xs:complexType name="DateType">
      <xs:simpleContent>
       <xs:extension base="xs:date">
        <xs:attribute name="format" type="xs:string" use="optional">
         <xs:annotation>
          <xs:documentation xml:lang="en">
           <mydoc:Name>Date Format Text</mydoc:Name>
           <mydoc:Definition>The format of the date content</mydoc:Definition>
           <mydoc:PrimitiveType>string</mydoc:PrimitiveType>
          </xs:documentation>
         </xs:annotation>
        </xs:attribute>
       </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
    Note that I have redacted this data type slightly and changed the namespace to protect the anonymity of my client, but we can assume that their data type is valid and currently in use with other systems.
    It conforms to W3 standards.
    Note also how this type is an enumeration of the base type "xs:date".
    This is defined in a schema called something like "MyCoreTypes.xsd"
    There is a namespace reservation in this file that looks something like this:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"
    xmlns:myns="http://clinetname.com/schemas/mycoretypes" >
    So there is a name space reservation there.
    In my aforementioned "Master Schema" file, I have an include statement that looks like this:
    <xs:include namespace="http://clinetname.com/schemas/mycoretypes" schemaLocation="./MyCoreTypes.xsd" />
    (let's assume that the schema is in the same folder, as the Master Schema, so we can use the "./" relative path.)
    Now the problems is that in all my forms, where I have a myns:DateType (e.g.:  in form1111, a "Date of Birth" element that looks like this: <xs:element name="OwnerBirthDt" type="myns:DateType"/> ) the XSD is not respected when the XML dummy data is generated in LiveCycle Designer implying that the XSD's data types are not being recognized properly.
    Has anyone had this problem before?
    Is there a solution?
    Is it even possible to use these kind of include or import references in LiveCycle to define a data type other that the standard "xs:" data types?
    Please let me know - it would be greatly appreciated.
    I am more than willing to clarify the question further if others are willing to help.
    Thanks -
    Ben Lyons

    prf.kishorekumar wrote:
    i came here with a hope that I would definitely get some help.
    pls.. some one reply1) You got some help. No where do I see thanks or acknowledgment for the information given.
    2) Please remember that people on the forum help others voluntarily, it's not their job.
    3) Google can often help you here if the forum can't. Using Google I found this interesting link:
    http://today.java.net/pub/a/today/2004/05/24/html-pt1.html
    It discusses the Swing HTML EditorKit as well as some other free HTML renderers.
    Edited by: petes1234 on Oct 24, 2007 7:29 PM

Maybe you are looking for

  • How to define a Bit Mask in Lab Windows.

    Hello, I'd like to know how to define a bit mask for a control box in LabWindows/CVI. If there's more information that I need to be aware of, please let me know. Thank you, Harold.

  • Bought a NuPower replacement battery, but can't get my MacBook to see it.

    Hi Everyone! Bought a NuPower replacement battery and installed it.  Rebooted and the fans are running at full tilt.  Did a SMC reset and a PRAM zap.  Shut down.  Restarted and the battery icon still has an X in it (no batteries available).  Fans are

  • DVD DL

    hello, I tried burning DVD + R DL from TDK, several times, varying software (Toast, Disco, Finder) and speed settings but all of them failed right in the beginning. So being aware that the "Super"Drive might be fussy about the brand (and who know whi

  • Problema in the installation of BW 3.5

    hello all, i`am installing BW 3.5 on web application server.after installing BW JAVA components i`am getting the errors in the post installation activity of configuring those componets.i`am entering the correct values of username,password etc for eac

  • Excise value are not pick

    hi experts hi i have a problem  while doing billing document against sales order and outbound delievery excise values are not pick by the system.but in the sales order it is showing . please help to resolve this issue ..