Runtime Customization problem

Hi,
I have created a report for example employee list.
I have created a xml file to customize this at runtime. When i try to run this report from a webserver i get a follwing error.
"Oracle Reports Server CGI - Report Job has terminated with error"
My url looks like this
http://myserver/dev60cgi/rwcgi60.exe?server=rep60_bazz&report=emp.rdf&destype=cache&desformat=html&userid=scott/[email protected]&customize=emp1.xml
can anybody tell me what i am missing. The xml file is in the same reports 60 path.
This works fine without customize options.
I followed all the step given in publishing reports documentation.
I am running this on apache/Win-2000/reports6i.
Thanks In advance.
Shailes

Hello,
Did you test this in the Report Builder to see how your customization file worked? If there are any errors in your XML, the Builder is the best environment to see and fix them.
Regards,
The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Customization problems..

    Hello,
    I'm actually researching the best report tool to develop a project for a large client..
    The client is developing the system for the use of other companies.Therefore I'm particularly interested in the ability to set up individual profiles that can be used to customize the reports (e.g. different companies will require different logos to appear on the reports)
    I've read carrefuly the document called "Runtime Customization", and I'm surprized to notice that you can easily change the layout (color, font style...) of a field object (<field> tag in XML), but you can't with an object like a TEXT (boilerplate) .. Apparently , we can only change the label
    ex :
    <object name="B_EMPNO" type="REP_GRAPHIC_TEXT">
    <properties>
    <property name="textSegment">Number</property>
    </properties>
    </object>
    Do you know an other way to do that ? same question to change a logo (in function of the end-customer),the link on an image, the color of the report background...to change
    the layout of all the objects others than a field ... It's very important for a real customization..
    Is it possible to hide/show or change the size of a column in function of a paramater ? (apparently, we can't access to the Heigth, Width properties or to the elasticity of a field by program (conditional formating trigger for example))
    Is it easy to integrate a report in a JSP page ?
    Thanks a lot , best regards
    David

    others questions..
    I tried to replace the text "Number billed" which is on 2 LINES by "Numiro facturi" to manage the bilinguism (french/english) of my site. I've found 2 problems:
    - When I put an accent in my XML page, the server report returns an error.
    - I tried without accent and I expected to see "Numero facture", unless I saw "Numero facture billed".. Apparently, when we put an /n or /r in a text, the customization only replaces the part before this character.
    Thanks again.
    I really need some answers to those questions.

  • Runtime casting problems

    The following code gives me runtime casting problems:
    package edu.columbia.law.markup.test;
    import java.util.*;
    public class A {
       protected static Hashtable hash = null;
       static {
          hash = new Hashtable ();
          hash.put ("one", "value 1");
          hash.put ("two", "value 2");
       public static void main (String args []) {
           A a = new A ();
           String keys [] = a.keys ();
           for (int i = 0; i < keys.length; i++) {
               System.out.println (keys );
    public String [] keys () {
    return (String []) hash.keySet ().toArray ();
    The output on my console is:
    java.lang.ClassCastException: [Ljava.lang.Object;
            at edu.columbia.law.markup.test.A.keys(A.java:37)
            at edu.columbia.law.markup.test.A.main(A.java:29)I can not understand why is it a problem for JVM to cast?
    Any ideas?
    Thanks,
    Alex.

    return (String []) hash.keySet ().toArray ();This form of toArray returns an Object[] reference to an Object[] object. You cannot cast a reference to an Object[] object to a String[] reference for the same reason that you cannot cast a reference to a Object object to a String reference.
    You must use the alternate form of toArray instead:
    return (String []) hash.keySet ().toArray (new String[0]);This will return an Object[] reference to a String[] object, and this reference can be cast to a String[] reference.

  • GetUserName() "null" after Allowing Runtime Customization of Menu

    Hi,
    We use JHeadstart 10.1.3 .3.75. Within the JHeadstart Application Definitions we configured the folowing security options:
    Authentication Type = JAAS with Custom LoginModule
    Use Role-based Authorization? = true
    Authorization Type = JAAS
    Authorize Using Group Permission = true
    I've managed to get the row-level security working as described in [this |http://blogs.oracle.com/jheadstart/2007/11/row_level_security_using_vpd_a.html#adfbc] article written by Sandra Muller.
    I retrieve the UserPrincipleName by calling the folowing statement in my ApplicationModuleImpl baseclass.
    String vUserPrincipalName = ADFContext.getCurrent().getSecurityContext().getUserName();This worked fine until we want to implement the "Runtime Customization" of menu's.
    By switching this option in the JHeadstart Application Definition, my vUserPrincipalName returns null.
    Do you have any suggestions?
    I am able to retrieve the username in my prepareModel step in the lifecycle. Should I set my context in this step or does that result in too much overhead?
    Regards,
    Romano

    Romano,
    Hmm, that's strange. I could not reproduce your issue.
    Your work around seems OK: setting the context in prepareModel.
    Steven Davelaar,
    Jheadstart team.

  • Cannot customize Problem Form in Authoring Tool

    Hi there,
    I am trying to customize Problem Request Form in the Authoring Tool, but when I try to view the form I immediately have the following errors:
    After this message box is displayed, Authoring Tool simply crashes.
    The error  text:
    Description:
      Stopped working
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: smauthoring.exe
      Problem Signature 02: 7.5.3079.0
      Problem Signature 03: 522c3f95
      Problem Signature 04: Microsoft.EnterpriseManagement.UI.FormsInfra
      Problem Signature 05: 7.0.5000.0
      Problem Signature 06: 522c3f22
      Problem Signature 07: 198
      Problem Signature 08: 1a
      Problem Signature 09: System.InvalidOperationException
      OS Version: 6.3.9600.2.0.0.272.7
      Locale ID: 2070
    Have you been able to customize Problem Request form?
    Can you please help me with this?
    Thanks in advance.
    M

    This is a known issue when you run older versions of the authoring tool on XP or Windows 8. AeroLite is part of the Windows Vista/7 Aero interface that the authoring tool has imports into. Consider http://social.technet.microsoft.com/forums/systemcenter/en-US/b1826469-75b6-499d-ade1-2945b6e95d28/incident-form-customisation and
    update your toolchain

  • Error while doing the runtime customization of GP?

    Hi all,
    I iam trying to do the customization of the views in gp at runtime and was little confused in doing can anyone suggest me the best document other than saphelp because iam already refering it.Thanks for your help in advance.

    Check your config in OABN / OADB
    The depriciation area 01 can allow you post values only postive .. in OADB
    it has maintained Acquisition values Postive or zero values and net book
    values has miantained Postive or 0 values. so based on this setting u cannt
    post any negative values for this asset.

  • Java.lang.Runtime.exec problem in ubuntu 9.10

    Hi:
    I tried to run some command in the java code , for example "grass64 -text /home/data/location", this command works well in the terminal, however when I call it in the java code I got some excepetions.
    My code is :
    public class Grass {
         public static String grassBatJob="GRASS_BATCH_JOB";
         public void run(String cmd,String jobPath) {
              //set the environments variables
              Map<String, String> env=new HashMap<String, String>();
              env.put(grassBatJob, jobPath);
              String gisDataBase="/home/kk/grass/GrassDataBase";
              String location="spearfish60";
              String mapset="PERMANENT";
              cmd=cmd+" "+gisDataBase+"/"+location+"/"+mapset;
              CommandLine line=new CommandLine(cmd);
              //the real cmd should be >>grass64 -text /home/kk/grass/GrassDataBase/spearfish60/PERMANENT
              System.out.println("start line=="+line.toString());
              DefaultExecutor de=new DefaultExecutor();
              try {
                   int index=de.execute(line,env);
                   System.out.println(index);
              } catch (ExecuteException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
         public static void main(String[] args) {
              String jobPath=Grass.class.getResource("grass.sh").getFile();
              new Grass().run("grass64 -text", jobPath);
    The real cmd I want to execute is "grass64 -text /home/kk/grass/GrassDataBase/spearfish60/PERMANENT" with the envrionment variable "GRASS_BATCH_JOB=jobPath",it works well in the ternimal ,however in my application I got the exception"
    java.io.IOException: Cannot run program "grass64 -text /home/kk/grass/GrassDataBase/spearfish60/PERMANENT": java.io.IOException: error=2, No such file or directory
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
         at java.lang.Runtime.exec(Runtime.java:593)
         at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
         at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:246)
         at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:302)
         at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
         at org.kingxip.Grass.run(Grass.java:27)
         at org.kingxip.Grass.main(Grass.java:38)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
         at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
         at java.lang.ProcessImpl.start(ProcessImpl.java:65)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
         ... 7 more
    I wonder why?

    Thanks for all of your reply, and now I can run the command, however I met some problems when I tried to get the result of the exec.
    The core codes are shown below:
    String cmd="g.version";
    String[] exe={"bash","-c",cmd};
    Process p1=Runtime.getRuntime.exec(exe,env); // the env has been set
    GrassThread outThread=new GrassThread("out", p1.getInputStream());
    outThread.start();
    GrassThread errorThread=new GrassThread("error", p1.getErrorStream());
    errorThread.start();
    int exitVal = p1.waitFor();
    String resu=outThread.sb.toString();
    System.out.println("==========the output start========");
    System.out.println(resu);
    System.out.println("==========the output end========");
    System.out.println("ExitValue: " + exitVal); //------------------> line one
    public class GrassThread extends Thread{
         public StringBuffer sb=new StringBuffer();
         public GrassThread(String type,InputStream is) {
              this.type=type;
              this.is=is;
         public void run() {
              try {
                   InputStreamReader isr = new InputStreamReader(is);
                   BufferedReader br = new BufferedReader(isr);
                   String line = null;
                   while ((line = br.readLine()) != null) {
                        System.out.println(type + ">" + line);
                        sb.append(line).append("\r");  // ----------------------------> line two
    }I define a StringBuffer in the GrassThread to save the output (see the code where I marked by "line two"), and when the process complete, I check the StringBuffer to get the output (see code where I marked by "line one"), however the output in the console of the IDE are :
    ----------- output in the console of the IDE start -------------
    ==========the output start========
    ==========the output end========
    ExitValue: 0
    out>GRASS 6.4.0RC5 (2009)
    ----------output in the console of the IDE end--------------------
    I can not understand, in the code "line one", I first get the output using "System.out.println(resu);",then I print the exitvalue,but why the order of the output in the console is not what I expected?
    Another question, the code above assume the output can be got from the Process's getInputStream, however sometimes the output maybe come from the Process's getErrorStream, so how to handle it?
    Edited by: apachemaven on 2010-3-5 ??5:38

  • Runtime.exec problem

    we have a c program which does the encryption on the input files.
    IF we ran this program in unix os, it will take 30 secs to finish.
    But if we call this program using java by calling Runtime.getRuntime().exec(command)
    it takes 20 minutest to finish.
    We wonder why does it take this much time to finish.
    We are having thought that when the program runs in unix os it can get all the resources it want.
    but when run this through java, it is limited to JRE / JVM memory size. --->Am I right?
    Could you please clarify my doubt on the memory size. If I wrong, how can we fix this problem.
    Thanx

    In the case of unix
    u will just run the executable using a.out. For processor its just the execution of the executable, so 30 secs
    In case of java
    step1: It has to interpret the java program line by line after doing required loading, linking and initialization
    of the required libraries and class files.
    step2: It has to create a separate process using Runtime.getRuntime().exec() and wait for the result
    of that process
    so the total time will be step1 + step2 = some time + 30 sec = 20 minutes.

  • Masthead customization problem....

    Hello All,
    I am facing problem with masthead Customization. I hv included one image, three external links in masthead area using par file customization through NWDS.
    Now at the same time, I was trying to customized masthead area by using theme editor to remove the underlines displyed on the external links.
    However, my changes done are not reflected in masthead area after logout for users ?
    Will I be able to still use theme editor after doing customizing with the help of par file ?
    I hv tried removing chaches, logged out and logged in several times, bu no luck ?
    Pls, help !! Thanks for time and your inputs. Points assured.
    Best Regards,
    Anil Kumar

    Hi Anil,
    If you didn't changed class tags from html there should
    be no problem. There are tags :
    <TD nowrap class="prtlHdrSep"> </TD>
    <TD nowrap class="prtlHdrWelcome"
    <TD class="prtlHdrBrandImgContainer"
    etc.
    I changed my masthead a lot, it is completely different
    from original but since I didn't change class tags from
    tables I can still change some settings from theme
    editor.
    If you just want to remove underlines from your custom links try adding this to your jsp :
    <style>
    a.customlink {
    text-decoration: none;
    </style>
    and add your links like :
    <a href="http://www.sdn.sap.com" class="customlink">my test link</a>
    Regards
    Abdul.

  • MDS Customization Problem with multiple root components

    Hello,
    Oracle JDeveloper 11.1.1.5.0 and WebLogic Server Version: 10.3.5.0
    I am using Oracle MDS Customization class with the following classes:
    oracle.adf.view.rich.change.MDSDocumentChangeManager
    org.apache.myfaces.trinidad.change.ChangeManager
    org.apache.myfaces.trinidad.change.MoveChildComponentChange
    Based on these classes I am moving UI components
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:region />
    </f:facet>
    </af:panelStretchLayout>
    into another component thanks to the MDS.
    Once I do the movement and persist, I receive the following waning message:
    *<RegionRenderer> <encodeAll> The region component with id: pt1:r1:0:pt2:r1:0:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.*
    When I run the application in Oracle JDeveloper 11.1.1.5.0, it work fine, but when I deploy it on WebLogic Server Version: 10.3.5.0 it is not working.
    I receive the same warning message on the server and in JDeveloper.
    I think that MDS makes a copy of the components that I move because of that it says me that "a page fragment with multiple root components"
    The problem is not because of duplication any of the tags <af:document> <f:view><f:form> <html> <head> <body>
    After the movement and persistence, I also call the FacesContext to reset its view root with the following code:
    FacesContext context =FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    The idea is that the entire JSF tree to be rebuild on entering page with aim to clear previously drag and drop settings.
    Do you know how I can overcome the problem on the server WebLogic Server Version: 10.3.5.0?
    This worked on Oracle JDeveloper 11.1.1.3.0 and now the problem is with Oracle JDeveloper 11.1.1.5.0.
    Regards,
    Niki

    Hi,
    what the error means is that you have more than one node under the jsp:root node of the fragment. Say the content of your fragment is
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    Then this is okay
    if you have
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:panelGroupLayout id="pgl2">
    </af:PanelGrouPLayout>
    or
    <af:panelGroupLayout id="pgl1">
    </af:PanelGrouPLayout>
    <af:commandButton id="cb1"/>
    Then these mean duplicated root components. The JDeveloper IDE flags this as Warnings (Structure Window) when selecting the page fragment
    Frank

  • Runtime error problem - Premiere Pro CS5

    Just ran into a problem when trying to export a timeline as an .avi file. The process goes much more slowly than usual and when the progress bar gets to 95% an error message window opens. The title of the error is: Microsoft Visual C++ Runtime Library. The message is: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Then, I have no choice but to close Premiere.
    I foolishly downloaded and intalled some Windows 7 updates over the weekend and am assuming they might be the culprit(s). I rolled by the system to a restore point immediately before the download, but still have the problem. Any ideas on how to correct this? Of course this happens as I'm trying to export two finished videos to show to a client today. I'm running Windows 7, 64-bit.
    Thanks, Steve Pender

    This may help:
    http://kb2.adobe.com/cps/403/kb403090.html
    I've also noticed that bearly all instances of this error come from bad versions of third-party components like drivers, so I recommend updating your drivers.

  • Runtime.exec() - Problem when using cvs-command

    I have a problem with the Runtime.getRuntime().exec() - Command. I try to execute a command to export files from our cvs-repository. As you hopefully know, cvs produces a lot of output.
    When I start my 'cvs export ... '- command from the console-window of windows, everything works perfect. But when I try to use the Runtime.getRuntime().exec("CVS export ...") the created cvs-subprocess stops after the export of the first three files. When I close the main-window, where the cvs-process was started from, the cvs-process continues working.
    I could see, that many others had the same problem, but I couldn't find a real solution there.
    Is there a possibility to clear/delete the output-buffer of the cvs-subprocess, because I don't really need the information, that cvs gives me. It is enough for me when cvs stores the files :-)
    My source:
    public void executableTest()
    Runtime run = Runtime.getRuntime();
    try
    Process cvsProcess = run.exec("cvs export .... ");
    cvsProcess.waitFor();
    BufferedReader in = new BufferedReader
              ( new InputStreamReader(cvsProcess.getInputStream()) );
         String line;
         while ((line = in.readLine()) != null)
              System.out.println(line);
         catch (Exception e)
         System.out.println(e.getMessage());
    Thanks for your help.

    if the buffer is overflowing, then you don't want to do the waitfor until after you've hit the end of the inputstream, me thinks.

  • Urgent: runtime error problem

    hi,
    iam working on development server and when i run a tcode and aftere dat when i press f1 for help on any field den a runtime error occurs.
    saying dat :-
      The current ABAP/4 program terminated due to
      an internal error in the database interface.
    what does it mean and how to solve dis problem,if find useful he or she will be definately rewarded.

    Hi ric,
    Can you please provide more details like type of program, type of screen. (whether you have used call screen or it's standard selection-screen)..
    Regards,
    Mohaiyuddin

  • Lotus Notes Customize problem!

    Hello All ..
    When pressing on the Ok or Apply Buttons in the Customize page of any of the four portlets, I got a blank page. Although I have compared the code of renderEdit method with the JspServicesCustom.jsp in the Jsp Services sample portlet provided in the JPDK, and also compared the resulting generated HTML from the two cases. They are similar specially in the code that handles the OK and Apply Html buttons, but the Jsp case is working well, it re-renderes after presing Ok or Apply, while the Lotus case always give blank page.
    Any Suggestions to debug or workaround ?
    Pls Help..
    Regards
    Amr
    null

    Amr,
    I have a fix for your problem. However, if you want my code you have to fix the login problem.
    alan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Amr ([email protected]):
    Hello All ..
    When pressing on the Ok or Apply Buttons in the Customize page of any of the four portlets, I got a blank page. Although I have compared the code of renderEdit method with the JspServicesCustom.jsp in the Jsp Services sample portlet provided in the JPDK, and also compared the resulting generated HTML from the two cases. They are similar specially in the code that handles the OK and Apply Html buttons, but the Jsp case is working well, it re-renderes after presing Ok or Apply, while the Lotus case always give blank page.
    Any Suggestions to debug or workaround ?
    Pls Help..
    Regards
    Amr<HR></BLOCKQUOTE>
    null

  • Marketing Online Customization Problem

    Hi,
    Currently I am working on Oracle Marketing Online Customization. I want to develop a applet, and add it in the Marketing Online home page.
    How to make my Applet a web bin and customer can select whether to show it or not.
    Many thanks.

    Hi Yogesh,
    I have the same problem. I have checked the marketing supre user functions type at
    Under sysadmin login-systemadminitrator->Applications->functions. Here I search for the marketing functions. When the functions get listed i check for the type. It is JSP. I hope that's the way.
    If it's fine, how do open marketing module. Please help
    Thanks in advance
    Regards
    Arun

Maybe you are looking for

  • Configure project data to store in a different location

    I am wondering if there is a way to configure iMovie '08 to store project data on /Users/Shared. If so, could someone outline the steps to do so? Thank you

  • What will u do if process chain fails?

    Hi gurus What will u do if process chain fails? Thank in advance? Raju

  • I am using HP 4263ALCR meter, and I am trying

    to use the driver to make impedance measurements. when I go to getting started and try to run it, an error messagge appears, VISA Open inError -1073807343 occurred at VISA Open in Error HP4263A Initialize.vi->HP4263A Getting Started.vi->HP4263A VI Tr

  • Dimensiones de SWF usando Flash Paper

    Hola amigos, soy nuevo en este foro y quisiera que me ayudaran a resolver un problemita que tengo. Estoy implementando una aplicación flash para un cd card el cual contendrá la memoria anual de una institución. He usado el Flash Paper 2 para converti

  • OO: Proper way to over-ride fields?

    This is not a technical question, more of an OOD question. I am having to extend some classes from an open-source project and have run across the following issue: . class Super contains SuperField (and intitializes, I presume to type SuperField) . cl