Can anyone tell me why this error only occur in Tomcat-4.0.2 ??

When I try to execute my jsp page, Tomcat printed out this error.
This error has never occurred in Tomcat-3.2.1 and Tomcat-3.3a.
java.io.IOException: Stream closed
     at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:242)
     at org.apache.jasper.runtime.JspWriterImpl.clearBuffer(JspWriterImpl.java:190)
     at org.apache.jsp.admin_0005flogin$jsp._jspService(admin_0005flogin$jsp.java:988)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
     at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
     at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
     at java.lang.Thread.run(Thread.java:536)
Another thing is, I'm trying to display chinese characters using jsp page. When I use Tomcat-3.2.1, i can view the chinese characters correctly, but when I converted to Tomcat-3.3a (due to the newer version of JDBC API available in Tomcat-3.3a), it don't seems to recognize the html META Header that I use to encode the jsp page.
Is there anyway if making Tomcat-3.3a read the header or what ???
Can anyone enlighten me on this ??
I really need to get the solution or the reason ASAP !!
Thank you in advance.

Hi,
I dont know whether you are still getting the error. This error seem to be result of closing the output stream accidently or manually for some reason. so look out for 'out.close' or other 'out' operations which deals either with flushing or closing the stream. By removing the statement I solved this problem.
if u have any questions: contact me on [email protected]
Thanks.

Similar Messages

  • When I switch libraries I lose the majority of the material in my main library and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    When I switch libraries I "lose" the majority of the material in my main library (or at least I can't see it) and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    I seem to have found a way around it. Rather than switching libraries by going into files/switch libraries I used Aperture Preferences to change them. I've done it a couple of times and it appears to work OK.
    That is an interesting finding. It suggests, that your "Preferences" file "com.apple.Aperture.plist" may have been corrupted and you fixed it this way. Can you now switch between libraries the usual way? If not, I'd try to remove the "preferences" file from the user library to the Desktop and relaunch Aperture.
    The Aperture 3: Troubleshooting Basics:http://support.apple.com/kb/HT3805
    describe how to remove the user preferences.

  • Can anyone tell me what this error means?

    Hi All
    The following error was encountered by a printer who has opened a supplied PDF in Acrobat, Saved it as a postscript and then run it through distiller server 6. Can anyone tell me what this error means and what sort of things can cause it?
    %%[ Error: syntaxerror; OffendingCommand: ! ]%%
    Stack:
    /PaintProc
    5.32031
    /YStep
    258.404
    /XStep
    [257.404 5.32031 258.404 5.32031]
    /BBox
    1
    /TilingType
    1
    /PaintType
    1
    /PatternType
    -mark-
    -mark-
    -mark-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    Something to do with software from wireless.umass.edu.

  • I updated to Firefox 4 and there's no orange Firefox button and the Menu Bar is still there (File, Edit, View, etc.). Can anyone tell me why this is happening?

    As the question states, I tried updating from Firefox 3 to Firefox 4 two different ways and though I see a difference, it's definitely not all of Firefox 4. I updated with the auto update installer and downloaded the exe and installed and it's still not right. I don't have the new Firefox style or the Infamous Orange Firefox button. My Menu Bar (File, Edit, View, Etc...) is still there as well. The only thing that has really changed is the tabs going above the URL bar. Can anyone tell me how to fix this?

    To get the new style UI you need to hide the menu bar. To do that in the View menu select Toolbars, then click on the "Menu Bar" entry.
    If you need access to the menus you can press either Alt or F10 to temporarily display them.

  • HT1766 I can't get my iPod to "backup" to iCloud. It started and told me the estimated time remaining. When I came back, it said it couldn't be completed because the verification request timed out. Can anyone tell me why this keeps happening?

    I've tried several times to get it to Backup to iCloud. But every time I do, it will start and say it is "backing up". Then after a few minutes, it tells me that the backup could not be completed because the verification timed out. Can anyone tell me how to fix this?

    I suggest that you Contact Customer Care - click on the Still need help? button to chat with an agent.

  • Can anyone tell me what this Error Code is??

    I just recently started having my computer go to sleep on me every so many seconds out of nowhere and i have tried everything i know of to fix it. I ran the apple hardware test and got this error..
    4mot/1/400000002: CPU-0
    can anybody tell me what this means?????

    Just FYI, a 4MOT error code indicates a problem with one of the fans. My guess is that the CPU fan has failed and the CPU is overheating. A trip to the Apple Store is definitely called for.
    Regards.

  • Can anyone tell me what this error message in console means?

    im having trouble loading pages on my new macbook pro after using migration assistant. I am getting this error in console:
    9/27/10 9:19:55 PM com.apple.WindowServer452 Mon Sep 27 21:19:55 vl951-296.wireless.umass.edu WindowServer452 <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    does anyone know what it means?

    Something to do with software from wireless.umass.edu.

  • Can anyone tell me about this error message?

    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : unknown exception code occurred at PC=0x77f1d642
    Function name=RaiseException
    Library=C:\WINNT\system32\KERNEL32.dll
    Current Java thread:
         at sun.plugin.javascript.ocx.JSObject.invoke(Native Method)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
         at com.csedge.claimsport.docmgmt.PDFPrintApplet.call_javascript(PDFPrintApplet.java)
         at com.csedge.claimsport.docmgmt.PDFPrintApplet.run(PDFPrintApplet.java)
         at java.lang.Thread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00412000      C:\Program Files\Plus!\Microsoft Internet\IEXPLORE.EXE
    0x77F60000 - 0x77FBE000      C:\WINNT\System32\ntdll.dll
    0x77F00000 - 0x77F5F000      C:\WINNT\system32\KERNEL32.dll
    0x77E70000 - 0x77EC5000      C:\WINNT\system32\USER32.dll
    0x77ED0000 - 0x77EFC000      C:\WINNT\system32\GDI32.dll
    0x77DC0000 - 0x77DFF000      C:\WINNT\system32\ADVAPI32.dll
    0x77E10000 - 0x77E67000      C:\WINNT\system32\RPCRT4.dll
    0x70BD0000 - 0x70C1A000      C:\WINNT\system32\SHLWAPI.dll
    0x70F30000 - 0x71041000      C:\WINNT\System32\shdocvw.dll
    0x71630000 - 0x716B9000      C:\WINNT\system32\COMCTL32.dll
    0x70980000 - 0x70B28000      C:\WINNT\system32\SHELL32.dll
    0x77B20000 - 0x77BD1000      C:\WINNT\System32\ole32.dll
    0x71060000 - 0x71128000      C:\WINNT\System32\BROWSEUI.dll
    0x71840000 - 0x7184B000      C:\WINNT\System32\browselc.dll
    0x63000000 - 0x63073000      C:\WINNT\System32\WININET.DLL
    0x77BF0000 - 0x77BF7000      C:\WINNT\System32\rpcltc1.dll
    0x71950000 - 0x71958000      C:\WINNT\System32\shfolder.dll
    0x61220000 - 0x6122E000      C:\Program Files\Microsoft Hardware\Mouse\MSH_ZWF.dll
    0x10000000 - 0x10008000      C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX\AcroIEHelper.ocx
    0x65340000 - 0x653D2000      C:\WINNT\system32\OLEAUT32.dll
    0x70290000 - 0x70302000      C:\WINNT\System32\URLMON.DLL
    0x77A90000 - 0x77A9B000      C:\WINNT\system32\VERSION.dll
    0x779C0000 - 0x779C8000      C:\WINNT\system32\LZ32.dll
    0x717D0000 - 0x71823000      C:\WINNT\system32\shdoclc.dll
    0x70420000 - 0x704A8000      C:\WINNT\System32\mlang.dll
    0x776D0000 - 0x776D8000      C:\WINNT\System32\wsock32.dll
    0x776B0000 - 0x776C4000      C:\WINNT\system32\WS2_32.dll
    0x78000000 - 0x78040000      C:\WINNT\system32\MSVCRT.dll
    0x776A0000 - 0x776A7000      C:\WINNT\system32\WS2HELP.dll
    0x77660000 - 0x7766F000      C:\WINNT\system32\msafd.dll
    0x77690000 - 0x77699000      C:\WINNT\System32\wshtcpip.dll
    0x74FF0000 - 0x74FFE000      C:\WINNT\System32\rnr20.dll
    0x711D0000 - 0x711D6000      C:\WINNT\system32\MSIDLE.DLL
    0x76E70000 - 0x76E82000      C:\WINNT\System32\security.dll
    0x71710000 - 0x71724000      C:\WINNT\System32\msapsspc.dll
    0x779D0000 - 0x779E5000      C:\WINNT\System32\MSVCRT40.dll
    0x780A0000 - 0x780B2000      C:\WINNT\System32\MSVCIRT.dll
    0x77400000 - 0x7741E000      C:\WINNT\System32\schannel.dll
    0x5E380000 - 0x5E3A5000      C:\WINNT\System32\MSOSS.dll
    0x5CF00000 - 0x5CF5E000      C:\WINNT\System32\CRYPT32.dll
    0x716E0000 - 0x716FF000      C:\WINNT\System32\msnsspc.dll
    0x60900000 - 0x6090E000      C:\WINNT\System32\digest.dll
    0x70C30000 - 0x70E72000      C:\WINNT\System32\mshtml.dll
    0x76AB0000 - 0x76AB5000      C:\WINNT\System32\IMM32.DLL
    0x711F0000 - 0x71267000      C:\WINNT\System32\jscript.dll
    0x48080000 - 0x480A8000      C:\WINNT\System32\MSLS31.DLL
    0x77720000 - 0x77731000      C:\WINNT\System32\mpr.dll
    0x777F0000 - 0x777FC000      C:\WINNT\System32\ntlanman.dll
    0x77890000 - 0x778A5000      C:\WINNT\System32\NETUI0.dll
    0x77850000 - 0x7788A000      C:\WINNT\System32\NETUI1.dll
    0x02140000 - 0x02181000      C:\WINNT\system32\NETAPI32.dll
    0x77840000 - 0x77849000      C:\WINNT\system32\NETRAP.dll
    0x777E0000 - 0x777ED000      C:\WINNT\system32\SAMLIB.dll
    0x77950000 - 0x77979000      C:\WINNT\system32\WLDAP32.dll
    0x779B0000 - 0x779B9000      C:\WINNT\System32\LINKINFO.DLL
    0x77A40000 - 0x77A4D000      C:\WINNT\System32\ntshrui.dll
    0x77FD0000 - 0x77FFA000      C:\WINNT\System32\WINMM.DLL
    0x6BD00000 - 0x6BD0D000      C:\WINNT\System32\sbpcint4.dll
    0x021B0000 - 0x021B5000      C:\WINNT\System32\sbpcir32.dll
    0x74100000 - 0x74109000      C:\WINNT\System32\msacm32.drv
    0x75D50000 - 0x75D6A000      C:\WINNT\System32\MSACM32.dll
    0x77510000 - 0x77517000      C:\WINNT\System32\msadp32.acm
    0x70EB0000 - 0x70EEC000      C:\WINNT\System32\mshtmled.dll
    0x02AA0000 - 0x02B1F000      C:\WINNT\System32\msxml.dll
    0x031A0000 - 0x031B8000      C:\WINNT\System32\plugin.ocx
    0x704F0000 - 0x704FA000      C:\WINNT\System32\imgutil.dll
    0x6D370000 - 0x6D37D000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\npjava131.dll
    0x6D130000 - 0x6D157000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\beans.ocx
    0x6D300000 - 0x6D316000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\jpishare.dll
    0x6D420000 - 0x6D4EF000      C:\PROGRA~1\JavaSoft\JRE\1379A4~1.1\bin\hotspot\jvm.dll
    0x6D220000 - 0x6D227000      C:\PROGRA~1\JavaSoft\JRE\1379A4~1.1\bin\hpi.dll
    0x6D3B0000 - 0x6D3BD000      C:\PROGRA~1\JavaSoft\JRE\1379A4~1.1\bin\verify.dll
    0x6D250000 - 0x6D266000      C:\PROGRA~1\JavaSoft\JRE\1379A4~1.1\bin\java.dll
    0x6D3C0000 - 0x6D3CD000      C:\PROGRA~1\JavaSoft\JRE\1379A4~1.1\bin\zip.dll
    0x0FB00000 - 0x0FB0D000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\zip.dll
    0x6D020000 - 0x6D128000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\awt.dll
    0x77C00000 - 0x77C18000      C:\WINNT\System32\WINSPOOL.DRV
    0x6D1E0000 - 0x6D21B000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\fontmanager.dll
    0x6D340000 - 0x6D348000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\net.dll
    0x77130000 - 0x77156000      C:\WINNT\System32\ddraw.dll
    0x6D3A0000 - 0x6D3A9000      C:\Program Files\JavaSoft\JRE\1.3.1\bin\packager.dll
    0x11D30000 - 0x11D41000      C:\WINNT\jreg.dll
    0x3F000000 - 0x3F18E000      C:\WINNT\System32\msi.dll
    0x76AC0000 - 0x76ADD000      C:\WINNT\System32\imagehlp.dll
    0x71DC0000 - 0x71DCA000      C:\WINNT\System32\PSAPI.DLL
    Local Time = Fri Aug 17 15:21:25 2001
    Elapsed Time = 323
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)

    Can you provide with some background information on what conditions made you get this error.
    Usually, these errors from Native system are caused by our misuse of the language. But not always, it can also because of other external factors.

  • Can anyone tell me why this doesnt' work please

    Be gentle :o)
    I am trying out this printing in version 1.4 I am wanting to print out the contents of a text file
    Below is the code but it does nothing
    It compiles but doesn't function??
    HELP
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintFile {
         public static void main(String args[]) {
              PrintFile pf = new PrintFile();
         public PrintFile() {
              /* Construct the print request specification.
              * The print data is Postscript which will be
              * supplied as a stream. The media size
              * required is A4, and 1 copy are to be printed
              DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_HOST;
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.TWO_SIDED_LONG_EDGE);
              aset.add(Finishings.STAPLE);
              /* locate a print service that can handle it */
              PrintService[] pservices =
                   PrintServiceLookup.lookupPrintServices(flavor, aset);
              if (pservices.length > 0) {
                   System.out.println("selected printer " + pservices[0].getName());
                   /* create a print job for the chosen service */
              DocPrintJob pj = pservices[0].createPrintJob();
                   try {
                        * Create a Doc object to hold the print data.
                        * Since the data is postscript located in a disk file,
                        * an input stream needs to be obtained
                        * BasicDoc is a useful implementation that will if requested
                        * close the stream when printing is completed.
                        FileInputStream fis = new FileInputStream("EventFile.txt");
                        Doc doc = new SimpleDoc(fis, flavor, null);
                        /* print the doc as specified */
                        pj.print(doc, aset);
                        * Do not explicitly call System.exit() when print returns.
                        * Printing can be asynchronous so may be executing in a
                        * separate thread.
                        * If you want to explicitly exit the VM, use a print job
                        * listener to be notified when it is safe to do so.
                   } catch (IOException ie) {
                        System.err.println(ie);
                   } catch (PrintException e) {
                        System.err.println(e);
    }

    I too find the same problem not locating all the print services, then i use defualt print service and it works, another error i was getting that of invalid flavor so i then get all the doc flavor supported by my printer and use AUTOSENSE. Following is the code that u can test:
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintText1 {
         public static void main(String[] args) {
              System.out.println("Print Text");
              PrintText1 ps = new PrintText1();
         public PrintText1() {
              /* Construct the print request specification.
              * The print data is Postscript which will be
              * supplied as a stream. The media size
              * required is A4, and 2 copies are to be printed
              System.out.println(0);
              DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.ONE_SIDED);
              //aset.add(Finishings.STAPLE);
              /* locate a print service that can handle it */
              System.out.println(1);
              PrintService defpservices = PrintServiceLookup.lookupDefaultPrintService();
              System.out.println("Default Printer " + defpservices.getName());
              /* create a print job for the chosen service */
              DocPrintJob pj = defpservices.createPrintJob();
              System.out.println(2);
              try {
                   * Create a Doc object to hold the print data.
                   * Since the data is postscript located in a disk file,
                   * an input stream needs to be obtained
                   * BasicDoc is a useful implementation that will if requested
                   * close the stream when printing is completed.
                   FileInputStream fis = new FileInputStream("file.txt");
                        Doc doc = new SimpleDoc(fis, flavor, null);
                        System.out.println(3);
                        /* print the doc as specified */
                        pj.print(doc, aset);
                        * Do not explicitly call System.exit() when print returns.
                        * Printing can be asynchronous so may be executing in a
                        * separate thread.
                        * If you want to explicitly exit the VM, use a print job
                        * listener to be notified when it is safe to do so.
              } catch (IOException ie) {
                   System.err.println("IOException " + ie);
              } catch (PrintException e) {
                   System.err.println("PrinterException " + e);
    Try this code it will work for you to print the text file.
    Now my problem is i am trying to print the html file and its printing the html file including all the html tags, can anybody help how can i be able to print only that area that viewable to user in the internet explorer and not all the html tags:
    Following is my code which i had written using servlet:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.util.Properties;
    import java.net.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class printServlet extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // Set the mime type
              response.setContentType("text/html");
              // Create a PrintWriter Object
              PrintWriter out = response.getWriter();
              /* Construct the print request specification.
              * The print data is HTMl which will be
              * supplied as a stream. The media size
              * required is A4, and 1 copies are to be printed
              System.out.println(0);
              //DocFlavor htmlFlavor = DocFlavor.URL.TEXT_HTML_US_ASCII;
              DocFlavor htmlFlavor = new DocFlavor("application/octet-stream", "java.net.URL");
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.ONE_SIDED);
              /* locate a print service that can handle it */
              System.out.println(1);
              //PrintService[] pservices =
                   //PrintServiceLookup.lookupPrintServices(htmlFlavor, aset);
              PrintService pservices = PrintServiceLookup.lookupDefaultPrintService();
                   //System.out.println("Printer Length " + pservices.length);
                   //PrintService service = pservices[0];
              System.out.println("selected printer " + pservices.getName());
              DocFlavor[] sdf = pservices.getSupportedDocFlavors();
              System.out.println("Supported DocFlavors are: ");
              for( int r = 0; r < sdf.length; r++ )
                   System.out.println(sdf[r].toString());
              /* create a print job for the chosen service */
              String urlString = "http://localhost:8080/printengine/jsp/hello.html";
              URL url = new URL(urlString);
              DocPrintJob pj = pservices.createPrintJob();
              Doc doc = new SimpleDoc(url, htmlFlavor, null);
              out.println("<html><body>" + doc + "</body></html>");
              System.out.println(3);
              /* print the doc as specified */
              try
                   pj.print(doc, aset);
                   System.out.println(4);
                   * Do not explicitly call System.exit() when print returns.
                   * Printing can be asynchronous so may be executing in a
                   * separate thread.
                   * If you want to explicitly exit the VM, use a print job
                   * listener to be notified when it is safe to do so.
                   out.println("<html><body>Printing Successful</body></html>");
              catch (PrintException e)
                   System.err.println("PrinterException " + e);
    Please help me out

  • I have a TON of bookmarks that I want to back up, but when I open the window to organize them, back them up, etc., none of them are there! Can anyone tell me why this is happening and how to fix it?

    On the dropdown menu where my bookmarks are, I select "show all bookmarks", which opens up a window called "Library". I should have hundreds of bookmarks, but none of them are showing in this window.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Can anyone tell me if this error report information points to something specific wrong with my MacBook Pro?

    Hi All,
    I pasted the error report info below that the most recent error brought up. My MacBook Pro will, on occasion, freeze up on me and usually turn the monitor completely black. This also happens occasionally when trying to boot up from a Standby mode, the system just never recovers and the monitor stays black. A couple times the monitor has stayed up displaying the last screen before the freeze and the system will just be frozen. The keyboard stays lit up however. I end up having to hard power down the laptop (by holding the power button for 4 seconds) and booting it back up.
    I'm assuming it's a hardware issue, if the below info has any indicators as to what might actually be the problem it would be greatly appreciated if you could share that with me =)
    Thanks!
    Adam
    Interval Since Last Panic Report:  177745 sec
    Panics Since Last Report:          2
    Anonymous UUID:                    C1B7CA34-113F-4559-8D9D-301FCAB6248D
    Tue Sep 18 20:12:14 2012
    panic(cpu 2 caller 0xffffff7f80918947): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff809f41b000 0x0a5480a2, D0, P2/4
    Backtrace (CPU 2), Frame : Return Address
    0xffffff807ba73b10 : 0xffffff8000220792
    0xffffff807ba73b90 : 0xffffff7f80918947
    0xffffff807ba73c20 : 0xffffff7f80a08aa4
    0xffffff807ba73c70 : 0xffffff7f80a08b64
    0xffffff807ba73cd0 : 0xffffff7f80cb5749
    0xffffff807ba73e10 : 0xffffff7f80a27bed
    0xffffff807ba73e40 : 0xffffff7f809222c2
    0xffffff807ba73ef0 : 0xffffff800063c5b6
    0xffffff807ba73f30 : 0xffffff800063b330
    0xffffff807ba73f70 : 0xffffff800063b1d4
    0xffffff807ba73fb0 : 0xffffff8000820057
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(7.1.8)[560E1257-BF5E-3B0B-95F0-15033A0D1B97]@0xffffff7f808 b8000->0xffffff7f80b91fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f80843000
                dependency: com.apple.iokit.IONDRVSupport(2.3.2)[D05CFB53-FB72-3613-8162-2D188DB04738]@0xff ffff7f808a6000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[2D2A4A31-EB4F-3730-BE3A-76C061685FC5]@0 xffffff7f8086e000
             com.apple.nvidia.nv50hal(7.1.8)[7596DB8C-AE9D-3C87-B11A-0ED8F940CAF8]@0xffffff7 f80b92000->0xffffff7f80eb3fff
                dependency: com.apple.NVDAResman(7.1.8)[560E1257-BF5E-3B0B-95F0-15033A0D1B97]@0xffffff7f808 b8000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    11E53
    Kernel version:
    Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
    Kernel UUID: A8ED611D-FB0F-3729-8392-E7A32C5E7D74
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 8984322430299
    last loaded kext at 60863374826: com.apple.driver.AppleHWSensor          1.9.5d0 (addr 0xffffff7f81efb000, size 28672)
    last unloaded kext at 238694679502: com.apple.driver.AppleUSBUHCI          4.4.5 (addr 0xffffff7f81101000, size 65536)
    loaded kexts:
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.filesystems.autofs          3.0
    com.apple.filesystems.ntfs          3.10.1
    com.apple.driver.AGPM          100.12.42
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.2.0f3
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.driver.AppleMikeyDriver          2.2.0f3
    com.apple.driver.AppleIntelHDGraphics          7.1.8
    com.apple.driver.AppleIntelHDGraphicsFB          7.1.8
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleSMCPDRC          5.0.0d0
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.ACPI_SMC_PlatformPlugin          5.0.0d0
    com.apple.GeForce          7.1.8
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager          4.0.5f11
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.2
    com.apple.driver.AppleLPC          1.5.8
    com.apple.driver.AppleMuxControl          3.0.16
    com.apple.driver.AppleUSBTCButtons          225.2
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.5f11
    com.apple.driver.AppleUSBCardReader          3.0.1
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.driver.AppleUSBTCKeyboard          225.2
    com.apple.iokit.SCSITaskUserClient          3.2.0
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCISerialATAPI          2.0.3
    com.apple.iokit.IOAHCIBlockStorage          2.0.3
    com.apple.driver.AppleFWOHCI          4.8.9
    com.apple.driver.AirPort.Brcm4331          530.4.20
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleUSBHub          4.5.0
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.iokit.AppleBCM5701Ethernet          3.1.2b2
    com.apple.driver.AppleAHCIPort          2.3.0
    com.apple.driver.AppleUSBEHCI          4.5.8
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleSMBIOS          1.8
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          193.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.3
    com.apple.driver.AppleIntelCPUPowerManagement          193.0.0
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.2.0f3
    com.apple.driver.IOPlatformPluginLegacy          5.0.0d0
    com.apple.iokit.IOFireWireIP          2.2.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.driver.AppleSMC          3.1.3d8
    com.apple.iokit.IOAudioFamily          1.8.6fc17
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.ApplePolicyControl          3.0.16
    com.apple.driver.AppleHDAController          2.2.0f3
    com.apple.iokit.IOHDAFamily          2.2.0f3
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.IOPlatformPluginFamily          5.1.0d17
    com.apple.driver.AppleGraphicsControl          3.0.16
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.nvidia.nv50hal          7.1.8
    com.apple.NVDAResman          7.1.8
    com.apple.iokit.IONDRVSupport          2.3.2
    com.apple.iokit.IOGraphicsFamily          2.3.2
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.5f11
    com.apple.iokit.IOBluetoothFamily          4.0.5f11
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.2.0
    com.apple.iokit.IOUSBMassStorageClass          3.0.1
    com.apple.driver.AppleUSBMultitouch          227.1
    com.apple.iokit.IOUSBHIDDriver          4.4.5
    com.apple.driver.AppleUSBMergeNub          4.5.3
    com.apple.driver.AppleUSBComposite          4.5.8
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.2.0
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.7
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.0
    com.apple.iokit.IOFireWireFamily          4.4.5
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IOUSBUserClient          4.5.8
    com.apple.iokit.IOEthernetAVBController          1.0.1b1
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.iokit.IOUSBFamily          4.5.8
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.5
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          331.6
    com.apple.iokit.IOStorageFamily          1.7.1
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.6.8
    com.apple.iokit.IOACPIFamily          1.4
    Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i5, 2.4 GHz, 4 GB, SMC 1.58f16
    Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
    Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53463235363634485A2D3147314631
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.198.4.20)
    Bluetooth: Version 4.0.5f11, 2 service, 11 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: Hitachi HTS545032B9SA02, 320.07 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0xfa113000 / 8
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0xfa120000 / 4
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa130000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

    Nevermind, I found my answer... http://support.apple.com/kb/TS4088

  • Can anyone tells me why this fails?

    Maybe I'm missing something?
    var chapterStyles = [
          doc.paragraphStyles.item("ChapterTitle (Chapter)"),
          doc.paragraphStyles.item("FrontBackTitle (Chapter)")
    alert(chapterStyles[0].name);
    If you change the alert to  ChapterStyles[0]  it works... seems like this should be pretty simple.

    Josh,
    Your variable contains invalid references.
    If you try this:
    alert(chapterStyles[0].isValid);
    it will return false because
    doc.paragraphStyles.item("ChapterTitle (Chapter)")
    is not valid, but it didn't returns error if item is not found.
    Hope that helps.
    Marijan (tomaxxi)
    http://tomaxxi.com

  • Can anyone tell me why this project is sticking in the timeline?

    Hi guys.
    I have been using FCP for a while now with great success.
    Generally I record on my handycam which is a mini DVD format. then I process the clips though mpg streamclip to DV pal and they become ".mov" files. (I do this to demux the clips audio from the video)
    Then I have no problems working in the time line.
    But recently I introduced a new camera to the mix.
    It is a head cam, A 1.3 Mpixel CMOS Senor, video and audio, 640x480 at 30 frames per second. It records onto a micro SD card in avi format.
    Now when I drop these files into the time line I experience a lot of "Choking" and "Pausing" from the computer.
    It seems that the hard drive cannot handle the footage. Even when I place the playhead over the normal ".mov" files it struggles.
    And even when I make a quicktime movie from the sequence I have the same previewing trouble in quicktime or any other media player for that matter.
    My Tech specs are as follows.
    A 13 month old Mac Book Pro with 4GB ram, External USB hard drive for the clips. (but it's the same when clips are stored on the desktop).
    So do I need to convert these avi files through mpeg streamclip to ".mov" files first as I do with my other files, in order to be able to work with them?

    As this is essentially the same subject as your topic from yesterday, please try to keep the discussion all in the same thread: http://discussions.apple.com/thread.jspa?threadID=2050214&tstart=0
    You also have new responses there.

  • Can anyone tell me why a picture would change color when I try to download/upload it?  It is the exact same picture- chosen the same way and when it goes to any other program it changes the color (I've tried canvas on demand and mpixpro.  I've also tried

    Can anyone tell me why this picture changes color when I try to download/upload it?  It is the exact same picture I have taken from the same location.  The image on the left is via preview and the image on the right is what is shows like when I try to download it.  I have emailed it to myself and it shows fine on the computer and in CS4, but when I look at the download via my phone or on another computer it shows the wonky color on the right.  I have checked the color space shows RGB/8 bit.  Any ideas why or how to fix it?  It isn't with any one specific session.... and I've tried it on both my desktop and my laptop- saved image to an external hard drive and to drop box.  I've tried sending the image to canvas on demand, my email, mpxipro, POST editing- all the same result.  Please HELP!!  What am I doing wrong?

    Most of the time you see something like that. The image in question has a color profile other then sRGB. Some image viewers/displayers are color managed and others are not.  So the image do not look the same in all of the applications you use. So colors seem to change.
    Try converting it to sRGB color and see if then looks the same all around. Also I think PC and Mac displays are set to different gamma something like 1.8 and 2.2
    Though I'm colorblind I even see color variations.

  • When i open safari it is very slow but once it has opened i can switch web sites very quick, can anyone tell me why.

    I have a problem when i open Safari.it takes a few minutes to open, the home page opens but if i try to open ( say Amazon) it just sits there for more minutes before opening ,but once it has opened i can switch from web site to web site very quick.can anyone tell me why this and is there anything i can do to 

    Try changing the "Top Sites shows:" to the smallest number possible.  Safari is loading these sites when its starts so it can give you an image of what the site looks like when you start blank new window.  A smaller number of sites will make that quicker, assuming the top sites do not have a very slow site in the mix.

Maybe you are looking for