Pstopdffilter/pstocupsraster failed with err number -31000

Can someone help?
My printer has error message as below:
pstopdffilter/pstocupsraster failed with err number -31000
I have problem in printing out the document from my Mac laptop.
Thanks.

help. can anybody fix this problem ? err number 31000 ?

Similar Messages

  • Printing Error - pstopdffilter/pstocupsraster failed with err number -31000

    Hi All,
    I'm hoping someone could assist me with this. After googling like crazy for a solution I thought I had to post here on the forums. I'm a new Mac user (only a few days now) so please bear with me. I will also post this on the Java Forums because I don't know if this is a problem with my code or with the Mac settings.
    Setup
    I've got a Java Applet running on the mac (written in Eclipse 64 bit) on a Mac with OS X 10.6.4 on. Also, Java 1.6.0_21 (both 32 bit and 64 bit) is installed on the machine. The printer installed is a ZPL Label Printer (Zebra Technologies ZTC GK420d).
    If I use another application such as TextEdit to print, it works fine.
    *Problem Description*
    Whenever I try print from the Applet nothing comes from the printer, my code does not break or catch any exception at all but the printer queue gives the error: *pstopdffilter/pstocupsraster failed with err number -31000.*
    Code
    The code I use with this Java Applet works absolutely fine on Windows XP 32 bit (IE 7.0, Google Chrome and Firefox) as well as on Windows 7 64 bit (I.E 8.0, Google Chrome and Firefox) but never on the Mac. For any developers who might be able to help, the code is below:
    import java.applet.Applet;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.DocPrintJob;
    import javax.print.PrintException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    import javax.print.SimpleDoc;
    import javax.print.attribute.PrintServiceAttribute;
    import javax.print.attribute.standard.PrinterName;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    public class UKMJavaPrintApplet extends Applet
    public void init()
    System.out.println("Initialising UK Mail Java Printing Applet...");
    public void start()
    System.out.println("Starting UK Mail Java Printing Applet...");
    PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","Zebra Technologies ZTC GK420d");
    public void stop()
    System.out.println("Stopping UK Mail Java Printing Applet...");
    public void destroy()
    System.out.println("Preparing unload of UK Mail Java Printing Applet...");
    public int GetPrinterCount()
    PrintService[] services = null;
    int serviceLength = 0;
    try
    services = PrintServiceLookup.lookupPrintServices(null, null);
    if(services != null && services.length > 0)
    serviceLength = services.length;
    catch(Exception z)
    System.out.println("Failed to get printer count: " + z.getMessage());
    z.printStackTrace();
    return serviceLength;
    public String GetPrinterName(int index)
    String sPrinterName = null;
    String printerName = "";
    PrintService[] services = null;
    try
    services = PrintServiceLookup.lookupPrintServices(null, null);
    for (int k=0; k < services.length; k++)
    PrintServiceAttribute attr = services[k].getAttribute(PrinterName.class);
    sPrinterName = ((PrinterName) attr).getValue();
    if(index == k)
    printerName = sPrinterName;
    break;
    catch(Exception r)
    System.out.println("Failed to get printer name: " + r.getMessage());
    r.printStackTrace();
    return printerName;
    public Boolean PrintLabelZPL(String zplString, String printerName)
    String errStr = "";
    Boolean boolSuccess = false;
    try
    if(printerName != null && printerName != "")
    PrintService psZebra = null;
    String sPrinterName = null;
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    pras.add(new Copies(1));
    PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
    for (int i = 0; i < services.length; i++)
    PrintServiceAttribute attr = services.getAttribute(PrinterName.class);
    sPrinterName = ((PrinterName) attr).getValue();
    if (printerName.equals(sPrinterName))
    psZebra = services;
    break;
    if (psZebra != null)
    DocPrintJob job = psZebra.createPrintJob();
    byte[] by = zplString.getBytes();
    DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
    Doc doc = new SimpleDoc(by, flavor, null);
    System.out.println("Printing to: " + printerName);
    job.print(doc, pras);
    boolSuccess = true;
    System.out.println("Printing Successful.");
    else
    errStr = "Zebra printer not found.";
    System.out.println(errStr);
    boolSuccess = false;
    else
    errStr = "No printer name was provided.";
    System.out.println(errStr);
    boolSuccess = false;
    catch (PrintException e)
    System.out.println("Print Failed with PrintException: " + e.getMessage());
    boolSuccess = false;
    e.printStackTrace();
    catch (Exception f)
    System.out.println("Print Failed: " + f.getMessage());
    boolSuccess = false;
    f.printStackTrace();
    return boolSuccess;
    Does anyone have any ideas on how I can resolve this and print to the ZPL printer from my Java Applet on the Mac?
    Any help would be much appreciated.
    Thanks!

    We managed to solve our own problem. This was not directly a Java Problem, but a problem with the setup of the Zebra printer on the Mac. Printing directly to the ZPL Printer never worked and always gave the error Printing Error - pstopdffilter/pstocupsraster failed with err number -31000.
    To solve this, we had to use the CUPS (Common Unix Printing System) interface. CUPS is apparently installed standard with every Mac. Being a new Mac user I didn't even know this a week ago. We had to use CUPS to add the printer, set it to be a "RAW" printer and then add something called a Class. Now when printing from the Java Applet, we DO NOT print to the actual Zebra printer, we print to the Class.
    Here are the steps on how to accomplish all this:
    1. As an Admin user, log onto Cups using the Safari browser by entering *http://localhost:631* into the Address Bar.
    2. Select the Administration tab and click, ‘Add Printer’
    3. Select the required local printer and then ‘Continue’
    4. Enter a Name, Description, Location and uncheck the ‘Share This Printer’ checkbox, where:
    a. Name = Queue Name (e.g. Zebra_RAW)
    b. Description = Human Readable Description (e.g. Zebra1)
    c. Location = Human Readable Location (e.g. My Mac mini)
    5. Click ‘Continue’
    6. Click ‘Select Another Make/Manufacturer’ and select ‘Raw’. Click ‘Continue’
    7. Click ‘Add Printer’
    8. Check that Banners are ‘none’ and Policies are ‘stop-printer’ (Error) and ‘default’ (Operation)
    9. Click ‘Set Default Options’
    10. Under the Administration tab, click Add Class.
    11. Enter a Name, Description, Location and select the Members:
    a. Name = Queue Name (e.g. ZebraRAWClass)
    b. Description = Human Readable Description (e.g. ZebraRaw)
    c. Location = Human Readable Location (e.g. My Mac mini)
    d. Members = the Queue Name of the new raw printer
    12. The only visible printers on the list then will be your non-raw printer/s and the printer class which you just created.
    13. Now when printing from Java Code, you must use the class as the printer in order to print raw ZPL.
    So in my example code in the previous post, I would print like this: PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","ZebraRaw");
    And it works! I hope this can help others with the same / similar problem.

  • Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    i am getting the same error, suddenly, on 10.9.5

  • Mac Acrobat Pro 9.3 can't print : pstopdffilter/pstocupsraster failed with err number 13

    Summary
    Can't print PDF files from Adobe Acrobat Pro 9.3.0 on Mac OS X Snow Leopard (10.6.2) to Brother MFC-7820N Printer (connected via USB).  Print queue consistently shows "pstopdffilter/pstocupsraster failed with err number 13".
    Steps to reproduce
    Launch Acrobat Pro 9.3.0 on Mac OS X Snow Leopard 10.6.2
    Open SimpleOnePageDocument.pdf (attached)
    From File menu select Print
    From Print Dialog select Brother MFC-7820N printer
    Click Print Button
    Results
    Printing immediately fails.  Print queue shows "pstopdffilter/pstocupsraster failed with err number 13" (see attached picture)
    Expected Results
    Document prints
    Things I have tried
    Downloading latest drivers from Brother for Snow Leopard (fall 2009 drivers)
    System Preferences->Print and Fax->Reset Printing Subsystem
    Print->Advanced->Postscript Options->Font and Resource Policy - Greyed out so I could not change from Send by Range to Send for each page
    Notes
    I can print PDF files from the Preview application without any problems.
    System Info
    Operating System
    Mac OS X Snow Leopard 10.6.2
    Product
    Adobe Acrobat Pro 9.3.0 (installed as part of CS4)
    Printer
    Brother MFC-7820N connected via USB
    Printer Driver
    Brother MFC-7820N CUPS version 1.41

    I have exactly the same problem since I changed my Mac for an Intel one (10.6.2 instead of Power PC 10.4).
    My printer is a Canon MP610 but this has nothing to do with the printer and it's software. Adobe seems to be completely deaf to this issue which is very annoying as most of the downloaded documents you need to print are pdf nowadays.
    I surrounded the issue by copying/pasting the pdf image in a jpeg file... This is very time consuming and I'm still waiting for a proper answer to this bug by Adobe.
    Let's continue to write, hoping Adobe will begin to move on the subject...

  • Re: Connection Failure: ReadFile on fd=1231 failed with err=64  + JVM_recv in socket input stream read

    Jon,
    I believe that this error is similar to a "connection reset by peer". It is
    a Window specific error. I believe it indicates that something has happened
    on the other end of the socket such that the socket has gone bad.
    I think that this should only occur when people reset their connection
    before the reply is sent. I don't believe that it is indicative of any
    serious problem other than this communication failure caused by the client.
    I've opened an issue to catch and squelch these spurious exceptions rather
    than logging them. For now I think it is safe to ignore them.
    Regards,
    Adam
    "Jon Mountjoy" <[email protected]> wrote in message
    news:[email protected]...
    Hi Guys,
    Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
    2000 (yes I know not certified there yet) and using jdk1.2.2-001.
    I have a pretty standard setup - a connection pool (5) to a sqlserver
    (remote) machine.
    A pretty standard multithreaded servlet - grabs a connection, does aselect,
    calls dbkona to dump output, releases connection.
    It runs fine - browser returns result. When I push 'reload' on browser,say
    10 times very quickly, I get the following errors. It is sometimes a
    combination of these:
    1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1912 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
    Code)
    2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
    accepting connecti on java.net.SocketException: Connection reset by peer:
    JVM_recv in socket input stream read
    Now I can get rid of (1) by switching off native IO!! This also stoppedIO
    exceptions that were being raised by the servlet when it tried to outputto
    the output stream. (2) persists.
    I have changed nothing else in the properties.
    (1) sounds like I may need to up the number of file descriptors open?
    (2) I don't know. Is my server too loaded? I am running on a 600Mhzusing
    64Mb heap for the server with 300Mb swap available...
    Regards,
    Jon
    More substantial excerpts:
    Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
    connection
    java.net.SocketException: Connection reset by peer: JVM_recv in socketinput
    stream read
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
    at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
    Compiled Code)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
    at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java,Compiled
    Code)
    at
    weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1980 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1760 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1908 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

    We are seeing the same error since switching to sp11 (we had been using
    sp10). Haven't seen it in Solaris though. What is causing it?
    Wed May 08 12:01:48 EDT 2002:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=3640 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java:259)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java:178)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:280)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
    "John Slaman" <[email protected]> wrote in message
    news:[email protected]..
    >
    I'm getting a error as follows:
    Mon Apr 22 19:04:10 EDT 2002:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=2368 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    I have no idea as to the cause. It's been posted in the archives before -but with
    no particular solution.
    I'm using WLS 5.1 SP11, JDK 1.2.2_007. Win2000.
    Does anybody know the cause/solution?
    Thanks.
    "Jon Mountjoy" <[email protected]> wrote:
    Hi,
    I have noticed that applying the service pack helps things quite a bit.
    I no longer get NT muxer errors etc etc. just the "connection reset by
    peer"
    every now and again.
    As I am repeatedly hitting the server from one browser, your 'connection
    going bad' scenario probably
    applies quite well.
    (btw. before the SP, the errors seemed to crop up more just before/during
    a
    GC.)
    Jon

  • Connection Failure: ReadFile on fd=1231 failed with err=64  + JVM_recv in socket input stream read

    Hi Guys,
    Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
    2000 (yes I know not certified there yet) and using jdk1.2.2-001.
    I have a pretty standard setup - a connection pool (5) to a sqlserver
    (remote) machine.
    A pretty standard multithreaded servlet - grabs a connection, does a select,
    calls dbkona to dump output, releases connection.
    It runs fine - browser returns result. When I push 'reload' on browser, say
    10 times very quickly, I get the following errors. It is sometimes a
    combination of these:
    1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1912 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
    Code)
    2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
    accepting connecti on java.net.SocketException: Connection reset by peer:
    JVM_recv in socket input stream read
    Now I can get rid of (1) by switching off native IO!! This also stopped IO
    exceptions that were being raised by the servlet when it tried to output to
    the output stream. (2) persists.
    I have changed nothing else in the properties.
    (1) sounds like I may need to up the number of file descriptors open?
    (2) I don't know. Is my server too loaded? I am running on a 600Mhz using
    64Mb heap for the server with 300Mb swap available...
    Regards,
    Jon
    More substantial excerpts:
    Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
    connection
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input
    stream read
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
    at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
    Compiled Code)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
    at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
    Code)
    at
    weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1980 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1760 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1908 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

    I have exactly the same problem running on Windows NT 4.0 (SP4) Weblogic 5.1 and
    JDK1.2.2-001.
    java.net.SocketException: ReadFile on fd=1048 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java, Compiled
    Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled
    Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Jon Mountjoy wrote:
    Hi Guys,
    Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
    2000 (yes I know not certified there yet) and using jdk1.2.2-001.
    I have a pretty standard setup - a connection pool (5) to a sqlserver
    (remote) machine.
    A pretty standard multithreaded servlet - grabs a connection, does a select,
    calls dbkona to dump output, releases connection.
    It runs fine - browser returns result. When I push 'reload' on browser, say
    10 times very quickly, I get the following errors. It is sometimes a
    combination of these:
    1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1912 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
    Code)
    2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
    accepting connecti on java.net.SocketException: Connection reset by peer:
    JVM_recv in socket input stream read
    Now I can get rid of (1) by switching off native IO!! This also stopped IO
    exceptions that were being raised by the servlet when it tried to output to
    the output stream. (2) persists.
    I have changed nothing else in the properties.
    (1) sounds like I may need to up the number of file descriptors open?
    (2) I don't know. Is my server too loaded? I am running on a 600Mhz using
    64Mb heap for the server with 300Mb swap available...
    Regards,
    Jon
    More substantial excerpts:
    Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
    connection
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input
    stream read
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
    at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
    Compiled Code)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
    at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
    at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
    Code)
    at
    weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1980 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1760 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
    java.net.SocketException: ReadFile on fd=1908 failed with err=64
    at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
    at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

  • Call to Package Procedure fails with wrong number or type of parameters

    I think its getting to the correct package and procedure since if I change the name slightly, I get an error about it not being defined.
    Here is my Parameter set up:
    OracleParameter[] theParams = new OracleParameter[26];
    theParams[0] = new OracleParameter("P1",OracleDbType.Char,2);
    theParams[1] = new OracleParameter("P2", OracleDbType.Char, 12);
    theParams[2] = new OracleParameter("P3", OracleDbType.Char, 12);
    theParams[3] = new OracleParameter("P4", OracleDbType.Char, 12);
    theParams[4] = new OracleParameter("P5", OracleDbType.Double);
    theParams[5] = new OracleParameter("P6", OracleDbType.Char, 12);
    theParams[6] = new OracleParameter("P7", OracleDbType.Char, 12);
    theParams[7] = new OracleParameter("P8", OracleDbType.Char, 12);
    theParams[8] = new OracleParameter("P9", OracleDbType.Char, 10);
    theParams[9] = new OracleParameter("P10", OracleDbType.Char, 3);
    theParams[10] = new OracleParameter("P11", OracleDbType.Char, 2);
    theParams[11] = new OracleParameter("P12", OracleDbType.Char, 2);
    theParams[12] = new OracleParameter("P13", OracleDbType.Char, 2);
    theParams[13] = new OracleParameter("P14", OracleDbType.Char, 6);
    theParams[14] = new OracleParameter("P15", OracleDbType.Char, 6);
    theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);
    theParams[16] = new OracleParameter("P17", OracleDbType.Char, 2);
    theParams[17] = new OracleParameter("P18", OracleDbType.Char, 16);
    theParams[17].Direction = System.Data.ParameterDirection.Output;
    theParams[18] = new OracleParameter("P19", OracleDbType.Char, 12);
    theParams[18].Direction = System.Data.ParameterDirection.Output;
    theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);
    theParams[20] = new OracleParameter("P21", OracleDbType.Varchar2);
    theParams[21] = new OracleParameter("P22", OracleDbType.Char, 2);
    theParams[22] = new OracleParameter("P23", OracleDbType.Char, 2);
    theParams[23] = new OracleParameter("P24", OracleDbType.Char, 2);
    theParams[24] = new OracleParameter("P25", OracleDbType.Char, 2);
    theParams[25] = new OracleParameter("P26", OracleDbType.Char, 2);
    Now the problem is that the package definition is declared using types from database table columns, for the most part.
    So for those, I used the real types of those columns, like for CHAR(2) I used OracleDbType.Char with length 2.
    There are just a few odd balls that I'm not sure about.
    For new OracleParameter("P5", OracleDbType.Double);, this is a parameter defined usijng a column type, that is NUMBER(8). Not sure what to use here.
    For the line theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);, the parameter definition for the procedure parameter is VARCHAR2. So I used that with no length specified. Is that correct?
    The oddest is this one, theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);, where the procedure parameter is defined as a type from another package. That in turn is defined as a RECORD:
    TYPE t_log_rec IS RECORD (
    log_seq t_handle -- VARCHAR2(12)
    and t_handle is defined in terms of another table column, and that is defined as VARCHAR2(12).
    Any help on how to map those Oracle types back to .Net Oracle data types and parameter definitions is appreciated.

    PLSQL Record types cannot be passed directly via OCI (read client) apps, and can only be instantiated/passed from other PLSQL procedures.
    You could create a wrapper procedure in the database that accepts all scalar types, which then converts the varchar2 into a t_log_rec and then calls the "real" procedure.
    Or, you could instantiate a t_log_rec inside an anonymous block and call the real procedure via that anonymous block.
    Varchar2 parameters need size defined. When you assign an IN param a value, size is implicitly defined. OUT parameters need to have size explicitly defined.
    Hope it helps
    Greg

  • Can't print with Acrobat 8--error number -31000

    Greetings,
    I can only print a pdf every now and then with a HP Laserjet P2015dn printer using Acrobat 8--there is no pattern that I can detect for when it'll print and when it won't. When it doesn't print, I get the error message, "pstopdffilter/pstocupsraster failed with err number -31000" and then nothing happens.
    Sometimes, the problem is fixed by re-installing Acrobat 8.
    I just downloaded Acrobat Reader and it has printed pdf docs just fine.
    I've asked HP for advice, but they were not at all helpful.
    Any advice?
    Thanks,
    Rick

    I'm getting the same error when trying to print: "pstopdffilter/pstocupsraster failed with err number -31000"
    Computer:               Mac with OS X - Version 10.6.5
    Adobe Software:     Adobe Reader X - Version 10.0.0
    Printer:                    HP Photosmart Plus B210 series
    Does anyone have any idea what I can do?
    Thank you!

  • Itunes update fail with 1XE800000A what is it?

    Today i want to make an update for itunes.... but it fails with mistake number 1XE800000A
    Who knows what it means... Who can help?
    OS is win 7 64bit

    Wow, if you're going to be like that I can wait for someone else...I have reason to vent, if you dont like it then dont reply - no better yet, dont read it.  This is a help forum - it will be people frustrated with things especially those who have the issue each time and spend good money on the software...sorry maybe you're rich or just THINK you're calm, cool, and collected every moment - I'll tell you what you just bypass my post and go on with your happy little self...
    For those of you with a little more patience:
    I believe My flash player is 10
    I have vista
    I use Explorer (have Google Crome but have not tried it on there)

  • Java Applet in a HTML page: failing with PLS-00306: wrong number of args

    We are trying to use a Java Applet in a HTML page. as our system needs to be able to retrieve a predefined set of data from a third party system that uses Dynamic Data Exchange Protocol (DDE) and are encountering errors from APEX and in IE itself.
    We are using JavaDde from www.nevaobject.com that enables our Java applet to interact with Windows applications (Third Party System) using DDE.
    This functionality is currently used in our Web Form 6i application and we are trying to use the same in the new ApEx application.
    We are using ApEx version : 2.1 and actually aer encountering 2 problems:
    Problem 1: ApEx failing with PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    Problem 2: IE crashes if Applet used in a complex page with several regions (1 Context, 4 Report Regions, 2 level Tabs, Links)
    This problem does not occur in the page where there is only applet and one region. In the case of complex page the IE crashes if the page is reloaded
    Test scenario:
    1- Create a simple page with the HTML region.
    2- Define the Source of the above region as follows
    <OBJECT CLASSID="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#version=1,4,0,0"
    WIDTH="1"
    HEIGHT="1"
    ID="simpleApplet"
    NAME="simpleApplet">
    <PARAM NAME="code" VALUE="simpleApplet.class" >
    <PARAM NAME="archive" VALUE="simpleApplet.jar" />
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
    </OBJECT>
    3- Create a simple Java applet "simpleApplet" - for the test its enough if the applet will have just the init method printing out the mesage to the console
    4- Create a Submit Button (not redirect) in Region Header and create unconditional (do not set When Button Pressed property) Page Branch to navigate to another page (the page without the applet)
    6- Run the page and Submit -
    The error below is returned by the engine:
    In our case our applet is called ddeApplet - I do not know why is ApEx passing the Applet's ID down to the wwv_flow.accept method as a parameter
    Tue, 24 Jul 2007 08:15:39 GMT
    ORA-06550: line 7, column 2:
    PLS-00306: wrong number or types of arguments in call to 'ACCEPT'
    ORA-06550: line 7, column 2:
    PL/SQL: Statement ignored
    DAD name: rbdev2_ax
    PROCEDURE : wwv_flow.accept
    URL : http://castor:7778/pls/rbdev2_ax/wwv_flow.accept
    PARAMETERS :
    ============
    P_FLOW_ID:
    147
    P_FLOW_STEP_ID:
    500
    P_INSTANCE:
    6986070096861669560
    P_PAGE_SUBMISSION_ID:
    1005758
    P_REQUEST:
    CRASH
    P_ARG_NAMES:
    100380029717786501
    P_T01:
    147
    P_T02:
    101
    P_T03:
    5000044
    P_T04:
    1
    P_T05:
    S
    DDEAPPLET:
    Ddeapplet[panel0,0,0,1x1,layout=java.awt.BorderLayout,rootPane=javax.swing.JRootPane[,0,0,1x1,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    P_MD5_CHECKSUM:
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle HTTP Server Powered by Apache/1.3.19 (Unix) mod_fastcgi/2.2.10 mod_perl/1.25 mod_oprocmgr/1.0
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=7778
    SERVER_NAME=castor
    REQUEST_METHOD=POST
    QUERY_STRING=
    PATH_INFO=/pls/rbdev2_ax/wwv_flow.accept
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=192.168.66.169
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=661
    HTTP_CONTENT_TYPE=application/x-www-form-urlencoded
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    HTTP_HOST=castor:7778
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ISCOOKIE=true; LOGIN_USERNAME_COOKIE=rdanko; ORACLE_PLATFORM_REMEMBER_UN=RDANKO:ngrb; WWV_FLOW_USER2=70FBB00945FE46B9; V6_AUTHENTICATION_COOKIE=70FBB00945FE46B9
    Authorization=
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://castor:7778/pls/rbdev2_ax/f?p=147:500:6986070096861669560:::::
    HTTP_SOAPACTION=

    "theArrow",
    It looks like whatever HTML you're including on your page is creating HTML input form elements inside the HTML form "wwv_flow". This form is posted to wwv_flow.accept, and of course, the PL/SQL procedure wwv_flow.accept doesn't know anything these additional arguments/form elements you're attempting to POST.
    Joel

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • Solaris boot images fail with bad magic number

    hi guys, have had Solaris on boxes for allmost 10 years. I have never installed sol10, and I have a problem
    1. I download the zip file, then use winrar to unzip them..
    2. burt the image with nero 7
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt
    I do boot cdrom
    this fails with "bad magic number" I have redown loaded it and reburnt it with nero reinstalled
    and also changed out the DVD on SunBlade
    3 I found a copy of Solaris 8 and the I got back a 'bitch' where is Solaris 9 so, most likely the drive is OK
    HELP
    Cris Harrison

    Hello Cris,
    unfortunately I don't understand your last sentence !
    I found a copy of Solaris 8 and the I got back a '*****' where is Solaris 9 so, most likely the drive is OK
    If this was a Solaris 8 (7/01 or later) DVD that did successfully boot, your DVD drive firmware (assuming that this is the Sun Toshiba SD-M1401) is up-to-date. If the DVD drive has firmware 1007, an update to 1009 is required to boot from DVD. otherwise you won't be able to boot from DVD (boot from CD works and a DVD can be automounted/mounted).
    Partial output of probe-scsi
    Before update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011007
    After update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011009
    [*Patch 111649-04 - Toshiba DVD 1401 firmware update*|http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&queryKey5=111649&toDocument=yes]
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt ...
    Instead of trying to directly boot, disable auto-boot and retry after a clean power-on.
    Break with Stop-A
    setenv auto-boot? false
    reset-all
    boot cdrom
    Michael

  • I'm unable to completely download the latest iphone software verison 5.0.1 with itunes 10.5.2.11, downloading fails with 100kb left (err = -3259).

    Hello,
    I'm unable to completely download the latest iphone software verison 5.0.1 with itunes 10.5.2.11, downloading fails with 100kb left (err = -3259). Any suggestion on how to resolve this? I manually cleaned the DNS cached as well as directly connecting my pc to the cable modem instead of the router.

    Thank you for your response.  But unfortunately there's no Apple Genius Bar here in Malaysia.  Only resellers, which I feel that they are charging way too much in the first place.

  • Fsck fails with bad inode number 0 to ginode

    Hi,
    I'm trying to repair a ufs filesystem on Solaris 10 but it keeps failing with the message:
    bad inode number 0 to ginode
    Does anyone know how to get around this issue?
    Thanks,
    Ted

    I had this identical failure and the only solution I found anywhere was to format the drive, but I tried an alternate strategy which worked..
    The inode failure repeated during Phase 3 of fsck. I answered NO, to the Reconnect prompts during that Phase, and answered Yes to the Phase 4 & 5 prompts. After serveral fsck runs, Phase 4 & 5 errors were all fixed. On the next run of fsck, Phase 3 also passed - the bad inode error was gone.
    I could then mount the drive READ/WRITE and restore a corrupted library file. The server then booted up clean.
    The fix took less than 30 minutes...much better than the nuclear option!

  • After-Delete Resource Action Fails with "the authenticity of host  ..." Err

    I created two Resource Actions (see below for format used). Both actions are being referenced in an Shell Script resource adapter (RA) that's used to create/delete a home directory on a Sun Solaris box. The RA also performs other setup/cleanup activities. The After-Create resource action call to ssh works. The After-Delete resource action call to ssh fails with the following error:
    com.waveset.util.WavesetException: Script failed waiting for "_,)#+
    (:" in response "The authenticity of host 'localhost (127.0.0.1)' can't be
    established. RSA key fingerprint is db:98:c4:cf:84:0a:f9:52:12:14:7...A key
    fingerprint is db:98:c4:cf:84:0a:f9:52:12:14:7e:74:23:f7:8f:df. Are you sure
    you want to continue connecting (yes/no)? " com.waveset.util.WavesetException:
    Script processor timed out with nothing to read and the following unprocessed
    text: "The authenticity of host 'localhost (127.0.0.1)' can't be established.
    RSA key fingerprint is db:98:c4:cf:84:0a:f9:52:12:14:7e:74:23:f7:8f:df. Are you sure you want to continue connecting (yes/no)? The authenticity of host 'localhost (127.0.0.1)' can't be established. RSA key fingerprint is db:98:c4:cf:84:0a:f9:52:12:14:7e:74:23:f7:8f:df. Are you sure you want to continue connecting (yes/no)? ".
    By the way, we are currently using Sun Identity Manager 7.0.
    Thanks in advance for your assistance.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE ResourceAction PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <ResourceAction name='ResAction:myProj:Resource-After-Create'>
    <ResTypeAction restype='Shell Script' timeout='20000'>
    <act>
    #!/bin/csh
    echo "Account ID" >> /myProjFolder/.$WSUSER_accountId.txt
    echo $WSUSER_accountId >> /myProjFolder/.$WSUSER_accountId.txt
    ssh -l someuser localhost /myProjFolder/exe/someExecutable $WSUSER_accountId &
    exit 0
    </act>
    </ResTypeAction>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </ResourceAction>
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE ResourceAction PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <ResourceAction name='ResAction:myProj:Resource-After-Delete'>
    <ResTypeAction restype='Shell Script' timeout='20000'>
    <act>
    #!/bin/csh
    echo "Account ID" >> /myProjFolder/.$WSUSER_accountId.txt
    echo $WSUSER_accountId >> /myProjFolder/.$WSUSER_accountId.txt
    ssh -l someuser localhost /myProjFolder/exe/someExecutable $WSUSER_accountId &
    exit 0
    </act>
    </ResTypeAction>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </ResourceAction>

    You've probably already fixed it...
    Just log on in the console yourself, instead of IdM. After answering yes, key fingerprint will be added to the ~/.ssh/known_hosts, and IdM will be happy.
    Milan

Maybe you are looking for

  • MDB on distributed topic issue (server restart)

    Setup:           - On WebLogic 8.1 SP3, One cluster with 2 managed servers, S1 and S2.           - JMS servers are configured for both S1 and S2.           - ConnectionFactory(load balancing=true, server affinity=false, XA Transaction=true) is deploy

  • Can't see OS X disk while booted into OS 9

    There are a couple of apps I really need to use, that won't run in Classic; they won't go past 9.0.4. I have OS X and the OS 9 stuff on separate physical drives. The OS X "Startup Disk" pref will let me select the OS 9 system OK, but once there, the

  • What i've done so far

    ok i had restored this iPod probably 20 times and it still gives me the file w/ the exclamation point. Then the iPod works for about 10 min and then it goes back to the file with "!." Is there anything else that i can do or do i have to send it in fo

  • How can I generate a TOC that could be available with PDF export tool

    Hi, I would like to export a ibook author as a PDF document. Until now, I could see the TOC on my PDF. Nevertheless, as an ebook, everything is ok. Any help would be deeply appreciated it. BR Pedro

  • Full Mesh to Hub Spoke Connectivity

    I have implemented MPLS VPN. Currently running as a full mesh connectivity. I need to implement and configure a hub and spoke connectivity due to the business requirement. I have 4 spokes and 1 hub. For each spokes, they shouldn't communicate with sp