Generate RTF problem

GDay all,
I have encountered oracle report 6i problem.
When I run the following command.
RWCLI60 MODULE=AAA-001.REP USERID=scott/tiger@aaa SERVER=Rep60-OraHome61 DESTYPE=FILE DESFORMAT=RTF DESNAME=C:\001.RTF
The outcome should be a 001.RTF file would be saved into C:\. During the executing it pop up an error message box: REP-0179: Report execution terminated unexpectedly while running.
OS platform is: window 2000 Professional with SP2
Oracle Database version: Oracle 8i
Oracle Report Builder version: 6.0.8.11.3
Is anyone have experience the same problem before and have a suitable solution for that?
Cheers,
Pat

GDay all,
I have encountered oracle report 6i problem.
When I run the following command.
RWCLI60 MODULE=AAA-001.REP USERID=scott/tiger@aaa SERVER=Rep60-OraHome61 DESTYPE=FILE DESFORMAT=RTF DESNAME=C:\001.RTF
The outcome should be a 001.RTF file would be saved into C:\. During the executing it pop up an error message box: REP-0179: Report execution terminated unexpectedly while running.
OS platform is: window 2000 Professional with SP2
Oracle Database version: Oracle 8i
Oracle Report Builder version: 6.0.8.11.3
Is anyone have experience the same problem before and have a suitable solution for that?
Cheers,
Pat I am trying the exact same thing with the same os/db/builder versions. The URL I use works when I supply desformat of pdf, xml, html, htmlcss and delimited but not RTF. I don't get the pop-up message but I get:
Error: The requested URL was not found, or cannot be served at this time.
Oracle Reports Server CGI - The Reports Server Engine terminated abnormally.
HELLLPPPPPP please!!!
Dia

Similar Messages

  • Generated RTF TOC displaying 0 for page numbers

    Hi,
    I have an issue where I created a table of contents using Styles in Microsoft Word in my .rtf template. This is how it is displayed in the template and how I wish to display it in the generated .rtf:
    Section 2.3 : Section 2.3 Test...................48
    Section 2.3.1: Section 2.3.1 Test.............48
    Section 2.3.2: Section 2.3.2 Test.............48
    Section 2.3.3: Section 2.3.3 Test.............49
    Section 2.3.4: Section 2.3.4 Test.............50
    Section 2.3.5: Section 2.3.5 Test.............50
    When I go to generate the .rtf, the page numbers all turn to '0'. The hyperlink works correctly but the page numbers are not displaying the correct numbers. If I generate in a .pdf format, the numbers appear correctly. Unfortunately I need this to be in .rtf format. Anyone have any ideas? I cannot find anything on this issue.
    Generated in .rtf:
    Section 2.3 : Section 2.3 Test...................0
    Section 2.3.1: Section 2.3.1 Test.............0
    Section 2.3.2: Section 2.3.2 Test.............0
    Section 2.3.3: Section 2.3.3 Test.............0
    Section 2.3.4: Section 2.3.4 Test.............0
    Section 2.3.5: Section 2.3.5 Test.............0
    Thanks.

    Its identified as a word issue.
    You need to manually update the TOC in generated RTF to refresh page numbers.
    Check the note 'Table Of Contents Page Numbering In RTF Output Is Incorrect (Doc ID 473505.1)'

  • API to Generate RTF

    I need an API which could generate RTF document from scratch. I found one API iText.
    http://www.lowagie.com/iText/index.html
    But it lacks some of the features.
    So please give me the link of API which could prove fruitful to me. It may be freely available or commercial.
    Regards
    Raza

    As your question has nothing to do with this forum you're not very likely to get an answer here.

  • Table Maintainance Generator Updation problem

    Hello,
    I am having the problem related to table maintainence generator updation.
    I am fetching the data in table maintainance generator from Standard table.
    Now the problem is that, if I fetch  some records ; some records are updated properly but some records are not.
    Please suggest the solution.
    Thanks.
    Swati.

    >
    Swati Khandelwal wrote:
    > Hello All.
    > Thanks for your reply.
    > The field which is not updating is not the key field.
    >
    > Thanks.
    > Swati
    It does't matter.
    But the fields is not updating you need to check its key in table whether it is exsist?
    I'm yes it is there.
    One more thing i would like to confirm are you using Update or modify?

  • Generating report problem

    Hi all,
    I have procedure for generating report as csv file.I n this procedure has several BEGIN..END pl/sql blocks and
    SELECT...INTO..clauses .And i'm using UTL_FILE for generating csv report.
    But problem is now this procedure is taking 12 hrs for 1 month date interval(3lacks records).I need to run this procedure every month .I need to reduce the execution time.could Some one give me a new idea for generating report.
    Any new Idea?

    What makes you think that "FOR ... IN (SELECT .....) LOOP" isn't looping through a cursor?
    for below block code is entire block
    BEGIN
                IF LN_COUNT > 0 THEN
                    LS_RESTART_POSITION :=NULL;
                    FOR LN_CNT IN (SELECT RESTART_POSITION FROM TEST_PROGRESS WHERE to_char(created_on,'dd/mm/yy hh24:mi:ss') >=(SELECT nvl(max(to_char(created_on,'dd/mm/yy hh24:mi:ss')),'00:00:00') FROM TEST_PROGRESS
                                    WHERE TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID AND
    RESTART_TYPE = 1)
                                AND TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID AND RESTART_TYPE<>1
                                ORDER BY CREATED_ON)
                        LOOP           
                            LS_RESTART_POSITION := LS_RESTART_POSITION||'\'||LN_CNT.RESTART_POSITION;       
                        END LOOP;
                        LS_RESTART_POSITION:= SUBSTR(LS_RESTART_POSITION,2,LENGTH(LS_RESTART_POSITION)-1);
                ELSE     
                    LS_RESTART_POSITION :=NULL;
                    FOR LN_CNT IN (SELECT  RESTART_POSITION FROM TEST_PROGRESS WHERE TEST_SESSION_DETAIL_ID=TB_TYPE_DET_ID(TEST_TYP_ID_CNT).TEST_SESSION_DETAIL_ID ORDER BY CREATED_ON)
                        LOOP           
                            LS_RESTART_POSITION := LS_RESTART_POSITION||'\'||LN_CNT.RESTART_POSITION;       
                        END LOOP;
                        LS_RESTART_POSITION:=SUBSTR(LS_RESTART_POSITION,2,LENGTH(LS_RESTART_POSITION)-1);
                END IF ;
                EXCEPTION
                WHEN OTHERS THEN
                Sp_Insert_Error_Log (LS_OBJECT_NAME,SYSDATE,'RESUME_FLAG','WHEN OTHERS TRIGGERED'||'-'||SQLERRM);
                END;
    How are you populating your collection? Via a bulk collect?
    through  bulk collect
    However, I would be willing to bet that this loop is inside another loop, right?
    Yes your are correct it is inside of the loop.
    I procedure is too big(800lines) hence i can't post entire procedure.If any possible plz let me know.
    Yes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • XML Parser, Class Generator demo problem

    Hello,
    I have downloaded today the XML Parser and the Class Generator. I have successfully compiled the SampleMain.java coming with the kit. When running it there is a problem with the expected DTD filename input.
    The program prints out the needed format as:
    Usage: java SampleMain [-root <rootName>] <fileName>
    fileName Input file, XML document or external DTD file
    -root <rootName> Name of the root Element (required if the input file is an external DTD)
    Whatever I try as DTD filename input fails.
    I work on Windows-NT!
    I have tried running with JDK 1.1.7.a and JDK 1.2.2.
    Thanks, Yigal.

    java SampleMain Widl.xml
    or
    java SampleMain -root WIDL Widl.dtd
    Make you have Widl.xml and Widl.dtd are
    in the current directory. Also, remember
    Java is case sensitive.
    If you are still getting errors, please
    post the error message.
    null

  • DBMS_METADATA carraige returns in generated script problem

    Hi,
    does anyone know how to change the line length of the ddl generated by the DBMS_METADATA package. I'm trrying to generate ddl for a set of tables but when its generated i get the following problem
    CREATE TABLE "MYUSER"."APP_SEARCH"
    (     "USER_ID" NUMBER(5,0) NOT NULL ENABLE,
         "SEARCH_ID" NUMBER(5,0) NOT NULL ENABLE,
         "COMMENTS" VARCHAR2(100),
         "CRITERIA" LONG,
         "SEARCH_NAME" VARCHAR2(60),
         "DATE_CREATED" DATE,
         CONSTRAINT "PK_APP_SEARCH" PRIMARY KEY ("USER_ID", "SEARCH_ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 TABLESPACE "TS_PK_INDEX_APPLIC
    ATION_SMALL" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING TABLESPACE "TS_APPLIC
    ATION_SMALL"
    The problem being the TS_APPLICATION_SMALL table space name goes across 2 lines, since I am generating this into a script to be run later, the script doesn't work as it thinks the tablespace name is TS_APPLIC. I think the DBMS_METADAT package uses a fixed varchar2 width when createing the ddl inside the returned CLOB. Any ideas on how to get around this?
    Many Thanks,
    Trev.

    Joel,
    thanks for the feedback,
    I'm using the following script to generate the required create table script:
    set linesize 4000
    set heading off;
    set echo off;
    Set pages 0;
    set long 90000;
    spool createdummytable.sql
    execute DBMS_METADATA.SET_TRANSFORM_PARAM( DBMS_METADATA.SESSION_TRANSFORM,'STORAGE',false);
    select dbms_metadata.get_ddl('TABLE','APP_SEARCH')||';' from dual;
    execute DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'DEFAULT');
    spool off
    set heading on
    set feedback on
    exit
    But even with the linesize set to 4000 I get the same problem. I wanted to generate the script on the client not on the server using DBMS_OUTPUT, any ideas and many thanks again,
    Trev

  • Generating RTF/PDF/HTML

    Hi all
    Is it somehow possible to generate an RTF, PDF or HTML easily direct out of Java so that i can display my text and all other stuff like this, without using of a printer/printpreview - i don't want to make it like this
    it is easier to simply show the user the final document and he can save/print as he wants it to
    perhaps there is a possible convertion of my XML data into an HTML Page with XSL (Xpath and XSLT), but i don't know how to use these sub languages of XML
    i will post it in the xml forum too
    thank
    dietmar gombotz

    If you need to convert your output to PDF you can take a look at the iText API at http://www.lowagie.com/iText/.
    The same API has a HTMLWriter and PDFWriter that can convert XML into HTML/PDF. You might need to do a bit more research to see if this would suit you.
    Thanks
    Saravanan

  • Generated Code Problem?

    So now, when I try to create an instance of my bean
    Context art3ic = new InitialContext(env);
    PersonHome pHome = (PersonHome) art3ic.lookup("Person");
    Person pRemote = pHome.create(); <---- Exception
    I get an exception saying I'm trying to find a primary key inside a create call. This is not the case:
    public String ejbCreate() {
    return null;
    So I'm guessing the generated code has placed a getPrimaryKey call there?
    Any comments or advice?
    Exception in thread "main" java.lang.IllegalStateException: Can not call getPrimaryKey() inside ejbCreate(...) methods, the entity does not have an identity yet, see the EJB 2.0 specification chapter 10.5.4
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1558)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1511)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy1.create(Unknown Source)
         at com.art3.UnitTesting.PersonTest.<init>(PersonTest.java:37)
         at com.art3.UnitTesting.PersonTest.main(PersonTest.java:52)

    Yup, it's a bug. I read the generated code. So is there a bug/problem/issue report on this within Oracle? If so what's the status? When are we slated to see a fix? Quite a few people have run into this (turns out this subject was already under discussion - silly me not to search first).

  • Java ME 3.0 Web Services Stub Generator  Inheritance problem

    Hello,
    I have a problem with that relates to inheritance.
    Suppose I have abstract class User and class Member that extends class User.
    Suppose I have web service MyService:
    @WebService
    public class MyService {
    public User getUser(int id) {
    // do something
    When the server returns a Member instance instead of User I receive a MarshalException at the Client.
    The reason is " Invalid Element in Response:" + Member field that isn't part of User.
    I am using Java Me SDK 3.0 wscompile stub generator.
    I have also checked it with GlassFish stub generator wsimport and there the problem didn't appear.
    Ideas ?
    Thanks in advance,
    Raanan

    Seems like you are missing a necessary jar-file in your forms-classpath. Check the libraries attached to your project in Jdeveloper and add them to the path.

  • Prioryly generated key problem.

    public String encrypt(String password){
    String algo = "DESede";
    Cipher cipher = Cipher.getInstance(algo);
    String s = null;
    Key key = (Key)com.sun.crypto.provider.DESedeKey@4f9655f1;
    cipher.init(Cipher.ENCRYPT_MODE, key);
         byte[] inputBytes = password.getBytes();
         s = cipher.doFinal(inputBytes);
    return s;
    public String decrypt(String password){
    String algo = "DESede";
    Cipher cipher = Cipher.getInstance(algo);
    String s = null;
    Key key = (Key)com.sun.crypto.provider.DESedeKey@4f9655f1;
    cipher.init(Cipher.DECRYPT_MODE, key);
         byte[] vas = cipher.doFinal(password);
         String s = new String(vas);
         return s;
    I got a problem with the above code the character @ in the object com.sun.crypto.provider.DESedeKey@4f9655f1 does not compile in java, but I need to use it because its my pre generated key that i wish to use in encryption and decryption function.
    Thanks for the help in advance.

    Wow. This one is...surreal. Let's see:
    As silk.m noted, what you're trying to do doesn't make any sense. You need to have the bytes of the Key in order to recreate it. Use generatedKey.getEncoded() to get the byte[] that describes the Key, and then look at how to use DESedeKeySpec and SecretKeyFactory to recreate the Key object.
    On top of that, you have other problems.
    You can't just use byte[] plaintext = s.getBytes(). The default String encoding is different on different platforms. You need to tell getBytes() which encoding you really want.
    You're attempting to return the output of doFinal() as a String. You can't - it's a byte[]. You can't just return "new String(doFinalBytes)", either - ciphertext IS NOT "String-able". You'll need to Base64 it first.
    It's also possible you'll be bitten by having a plaintext that isn't an integral number of blocks. I don't recall if the default DESede uses padding, or assumes NoPadding.
    You've got some fixing to do...
    Good luck,
    Grant

  • IMovie Generating Thumbnails Problem

    Hey there,
    I'm pretty much a new comer to the Mac World. And I was importing some video footage from my Sony HD Cam. Now there must of been at least 3/4 hours of HD recording and managed to import it all. I set the importing at Full Res. and it imported fine, now the problem that I have is the Thumnail Generating Process. Yesterday, the thumbnail generating process said 23 hours, so I left it to run overnight, and it is now saying 70 hours ? So what/where is the problem ?
    Thanks
    Sangiev,

    It sounds like your iMovie is in a "hang" condition, because it should not take that long.
    I would recommend that you close iMovie. Then, in the finder, go to the Movies/iMovie Events folder and find your Event. In the Event, you should see the files you just imported along with two additional folders: thumbnails and cache. Leave the main video files alone, but drag the thumbnail folder and cache folder to your desktop temporarily (In case this does not work, you can move them back).
    Then reopen iMovie. It should regenerate the thumbnail files.

  • JSTL Markup generated whitespace problem

    I am facing a big problem in the website that I am building due to the whitespace that is being generated from the JSTL code. The number of bytes written out as html markup is nearly similar to the number of whitespace characters that get written for all the JSTL code. This has made my jsp very unoptimized. While using scriptlet I used to buffer the HTML in stringBuffer and do a final out.print on the StringBuffer. But i could not find any such method in JSTL. The code snippet is pasted below, after all the logical processing I am just outputting an html li element with some markup inside it. Unfortunately, JSTL is pumping out all the whitespace that is in the jstl code also.
    Please help me?
    <div class="imageHolder">
            <ul class="imageList">
                <c:catch var="currentMapError">
                     <c:forEach items="${cwmBeansAtr}" var="bean" varStatus="loopStatus">
                         <c:choose>
                            <c:when test="${fn:length(fn:trim(bean.skyCode)) < 2}">
                               <c:set var="condCssClass">
                                          imageCondition imageType-md imageType-0${bean.skyCode}
                               </c:set>
                            </c:when>
                            <c:otherwise>
                                <c:set var="condCssClass">
                                    weatherCondition weatherType-md weatherType-${bean.skyCode}
                               </c:set>
                            </c:otherwise>
                         </c:choose>
                         <c:choose>
                             <c:when test="${requestScope.temperatureUnit eq 'c'}">
                                 <c:set var="hiTemperature" value="${bean.highTempC}"/>
                                 <c:set var="loTemperature" value="${bean.lowTempC}"/>
                             </c:when>
                             <c:otherwise>
                                 <c:set var="hiTemperature" value="${bean.highTempF}"/>
                                 <c:set var="loTemperature" value="${bean.lowTempF}"/>
                             </c:otherwise>
                         </c:choose>
                         <li class="${condCssClass}" style="left:${bean.XCoord}px;top:${bean.YCoord}px;" title="${bean.cityName}">
                             <a href="http://weather.aol.com/main.adp?location=${bean.locationID}">
                                 <span class="tempValJSH hi" title="high" id="cwmHi${loopStatus.count}">${hiTemperature}</span>
                                 <span class="tempValJSH low" title="low" id="cwmLo${loopStatus.count}">${loTemperature}</span>
                             </a>
                         </li>
                         <c:if test="${loopStatus.last}">
                             <c:set var="totalCWMCities" value="${loopStatus.count}"/>
                         </c:if>
                     </c:forEach>
                </c:catch>
                <c:if test="${not empty currentWeatherMapError}">
                    <!-- Error in the current weather module ${currentWeatherMapError}.  -->
                </c:if>
            </ul>
        </div>
        <p class="more"><a href="#">More Maps</a></p>
    </div>

    made the following changes to your filter that seem to handle the extra line separator
    boolean lastCharacter = false;
    boolean firstCharacter = false;
    if(builder.substring(builder.length()-1).equals(" ")) {
          lastCharacter = true;
    if(builder.substring(0,1).equals(" ")) {
          firstCharacter = true;
    }Then just conditionally do an out.write(" ") in the appropriate place if these were true.
    Also checking for a firstPass and not allowing a lineSeparator to be appended on the first pass of the while loop for a builder.

  • Generate/Reconcile problem: two types of Off-line Tables?

    Hi,
    I have problem with Generate/Reconcile objects from Off-line Tables.
    I have DB tables primarily defined as Off-line DB tables (creation and all changes I do with Off-line DB Tables). Sequentially I force changes to DB with option "Generate/Reconcile". So long as I created Off-line tables directly in JDeveloper, all was great.
    Now, I want to simplify proces of creation off-line tables: I generate myself sql simple sql script (on the basis java-beans), apply to DB and after it import DB tables from DB to Off-line tables. Next I want to work as sooner, i.e. make fine changes on Off-line tables and "Generate/Reconcile" to DB.
    But this second approach dosn't work. Off-line tables imported from DB shows in Table Information warning "This table has been imported from/or generated to a database. Changigng the Temporary Table property will affect your ability to reconcile it with that database". But what is important: Generate/Reconcile such Off-line table to DB faces alltimes to DROP table and CREATE table!!!!! So this is fully useless.
    When I opex Off-line tables xml, other structure is for Off-line tables created in JDeveloper and imported from DB.
    So how resolve this problem? How can I "transform" Off-line table imported from DB to Off-lina table created directly in JDeveloper?
    Notice 1: I have JDeveloper 10.1.3.2.0
    Notice 2: When imported from DB, I imported table to another schema and another table-name, eg. SCHEMA1.NEW_TABLENAME to SCHEMA2.TABLENAME.

    Hello,
    Discuss with your finance team
    Thanks
    RK

  • Prime number generator code, problems

    hi, im having problems making a program to generate the prime numbers from 1 to 100. any help appreciated. here is the code i did so far.
    public class primeNumbers {
    public static void main(String args[]) {
         for(x=1;x<101;x++)
              prime=1;
              if (prime/prime==1) prime++;
              else System.out.println(" ");
              System.out.println(" prime is " + prime);
    }

    {color:red}CROSS POSTED{color}
    [http://forum.java.sun.com/thread.jspa?threadID=5299159]
    Cross posting is rude.
    db

Maybe you are looking for

  • Non-unicode to Unicode conversion in ECC 6.0

    hello friends,                   WE have ECC 6.0 at our location , it was upgraded from 4.7 to Ecc 6.0, but it is in non-unicode format , just we have to convert that thing to unicode , for that we have seen that we can export the data from current n

  • MRP FOR On order stock

    hi Can anybody pls tell me does system consider open PO qty, On order  stock qty(rejected materials), Open PR qty while MRP run. If yes How does it happen? If suppose I want system not to consider above stock in MRP run, How can I do It? Pls suggest.

  • Please Help me!!! DVLA/Courts : 1 - ME : 0

    Hi, I am a complete novice but think I know how powerful database can be. My problem is I have recently lost a court case against the UK Driver Vehicle Licence Agency. I lost because the DVLA Barrister blinded the Judge with science about how hard it

  • OS Command Exception - ODI Agent?

    Is there any exception for using OS Command in packages/scenario with an agent on Windows? I have a package that has an OS Command to execute a remote task (using SCHTASKS /Run /S <Server> /TN <TaskName>) Here is the thing: if I run the package/scena

  • Urgent !!!Portal Startup problem!!!

    Hi, I performed PDK installation on my SAP EP 6.0 Sneak preview version.WAS 6.40 i imported the .epa(downloaded from Market place) into portal but got errors while working with the assigned role(java developer role), so i downloaded the PDK BP 6.0 fr