Access pdf files on-line using iPlanet as server

We are using Sun One Web Server as server. Our system generate files in pdf fomat and this pdf format must be available online. We created a folder inside server machine directory e.g. /var/opt/generatedreports/ .. The pdf files will open once a user clicks on the link.
how could i check this directory-mapping?

Ok, thanks. I think I will find a way to show the files. Maybe i'll use a jsp page instead. Thanks again.

Similar Messages

  • Access to Oracle 8i DB using iPlanet web server

    Hi ,
    I have been trying to implement Connection Pooling in my application using the built-in features of iPlanet App server 6.5 . For the same i have made the following entries:
    1. web.xml
    <resource-ref>
    <description>Ptrade Entry</description>
    <res-ref-name>jdbc/ptradeDataSource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    2. ias-web.xml
    <resource-ref>
    <res-ref-name>jdbc/ptradeDataSource</ref-ref-name>
    <jndi-name>jdbc/ptrade/ptradeDB</jndi-name>
    </resource-ref>
    3. Also my class tries to ge the context using
    try {
    InitialContext ic = new InitialContext();
    ds = (DataSource)ic.lookup("java:comp/env/jdbc/ptradeDataSource");
    catch (NamingException ne) {
    System.out.println("Naming Exception" + ne);
    Connection dbc = ds.getConnection();
    return dbc;
    However i am getting an javax.naming.NameNotfoundException: can't locate jdbc/ptradeDataSource.
    Could somebody pls tell me what is wrong with my configuration and code?

    Hi Rahul,
    Thanks for bringing this page to my
    notice..But there are still a few doubts which i
    have...
    . I have worked on JNDI so far, so could you please
    tell me where exactly i need to define the namespace
    of JNDI ? In which all configuration files would i
    need to declare the database? more specifically,Would
    i need to make any changes to server.xml?Probably web.xml and server.xml
    2. Could you please share any xml files that would
    give the additions that i need to make in my setup?I don't use iPlanet. Not many people do these days that I know of.
    You could look at the Tomcat docs on how to set up a JNDI data source. That should help.
    3. Would i need to explicitly close the DB
    connections in my code?You should be already. If you're not, you're writing bad code. ResultSets and Statements need to be closed as well.
    %

  • I cannot access PDF files from my current BT Yahoo...

    Since downloading an updated version of Yahoo Mail a few months ago, I cannot now access PDF files from old e-mail messages which are located in the "Folders" section on the mail screen.  When trying to open them the message "Scanning Attachments" is displayed.  After about 60 seconds a Message is displayed "An Error Occurred whilst Downloading". This never used to happen with the previous version of Yahoo Mail.  I have tried to save the attachments to my laptop and the message reads "Scanning Attachments" which would signify that they had been saved due to no subsequent Error Message being displayed.  I have trawled all through my laptop and cannot find any of the alleged saved PDF files.
    I am an old chap and not very computer literate and am hoping you professionals can come up with an answer and fix to this problem, which I believe, was not of my own making.
    Whether this has any bearing on the matter, I changed about four months ago from BT Total BB to Infinity Opt1 which includes McAfee security built in as standard.  I have also, as an on-screen reminder, recently updated my Adobe Reader programme to version 11.  I cannot think of any other changes, apart from the new version of Yahoo Mail, that has made this problem come to light as it has. 
    Your help and assistance in this matter would be most welcome and appreciated.
    Thanks You
    Ian.

    Your problem is typical of the many problems reported with McAfee, and that may well be the cause. McAfee is free with Infinity but isn't built-in in the sense that you have to take it. Is your previous anti-virus still installed? If so, you should get rid of one of them anyway, and the usual advice here would be to ditch McAfee.
    Even if McAfee is the your only AV I would replace it. If your previous AV is no longer available there are plenty of free options, and Microsoft Security Essentials (MSE) is as good a choice as any. There's advice on uninstalling McAfee here.
    You can click the white star next to this message if you think it was helpful.

  • Cannot Access PDF Files on Several Websites

    Since loading Adobe Flash, 3-4 weeks ago and then again today, I am unable to access PDF files on several different websites.  One good and easy to access example is:
    www.irs.gov  Under Forms and Pubs choose 1040 or any other.

    What browser are you using?
    I'm able to access forms at irs.gov using Firefox, IE10, Opera, Chrome and Safari on Windows 7, 8 and Mac OS 10.8.4

  • Needs software to access pdf files on sun ray client

    Needs software to access pdf files on sun ray client , with mozilla firefoX or Sea monkey as a browsers
    Tried to install pdf getting error ,
    Needs technique or technical troubleshooting steps to access pdf files on mozilla or sea monkey or other solaris compatible Browsers on Sun ray client
    Regards
    Raghav b v

    You can still install Acrobat Reader, Evince or Xpdf to read PDF files. But if you want that the PDF file should be displayed in a browser windows, then you can forget Evince in the previous list, or you can consider to use Firefox 19 or higher that incorpore a buid-in PDF viewer.

  • Can I access PDF files?

    Can I access PDF files?

    To expand on Johnathan's very precise reply:
    PDFs can be easily read on iOS devices using apps such as iBooks, Goodreader and a myriad of others. You have to open the PDF file in one of these apps. Typically, if you receive a PDF via email, if you tap and hold on the PDF attachment icon in Mail, you will get a dialogue offering you a chance to "Open In..." and if you have PDF reading apps on your iPad, you will see a list. Choose one and the PDF will open in that app.

  • Could not open PDF Files with Safari using Lion - Solution

    Two for one solution:
    After installing Lion on my Macbook Pro, I could not open PDF files on line via Safari and iPhoto 11 kept crashing.
    Well, the solution for bothy problems was to remove the "3ivx" file. 
    The easiest way to do so is go to Applications > 3ivx folder > run Remove 3ivx app.
    OR:
    Finder > Library folder > Application Support folder > drag "3ivx" folder to trash and trash.

    Does Safari - Help - Installed Plug-ins show anything for pdf other than WebKit built-in PDF ?

  • Q: How do I convert a pdf file to Word using Adobe Export PDF? - all my attempts are scrambled.

    Q: How do I convert a pdf file to Word using Acrobat Export PDF - all my attempts are scrambled

    Do you subscribe an Adobe Export PDF account? If you do not have an account, please go to https://www.acrobat.com/exportpdf/en/home.html?trackingid=JPZKN to subscribe.
    If you have an account, make sure verify your email address and sign in from https://exportpdf.acrobat.com/SignIn.html
    Jyh-Jiun Liou

  • Creating PDF file in XI using iText

    Hi all,
    I am trying to create a PDF file in XI using itext. The PDF file is getting created in my target ftp server but I am not able to open the PDF. It is throwing the below error while opening.
    "Adobe Reader could not open the sample.pdf because it is either not a supported file or because the file has been damaged(for example,it was sent as an e mail attachment and wasn't correctly decoded)"
    I am using the below code in my udf
    String filename= "Sample.pdf";
    try
    Document document= new Document();
    PdfWriter pdfwriter=PdfWriter.getInstance(document,new FileOutputStream(filename));
    document.open();
    document.add(new Paragraph("Hi How are you?"));
    document.close();
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key,filename);
    catch(Exception e)
    return "";
    Kindly let me know if you have any information on this.
    With Regards
    jaisu.
    Edited by: jaisu118 on Feb 12, 2010 8:04 AM

    hi,
    I had used custom adapter module for creating the PDF file.
    you have to use java mapping if you want to create pdf without using adapter module.
    You need to import iText library available at http://itextpdf.com/.
    How to use external jar files ??
    External Jar files in UDF
    code may look like this:
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.Reader;
    //1. AbstractTransformation class is imported.
    // The associated jar file is: com.sap.xpi.ib.mapping.lib.jar
    import com.sap.aii.mapping.api.AbstractTransformation;
    import  com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.DynamicConfigurationKey;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    import com.sap.aii.mapping.api.InputHeader;
    public class xyz extends AbstractTransformation {
    public void transform(TransformationInput inp, TransformationOutput out) throws StreamTransformationException {
         getTrace().addInfo("JAVA Mapping Called");
                         InputStream inData = inp.getInputPayload().getInputStream();
                        // pdf conversion code
                        out.getOutputPayload().getOutputStream().write(outData.getBytes("UTF-8"));
    check http://help.sap.com/javadocs/pi/SP3/xpi/index.html for java mapping api.
    Thanks.

  • Open a PDF file in linux using java

    Hi..
    How can I open a PDF file in linux using java.
    I am able to open PDF in windows and mac using this code
    in Windows
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + path_of_PDF);
    in mac
    Runtime.getRuntime().exec("open " + path_of_PDF);
    But nothing is working with linux.
    Please help
    Thanks

    One thread is enough:
    http://forum.java.sun.com/thread.jspa?threadID=5267458

  • Open PDF file in linux using java

    Hi..
    How can I open a PDF file in linux using java.
    I am able to open PDF in windows and mac using this code
    in Windows
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + path_of_PDF);
    in mac
    Runtime.getRuntime().exec("open " + path_of_PDF);
    But nothing is working with linux.
    Please help
    Thanks

    appi wrote:
    Hi.. I found the JDIC binary files. There are different binaries for all the plateform. Is there any solution which is independent of plateform.Yes, and we already told you: Use JDK6, which has those libraries built into the standard class library.
    How can I use these binaries in my existing project. does it work, If I place them at same place where other .class files are kept.Read the documentation of the JDIC project. I'm sure they answer this question in their FAQ.

  • When I have a pdf file open, I used to be able to click on "Bookmarks" tab on left side and allow me to click on each individual page and delete if I needed to.  Now when I click on the Bookmarks tab, that section is empty.  How can I get it to show each

    when I have a pdf file open, I used to be able to click on "Bookmarks" tab on left side and allow me to click on each individual page and delete if I needed to.  Now when I click on the Bookmarks tab, that section is empty.  How can I get it to show each page again?

    Hi chrismarks1,
    I think you may be confusing bookmarks with thumbnails. If you click the Page Thumbnails icon (the one above the Bookmarks icon), then you can delete a page by clicking its thumbnail, and clicking the Delete Pages icon (the trashcan icon). Just make sure that you're viewing the PDF file in Acrobat (rather than Acrobat Reader), as you can't delete pages from Reader.
    Best,
    Sara

  • How can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    how can I convert .pdf file to .doc using the free adobe reader app? when I try to convert the .pdf file it asks me to sign in. when I click on "sign in", I am taken to a service subscription page. So, no free conversions using free adobe reader app?

    As has been mentioned Adobe Reader cannot export PDF page content. Nor can it create PDF or manipulate PDF page content.
    What you can do is use one of Adobe's online subscription services. Two provide for PDF  to Word export.
    There's ExportPDF and PDF Pack.
    Be well...

  • In quick view mode, why can't I enlarge pdf files like it used to?

    When I use quick view mode by pressing space bar when I have selected a file, say pdf files, I could used  to stretch the corners to get the page larger. But now, in Lion, it doesn't behave like that anymore. The page stays the same size however wide I stretch the quick view window. Is there an option to fixing this? Or is this intended? It is very bad indeed!

    The Adobe Reader plugin may not be working properly on Mac.
    * https://support.mozilla.org/kb/pdf-files-are-blank-and-cant-be-downloaded-mac
    * https://support.mozilla.org/kb/Opening+PDF+files+within+Firefox
    Disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
    PDF files may be found under entries like Portable document or Adobe PDF document or Adobe Acrobat Document.
    *Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader

  • How to access pdf files on icloud with iphone

    Does anyone know how to access pdf files on icloud when saved to icloud on a mac?

    At the moment, you can't.  A favourite complaint.  Hopefully, the situation will change in the near future, but only Apple knows when or if.

Maybe you are looking for

  • Installed splashy and now I just get a black screen

    Hi everyone. I am fairly new to Arch (just installed it last week) and just messed up my computer... please bear with me. I wanted to install a splash screen so I installed splashy. I might have been a little reckless with the installation which resu

  • Slow spatial query in oracle 11.2.0.3 [WAS 10.2.0.4 to 11.2.0.1 upgrade = SLOW sdo_geometry return]

    Hi, I've found a discussion ended last year. I've Oracle 11.2.0.3 with the same problem: some query are very slow (in the Excecution plan I've found "PX COORDINATOR") Others installation of Oracle 11.2.0.3 haven't same problem: in the excecution plan

  • Online Backups

    Hi, I am working as a dba and i am not familiar with Online Backups now i want to implement it in one of my client place so please any body can help me regarding these time is less . please anybody help me. regards, srinivasr

  • About xi and bw

    hai all, my requirement is to send data from soap to xi to bw again i have to get data from (synchronous) bi to xi to soap.  data is in infocube(bi) how to fetch that data from infocube.  If u have any example please farward to me. but remember xi an

  • Connectivity issues after 8.1.1 update please help! :(

    Hi all.  Here's the situation. I got my Iphone 6 on release day. Not had one single problem with it. On Monday however I do a general software update to IOS 8.1.1 Now ever since then I cannot keep a steady connection to both WIFI AND my roaming inter