Unable to call report from jsp - password contains special characters

Hi
I used the following url to call my oracle report from my JSP webpage but got the error mentioned below. It seems that this error occurs when i use the login id with password that contains special characters only. How can I overcome this problem?
Any help appreciated. Thx.
Regards,
Siti
URL used: -
"http://pc-325:8889/reports/rwservlet?server=pc-325&report=prodeff80120i&P_JDBCPDS="+vlogin1+"&destype=cache&desformat=pdf&paramform=no&p_type="+p_type;
Error encountered: -
REP-163: Invalid value for keyword DESTYPE.
Valid options are FILE, PRINTER, MAIL, INTEROFFICE, or CACHE.

Hi Stefan,
Many of the customers are located in hungary and they have created the userid using their keyboard. Hence for now I already have a userid with that hungarian characters, in the SAP system.
Only I would request for the help on how to interface these characters in SAP Business connector to call RFC.
Thanks,

Similar Messages

  • Export Database With Password Containing Special Characters

    Hi,
    I'm doing a database export using the command:
    exp userid=user/pass@instance parfile=exp_parms.dat
    The problem is that the password contains special characters so the command fails with a syntax error. The command works perfectly fine when I run it without the password and just type it in when prompted, but I need to include the password in the command because I am running it in a batch file. I've tried using the escape character (\), but this results in a username-password mismatch.
    Is there some way of declaring a password containing special characters in the 'exp' command?
    ...Thanks in advanced!

    Hi,
    I'm using linux and this is how I did it.
    I created a user named ddg with a password ddg)ddg
    I did my expdp command like:
    expdp ddg/"ddg\)ddg" directory=dpump_dir dumpfile=ddg.dmp
    Put the password in double quotes and escape the funny character with a \
    Hope this helps.
    Dean

  • Entering passwords containing special characters in Terminal

    Whenever I enter a shell command that requires me to verify my password (such as becoming root), my password is never accepted as valid because it contains special characters, such as "é" (I'm assuming that's why, at least). I've tried many times and am positive I'm not typing it incorrectly.
    Does anyone know a way around this, or do I have to just create a less exotic password?

    Characters typed with the Option key may not translate properly between different encodings; the exact character expected may be a different one, or may not map to anything at all. You shouldn't use Option-keyed characters in a Mac OS X account password.
    (29024)

  • Unable to call report from forms-oracle9iDS.

    hi..,
    i created a report in reports 9i and calling the same
    from a form created in 9i,i am calling from a push button having following code in it..,
    Declare
    report_id Report_Object;
    ReportServerJob VARCHAR2(100);
    BEGIN
    report_id:= find_report_object('MyReport1');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'repserver');
    ReportServerJob:=run_report_object(report_id);
    end;
    while clicking this button i am getting the following messsage "frm-41214:unable to run report".
    steps followed
    1.Created a report by name myreport1.rdf
    2.attached the myreport1.rdf in the reports node of the forms browser.
    3.Created a reports server by name "repserver"using
    rwserver repserver -install autostart=yes
    4.report_path is checked for the path where my report is residing.
    5.added a string value in regedit tns_admin='oracle_home\network\admin'
    (**)6.in TNSNAMES.ORA I expect the error is here..,
    how do i refer this repserver in TNSNAMES.ORA..,????
    database server is in another node..,and report server is in my machine itself..,
    please help me urgent..,i am trying hard for this for a long time...??
    Regards,
    Akula.
    protechsoft systems Pvt.Ltd.
    Chennai,India.

    Akula,
    the Reports Server name doesn't need to be mentioned in teh TNSNAMES file anymore. This was required in Reports6i and before. Since Reports9i the architecture has changed and a Report Server can be accessed by its name in teh network. The problem that is reported can be due to uncompiled PLSQL in teh Reports rdf file. If you check the Reports queuemanager (on Windows) or using the Servlet command then you see the detailed error message. If you don't see any error message in teh queuemanager then the Reports module file wasn't found. Make sure that the Reports9i Server has access to this. The Reports9i Server Reports_Path is not set in the registry (as far as I know) but in one of its configuration files.
    As a quick test - look for the Reports sample files and add your file to the same directory.
    Frank

  • Calling Report From JSP

    Hello,
    I would like to know whether it is possible to call Oracle Reports (Version 2.5/3.0) from JSP?.
    Early reply is highly appreciated.
    Thanks
    Sekhar

    Hi Kalyan,
    I am assuming that your report itself is saved as a JSP. If you want to run the web layout inside your report (the JSP code in your report), you will have to deploy it to run it. If you want to run the paper layout of your report, you don't need to deploy it, but can call it by a URL in which you specify the report location.
    http://machine:port/reports/rwservlet?report=...
    Navneet.

  • How to call reports from JSP/HTML application

    Hi,
    We have a web application developed in JSP, I'd like to use Oracle Reports writer to generate reports (Since our back office application is developed using Oracle forms and Reports - 6i).
    I don't know how to place a request to Oracle Reports server and view the output. Can someone please help me with this.
    Thanks in advance.
    Best Regards,
    Karthik

    Hello Karthik,
    You have a web application developed in JSP. In that you are calling Reports though URL through your JSP.
    User views the source of the HTML page, in browser which is the result of execution of JSP. So Client will see the
    HTML output, but not the real JSP.
    Still if you donot want to hard code the user/password in file, have a form and ask client to enter user/password.
    Or you can combine your JSP with other Java components , like Java bean or Servlets to get user/password at run time.
    With Regards
    Sachin

  • Create an InitialContext with a password containing special characters?

    Hi there,
    I' trying to run the InitialContextExample with WLS 5.1. It works fine as long
    as I use my userId
    and a password that contains no special characters. If I try to run the example
    with another userId and a password
    that contains any special characters the server returns that I have entered a
    wrong username or password.
    I'm trying to get this done by th following command:
    java examples.jndi.InitialContextExample t3://localhost:7001 max $test$
    My weblogic.properties file looks like this:
    # CORE SECURITY-RELATED PROPERTIES
    # Read important information about security at:
    # http://www.weblogic.com/docs51/admindocs/properties.html
    # REQUIRED: The system password MUST be set in order to start the
    # WebLogic Server. This password is case-sensitive, at least 8 characters.
    # The username for the privileged user is ALWAYS "system".
    # This username and password also includes httpd access (see
    # HTTPD properties below).
    weblogic.password.rme=mypass
    weblogic.password.max=$test$
    Propaby I have to escape this special characters, but how do I have to do this?
    I did not find anything in the examples!
    Thanks for your help.
    Ralf

    Oops. I was in fact entering the wrong password! It does work.

  • Hide UserID, Password, and Report Path when call Report from Report

    Hi,
    I have been able to call Report from Report using the hyperlink.
    I put these code in my Field on the Report caller.
    function F_3FormatTrigger return boolean is
      temp varchar2(2000);
    begin
      temp := 'http://<computer_name>:8889/reports/rwservlet?';
      temp := temp || 'server=repsrv' || '&' ||
                         'report=C:\MyReport\rep_detail.jsp' || '&' ||
                         'userid=scott/tiger@orcl' || '&' ||
                         'desformat=htmlcss' || '&' ||
                         'destype=cache' || '&' ||
                         'P_1=' || :ItemID || '&' ||
                         'P_2=' || :ItemName;
      SRW.Set_Hyperlink(temp);
      return (TRUE);
    end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
    The problem is, the hyperlink has to include the reports path and also userid and password.
    If I did not put the userid and password, it will showed in another browse that
    "The report has uncompiled PL/SQL"
    How can I hide those userid, password, and the reports path?
    BTW, Is there anyway to show the report callee in different page (precisely, open another IE) from the report caller?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Thanks for the answers.
    Yet, I am still doubt about using cgicmd.dat.
    I have looked around in this forum saying that it is not secure to use cgicmd.dat. Because all report request does not use authentication (the client can directly open report without login).
    In Form, I can use the On-Logon to do the Oracle Form login (to do logon to the database), and then I use my own custom user login to restrict the menu for each user.
    I do this since I want to restrict the user,
    i.e user A can only view the sales form as well as sales report,
    user B can only view the purchasing form as well as purchasing report.
    Well, I am not so fond about the SSO itself.
    It comes to my mind, since I don't have to re-login (to the database) each time I call another form (login database is only once at the first Form, On-Logon). It also goes to when calling the report caller.
    What is RAD?
    How can we use it?
    Is OID = Oracle Internet Directory?
    If true, maybe, I won't use it since I don't understand about it also.
    Why we don't have to specify the userid and password when Form calls Report1 (using Run_Report_Object and Web.Show_Document())?
    But we have to specify the userid and password when Report1 calls Report2.
    Any help is appreciated.
    Many thanks,
    Buntoro

  • How to call RDF report from JSP page

    Dear all,
    I want to call a RDF report from JSP page. I am creating the JSP page using j developer 10G.
    Can anyone help me out in this case. Is there any tag or procedure or any other way by of that i can perform this work.
    please help and send the reply on [email protected],[email protected]
    thanks
    Ashok

    Hi Ashok,
    You can use rwservlet - nothing really to do with JDeveloper. Once you have report server up and running (hint: read http://download-uk.oracle.com/docs/cd/B14099_19/bi.1012/b14048/toc.htm), you can call a report like this:
    http://server:port/rwservlet?report=my_report.rdf&destype=cache&desformat=html&p_my_parameter=xxx etcHope this helps,
    John

  • When call jasper report from jsp, occur error

    I define a class call createReport that has a function call doReport to create report.
    If i call doReport from application, notthing's happened.
    But if i call doReport from jsp file, it occurs error ( 500 error ).
    jsp file :
    <%@ page import="myBean.createReport"%>
    <%! createReport myReport = new createReport();%>
    <%myReport.doReport("c:\\myJasper.jasper");%>c:\\myJasper.jasper is the path of report.
    Do you have some sugguestions to solve that error?

    Gosh, you better ask someone from Jasper support to help you...

  • Calling Actuate report from JSP

    Hi All:
    I am working on a small web JSP project that is supposed to call several existing Actuate 5 reports. Could anyone please direct me to (or perhaps send me) some code samples on how that needs to be done.
    Thank you.
    Regards,
    Vince Walters
    [email protected]

    Hi ,
    am also having same Requirment like u.. Can u help me out How do i view the Actuate report from JSP???
    Regards.

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Call Report from Report

    Dear friends,
    Any body know abt the script or process to call report from report.

    Hi,
    I have been able to call Report from Report using the hyperlink.
    I put these code in my Field on the Report caller.
    function F_3FormatTrigger return boolean is
      temp varchar2(2000);
    begin
      temp := 'http://<computer_name>:8889/reports/rwservlet?';
      temp := temp || 'server=repsrv' || '&' ||
                         'report=C:\MyReport\rep_detail.jsp' || '&' ||
                         'userid=scott/tiger@orcl' || '&' ||
                         'desformat=htmlcss' || '&' ||
                         'destype=cache' || '&' ||
                         'P_1=' || :ItemID || '&' ||
                         'P_2=' || :ItemName;
      SRW.Set_Hyperlink(temp);
      return (TRUE);
    end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
    The problem is, the hyperlink has to include the reports path and also userid and password.
    If I did not put the userid and password, it will showed in another browse that
    "The report has uncompiled PL/SQL"
    How can I hide those userid, password, and the reports path?
    BTW, Is there anyway to show the report callee in different page from the report caller?
    Any help would be grateful.
    Many thanks,
    Buntoro

  • Call report from form 10g (10.1.2.0.2)

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,runtime);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

    hi
    i using win 2003 and db 10g and dev10g ( 10.1.2.0.2)
    and i want to call report from my form as following code :
    DECLARE
    dir varchar2(200);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    dir:=co$win.get_current_directory ;
    repid := find_report_object('CGNV$OFG_REPORT');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,dir||'\rep.jsp');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,runtime);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rws');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' --or rep_status is null
    THEN
    WEB.SHOW_DOCUMENT('http://hamid:8889/reports/rwservlet/getjobid'||
    substr(v_rep, instr(v_rep,'_',-1)+1)||'?server=rws','_blank');
    ELSE
    message(ER_RP);
    END IF;
    END;
    but i get error :
    frm-41213: unable to connect to the report server rws
    plz help me

Maybe you are looking for

  • How to run the same SSRS report multiple times, each time with a different parameter value?

    Hi, I have an SSRS report that produces a list of invoices for a single supplier (so supplier is a parameter specified at runtime). The report is based on a stored procedure in SQL. I would like to make things easier and instead of going through all

  • Availability check - sales order

    Hi experts,                               I've gone through the relevant info, but still hit the issue below. Pls help. Thx.                                                        Issue: How to include the created order (not delivered ) when running

  • Installing OBIEE 11.1.1.5.0

    Hello, We currently have installed OBIEE 11g 11.1.1.3.0 on a live linux system. We would like to try out OBIEE 11.1.1.5.0 on a local windows XP virtual machine. So we will need to run the new RCU first. If we run the new rcu and upgrade the schemas w

  • JSF 1.2 on a J2EE 1.4 server ?

    Is there anyone out there who is running a JSF 1.2 webapp on a J2EE 1.4 server ? If so , what did you need to do ?

  • Why is my text blurry?

    I've  used fireworks to create my banner, which includes a background color in a rectangle, and my company name in a text box @ a 75 text size.  It ends up looking blurry.  Is there a way to create a large - crisp looking text? Should I go about this