Newbie - Error when trying to view .jsp file on newly running server.

Hello, I'm new and trying to view a .jsp file on my webserver and get this error:
java.io.IOException: CreateProcess: javac -d C:\Blazix\jspdir -classpath C:\Blazix\blazix.jar;C:\Blazix\classes; C:\Blazix\jspdir\desisoft_jsp_intro_jsp1152122045640.java error=2
*The .jsp file I want to view is in the correct folder, and I can view the same file if it is renamed as an .html extension.  Plz Help!!!   Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

What does the JSP contain? Have you tried a simple JSP without any special functions? Does that work? How about catching the exception within the JSP. Will the JSP run and display correctly (of course, without the excepted content)?
Here is an example of how you can catch the exception and prevent the JSP from failing (or at least how to prod it to display despite the error):
<body>
   <%
   // yada yada yada some code
   try{
      // Yada yada yada the code that may have the IO problem
      // Yada yada yada
   }catch(IOException io){
       System.err.println("Here is the exception: "+io.toString());
   %>Please post back and let us know.
dailysun

Similar Messages

  • Error when trying to view a file in INFOVIEW

    Error in File XXXXXXXXXXX: Encapsulating page failed.
    What does that mean. Encapsulating Page failed

    I'm having the same problem in Business Objects 4 BI Launch Pad with reports that were created in CR 2011.
    The viewer could not process an event. Error in File Buyer Status:
    Encapsulating page failed. []
    Error code:0 [CRWEB00000119]
    The interesting thing is that I have a test platform where all my reports work correctly.  However, all these reports fail with the error message on my production platform.
    On the production platform, I can run these reports from CMC without any errors.  I suspect that something about my Single Sign-On to database configuration is not correct.
    So far, I have been unable to detect any significant differences between the working test platform and the failing production platform.

  • CName Error When Trying to Attach Particular File

    I am using custom buttons to attach, view and remove attachment files to my LiveCycle form. Most files attach without any problem. I have a particular file named, "RECN-TrackingLog.xlsm" that I receive the following error when trying to attach this file to the form. If I copy the file to my desktop, it attaches to the form without any problem. It is named exactly the same. Any idea what is causing this error? I have included the script for the "Attach" button below.
    var myDoc = event.target;
    var sFile = "myFile"+Math.round(Math.random()*10000000000000);//Randomly generated number
    myDoc.importDataObject({cName: sFile});
    var myDataObject = myDoc.getDataObject(sFile);
    var sFileName = myDataObject.path;
    ListBox1.addItem(sFileName,sFile);
    NumericField1.rawValue = NumericField1.rawValue + 1;

    This error turned out to be caused because someone else had that networked file open at the time I was trying to attach the file. That's why when I dragged and dropped a copy onto my desktop, that "version" of the file was not open and would attach without any problem.

  • Error when trying to save a file

    I get this error when trying to save any file (newly created or not) word document in MS word 2010:"You are attempting to save a file type (plain text files) that has been blocked by your File Block settings in the Trust Center".
    I followed the directions given by the Microsoft Knowledge Base article 922850, but I am still having this issue. I can still save files as PDF but not in any kind of word format. 
    I also tried opening another file copy and pasting under a different name and it doesn't help.
    Please Help.
    Bruce

    Hi,
    Please try the following methods:
    Using Administrative Template files and the Office Customization Tool to disable the restriction
    Use a trusted location, or create an exempt location
    Quote from:
    http://support.microsoft.com/kb/922849/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Error when trying to view purchased items in app store

    My ipad has an error when trying to view my "purchased" items in app store, keeps "Loading...." for a while and then close the app.
    All the other options works well (featured, top charts, genius, updates...)
    I already turn off / on the ipad many times, same problem....

    I have the same problem with my iPhone 4s! Need  a solution from Apple!

  • Error when trying to view YouTube videos

    I get the following error when trying to view YouTube videos in some wireless hotspots; "The server is not correctly configured".  It used to work fine at these locations.

    Maybe not as many people reply as you think should because this site doesn't freaking work either!
    Took me ten minutes to log in! Kept getting stupid error messages telling me this site is undergoing maintenance. Whatever.
    Same exact problem here, but Chrome DOES NOT work. Changing DNS servers DOES NOT work either. It doesn't work for a lot of people.
    https://productforums.google.com/forum/#!topic/youtube/axsb7XPieK0
    EDIT**
    WTF this site is more broken than youtube! Constant errors and constantly unresponsive with "greyed out" buttons!
    Is there any competent people left on the planet to fix this crap!?

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Chuckwagons post - error when trying to view

    In trying to view chuckwagons post, "just received my new iMac 2.1" (http://discussions.apple.com/thread.jspa?threadID=319765&tstart=0), I keep getting an error. It just says an error has occurred and we apologize for the inconvenience. However, I notice that new posts are being added so some folks are able to read and post. Is anyone else getting an error when trying to view this post? I've tried Safari, Firefox and IE. I'm trying to make up my mind as to which iMac I want - G5 or Core Duo. Right now I'm leaning towards the G5 and it would be nice to be able to see what chuckwagon has to say.
    Eric S.
    Mini 1.25, 512MB RAM, 80GB HD   Mac OS X (10.4.4)   G4 DA 533MHz DP w/Giga dual 1.8GHz upgrade, 1.25GB RAM, Radeon 9600 Pro

    This is really beginning to tick me off. There has been another post to chuckwagons message and a lot more views. However, I am still getting the same error that I've been getting since yesterday. And it doesn't matter which computer I'm using, the result is always the same.
    Arrghhh!!
    Eric s.
    Mini 1.25, 512MB RAM, 80GB HD   Mac OS X (10.4.4)   G4 DA 533MHz DP w/Giga dual 1.8GHz upgrade, 1.25GB RAM, Radeon 9600 Pro

  • Error message when trying to view PDF files online

    When attempting to view pdf files I get the following error message:
    There is a problem with adobe acrobat/reader. If it is running, please exit and try again. (507:507) Per instructions found in the forum, I have reinstalled and made sure that the box for viewing pdfs online is checked. I am still getting the error message.

    Please let me know the following:
    1. The version of Adobe Reader on your system. You can get the same by clicking on Help > About Adobe Reader.
    2. The OS you are working on.
    3. The browser being used to render the PDF.
    Thanks
    Ankit

  • Error when trying to convert excel files to pdf

    I'm getting the following error when trying to convert .xls and .xlsx files to pdf, using the "Create PDF" option:
    Error message from the primary converter:
    ALC-PDG-010-012-PDFMaker reported an error while printing the document.
    Word, Powerpoint and Text files convert without any issues. Also I'm able to opent the excel files and convert them to pdf using the acrobat option in excel.
    Livecycle Version: 10.0.2, GM
    MS Office Version: 2007
    Any help would be appreciated. Thanks in advance.
    Regards,
    Suhail N.

    It is always difficult when you need to convert multiple xls files to pdf or multiple sheets to pdf. If you have a single file to convert then the best method would be to copy your data to doc file and then convert it into PDF . If you have multiple files to convert then it is really difficult to convert all the files manually. Then the better method would be to use converter tool to convert excel to pdf . By doing this you can convert many files in just few seconds.

  • Error when trying to create class file

    I am getting this error when I try to create file
    clobsearch.java:246: not a statement ex;
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex; <--- this is line 246
    System.out.println(ex.getMessage());
    return null;
    any help would be appricated
    thanks
    robert

    The guy who wrote this code is no longer with the company
    the server IP got changed and he had an IP coded in the program
    i managed to uncompile the code
    i changed the IP to the new one
    when I tryed to create the class file i get the error
    so as far as what is happenning with the ex I am not sure
    here is another piece of code that might help
    really all i need to do is get the class file created again...
    protected Element getDocumentRoot(Clob c)
    Element root;
    Reader read = c.getCharacterStream();
    String s = convertClob(read, 8192);
    SAXReader sread = new SAXReader("org.dom4j.io.aelfred.SAXDriver");
    sread.setMergeAdjacentText(true);
    sread.setStripWhitespaceText(true);
    Document doc = sread.read(new StringReader(s));
    root = doc.getRootElement();
    return root;
    Exception ex;
    ex;
    System.out.println(ex.getMessage());
    return null;
    protected double toDouble(String s)
    double d = 0.0D;
    try
    d = Double.parseDouble(s);
    catch(NumberFormatException ne) { }
    return d;
    protected String convertClob(Reader in, int blen)
    StringWriter sw = new StringWriter(32768);
    char buf[] = new char[blen];
    int len = 0;
    try
    while((len = in.read(buf)) != -1)
    sw.write(buf, 0, len);
    in.close();
    sw.close();
    catch(IOException ioe)
    len = 1;
    return null;
    String s = sw.toString();
    int q = s.indexOf("<Quote");
    int end = 0;
    if(q == 0)
    end = s.indexOf("</Quote>") + 8;
    } else
    q = s.indexOf("<Project");
    if(q == 0)
    end = s.indexOf("</Project>") + 10;
    else
    end = s.indexOf("</Order>") + 8;
    return s.substring(0, end);
    public static void main(String args[])
    if(args.length < 2)
    System.out.println("Usage: clobsearch tablename [searchpattern] [datesql]");
    System.out.println("Where: searchpattern like \"Geodesic Dome\" and datesql like \" where quotedate >= to_date('01/01/2004', 'MM/DD/YYYY')\"");
    System.out.println("OR: clobsearch tablename searchpattern -data idfile [idcolname]");
    System.out.println("Where: searchpattern as above, idfile is a one per line file of quote or order numbers, idcol=column name for id col");
    System.exit(1);
    clobsearch cs = new clobsearch(args);
    }

  • "Resource Unavailable" error when trying to download a file.

    We're running the latest version of OS:X - 10.4.3 (recently upgraded from 10.3.9) and I've found that with the latest version of Safari we can no longer download files off certain websites of ours. Typically we have a link off a page which spawns a javascript window, which then contains the download link. When trying to "Download Linked File" to our desktop we get a "resource unavailable" error in the Downloads window.
    Oddly enough it doesn't affect all of Tiger installations. We noticed that those machines that were formatted first, then had Tiger installed did not have this problem, only the machines we upgraded from 10.3.9. I've tried re-installing the 10.4.3 combo updater to no avail. And JFYI, Firefox works without a hitch, but my fear is that we're going to run into problems where some of our clients are unable to grab files they require.
    Unfortunately, I cannot provide a link as they are to client files but I can try to provide any additional information needed to get to the bottom of this...
    Thanks,
    MJX.
    G4   Mac OS X (10.4.3)  

    Reworked some of the javascript for our webserver and fixed the problem.

  • Database error when trying to view Crystal Report from InfoView

    I am receiving the following error when I try to view or run a Crystal Report from the InfoView.  The report is based on an SAP InfoSet.
    "Failed to load database information."
    The report data can be refreshed with no trouble from within the Crystal Reports designer on my local machine, but the error occurs after it is published to the InfoView.  The same error appears when trying to import into Excel using LiveOffice.
    Server details:
    -Edge 3.1
    -Windows 2003 64-bit
    -SAP Integration kit installed
    Local Crystal Reports machine details:
    -Windows XP
    -SAP Integration kit installed
    -Crystal Reports 2008
    My steps to troubleshoot so far:
    -Checked Database Logon details in CMC for the report.  Username and password are entered correctly.
    -Cycled all CrystalReports background services off and on again from the CMC
    -Rebooted server
    Have I missed anything?  Any help would be appreciated.

    Hi,
    do you have any connectivity from your EDGE to the SAP System ? Like can you import roles or run a WebI ?
    Regards
    -Seb.

  • BIP Error when trying to produce txt file

    Hi all !
    I'm getting the follwing error when trying to generate a text output from a eText template in BIP:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: Invalid format requested: txt
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:959)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:404)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.servlet.data.DataException: Invalid format requested: txt
         at oracle.apps.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
         at oracle.apps.xdo.servlet.data.DataException.fillInStackTrace(DataException.java:127)
         at java.lang.Throwable.<init>(Throwable.java:196)
         at java.lang.Exception.<init>(Exception.java:41)
         at oracle.apps.xdo.servlet.ReportException.<init>(ReportException.java:36)
         at oracle.apps.xdo.servlet.data.DataException.<init>(DataException.java:39)
         at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:328)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:953)
    The report execution is started from a BIP web service call (ScheduleRequest). It works fine for pdf, rtf, csv, html and xml formats, but i can't a text file containing only eText formatted data (fixed positions, mainframe like file). Here's a code sample:
    BI_WS.ReportRequest BIreportRequest = new BI_WS.ReportRequest();
    BIreportRequest.attributeLocale = "en-US";
    BIreportRequest.reportAbsolutePath = "/~user/toto/TEST_WS_BI.xdo";
    string reportFileExtension;
    if(reportType.Equals("flat")){
    BIreportRequest.attributeTemplate = "flattest.rtf";
    reportFileExtension = "txt";
    BIreportRequest*.attributeFormat = "txt";*
    }else{
    BIreportRequest.attributeTemplate = "doc1.rtf";
    reportFileExtension = "pdf";
    BIreportRequest.attributeFormat = "pdf";
    So the question is:
    What "attributeFormat" value (other than pdf, rtf, csv, html, xml) should i use to get a text ONLY file with the format specified in the eText template ?
    Does anyone have an idea on this ? Thank you in advance.
    ED
    Edited by: Edmundo2 on Aug 26, 2010 9:55 AM

    Just found the solution:
    You can't have a normal rtf template AND a eText template for a single report. In my case, i need two types of output, a "rich" one and a "flat text" one. So i'll make 2 separate reports for each output type. Thank you.
    Edited by: Edmundo2 on Aug 26, 2010 11:26 AM

  • Error when trying to view vids on Facebook on Revolution- Have to force close

    Have to force close when trying to view a video on Facebook that was posted with phone. Youtube vids work great it's just not working with ones that were posted by phones and it has worked since I got the phone about a month ago

    DionM_VZW wrote:
    bulldog69 wrote:
    Have to force close when trying to view a video on Facebook that was posted with phone. Youtube vids work great it's just not working with ones that were posted by phones and it has worked since I got the phone about a month ago
    Hello bulldog69! So, these videos you're trying to watch. Were they posted using your phone or someone else's phone? Are the videos viewable using a desktop/laptop computer?
    The videos are posted on Facebook that someone else posted from phone  and my own. It is friends videos which always worked on Fascinate and vids work great on computer. I think a few days ago was able to view one and today same thing have to click force close and even tried using our wifi and same problem. Pulled battery and restarted no luck. So far vids on YouTube work great on Revolution

Maybe you are looking for