GetSystemClipboard().setContents fails for images?

I had already posted this thread to the JAI forum (which i believe is an improper place for it after reviewing all available locations). If somebody can point me to a way of removing it I would be happy to.
http://forums.sun.com/thread.jspa?threadID=5355247&messageID=10546446
The clipboard is giving me some trouble... If I copy an image selection with transparency data and then create a BufferedImage from the clipboard contents (paste), then everything works fine everywhere. However if I have a BufferedImage with transparency data that I want to SET to the clipboard (copy) then I observe two different behaviors between Ubuntu and Windows XP -- both incorrect.
On Ubuntu:
getTransferDataFlavors of my Transferable is called once. isDataFlavorSupported and getTransferData are never called. The clipboard is unaltered. No exception is thrown -- nothing. It just silently fails to do anything. Calling Toolkit.getDefaultToolkit().getSystemClipboard().getAvailableDataFlavors() shows me that DataFlavor.imageFlavor is indeed present.
On Windows:
My getTransferData is indeed called and the clipboard is modified. However, the image is set on a BLACK background -- the transparency data is lost.
Additional Notes:
I'm am running Java 1.6
My paste destination is in GIMP, on a new image with transparent background.
A self contained code example which reproduces the problem I'm experiencing is as follows. Paste works (slowly) and copy fails
import java.io.IOException;
import java.net.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import javax.swing.*;
import javax.imageio.*;
import java.awt.datatransfer.*;
public class CopyTest extends JPanel{
     public static void main(String args[]) throws Exception{
          final CopyTest copyTest = new CopyTest();
          JFrame f = new JFrame();
          f.addWindowListener(new WindowListener(){
               public void windowClosed(WindowEvent e){}
               public void windowClosing(WindowEvent e){ System.exit(0); }
               public void windowIconified(WindowEvent e){}
               public void windowDeiconified(WindowEvent e){}
               public void windowActivated(WindowEvent e){}
               public void windowDeactivated(WindowEvent e){}
               public void windowOpened(WindowEvent e){}
          f.setLayout(new BorderLayout());
          JButton btnCopy = new JButton("Copy");
          JButton btnPaste = new JButton("Paste");
          JPanel southPanel = new JPanel();
          southPanel.add(btnCopy);
          southPanel.add(btnPaste);
          f.add(copyTest, BorderLayout.CENTER);
          f.add(southPanel, BorderLayout.SOUTH);
          btnCopy.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent e){ copyTest.copy(); }
          btnPaste.addActionListener(new ActionListener(){
               public void actionPerformed(ActionEvent e){ copyTest.paste(); }
          f.setSize(320, 240);
          f.setVisible(true);
     private static final int SQUARE_SIZE=6;
     private BufferedImage image;
     // Constructor
     public CopyTest() throws Exception{
          this.image = ImageIO.read(new URL("http://forums.sun.com/im/duke.gif"));
     // Copy
     public void copy(){
          Toolkit.getDefaultToolkit().getSystemClipboard().setContents(
                    new Transferable(){
                         public DataFlavor[] getTransferDataFlavors() { return new DataFlavor[]{DataFlavor.imageFlavor}; }
                         public boolean isDataFlavorSupported(DataFlavor flavor) { return DataFlavor.imageFlavor.equals(DataFlavor.imageFlavor); }
                         public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
                           if(!DataFlavor.imageFlavor.equals(flavor)){ throw new UnsupportedFlavorException(flavor); }
                           return image;
                    , null);
     // Paste
     public void paste(){
          // Get the contents
          BufferedImage clipboard = null;
          Transferable t = Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null);
          try {
            if (t != null && t.isDataFlavorSupported(DataFlavor.imageFlavor)) {
                 clipboard = (BufferedImage)t.getTransferData(DataFlavor.imageFlavor);
        } catch (Exception e) { e.printStackTrace(); }
        // Use the contents
        if(clipboard != null){
               image = clipboard;
               repaint();
     // Paint
     public void paint(Graphics g){
          // Paint squares in the background to accent transparency
          g.setColor(Color.LIGHT_GRAY);
          g.fillRect(0, 0, getWidth(), getHeight());
          g.setColor(Color.DARK_GRAY);
          for(int x=0; x<(getWidth()/SQUARE_SIZE)+1; x=x+1){
               for(int y=0; y<(getHeight()/SQUARE_SIZE)+1; y=y+1){
                    if(x%2 == y%2){ g.fillRect(x*SQUARE_SIZE, y*SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE); }
          // Paint the image
          g.drawImage(image, 0, 0, this);
}1. Run the application
2. Press the copy button
3. Attempt to paste somewhere (such as GIMP)
ideas?

I have this problem as well, and I have been banging my head against it for quite some time. But as far as I can tell, Java does not support transparent images on the clipboard (please, somebody, prove me wrong!). My main requirement is that users need to paste images to Microsoft Office, so I use the following work around:
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.util.Arrays;
import javax.imageio.ImageIO;
import javax.swing.JButton;
import javax.swing.JFrame;
public class CopyExample
        extends JFrame
        implements ActionListener {
    public static void main(String[] args) {
        new CopyExample();
    public CopyExample() {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setSize(200, 200);
        JButton button = new JButton("Copy");
        button.addActionListener(this);
        add(button);
        setVisible(true);
    public void actionPerformed(ActionEvent e) {
        try {
            Transferable transf =
                    new ImageTransferable(createImage());
            Toolkit.getDefaultToolkit()
                    .getSystemClipboard()
                    .setContents(transf, null);           
        } catch(IOException ex) {
            ex.printStackTrace();
    private BufferedImage createImage() {
        final BufferedImage image = new BufferedImage(
                200, 200, BufferedImage.TYPE_INT_ARGB);
        Graphics2D g2 = image.createGraphics();
        g2.setComposite(AlphaComposite.Clear);
        g2.fillRect(0, 0, 200, 200);
        g2.setComposite(AlphaComposite.SrcOver);
        g2.setColor(Color.GREEN);
        g2.fillRect(50, 50, 100, 100);
        g2.dispose();
        return image;
class ImageTransferable implements Transferable {
    private File imageFile;
    public ImageTransferable(BufferedImage image) throws IOException {
        imageFile = File.createTempFile("copy", ".png");
        imageFile.deleteOnExit();
        ImageIO.write(image, "png", imageFile);
    public DataFlavor[] getTransferDataFlavors() {
        return new DataFlavor[] {
            DataFlavor.javaFileListFlavor
    public boolean isDataFlavorSupported(DataFlavor flavor) {
        return flavor.match(DataFlavor.javaFileListFlavor);
    public Object getTransferData(DataFlavor flavor)
            throws UnsupportedFlavorException, IOException {               
        return Arrays.asList(imageFile);
}I take the image and write it to a temporary png file and then put it on the clipboard as a DataFlavor.javaFileListFlavor. But this does not work in Photoshop or MS Paint.

Similar Messages

  • Bundles for Image Explorer & ZISWIN.exe fail in Windows 8.1

    ZCM version 11.3.1.39328, building Windows 8.1 workstation image, and testing existing bundles in the new OS. Both Image Explorer and ZISWIN fail. Image Explorer simply does not appear to run. ZISWIN runs but gives no information, indicating only that the user (an administrator) does not have the rights to view the ISD.
    If I browse to ZISWIN.exe and double-click it, I get the same thing. If I right-click it and "run as administrator" it works. However, you don't get "run as administrator" as an option when you right-click a NAL shortcut, you just get Open and Properties.
    Image Explorer is similar, but more peculiar. If I double-click zmgexp.bat, I get a bunch of errors about Java being missing. If I right-click zmgexp.bat and choose "run as administrator" I get a different bunch of errors also complaining about Java. If I open up an admin Command Prompt and run zmgexp.bat from within that, then it works.
    So, my question is this: Has anyone found a way to build bundles that work in Windows 8.1 for applications which depend upon running in the protected administrative environment?

    Running the Bundle as "Dynamic Administrator" should bypass UAC.
    Sometimes you may need to work with the zmgexp.bat to make sure that
    JAVA is properly located.
    On 10/16/2014 2:26 PM, kennolson wrote:
    >
    > ZCM version 11.3.1.39328, building Windows 8.1 workstation image, and
    > testing existing bundles in the new OS. Both Image Explorer and ZISWIN
    > fail. Image Explorer simply does not appear to run. ZISWIN runs but
    > gives no information, indicating only that the user (an administrator)
    > does not have the rights to view the ISD.
    >
    > If I browse to ZISWIN.exe and double-click it, I get the same thing. If
    > I right-click it and "run as administrator" it works. However, you don't
    > get "run as administrator" as an option when you right-click a NAL
    > shortcut, you just get Open and Properties.
    >
    > Image Explorer is similar, but more peculiar. If I double-click
    > zmgexp.bat, I get a bunch of errors about Java being missing. If I
    > right-click zmgexp.bat and choose "run as administrator" I get a
    > different bunch of errors also complaining about Java. If I open up an
    > admin Command Prompt and run zmgexp.bat from within that, then it
    > works.
    >
    > So, my question is this: Has anyone found a way to build bundles that
    > work in Windows 8.1 for applications which depend upon running in the
    > protected administrative environment?
    >
    >
    Going to Brainshare 2014?
    http://www.brainshare.com
    Use Registration Code "nvlcwilson" for $300 off!
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Technical Support Engineer
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

  • Best Buy 100% Price Match Guarantee FAIL for Elite Plus member!!!

    So during the Black Friday weekend I purchased a Dyson vacuum at a store.  I understand that Best Buy does not match pricing DURING Black Friday weekend.  So on 12/15 Amazon had the vacuum on sale for $26 less than what I paid.  Again, this is not Black Friday weekend but the item was purchased over Black Friday weekend.  So I called in for Best Buy to match the price.  I spoke with someone who seemed like temp help.  It did not sound like she was in a call center and she didn't know much and seemed to be IM'n with someone to get answers.  After initially telling me they would not match the price because the item was purchased during Black Friday I explained that it was no longer Black Friday and Best Buy policy does not obsolve them from matching prices for the next 5-6 weeks (the return date is 1/15/2015) from all items purchased over Black Friday weekend.  If so, no one would buy during Black Friday.  She said she would submit the price match and I would get an email letting me know if it has been approved.  I was patient and waited 2 weeks and nothing.  I called back and was told that the price match department was swamped and to please be patient.  So I waited till today to call back for the return date is in 2 days and still no price match email.  I am now being told that Best Buy only matches their own pricing if not at the time of sale AND they only match the price that same day when they can confirm the price. (which makes sense)  I'm also being told my price match was never sent to the correct department so it has been sitting in case # purgatory for the past month.  Why is any of this my fault?!  I spend over $3500 per year, year after year and I'm supposed to get 'Elite' service.  I know more than the people I'm speaking with on the phone!  I called in with a legit lower price, waited patiently for Best Buy to match, have now spoken with 3 different reps, been told something different each time about the price match policy (every time they were wrong) and now I'm being told because it wasn't matched when they could confirm the price they won't match the price?!  What am I missing?!
    Total Price Match FAIL for Elite Plus member!!!  I can only image how people that aren't Elite are treated! :-)

    Dear iamkraz,
    Thank you for bringing us your business this holiday and for your continued loyalty to us as a My Best Buy Elite Plus customer. I am sorry if your recent experience has left you disappointed after the service you received. I would be happy to help clarify this for you.
    Per our Price Match Guarantee, “At the time of sale, we price match all local retail competitors (including their online prices) and we price match products shipped from and sold by these major online retailers: Amazon.com, Bhphotovideo.com, Crutchfield.com, Dell.com, HP.com, Newegg.com, and TigerDirect.com.” The only price match we would perform after the initial time of sale would be to a lower price in store or on BestBuy.com during your respective Return & Exchange period. You should have been provided with this as the reason for not receiving the price match when you were speaking with our support teams.
    My apologies for any confusion this caused. I would like to get some more details from you about the conversations you had so I may properly document this here at the corporate level for coaching and training. Please check your private messages by clicking on the envelope in the upper right-hand corner while you are logged into the forums.
    Regards,
    JD|Social Media Specialist | Best Buy® Corporate
     Private Message

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad

    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Logon failure: unknown user name or bad password 
    am using Windows integrated security,version of my sql server 2008R2
    I have go throgh the different articuls, they have given different answers,
    So any one give me the  exact soluction for this problem,
    Using service account then i will get the soluction or what?
    pls help me out it is urgent based.
    Regards
    Thanks!

    Hi Ychinnari,
    I have tested on my local environment and can reproduce the issue, as
    Vaishu00547 mentioned that the issue can be caused by the Execution Account you have configured in the Reporting Services Configuration Manager is not correct, Please update the Username and Password and restart the reporting services.
    Please also find more details information about when to use the execution account, if possible,please also not specify this account:
    This account is used under special circumstances when other sources of credentials are not available:
    When the report server connects to a data source that does not require credentials. Examples of data sources that might not require credentials include XML documents and some client-side database applications.
    When the report server connects to another server to retrieve external image files or other resources that are referenced in a report.
    Execution Account (SSRS Native Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Error message: CONNECTION FAILURE. DOWNLOADING FAILED. IMAGE CANNOT BE LOADED. PLEASE TRY AGA

    I recently purchased Photoshop Touch for use on my Samsung Galaxy Note 10.1. I have uploaded files to Creative Cloud from CS5 version of Photoshop. I can view the file thumbnails on my tablet, but when I go to open them, I get the following error every time:
    CONNECTION FAILURE. DOWNLOADING FAILED. IMAGE CANNOT BE LOADED. PLEASE TRY AGAIN.
    Any ideas on what I can do to resolve this issue would be greatly appreciated. I am ready to pull my hair out!! Thanks

    What kind of file type are you trying to open? - Guido

  • Insufficient data for image

    I just received an update to version 10.1.4.  My previous version was 10.1.23.  After the upgrade , I started to receive an error message insufficient data for image.  This is the first time this error appeared so it has to be related to the new version.   I unistalled this version and installed version 9, the problem went away.  Is anyone else having this issue or is there a fix for this issue? 
    Thanks...

      At last I understand.
    Sorry I was so slow.
    By the time you see the "Insufficient data for an image" message it is too late.
    Exit Acrobat without saving anything. If you save the PDF it is worthless; reget the original.
    Note that when I tried this procedure just using the "Optimize Scanned PDF" tool instead of saving and working with an optimized PDF the procedure failed with the "Insufficient data for an image" message. As a result, though the following procedure seems to include some redundant steps they appear to be necessary in this context.
    From here on I'll assume you have added "Recognize text in this file" and "Manage Embedded Index" to your Quick Tools.
    Open the downloaded PDF
    File > Save As > Optimized PDF
         UNcheck "Optimize images only if there is a reduction in size"
         OK
         Save [at this point you may want to save it under another name]
              (for my PDF for my machine this took 5 minutes)
              (I got the following message:
                  Conversion warning: THe PDF document contained image masks that were not downsampled"
                   OK
    Select the "Recognize text in this file" quick tool
         On the Recognize Text panel
              Mark "all pages"
              "Primary OCR Language English (US);
              PDF Output Style Searchable Image
              Downsample To: 600 dpi"
              OK
              (for my PDF for my machine this took 15 minutes)
    Select the "Manage embedded index" quick tool
         On the Manage Embedded Index panel
              Select "Embed Index"
              "The PDF document needs to be saved before an index can be embedded. Do you want to save and continue?"
              Yes
              Status: Index has been embedded"
              OK
    Edit > Find > Hog [this edit test works] so this workaround did the job.
    Thanks again for your help.

  • Hdiutil: verify failed - corrupt image

    problem: sparseimage is not mountable and verify ends with a "hdiutil: verify failed - corrupt image".
    cause: tiger crashed and the image was mounted. the only way to boot was power down the machine. after the reboot the image was not mountable anymore.
    thats the verbose output:
    hdiutil verify -verbose conti.sparseimage
    hdiutil: verify: processing "conti.sparseimage"
    DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
    DIBackingStoreInstantiatorProbe: interface 1, score -1000, CRAMBackingStore
    DIBackingStoreInstantiatorProbe: interface 2, score 100, CCarbonBackingStore
    DIBackingStoreInstantiatorProbe: interface 3, score -1000, CDevBackingStore
    DIBackingStoreInstantiatorProbe: interface 4, score -1000, CCURLBackingStore
    DIBackingStoreInstantiatorProbe: interface 5, score -1000, CVectoredBackingStore
    DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CMacBinaryEncoding
    DIFileEncodingInstantiatorProbe: interface 1, score -1000, CAppleSingleEncoding
    DIFileEncodingInstantiatorProbe: interface 2, score -1000, CEncryptedEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CUDIFEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CSegmentedNDIFEncoding
    DIFileEncodingInstantiatorProbe: interface 1, score -1000, CSegmentedUDIFEncoding
    DIFileEncodingInstantiatorProbe: interface 2, score -1000, CSegmentedUDIFRawEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIDiskImageInstantiatorProbe: interface 0, score 0, CDARTDiskImage
    DIDiskImageInstantiatorProbe: interface 1, score 0, CDiskCopy42DiskImage
    DIDiskImageInstantiatorProbe: interface 2, score -1000, CNDIFDiskImage
    DIDiskImageInstantiatorProbe: interface 3, score -1000, CUDIFDiskImage
    DIDiskImageInstantiatorProbe: interface 5, score -100, CRawDiskImage
    DIDiskImageInstantiatorProbe: interface 6, score -100, CShadowedDiskImage
    DIDiskImageInstantiatorProbe: interface 7, score 1000, CSparseDiskImage
    DIDiskImageInstantiatorProbe: interface 8, score -1000, CCFPlugInDiskImage
    DIDiskImageInstantiatorProbe: interface 9, score -100, CWrappedDiskImage
    DIDiskImageInstantiatorProbe: selecting CSparseDiskImage
    DIDiskImageNewWithBackingStore: CSparseDiskImage
    DIDiskImageNewWithBackingStore: instantiator returned 103
    hdiutil: verify: unable to recognize "conti.sparseimage" as a disk image. (corrupt image)
    hdiutil: verify: result: 103
    hdiutil: verify failed - corrupt image
    the problem is not that i dont have a backup of tha date within this 7GIG imagefile. the problem is now that i dont trust this format anymore. i do have a couple of AES-secured sparesimages FOR backup-reason (including one on my iPod) and if something happens to them i might be in serious trouble.
    so now my question: is it possible to rescue this AES-secured spareseimage or is this kind of methos unsafe for important data?
    thanks
    klaus

    Regular tools like Disk Utility and DiskWarrior
    didn't solve anything. I was wondering if it is
    possible to rescue some files by manually decrypting
    the image with some low-level tool.
    Did you have any succes? Given all reports on the
    web, it seems a bit hopeless, but I like to give it a
    chance.
    no success at all, sorry.
    i dumped the images now and also went back to some backups.
    but i definitly don't use filevault anymore
    cu

  • Aleatory One factory fails for the operation "encode"-JPEG

    I've a very strange problem with JAI.write using JPEG, but is happening aleatory. Some times it works, some times I get the exception and some other times don't. What I've seen is that when I got first this error, then all the rest of the images throws it. I mean, I'm working OK and then I got the exception, from there, all the images, no matter that they were not trowing exceptions before, now they do, so I don't know what is happening. I'll post some code snippets and the full stack trace of the exception. Hope you can help me:
    First, I have a class that is a JSP-Tag:
    RenderedOp outputImage = JAI.create("fileload", imgFile.getAbsolutePath());
    int widthSize = outputImage.getWidth();
    int heightSize = outputImage.getHeight();
    try{
        outputImage.dispose();                         
    }catch(Exception e){}
    outputImage = null;That's the first thing, now, the second, this is a Servlet that writes the image to the browser (GetImageServlet its name, which appears in the stack trace):
    FileSeekableStream fss = new FileSeekableStream(file);
    RenderedOp outputImage = JAI.create("stream", fss);
    int widthSize = outputImage.getWidth();
    int heightSize = outputImage.getHeight();
    if ((outputImage.getWidth() > 0) && (outputImage.getHeight() > 0)) {
                        if ((isThumbnail) && ((outputImage.getWidth() > 60) || (outputImage.getHeight() > 60))) {
                             outputImage = ImageManagerJAI.thumbnail(outputImage, 60);
                        } else if (outputRotate != 0) {
                             outputImage = ImageManagerJAI.rotate(outputImage, outputRotate);
                        OutputStream os = resp.getOutputStream();
    resp.setContentType("image/jpeg");
         ImageManagerJAI.writeResult(os, outputImage, "JPEG");
                        outputImage.dispose();
                        os.flush();
                        os.close();
    outputImage = null;
    imgFile = null;The code of ImageManagerJAI.writeResult, which is a method I use above:
    public static void writeResult(OutputStream os, RenderedOp image, String type) throws IOException {
              if ("GIF".equals(type)) {
                   GifEncoder encoder = new GifEncoder(image.getAsBufferedImage(), os);
                   encoder.encode();
              } else {
                   JAI.create("encode", image, os, type, null);
         }And the full exception trace is:
    Error: One factory fails for the operation "encode"
    Occurs in: javax.media.jai.ThreadSafeOperationRegistry
    java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
         at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
         at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
         at javax.media.jai.JAI.createNS(JAI.java:1099)
         at javax.media.jai.JAI.create(JAI.java:973)
         at javax.media.jai.JAI.create(JAI.java:1668)
         at com.syc.image.ImageManagerJAI.writeResult(ImageManagerJAI.java:27)
         at GetImageServlet.doGet(GetImageServlet.java:214)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException
         at com.sun.media.jai.codecimpl.ImagingListenerProxy.errorOccurred(ImagingListenerProxy.java:63)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:280)
         at com.sun.media.jai.opimage.EncodeRIF.create(EncodeRIF.java:70)
         ... 31 more
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException: IOException occurs when encode the image.
         ... 33 more
    Caused by: java.io.IOException: reading encoded JPEG Stream
         at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native Method)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:472)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:228)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:277)
         ... 32 more
    javax.media.jai.util.ImagingException: All factories fail for the operation "encode"
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1687)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
         at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
         at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
         at javax.media.jai.JAI.createNS(JAI.java:1099)
         at javax.media.jai.JAI.create(JAI.java:973)
         at javax.media.jai.JAI.create(JAI.java:1668)
         at com.syc.image.ImageManagerJAI.writeResult(ImageManagerJAI.java:27)
         at GetImageServlet.doGet(GetImageServlet.java:214)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         ... 26 more
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException
         at com.sun.media.jai.codecimpl.ImagingListenerProxy.errorOccurred(ImagingListenerProxy.java:63)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:280)
         at com.sun.media.jai.opimage.EncodeRIF.create(EncodeRIF.java:70)
         ... 31 more
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException: IOException occurs when encode the image.
         ... 33 more
    Caused by: java.io.IOException: reading encoded JPEG Stream
         at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native Method)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:472)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:228)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:277)
         ... 32 more
    Caused by:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
         at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
         at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
         at javax.media.jai.JAI.createNS(JAI.java:1099)
         at javax.media.jai.JAI.create(JAI.java:973)
         at javax.media.jai.JAI.create(JAI.java:1668)
         at com.syc.image.ImageManagerJAI.writeResult(ImageManagerJAI.java:27)
         at GetImageServlet.doGet(GetImageServlet.java:214)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException
         at com.sun.media.jai.codecimpl.ImagingListenerProxy.errorOccurred(ImagingListenerProxy.java:63)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:280)
         at com.sun.media.jai.opimage.EncodeRIF.create(EncodeRIF.java:70)
         ... 31 more
    Caused by: com.sun.media.jai.codecimpl.util.ImagingException: IOException occurs when encode the image.
         ... 33 more
    Caused by: java.io.IOException: reading encoded JPEG Stream
         at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native Method)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:472)
         at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:228)
         at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:277)
         ... 32 moreI'm using JDK 1.6, Tomcat 5.5, Windows XP, and JAI 1.1.2_01 (the jars are in the WEB-INF/lib of the project AND in the jdk 6/jre/lib/ext, while the dlls are only on jdk 6/jre/bin)
    Please help, I don't know what to do, I've weeks with this problem. Dukes available pleaseeee!

    Hi
    you can check if you get in the error logs an message like 'Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.' may be the problem of JAI native accelerator

  • SXPG_COMMAND_EXECUTE failed for BRBACKUP

    Dear All,
    OS : AIX,  DB :Oracle , SAP ECC6.0
    i got an error and  online backup has  scheduled in DB13 ( Production Server)
    when its  reach the backup time its showins error
    Status : not Available
    JOB LOG:
    30.11.2009     17:26:56     Job started
    30.11.2009     17:26:56     Step 001 started (program RSDBAJOB, variant &0000000000672, user ID BASIS)
    30.11.2009     17:26:56     No application server found on database host - rsh/gateway will be used
    30.11.2009     17:26:56     Execute logical command BRBACKUP On host PRODORADB
    30.11.2009     17:26:56     Parameters:-u / -jid ALLOG20091130172655 -c force -t online -m all -p initIRPoffsite.sap -a -c force -p initIRP
    30.11.2009     17:26:56     offsite.sap -cds
    30.11.2009     17:27:28     SXPG_STEP_XPG_START: is_local_host: rc = 403
    30.11.2009     17:27:28     SXPG_STEP_XPG_START: host = PRODORADB
    30.11.2009     17:27:28     SXPG_STEP_XPG_START: is_local_r3_host: rc = 802
    30.11.2009     17:27:28     SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN: rc = 1003
    30.11.2009     17:27:28     SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    30.11.2009     17:27:28     SXPG_COMMAND_EXECUTE(LONG)
    30.11.2009     17:27:28     <timestamp> = 20091130172728
    30.11.2009     17:27:28     COMMANDNAME = BRBACKUP
    30.11.2009     17:27:28     ADDITIONAL_PARAMETERS =
    30.11.2009     17:27:28     -u / -jid ALLOG20091130172655 -c force -t online -
    30.11.2009     17:27:28     m all -p initIRPoffsite.sap -a -c force -p initIRP
    30.11.2009     17:27:28     offsite.sap -cds
    30.11.2009     17:27:28     LONG_PARAMS
    30.11.2009     17:27:28     OPERATINGSYSTEM = ANYOS
    30.11.2009     17:27:28     TARGETSYSTEM = PRODORADB
    30.11.2009     17:27:28     DESTINATION
    30.11.2009     17:27:28     SY-SUBRC = 1003
    30.11.2009     17:27:28     SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: program_start_error: For More Information, See SYS
    30.11.2009     17:27:28     Job cancelled after system exception ERROR_MESSAGE
    pls give suggestion to solve this issue
    regards
    satheesh

    Hi
    In Windows we can find Host & services from C:\WINDOWS\system32\drivers\etc
    we are using AIX for all servers
    below detail for reference
    ===================================================
    ROOT@PRDCIXI:/#ls
    .TTauthority         bosinst.data         perfdata
    .Xauthority          cdrom                proc
    .dt                  clverify_daemon.log  sapcd
    .dtprofile           configassist.log     sapcdd
    .java                dead.letter          sapmnt
    .mh_profile          dev                  sbin
    .profile             esa                  sdtstart.err
    .rhosts              etc                  smit.log
    .rhosts.previous     home                 smit.script
    .sdtgui              image.data           smit.transaction
    .sh_history          lib                  ss.txt
    .vi_history          lost+found           tftpboot
    .wmrc                lpp                  tk
    CSD                  mksysb               tmp
    IRPEXE               mnt                  u
    Mail                 mount.a1253462       unix
    TT_DB                opt                  usr
    audit                oracle               var
    backup               pay                  websm.script
    bin                  pay1
    ROOT@PRDCIXI:/#cat .rhosts
    PRODORADB_boot1
    PRODORADB_boot2
    PRODORADB_svc
    PRODORADB_ps
    PRDCIXI_boot1
    PRDCIXI_boot2
    PRDCIXI_svc
    PRDCIXI_ps
    ===================================================
    This is APP2 Instanece
    ROOT@PRDAPP2:/#ls
    .TTauthority      TT_DB             lpp               smit.log
    .Xauthority       audit             mksysb            smit.script
    .dt               bin               mnt               smit.transaction
    .dtprofile        bosinst.data      nmon              tftpboot
    .java             cdrom             opt               tk
    .profile          configassist.log  oracle            tmp
    .rhosts           dev               pay               u
    .rhosts.previous  esa               proc              unix
    .sdtgui           etc               sapcd             usr
    .sh_history       home              sapcdd            var
    .ssh              image.data        sapmnt            websm.script
    .vi_history       lib               sbin
    .wmrc             lost+found        sdtstart.err
    ROOT@PRDAPP2:/#cat .rhosts
    SAP-DEV-QAS root
    ROOT@PRDAPP2:/#cat .rhosts.previous
    SAP-DEV-QAS root
    ROOT@PRDAPP2:/#
    ========================================
    This is APP1 Instanece
    ROOT@PRDAPP1:/#ls
    .TTauthority      TT_DB             lpp               smit.log
    .Xauthority       audit             mksysb            smit.script
    .dt               bin               mnt               smit.transaction
    .dtprofile        bosinst.data      nmon              tftpboot
    .java             cdrom             opt               tk
    .profile          configassist.log  oracle            tmp
    .rhosts           dev               pay               u
    .rhosts.previous  esa               proc              unix
    .sdtgui           etc               sapcd             usr
    .sh_history       home              sapcdd            var
    .ssh              image.data        sapmnt            websm.script
    .vi_history       lib               sbin
    .wmrc             lost+found        sdtstart.err
    ROOT@PRDAPP1:/#cat .rhosts
    SAP-DEV-QAS root
    ROOT@PRDAPP1:/#
    You have mail in /usr/spool/mail/root
    ROOT@PRDAPP1:/#
    ROOT@PRDAPP1:/#cat .rhosts
    SAP-DEV-QAS root
    ROOT@PRDAPP1:/#cat .rhosts.previous
    SAP-DEV-QAS root
    ROOT@PRDAPP1:/#
    ============================================================
    kindly advise me i didnt get any hint from host file

  • Error: One factory fails for the operation "encode"

    Dear all,
    This is my first attempt to use JAI. I am getting the following error message. Any ideas why this could happen?
    Thanks
    Error: One factory fails for the operation "encode"
    Occurs in: javax.media.jai.ThreadSafeOperationRegistry
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:494)
         at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at com.sun.media.jai.opimage.FileStoreRIF.create(FileStoreRIF.java:138)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:494)
         at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
         at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
         at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
         at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
         at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
         at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
         at javax.media.jai.RenderedOp.getRendering(RenderedOp.java:888)
         at javax.media.jai.JAI.createNS(JAI.java:1099)
         at javax.media.jai.JAI.create(JAI.java:973)
         at javax.media.jai.JAI.create(JAI.java:1668)
         at RectifyIt.actionPerformed(RectifyIt.java:715)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1834)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2152)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5463)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3052)
         at java.awt.Component.processEvent(Component.java:5228)
         at java.awt.Container.processEvent(Container.java:1961)
         at java.awt.Component.dispatchEventImpl(Component.java:3931)
         at java.awt.Container.dispatchEventImpl(Container.java:2019)
         at java.awt.Component.dispatchEvent(Component.java:3779)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4203)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3883)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3813)
         at java.awt.Container.dispatchEventImpl(Container.java:2005)
         at java.awt.Window.dispatchEventImpl(Window.java:1757)
         at java.awt.Component.dispatchEvent(Component.java:3779)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    Error: One factory fails for the operation "filestore"
    Occurs in: javax.media.jai.ThreadSafeOperationRegistry
    java.lang.reflect.InvocationTargetException

    I'm not an expert in JAI either, but I noticed you have an OutOfMemoryError at the bottom of your stacktrace. I'd focus on that.
    Are you dealing with a large image? Maybe try holding as little of the image in memory as possible. Do you have a small Java heap size? Maybe try increasing the footprint. etc...
    CowKing

  • Mtmfs: mount failed for /Volumes/MobileBackups 9

    Hello, I looked over the net and couldn't find an answer my problem.
    The new MobileBackup feature in Lion doesn't work, error [1] keeps popping every 5 seconds. Looking over the System Diagnostic Reports I see that mtmfs keeps crashing regularly with the same errror [2].
    It seems to me that mtmfs is looking for some executable that it can't find, but it's not clear from the log which one is that. Also I wonder why just MobileBackup 9?
    Please I'm thinking about reinstalling Lion just so I can get ride of this annoying error.
    Let me know if you require more information.
    [1]:
    11/10/11 12:47:33.988 PM mtmfs: mount failed for /Volumes/MobileBackups 9
    11/10/11 12:47:33.990 PM com.apple.launchd: (com.apple.mtmfs[3993]) Exited with code: 22
    11/10/11 12:47:33.990 PM com.apple.launchd: (com.apple.mtmfs) Throttling respawn: Will start in 5 seconds
    [2]:
    Process:         mtmfs [256]
    Path:            /System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmfs
    Identifier:      mtmfs
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-10-08 10:55:45.497 +0300
    OS Version:      Mac OS X 10.7.1 (11B26)
    Report Version:  9
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    objc[256]: garbage collection is OFF
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
    *** First throw call stack:
        0   CoreFoundation                      0x00007fff88c44986 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff8d504d5e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff88c447ba +[NSException raise:format:arguments:] + 106
        3   CoreFoundation                      0x00007fff88c44744 +[NSException raise:format:] + 116
        4   Foundation                          0x00007fff903ddcb4 -[NSConcreteTask launchWithDictionary:] + 470
        5   Foundation                          0x00007fff904f25f4 +[NSTask launchedTaskWithLaunchPath:arguments:] + 203
        6   mtmfs                               0x000000010ec72a18 mtmfs + 31256
        7   mtmfs                               0x000000010ec7af63 mtmfs + 65379
        8   mtmfs                               0x000000010ec80214 mtmfs + 86548
        9   Foundation                          0x00007fff9040d804 __NSFirePerformWithOrder + 382
        10  CoreFoundation                      0x00007fff88c04647 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
        11  CoreFoundation                      0x00007fff88c045a6 __CFRunLoopDoObservers + 374
        12  CoreFoundation                      0x00007fff88bd9889 __CFRunLoopRun + 825
        13  CoreFoundation                      0x00007fff88bd9216 CFRunLoopRunSpecific + 230
        14  Foundation                          0x00007fff90398983 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
        15  Foundation                          0x00007fff9039886f -[NSRunLoop(NSRunLoop) run] + 62
        16  mtmfs                               0x000000010ec7fa0c mtmfs + 84492
        17  mtmfs                               0x000000010ec6ca4c mtmfs + 6732
        18  ???                                 0x0000000000000008 0x0 + 8
    terminate called throwing an exception
    abort() called
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib            0x00007fff8a792ce2 __pthread_kill + 10
    1   libsystem_c.dylib                 0x00007fff8edc17d2 pthread_kill + 95
    2   libsystem_c.dylib                 0x00007fff8edb2a7a abort + 143
    3   libc++abi.dylib                   0x00007fff913597bc abort_message + 214
    4   libc++abi.dylib                   0x00007fff91356fcf default_terminate() + 28
    5   libobjc.A.dylib                   0x00007fff8d5051b9 _objc_terminate + 94
    6   libc++abi.dylib                   0x00007fff91357001 safe_handler_caller(void (*)()) + 11
    7   libc++abi.dylib                   0x00007fff9135705c std::terminate() + 16
    8   libc++abi.dylib                   0x00007fff91358152 __cxa_throw + 114
    9   libobjc.A.dylib                   0x00007fff8d504e7a objc_exception_throw + 327
    10  com.apple.CoreFoundation          0x00007fff88c447ba +[NSException raise:format:arguments:] + 106
    11  com.apple.CoreFoundation          0x00007fff88c44744 +[NSException raise:format:] + 116
    12  com.apple.Foundation              0x00007fff903ddcb4 -[NSConcreteTask launchWithDictionary:] + 470
    13  com.apple.Foundation              0x00007fff904f25f4 +[NSTask launchedTaskWithLaunchPath:arguments:] + 203
    14  mtmfs                             0x000000010ec72a18 0x10ec6b000 + 31256
    15  mtmfs                             0x000000010ec7af63 0x10ec6b000 + 65379
    16  mtmfs                             0x000000010ec80214 0x10ec6b000 + 86548
    17  com.apple.Foundation              0x00007fff9040d804 __NSFirePerformWithOrder + 382
    18  com.apple.CoreFoundation          0x00007fff88c04647 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    19  com.apple.CoreFoundation          0x00007fff88c045a6 __CFRunLoopDoObservers + 374
    20  com.apple.CoreFoundation          0x00007fff88bd9889 __CFRunLoopRun + 825
    21  com.apple.CoreFoundation          0x00007fff88bd9216 CFRunLoopRunSpecific + 230
    22  com.apple.Foundation              0x00007fff90398983 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
    23  com.apple.Foundation              0x00007fff9039886f -[NSRunLoop(NSRunLoop) run] + 62
    24  mtmfs                             0x000000010ec7fa0c 0x10ec6b000 + 84492
    25  mtmfs                             0x000000010ec6ca4c 0x10ec6b000 + 6732
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib            0x00007fff8a7937e6 kevent + 10
    1   libdispatch.dylib                 0x00007fff9140260e _dispatch_mgr_invoke + 923
    2   libdispatch.dylib                 0x00007fff9140119e _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib            0x00007fff8a793192 __workq_kernreturn + 10
    1   libsystem_c.dylib                 0x00007fff8edc1594 _pthread_wqthread + 758
    2   libsystem_c.dylib                 0x00007fff8edc2b85 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib            0x00007fff8a793192 __workq_kernreturn + 10
    1   libsystem_c.dylib                 0x00007fff8edc1594 _pthread_wqthread + 758
    2   libsystem_c.dylib                 0x00007fff8edc2b85 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib            0x00007fff8a793192 __workq_kernreturn + 10
    1   libsystem_c.dylib                 0x00007fff8edc1594 _pthread_wqthread + 758
    2   libsystem_c.dylib                 0x00007fff8edc2b85 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib            0x00007fff8a792e06 __select_nocancel + 10
    1   libsystem_info.dylib              0x00007fff8fab33a5 svc_run + 80
    2   mtmfs                             0x000000010ec770ae 0x10ec6b000 + 49326
    3   mtmfs                             0x000000010ec7a9d5 0x10ec6b000 + 63957
    4   mtmfs                             0x000000010ec7a6aa 0x10ec6b000 + 63146
    5   mtmfs                             0x000000010ec7b476 0x10ec6b000 + 66678
    6   com.apple.Foundation              0x00007fff903e71ea -[NSThread main] + 68
    7   com.apple.Foundation              0x00007fff903e7162 __NSThread__main__ + 1575
    8   libsystem_c.dylib                 0x00007fff8edbf8bf _pthread_start + 335
    9   libsystem_c.dylib                 0x00007fff8edc2b75 thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff6e868858  rdx: 0x0000000000000000
      rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff6e868880  rsp: 0x00007fff6e868858
       r8: 0x00007fff7627dfb8   r9: 0x00007fff6e8682e8  r10: 0x00007fff8a792d0a  r11: 0xffffff80002d8240
      r12: 0x00007fdb83d5cf20  r13: 0x00007fdb83d409d0  r14: 0x00007fff76280960  r15: 0x00007fff6e8689d0
      rip: 0x00007fff8a792ce2  rfl: 0x0000000000000246  cr2: 0x000000010fdfc000
    Logical CPU: 0
    Binary Images:
           0x10ec6b000 -        0x10ecc2fff  mtmfs (??? - ???) <3770CF18-35EF-3251-B5DA-6F71C4E06586> /System/Library/CoreServices/backupd.bundle/Contents/Resources/mtmfs
        0x7fff6e86b000 -     0x7fff6e89fac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
        0x7fff84d47000 -     0x7fff84dccff7  com.apple.Heimdal (2.1 - 2.0) <E4CD970F-8DE8-31E4-9FC0-BDC97EB924D5> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
        0x7fff84dcd000 -     0x7fff84dcefff  libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
        0x7fff84e76000 -     0x7fff84e76fff  com.apple.vecLib (3.7 - vecLib 3.7) <29927F20-262F-379C-9108-68A6C69A03D0> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff855d2000 -     0x7fff8566cff7  com.apple.SearchKit (1.4.0 - 1.4.0) <B7573888-BAF6-333D-AB00-C0D2BF88DF0F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
        0x7fff8566d000 -     0x7fff85674fff  com.apple.NetFS (4.0 - 4.0) <B9F41443-679A-31AD-B0EB-36557DAF782B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff85675000 -     0x7fff85877fff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <82DCB94B-3819-3CC3-BC16-2AACA7F64F8A> /usr/lib/libicucore.A.dylib
        0x7fff8590c000 -     0x7fff85910fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
        0x7fff85912000 -     0x7fff85d3ffff  libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
        0x7fff85d40000 -     0x7fff85d8bfff  com.apple.SystemConfiguration (1.11 - 1.11) <0B02FEC4-C36E-32CB-8004-2214B6793AE8> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
        0x7fff86a01000 -     0x7fff86a0fff7  libkxld.dylib (??? - ???) <65BE345D-6618-3D1A-9E2B-255E629646AA> /usr/lib/system/libkxld.dylib
        0x7fff86a10000 -     0x7fff86af0fff  com.apple.CoreServices.OSServices (478.25.1 - 478.25.1) <E7FD4DB7-7844-355A-83D0-C1F24BE71019> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
        0x7fff86bdc000 -     0x7fff86ce8fef  libcrypto.0.9.8.dylib (0.9.8 - compatibility 0.9.8) <3AD29F8D-E3BC-3F49-A438-2C8AAB71DC99> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff86cfc000 -     0x7fff86d66fff  com.apple.framework.IOKit (2.0 - ???) <F79E7690-EF97-3D04-BA22-177E256803AF> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff86df1000 -     0x7fff86dfdfff  com.apple.DirectoryService.Framework (10.7 - 144) <067ACB41-E9B7-3177-9EDE-C188D9B352DC> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
        0x7fff86dfe000 -     0x7fff86e06fff  libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff86e0c000 -     0x7fff86e12fff  com.apple.DiskArbitration (2.4 - 2.4) <5185FEA6-92CA-3CAA-8442-BD71DBC64AFD> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff88097000 -     0x7fff880aaff7  libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib
        0x7fff880ab000 -     0x7fff883c4fff  com.apple.CoreServices.CarbonCore (960.13 - 960.13) <398ABDD7-BB95-3C05-96D2-B54243FC4745> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
        0x7fff883c5000 -     0x7fff883e2ff7  libxpc.dylib (77.16.0 - compatibility 1.0.0) <0A4B4775-29A9-30D6-956B-3BE1DBF98090> /usr/lib/system/libxpc.dylib
        0x7fff883e3000 -     0x7fff8840eff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <8051A3FC-7385-3EA9-9634-78FC616C3E94> /usr/lib/libxslt.1.dylib
        0x7fff8840f000 -     0x7fff88413fff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
        0x7fff88ba1000 -     0x7fff88d74ff7  com.apple.CoreFoundation (6.7 - 635) <57446B22-0778-3E07-9690-96AC705D57E8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff88e69000 -     0x7fff88e70fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
        0x7fff88f6a000 -     0x7fff88f6bfff  libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
        0x7fff8964f000 -     0x7fff8964ffff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
        0x7fff89669000 -     0x7fff89696fe7  libSystem.B.dylib (159.0.0 - compatibility 1.0.0) <7B4D685D-939C-3ABE-8780-77A1889E0DE9> /usr/lib/libSystem.B.dylib
        0x7fff896c5000 -     0x7fff89828fff  com.apple.CFNetwork (520.0.13 - 520.0.13) <67E3BB43-2A22-3F5A-964E-391375B24CE0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff89b63000 -     0x7fff89ba9ff7  libcurl.4.dylib (7.0.0 - compatibility 7.0.0) <EAF61ADC-DC00-34CE-B23E-7238ED54E31D> /usr/lib/libcurl.4.dylib
        0x7fff8a14e000 -     0x7fff8a159ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <5209B4F1-D6D6-337B-B3C8-E168931C778C> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
        0x7fff8a2e6000 -     0x7fff8a334ff7  libauto.dylib (??? - ???) <F0004B88-CA01-37D0-A77F-6651C4EC7D8E> /usr/lib/libauto.dylib
        0x7fff8a335000 -     0x7fff8a368fff  com.apple.GSS (2.1 - 2.0) <A150154E-40D3-345B-A92D-3A023A55AC52> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
        0x7fff8a625000 -     0x7fff8a6bbff7  libvMisc.dylib (325.3.0 - compatibility 1.0.0) <AC5A384A-FA5A-3307-9CED-BD69E6F12A09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
        0x7fff8a6fe000 -     0x7fff8a715fff  com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
        0x7fff8a77c000 -     0x7fff8a79cfff  libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
        0x7fff8a949000 -     0x7fff8aa27ff7  com.apple.DiscRecording (6.0 - 6000.4.1) <DB0D0211-953B-3261-A4FD-74D2AC671DA6> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff8aa28000 -     0x7fff8aa3aff7  libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
        0x7fff8aa3b000 -     0x7fff8aa74fe7  libssl.0.9.8.dylib (0.9.8 - compatibility 0.9.8) <D634E4B6-672F-3F68-8B6F-C5028151A5B4> /usr/lib/libssl.0.9.8.dylib
        0x7fff8be7c000 -     0x7fff8be8eff7  libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
        0x7fff8beb8000 -     0x7fff8bf2dff7  libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
        0x7fff8bfc9000 -     0x7fff8bfcaff7  libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib
        0x7fff8cbb3000 -     0x7fff8ccb6fff  libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <ED5E84C6-646D-3B70-81D6-7AF957BEB217> /usr/lib/libsqlite3.dylib
        0x7fff8d1ce000 -     0x7fff8d270ff7  com.apple.securityfoundation (5.0 - 55005) <0D59908C-A61B-389E-AF37-741ACBBA6A94> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
        0x7fff8d4ee000 -     0x7fff8d5d2def  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <C5F2392D-B481-3A9D-91BE-3D039FFF4DEC> /usr/lib/libobjc.A.dylib
        0x7fff8d5d3000 -     0x7fff8d72cff7  com.apple.audio.toolbox.AudioToolbox (1.7 - 1.7) <296F10D0-A871-39C1-B8B2-9200AB12B5AF> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff8d83d000 -     0x7fff8d83eff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
        0x7fff8d893000 -     0x7fff8d8d5ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
        0x7fff8d9be000 -     0x7fff8d9bffff  libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff8d9ea000 -     0x7fff8da09fff  libresolv.9.dylib (46.0.0 - compatibility 1.0.0) <33263568-E6F3-359C-A4FA-66AD1300F7D4> /usr/lib/libresolv.9.dylib
        0x7fff8e182000 -     0x7fff8e194ff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
        0x7fff8e1a8000 -     0x7fff8e21bfff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
        0x7fff8e292000 -     0x7fff8e569fff  com.apple.security (7.0 - 55010) <2418B583-D3BD-3BC5-8B07-8289C8A5B43B> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff8e68e000 -     0x7fff8e6cdfff  com.apple.AE (527.6 - 527.6) <6F8DF9EF-3250-3B7F-8841-FCAD8E323954> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
        0x7fff8e7ae000 -     0x7fff8e84dfff  com.apple.LaunchServices (480.19 - 480.19) <41ED4C8B-C74B-34EA-A9BF-34DBA5F52307> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
        0x7fff8ea40000 -     0x7fff8ea45ff7  libsystem_network.dylib (??? - ???) <4ABCEEF3-A3F9-3E06-9682-CE00F17138B7> /usr/lib/system/libsystem_network.dylib
        0x7fff8eb55000 -     0x7fff8ebbcff7  com.apple.audio.CoreAudio (4.0.0 - 4.0.0) <0B715012-C8E8-386D-9C6C-90F72AE62A2F> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff8ed65000 -     0x7fff8ed70fff  com.apple.CommonAuth (2.1 - 2.0) <49949286-61FB-3A7F-BF49-0EBA45E2664E> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
        0x7fff8ed71000 -     0x7fff8ee4efef  libsystem_c.dylib (763.11.0 - compatibility 1.0.0) <1D61CA57-3C6D-30F7-89CB-CC6F0787B1DC> /usr/lib/system/libsystem_c.dylib
        0x7fff8ee6b000 -     0x7fff8ef65ff7  com.apple.DiskImagesFramework (10.7.1 - 330.1) <83086D90-A613-30CC-95A7-ABF8B85BFDBF> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
        0x7fff8f036000 -     0x7fff8f096fff  libvDSP.dylib (325.3.0 - compatibility 1.0.0) <74B62E70-4189-3022-8FC9-1182EA7C6E34> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
        0x7fff8f097000 -     0x7fff8f67bfaf  libBLAS.dylib (??? - ???) <D62D6A48-5C7A-3ED6-875D-AA3C2C5BF791> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
        0x7fff8f796000 -     0x7fff8f7a0ff7  liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
        0x7fff8f85e000 -     0x7fff8f863fff  libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
        0x7fff8f864000 -     0x7fff8f869fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
        0x7fff8f929000 -     0x7fff8f92efff  com.apple.OpenDirectory (10.7 - 144) <E8AACF47-C423-3DCE-98F6-A811612B1B46> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
        0x7fff8f92f000 -     0x7fff8f95efff  com.apple.DictionaryServices (1.2 - 158) <2CE51CD1-EE3D-3618-9507-E39A09C9BB8D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
        0x7fff8f9a6000 -     0x7fff8fa16fff  com.apple.datadetectorscore (3.0 - 179.3) <AFFBD606-91DE-3F91-8E38-C037D9FBFA8B> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
        0x7fff8fa28000 -     0x7fff8fa51fff  com.apple.CoreServicesInternal (113.7 - 113.7) <ACAC98CD-5941-39DB-951A-2509DCCD22FD> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
        0x7fff8fa8d000 -     0x7fff8fac9fff  libsystem_info.dylib (??? - ???) <BC49C624-1DAB-3A37-890F-6EFD46538424> /usr/lib/system/libsystem_info.dylib
        0x7fff8fe2a000 -     0x7fff8fe2afff  com.apple.CoreServices (53 - 53) <5946A0A6-393D-3087-86A0-4FFF6A305CC0> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff8fe2b000 -     0x7fff8fe66fff  com.apple.LDAPFramework (3.0 - 120.1) <0C23534F-A8E7-3144-B2B2-50F9875101E2> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
        0x7fff8fe67000 -     0x7fff8fe68fff  liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
        0x7fff8fee6000 -     0x7fff8feecfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
        0x7fff902c2000 -     0x7fff902c4fff  com.apple.TrustEvaluationAgent (2.0 - 1) <80AFB5D8-5CC4-3A38-83B9-A7DF5820031A> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
        0x7fff90327000 -     0x7fff90343ff7  com.apple.GenerationalStorage (1.0 - 124) <C0290CA0-A2A0-3280-9442-9D783883D638> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
        0x7fff9038d000 -     0x7fff9069ffff  com.apple.Foundation (6.7 - 833.1) <618D7923-3519-3C53-9CBD-CF3C7130CB32> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff906ab000 -     0x7fff906b0fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
        0x7fff90717000 -     0x7fff90819ff7  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <D46F371D-6422-31B7-BCE0-D80713069E0E> /usr/lib/libxml2.2.dylib
        0x7fff9081a000 -     0x7fff9083eff7  com.apple.Kerberos (1.0 - 1) <2FF2569B-F59A-371E-AF33-66297F512CB3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff9083f000 -     0x7fff9084dfff  com.apple.NetAuth (1.0 - 3.0) <F384FFFD-70F6-3B1C-A886-F5B446E456E7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff9085e000 -     0x7fff908a2ff7  com.apple.MediaKit (11.0 - 585) <8F2DF50A-03D2-3551-AD92-74A9262D6B0F> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff908a3000 -     0x7fff908a5fff  libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
        0x7fff908a6000 -     0x7fff908a7fff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff90c64000 -     0x7fff90c71ff7  libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <8EDE3492-D916-37B2-A066-3E0F054411FD> /usr/lib/libbz2.1.0.dylib
        0x7fff90d3a000 -     0x7fff90d40ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
        0x7fff91351000 -     0x7fff9135cff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
        0x7fff9135d000 -     0x7fff91366fff  libnotify.dylib (80.0.0 - compatibility 1.0.0) <BD08553D-8088-38A8-8007-CF5C0B8F0404> /usr/lib/system/libnotify.dylib
        0x7fff9137c000 -     0x7fff913fefff  com.apple.Metadata (10.7.0 - 627.9) <F293A9A7-9790-3629-BE81-D19C158C5EA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
        0x7fff913ff000 -     0x7fff9140dfff  libdispatch.dylib (187.5.0 - compatibility 1.0.0) <698F8EFB-7075-3111-94E3-891156C88172> /usr/lib/system/libdispatch.dylib
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 5
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 843
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=92.2M resident=42.3M(46%) swapped_out_or_unallocated=49.9M(54%)
    Writable regions: Total=47.4M written=652K(1%) resident=2084K(4%) swapped_out=0K(0%) unallocated=45.3M(96%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    MALLOC                             20.5M
    MALLOC guard page                    32K
    STACK GUARD                        56.0M
    Stack                              10.5M
    VM_ALLOCATE                          36K
    __DATA                             19.7M
    __LINKEDIT                         47.1M
    __TEXT                             45.1M
    __UNICODE                           544K
    mapped file                        15.5M
    shared memory                       312K
    ===========                      =======
    TOTAL                             215.3M

    nuts

  • ORA-00313: open failed for members of log group 2 of thread 1

    We have a 4 node 32bit linux RAC (Dell/EMC) system running 9.2.0.4. It is very stable but over the past couple of months we've encountered a few ORA-00313 errors, while the system is running.
    No patterns. Different loads, times of day, nodes.
    The redo can't be opened, the node crashes, we look for errors, can't find any and then restart. The file is there and the permissions are fine. No other processes are accessing the files. No other Db errors. No O/S, SAN, Fiber, errors.
    All the research I've done shows that this is an error you'd only get on startup.
    We're going to log a TAR, but I can't believe we're the only ones to ever see this occur.
    [directory and server names have been modified to protect the system. Don't get hung up on typos or possible file system config problems too much - this system has been and is running now]
    ======================================================
    Log entries:
    Mon Oct 24 22:51:58 2005
    Errors in file /u01/app/oracle/admin/sampdb/bdump/sampdb1_lgwr_2237.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/sampledb/redo0/oradata/sampdb/redo/redo102.log'
    ORA-27041: unable to open file
    Linux Error: 13: Permission denied
    Additional information: 2
    Mon Oct 24 22:51:58 2005
    Errors in file /u01/app/oracle/admin/sampdb/bdump/sampdb1_lgwr_2237.trc:
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/sampledb/redo0/oradata/sampdb/redo/redo102.log'
    ORA-27041: unable to open file
    Linux Error: 13: Permission denied
    Additional information: 2
    Mon Oct 24 22:51:58 2005
    LGWR: terminating instance due to error 313
    Below are the contents of the trace file mentioned in the above log:
    trace file /u01/app/oracle/admin/sampdb/bdump/sampdb1_lgwr_2237.trc:
    [oracle@db1 bdump]$ more /u01/app/oracle/admin/sampdb/bdump/sampdb1_lgwr_2237.trc
    /u01/app/oracle/admin/sampdb/bdump/sampdb1_lgwr_2237.trc
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/920
    System name: Linux
    Node name: db1.sample.com
    Release: 2.4.9-e.59enterprise
    Version: #1 SMP Mon Jan 17 07:02:16 EST 2005
    Machine: i686
    Instance name: sampdb1
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 24
    Unix process pid: 2237, image: [email protected] (LGWR)
    *** SESSION ID:(25.1) 2005-10-11 22:31:02.315
    CMCLI WARNING: CMInitContext: init ctx(0xad96e80)
    *** 2005-10-24 22:51:58.192
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/sampledb/redo0/oradata/sampdb/redo/redo102.log'
    ORA-27041: unable to open file
    Linux Error: 13: Permission denied
    Additional information: 2
    error 313 detected in background process
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1: '/sampledb/redo0/oradata/sampdb/redo/redo102.log'
    ORA-27041: unable to open file
    Linux Error: 13: Permission denied
    Additional information: 2
    ksuitm: waiting for [5] seconds before killing DIAG

    The only thing I can still think of is file permissions.
    If the system has recently been restored or Redo Log recreated, check the file permissions and ensure that Oracle has Read and Write Access to the Directory and Files.
    At least the file permissions on the directory and files should look something like this example
    $ls -l /sampledb/redo0/oradata/sampdb/
    drwxr-xr-x oracle oinstall 4096 19 May 17:46 redo
    $ls -l /sampledb/redo0/oradata/sampdb/redo/
    -rw-r----- oracle oinstall 524288512 27 Oct 15:07 redo101.log
    $ls -l /sampledb2/redo0/oradata/sampdb/redo2/
    -rw-r----- oracle oinstall 524288512 27 Oct 15:21 redo102.log
    $ls -l /sampledb3/redo0/oradata/sampdb/redo3/
    -rw-r----- oracle oinstall 524288512 27 Oct 15:33 redo103.log

  • Cannot publish Flash Updates Verification of file signature failed for file SCUP 2011, SCCM 2012 R2 and WSUS all on same Windows Server 2012 machine

    I am attempting to distribute Adobe Flash updates using SCUP 2011, SCCM 2012 R2, WSUS ver4 and Windows Server 2012.  Everything installs without error.  I have acquired a certificate for SCUP signing from the internal Enterprise CA.  I have
    verified the signing certificate has a 1024 bit key.  I have imported the certificate into the server's Trusted Publishers and Trusted Root CA stores for the computer.  When I attempt to publish a Flash update with Full content I receive the following
    error:
    2015-02-13 23:00:48.724 UTC Error Scup2011.21 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab
    I have redone the certificates three times with no luck.  I can import metadata, but any attempt to download content results in the verification error.
    TIA

    Hi Joyce,
    This is embarrassing, I used that very post as my guide when deploying my certificate templates, but failed to change the bit length to 2048.  Thank you for being my second set of eyes.
    I changed my certificate key bit length to 2048, deleted the old cert from all certificate stores, acquired the a new signing cert, verified the key length was 2048, exported the new cert to pfx and cer files, imported into my Trusted publishers
    and Trusted Root Authorities stores, reconfigured SCUP to use the new pfx file, rebooted the server and attempted to re-publish the updates with the following results:
    2015-02-16 13:35:44.006 UTC Error Scup2011.4 Publisher.PublishPackage PublishPackage(): Operation Failed with Error: Verification of file signature failed for file:
    \\SCCM\UpdateServicesPackages\a2aa8ca4-3b96-4ad2-a508-67a6acbd78a4\3f82680a-9028-4048-ba53-85a4b4acfa12_1.cab.
    Is there a chance this content was already created and signed with the old cert, so installing the new cert has no effect?  In ConfigMgr software updates I see 4 Flash updates, all marked Metadata Only (because they were originally published as "Automatic." 
    No Flash updates in the ConfigMgr console are marked as downloaded.  I can't find any documentation on how the process of using SCUP for downloading content for an update marked Metadata Only actually works. 
    Comments and suggestions welcome.

  • Relative paths for images upset by forwarding requests

    Hello World.
              I am using a web app deployed in Weblogic 5.1 with service pack 8.
              I have hit a problem which puzzles me. When I forward a request from
              one JSP to another (say from A to B) the web server seems to take the
              URLs of the images on the served file (B) relative to the path on the
              calling file (A). Here's a detailed explanation...
              Suppose I have a the web app structured as follow
              /oddApp/launch/A.jsp
              /oddApp/B.jsp
              /oddApp/images/tick.gif
              Page A simply stores its request URI and forwards its request to page B
              <jsp:forward page="/B.jsp" />
              Page B displays its requestURI, contextPath and servletPath. It also
              attempts
              to show three images
              <img src="images/tick.gif">
              <img src="../images/tick.gif">
              <img src="/images/tick.gif">
              When I invoke page B directly, the first image is shown, the others are not.
              When I invoke page A, it forwards to B and the second image is shown, the
              others are not.
              In each case the URI, contextPath and servletPath are correctly displayed
              with regard to page B.
              URI = [oddApp/B.jsp]
              contextPath = [oddApp]
              servletPath = [B.jsp]
              The URI in A.jsp is also correct (i.e. /oddApp/launch/A.jsp).
              The search for the images seems to be relative to the original URI (i.e. not
              the URI used to forward), which strikes me as daft. It means that page B
              must be aware of where it is being called from. It is perfectly plausible
              that
              relative paths which suit when called from one location are incorrect when
              called from another.
              I had thought that including the leadling slash (as shown as the third
              image)
              would cause the search relative to the document root (/oddApp/), but this
              appears not to be the case. The search is done relative to the root of the
              server not the web app.
              Adding jsp mappings in the deployment descriptor of the web app does not
              help (I had thought it a long shot anyway).
              Does anyone have any thoughts on this?
              PHiL
              

    i face the same problem (WinNT, WLS6.0): my wep app has a contextRoot " root " which makes it react to the URL: http://host:port/root /: it is this folder which will be used as a basis by the Web server But in the jps I use a relative URL for images: / images/toto.gif : it works very well when I deploy my jsp out of a Web-app by setting a document.root to the weblogic web server.On the other hand, once deployed in a Web-app, images are not found because the default path of the browser is http://host:port, without the context root of the Web-app! In other words, my war has images/*.gif in its root but when /images/toto.gif is resolved in a jsp, as the relative URL is not prefixed by my context-root, the image is not search in the war! actually, if I type http://host:port/root/toto.gif, my image appearsany clues? an alias on the web server? a setting in web.xml/application.xml and their weblogic equivalent files?
              

Maybe you are looking for

  • Trying to do a charged shot for a game

    My name is Justin and I know next to nothing about Coding. Yet I was assigned to a coding team for a game we're working on for school. I managed to put together a decent shooting mechanic for our game by watching tutorials but I can't find any source

  • How to update to Windows 7 after reinstall system from recovery disk of Vista

    Hi, Please I need your help, I have a Satellite L500, When I bought it  came with VIsta, and complimentary update to Wiindows 7, after they release to the market. I had to reinstall my system with the recovery  disk I had created, but I discover that

  • Dead hard drive or ibook?

    I have a 2 year old 12" iBook G4. For a while it has had problems that I have just dealt with. For example, if you rest your wrists next to the mousepad in the wrong way it can cause the pointer to jump across the screen, and sometimes makes it crash

  • CCA and PCA figures not tie-up

    We are doing reconciliation between PCA and CCA figures. One thing that i noticed is that in CCA (S_ALR_87013611), there are lot's of columns that represents amounts (sometimes these amount columns varies) and i am bit confused of what columns shall

  • How do I attach a photo to an email as a file and not an image?

    attaching photos to an email puts the image in the email rather than a jpeg for example.  How do I send it as a file?