Problems to generate NLB file with the Oracle Locale Builder

Oracle EE 10.2.0.4 (64)
RH5 (64)
I generated a new file NLT, but I can not generate the NLB file.
When using the option to generate the NLB the, OLB does nothing.
The environment variables ORACLE_HOME, ORACLE_SID and ORA_NLS10 are set correctly.
What to do?

You better ask such questions in the Globalization Support forum:
Globalization Support
Werner

Similar Messages

  • Writing a java program for generating .pdf file with the data of MS-Excel .

    Hi all,
    My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
    I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
    My Program is:
    * Created on Apr 13, 2005
    * TODO To change the template for this generated file go to
    * Window - Preferences - Java - Code Style - Code Templates
    package forums;
    import java.io.*;
    import java.awt.Color;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.Font.*;
    import com.lowagie.text.pdf.MultiColumnText;
    import com.lowagie.text.Phrase.*;
    import net.sf.hibernate.mapping.Array;
    import org.apache.poi.hssf.*;
    import org.apache.poi.poifs.filesystem.*;
    import org.apache.poi.hssf.usermodel.*;
    import com.lowagie.text.Phrase.*;
    import java.util.Iterator;
    * Generates a simple 'Hello World' PDF file.
    * @author blowagie
    public class pdfgenerator {
         * Generates a PDF file with the text 'Hello World'
         * @param args no arguments needed here
         public static void main(String[] args) {
              System.out.println("Hello World");
              Rectangle pageSize = new Rectangle(916, 1592);
                        pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
              // step 1: creation of a document-object
              //Document document = new Document(pageSize);
              Document document = new Document(pageSize, 132, 164, 108, 108);
              try {
                   // step 2:
                   // we create a writer that listens to the document
                   // and directs a PDF-stream to a file
                   PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
                   writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
    //               step 3: we open the document
                             document.open();
                   Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
                   POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
                   HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
                   HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
                   Iterator rows = hsheet.rowIterator();
                                  while( rows.hasNext() ) {
                                       Phrase phrase=new Phrase();
                                       HSSFRow row = (HSSFRow) rows.next();
                                       //System.out.println( "Row #" + row.getRowNum());
                                       // Iterate over each cell in the row and print out the cell's content
                                       Iterator cells = row.cellIterator();
                                       while( cells.hasNext() ) {
                                            HSSFCell cell = (HSSFCell) cells.next();
                                            //System.out.println( "Cell #" + cell.getCellNum() );
                                            switch ( cell.getCellType() ) {
                                                 case HSSFCell.CELL_TYPE_STRING:
                                                 String stringcell=cell.getStringCellValue ()+" ";
                                                 writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                 phrase.add(stringcell);
                                            // document.add(new Phrase(string));
                                                      System.out.print( cell.getStringCellValue () );
                                                      break;
                                                 case HSSFCell.CELL_TYPE_FORMULA:
                                                           String stringdate=cell.getCellFormula()+" ";
                                                           writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                           phrase.add(stringdate);
                                                 System.out.print( cell.getCellFormula() );
                                                           break;
                                                 case HSSFCell.CELL_TYPE_NUMERIC:
                                                 String string=String.valueOf(cell.getNumericCellValue())+" ";
                                                      writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
                                                      phrase.add(string);
                                                      System.out.print( cell.getNumericCellValue() );
                                                      break;
                                                 default:
                                                      //System.out.println( "unsuported sell type" );
                                                      break;
                                       document.add(new Paragraph(phrase));
                                       document.add(new Paragraph("\n \n \n"));
                   // step 4: we add a paragraph to the document
              } catch (DocumentException de) {
                   System.err.println(de.getMessage());
              } catch (IOException ioe) {
                   System.err.println(ioe.getMessage());
              // step 5: we close the document
              document.close();
    My Input from MS-Excel file is:
         Planning and Tracking Template for Interns                                                                 
         Name of the Intern     N.Kesavulu Reddy                                                            
         Project Name     Enterprise Sales and Marketing                                                            
         Description     Estimated Effort in Hrs     Planned/Replanned          Actual          Actual Effort in Hrs     Complexity     Priority     LOC written new & modified     % work completion     Status     Rework     Remarks
    S.No               Start Date     End Date     Start Date     End Date                                        
    1     setup the configuration          31/01/2005     1/2/2005     31/01/2005     1/2/2005                                        
    2     Deploying an application through Tapestry, Spring, Hibernate          2/2/2005     2/2/2005     2/2/2005     2/2/2005                                        
    3     Gone through Componentization and Cxprice application          3/2/2005     3/2/2005     3/2/2005     3/2/2005                                        
    4     Attend the sessions(tapestry,spring, hibernate), QBA          4/2/2005     4/2/2005     4/2/2005     4/2/2005                                        
         The o/p I'm gettint in .pdf file is:
    Planning and Tracking Template for Interns
    N.Kesavulu Reddy Name of the Intern
    Enterprise Sales and Marketing Project Name
    Remarks Rework Status % work completion LOC written new & modified Priority
    Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
    End Date Start Date End Date Start Date S.No
    38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
    38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
    2.0
    38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
    3.0
    38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
                                       The issues i'm facing are:
    When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
    and the second issue is:
    It is not recognizing the date format..it is recognizing the date in first row only......
    Plz Tell me wht is the solution for this...
    Regards
    [email protected]

    Don't double post your question:
    http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
    /Kaj

  • How to reference a file with the XML Forms Builder?

    Hello,
    I've created a form at the XML Form builder (I am using NW 04). This enables the users to create new topic.
    I've created at at the "Edit" form an option to upload a file along with the new topic. The file is being saved in a subfolder of the topics main folder.
    My question is how to create a link to the specific file that has been uploaded with it's specific topic at the "Show" Form? Note that the subfolder contains files of many topics, I want to link to this specific file uploaded with it's relevant topic when created. How do I do that?

    Hi Roy,
    > I've created at the "Edit" form an option
    > to upload a file along with the new topic.
    What I expect that you have done is to add a browse functionality which browses within KM with the possibility to upload an image into KM?! As done within SAP Demo News?!
    If that's the way, just compare the SAP Demo News: Create /DataSchema/News/image and map it to the browser, whereas in the show form part you'll map it to an image.
    If I didn't understand you right and the issue is still open, please report...
    Hope it helps
    Detlev

  • Generating .csv file with the datas from the database

    Hi Java experts,
    Ihave a current assignment to generate a .CSV file using java getting values from database. The output CSV file may have more than one row and each row should have a end of line delimiter. Any help in giving a template for generating a CSV file accessing from database is greatly appreciated.

    Ihave a current assignment to generate a .CSV file
    using java getting values from database.well, I hope you learn something doing it yourself...
    The output
    CSV file may have more than one row and each row
    should have a end of line delimiter. Any help in
    giving a template for generating a CSV file accessing
    from database is greatly appreciated.How about looking for a JDBC and a file/print stream tutorial?

  • Oracle Locale Builder

    The Oracle Locale Builder is used for what purpose ?

    The Oracle Locale Builder is a GUI tool for customizing locale information. Typically customers use the locales that Oracle provides without any need for customization. But occassionally there is need for customization. For more details please read the Globalization guide.

  • Export/Import Process in the UI for Variations Content Translation is Generating CMP Files with No XML

    We have a SharePoint 2010 Publishing Website that uses variations to deliver contain to multiple languages. We are using a third-party translation company to translate publishing pages. The pages are
    exported using the  export/import using the UI process described here: "http://blogs.technet.com/b/stefan_gossner/archive/2011/12/02/sharepoint-variations-the-complete-guide-part-16-translation-support.aspx".
    Certain sub-sites are extremely content-intensive. They may contain many items in the Pages library as well as lists and other sub-sites. 
    For some sub-sites (not all), the exported CMP file contains no XML files. There should be a Manifest.XML, Requirements.XML, ExportSettings.XML, etc., but there are none. After renaming the CMP file
    to CAB and extracting it, the only files it contains are DAT files.
    The only difference I can see between the sub-sites that generate CMP files with no XML files is size. For example, there is one site that is 114 MB that produces a CMP file with no XML files. Small
    sites do not have this problem. If size is the problem, then I would think the process would generate an error instead of creating a single CMP file that contains only DAT files. However, I do not know exactly what the Export/Import Process in the UI is doing.
    This leads to two questions:
    1.
    Does anyone know why some CMP files, when renamed to *.CAB and extracted, would not contain the necessary XML files?
    2. Second, if exporting using the UI will not work, can I use PowerShell? I have tried the Export-SPWeb, but the Manifest.XML does not contain translatable
    content. I have not found any parameters that I can use with Export-SPWeb to cause the exported CMP to be in the same format as the one produced by the Export/Import process in the UI.
    As a next step, we could try developing custom code using the Publishing Service, but before doing this, I would like to understand why the Export/Import process in the UI generates a CMP that
    contains no XML files.
    If no one can answer this question, I would appreciate just some general help on understanding exactly what is happening with the Export/Import Process -- that is, the one that runs when you select
    the export or import option in the Site Manager drop down. Understanding what it is actually doing will help us troubleshoot why there are no XML files in certain export CMPs and assist with determining an alternate approach.
    Thanks in advance
    Kim Ryan, SharePoint Consultant kim.ryan@[no spam]pa-tech.com

    I wanted to bump this post to see about getting some more responses to your problem. I'm running into the same problem as well. We're running a SharePoint 2010 site and are looking at adding variations now. The two subsites with the most content take a
    while to generate the .cmp file (one to two minutes of the browser loading bar spinning waiting on the file). Both files are generated with a lot of .dat files but no .xml files. I was thinking like you that it must be a size issue. Not sure though. Did you
    ever happen to find a solution to this problem?

  • WEBUTIL problems importing a file with the HOST command.

    We are investigating a problem where the users are trying to import a file in from the webserver to be used by the application. The users have successfully moved the file from their local PC to the application server. But, when we perform a HOST command to have the form moved to the UNIX directory, the form hangs. The very last statement of the .BAT file used in the HOST command does the move of the file. And, we can see the entire file in the UNIX directory, we just don't get return back to the form.
    I added displays before and after the HOST command in the form. I see the display before the command but don't receive anything after. The weird thing is this is only happening in our development server. The same issue is not happening in production. Also, if I run the form in client server mode, it works fine also. So, it has to be something on the development application server.
    If anyone has any advice, I would appreciate their help.
    Thanks.

    On the server (assuming Windows since you mention a batch file), locate the Oracle Process Manager Service (for mid tier) on the MS Services Console. Open the properties for this service and click on the "Log on" tab. Check the box labeled "Allow service to interact with desktop".
    That said, if you are executing a batch file on the Windows server to transfer another file to a Unix machine, the above likely won't work either. This is because Windows will not allow a service permission to access network resources (for security purposes). In this case, rather than the above, you will need to change the same setting so a real domain user and not the "Local System" account.

  • Problem with the Oracle comments syntax

    Dear All members of Oracle forum,
    The problem is select query is executing twice in my script, eventhough i have written only one. hear u can see what i did.
    1. create one .sql file with the below content.
    select sysdate from dual;
    /*its a comment */
    select sysdate from dual;
    2. goto Oracle sql*plus editor and execute the above .sql file.
    3. Ideally it should show the date output only 2 times. But, if you run it, it will show thrise(3 times).
    4. but if we modify the above .sql file like below, it will show the date only tice(2 times).
    select sysdate from dual;
    /* its a comment */
    select sysdate from dual;
    the difference between the twwo scripts is, i have given one space betwen first '*' sysmbol and the first word of the comment (i,e its word).
    Can somebody explain what Oracle is doing in first case, and why it is printing 3 times, eventhough the select query is only twice.
    warm regards
    Murali

    Its because there is no space after /* in your code. Hence its consider / to execute the previous statement.
    Like
    SQL>SELECT SYSDATE FROM DUAL;
    SYSDATE
    16-APR-08
    SQL>/
    SYSDATE
    16-APR-08
    Regards
    Arun

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • How do I delete files on my iPod second gen?  This is a NEW problem I have only had with the latest version of iTunes.  I have not changed libraries.

    How do I delete files on my iPod second gen?  This is a NEW problem I have only had with the latest version of iTunes.  I have not changed libraries.  All files are grayed out.  I have already read related posts in the iTunes community.

    Thanks but I had already read this, and it was no help at all.  Under the Summary tab, "Options", there is no check-box to manually manage my stuff.  I suspect this is because it is a 2nd gen iPod, with ONLY manual management.  The only way to delete my stuff seems to be to reset the entire device.
    I like to listen to podcasts.  What is particularly frustrating is that the 4th gen shuffle CANNOT play podcasts, but ONLY music, which I discovered after a lot of research and multiple visits to an Apple store.  So I have to resort to an older version of the shuffle to play podcasts  And now with the latest version of iTunes there seems to be no way to delete any podcasts on the older version.  Apple just makes it harder and harder for us podcast-lovers, driving us away from Apple -- driving me away from the entire brand and from ALL Apple devices, not just iPod.

  • What files and directories are shipped with the Oracle Agent ?

    Hi:
    - Could someone please outline the intent of all the files
    and directories that are shipped with the Oracle agent?
    - I think this was documented somewhere but I cannot
    recall where I saw this previously.
    - Another question: if I wanted to add a logfile for my plug-in
    (for debugging/troubleshooting)
    under which directory should this logfile be placed ?
    Thanks
    John

    http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#i1028189 should help you understand the directory structure of OEM Agent.

  • Translation - XLF file with the UTF-8 BOM at the head of the file

    Using APEX 3.2, I'm trying to get translations loaded for an application that I'm working on. We are going through the process of generating XLIFF files, sending them to a translator to translate, and then importing the data back in rather than manually editing the translations.
    This works perfectly when I use my text editor to enter the (very poor) translations in the file. Our translator, however, uses a tool that adds a byte-order mask BOM at the head of the XLIFF file when it saves it in order to identify it as a UTF-8 encoded file. This appears to be a valid way for the tool to indicate the encoding being used though, obviously, the encoding in the header overrides it and the BOM is not the preferred method of specifying the encoding of an XML file. However, when we import the file in APEX, and hit the Apply XLIFF button, we get an error
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00210: expected '<' instead of '¿' Error at line 1
    The third byte of the UTF-8 BOM (0xEF,0xBB,0xBF), if interpreted as an ISO-8859-1, would be the upside down question mark character in the error message. So it appears that the APEX importer is interpreting the BOM using the ISO-8859-1 character set and throwing an error that the file is not valid. That is not my reading of the proper XML parser behavior.
    Obviously, we can work around the problem either by asking our translator to use a different tool or by opening up the files we get back in a hex editor and removing the BOM. Is there anything we can do to resolve the issue that doesn't involve adding an additional manual step to the process or the translator changing the tool being used? Or is there something I'm missing that would indicate that a file with the BOM in the first three bytes should not be considered a valid XML file?
    Justin

    Hello Justine,
    >> Are you stating that that APEX translation engine more or less requires the database character set to be AL32UTF8 in order to work properly …
    Not exactly.
    The APEX translation engine uses the XML DB parser, and this one needs a legal XML file. The problem is that in your specific case, the encoding of the XLIFF file doesn’t match the database character set, hence a character set conversion process is involved in the middle. This conversion process – from UTF-8 to WE8MSWIN1252 embeds illegal XML characters in your stored XML file, right where the BOM is. If, for example, your XLIFF file were encoded in Windows-1252, no character conversion would be necessary and the final (database stored) version of the XLIFF would have been remained legal (assuming it started this way). In this case, the APEX translation mechanism will work just fine, even with a database character set of WE8MSWIN1252 (as you can see when you are using your own XLIFF files, which don’t include the (offending) BOM byte).
    >> … even if an alternate character set encodes all the characters we need?
    With your current database configuration, it seems that the alternate character set you are talking about can’t really encode all the characters that you need, as it can’t cope with the UTF-8 BOM conversion. It very well may be the only character it can’t handle, but that is enough.
    As we need to be practical, and a database character set conversion is most likely out of the question, the simple solution is probably asking your translator to save your XLIFF files without including the BOM. I’m not familiar with the professional XLIFF editors you mentioned, however, as UTF-8 encoding doesn’t really need a BOM, saving a UTF-8 file without it should be an option (just like Keith mentioned with regards to very simple editors like the windows’ Notepad, or Notepad++).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Problems reading generated pdf-files

    Hi all,
    I have problems reading generated pdf-files from
    Report Builder 6.0.8.11.3
    An error-message occurs when opening the pdf with
    Adobe Acrobat 5.0.1:
    ... problem 110 and after moving in an empty pdf-document
    the messages:
    - too few operands
    - an unrecognized token
    I think the solution must be very simple, but the docu and
    other info resources provide nothing aboutthis issue.
    Greetings,
    Bernhard

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    there are no known problems with reading reports PDFs with later Acrobat Readers. maybe your file is somehow corrupt.
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    I had to install a local printer, the network printer is not appropriate here. After that, everything is fine :-)),
    Greetings,
    Bernhard
    null

  • Problem Displaying generated Markup File (CLOB column)

    Dear Colleague,
    I am attempting to display the results of a generated Markup File in a Forms Text Item. The code (Below) is in a WHEN-BUTTON-PRESSED trigger.
    Step 1: generates the markup file and stores it in the MARKUP_DOCUMENTS table.
    Step 2: Copies the clob column DOCUMENT to the clob variable MYCLOB
    --> At Step 2, my form crashes !!!
    Is Oracle Forms not able to process CLOBs? The form was compiled as if there was no problem.
    How can I access the results of the generated Markup File in the MARKUP_DOCUMENTS table and present it to the Oracle Forms user?
    Best regards,
    Randy
    declare
    myclob clob := empty_clob();
    read_amount number(4):= 500;
    read_offset number(4):= 1;
    buffer varchar2(500) ;
    begin
    -- Step 1:
    ctx_doc.markup(index_name => 'documents_index',
    textkey => to_char(:hitlist_block.id),
    text_query => :search_block.search_clause,
    restab => 'markup_documents',
    query_id => '1',
    plaintext => TRUE);
    -- Step 2:
    SELECT document
    INTO myclob
    FROM markup_documents
    WHERE query_id = 1;
    -- Step 3:
    dbms_lob.read(myclob, read_amount, read_offset, buffer);
    -- Step 4:
    :markup_block.markup_text := buffer;
    go_block ('markup_block');
    exception
    when others then
    message ('Document could not be displayed: '||dbms_error_text);
    end;

    Hello,
    This is what i use to display an HTML Forms Text Item:
    Declare
       lc$Texte  Varchar2(2000) ;
       lf$fic client_text_io.file_type ;
    Begin
       lf$fic := client_text_io.fopen('c:\test.htm', 'w');
       client_text_io.put_line( lf$fic, '<html>' ) ;
       client_text_io.put_line( lf$fic, '<script language="JavaScript">' ) ;
       client_text_io.put_line( lf$fic, 'parent.window.resizeTo(600,400);' ) ;
       client_text_io.put_line( lf$fic, '</script>' ) ;
       client_text_io.put_line( lf$fic, '<body>' ) ;
       client_text_io.put_line( lf$fic, '<FONT face="sans-serif" color=#1B62AB size=2>' ) ;
       client_text_io.put_line( lf$fic, replace( :MAILS.TEXTE, CHR(10), '<br>') ) ;
       client_text_io.put_line( lf$fic, '</body></html>' ) ;
       client_text_io.fclose( lf$fic ) ;
       client_host('cmd /C START "x" iexplore.exe c:\test.htm' ) ;
       client_host('del c:\test.htm' ) ;
    End;Francois

  • SetLoginTimeout behavior with the Oracle driver

    Hi,
    I noticed a number of posts on Metalink indicating setLoginTimeout() does not work with the Oracle jdbc drivers. It is documented as such in the 8.1.7 JDBC doc. But I am wondering if this is still true with the 9i drivers.
    If so are there any workarounds to generate exceptions or recover gracefully when the db machine is down or the network connectivity to it is down ??
    It seems like a fairly drastic flaw in the drivers if it is not able recover from system down type situations.
    - Manish

    I've seen you've been posting the same message in MetaLink, and, again, no answer from Oracle so far.
    It looks like we're having the same problem. In our environment, cross-network connections are being broken down by our firewall, and then the connection hangs forever when the next statement is issued. I wanted to solve this by telling out Java people to use a timeout.
    In case you have any news on this, I'd be happy to hear about it.
    Ron

Maybe you are looking for

  • Error: BLS is exposed as Web Service

    Hi All, I have one small BLS which will get two integers as input params and yield their Sum as output param with Integer Data type. This BLS itself is working fine. Now while generating WSDL file on this BLS, I have use the URL like following http:/

  • Moving pages from one document to another in preview

    I have two PDF documents open with the sidebar on my desktop.  I have moved a page from one document sidebar to another and then saved the document with the additional page.  When I open the document the added page is not there.  This is extremely fu

  • Varience Report

    Dear Friends My client needs to run a report with following information. Production Order, Material, Standard Price, Actual Cost, Total Varience. Please provide me answer for this. For right answer full points will be given. This will be one way of t

  • Can't open Outlook Express

    I'm running Outlook Express 5.0.6 on OS9.0.4. Express crashed, I think when I deleted an e-mail. Had to reset the PC and I immediately made it restart up onto my Norton SystemWorks CD in order to run DiskDoctor, but I couldn't see the hardrive. Numbe

  • IPhone 3GS and iOS4 problems! PLEASE help!!

    yesterday i updated to iOS4 on my iPhone 3GS. everything was going well except my iphone would restart whenever it liked. so i connected to iTunes & decided to restore it back to its factory settings to try and resolve the issue. now, the iphone scre