BufferedImage with Non-GUI OS?!!!

I have a Servlet that creates a BufferedImage instance and then writes the Image as "image/png" mime type using the javax.imageio.ImageIO. When I deploy the Servlet I got an exception:
500 Servlet Exception
java.lang.NoClassDefFoundError
     at testimageio.DisplayImage.doGet(DisplayImage.java:23)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
     at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
     at com.caucho.server.http.Invocation.service(Invocation.java:315)
     at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
     at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
     at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
     at java.lang.Thread.run(Thread.java:534)
Servlet Code
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.*;
public class DisplayImage extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws
            ServletException, IOException {
        response.setContentType("image/png");
        BufferedImage bi = new BufferedImage(200, 200,
                                             BufferedImage.TYPE_BYTE_GRAY);
        Font f = new Font("tahoma", Font.BOLD, 35);
        Graphics g = bi.getGraphics();
        g.setColor(Color.white);
        g.setFont(f);
        g.drawString("SUCCESS", 15, 100);
        OutputStream out = response.getOutputStream();
        ImageIO.write(bi, "png", out);
}I think the problem is with some libs required for the BufferedImage. It's depending on a system library called libXP for pixel rendering,
How can I get rid of this problem?
Regards,
Mohd Saleem

Exception Line is the line that includes the BufferedImage instantiation

Similar Messages

  • Help with non-GUI execution of OWB

    We have migrated 3 databases from an NT environment to a Linux environment. The NT test database holds OWB and the Linux test database is going to hold OWB. Up until this point I've kicked off monthly refreshes of various marts via the OWB GUI. We are going to be doing most of our DBA work remotely via VPN using an X-term window. Basically, no GUI. The user manual has a section on batch jobs but I'm hoping there's some more information out there.
    We have monthly processes that use perl to call various .ksh scripts. I hope to be able to tack on the mart refreshes at the end of the monthly load. Is there a how-to for editing and executing a saved owb package?

    Look at owb\rtp\sql\sqlplus_exec_template.sql. There is good documentation in there on how to use it.

  • Event handling in custom Non-GUI components

    I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
    I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
    I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.

    ravinsp wrote:
    I have a class which needs to fire events to outside. These events maybe captured by several objects in outside world. How can I achieve this? In so many places I read, they always refer to AWT and Swing whereas my objects don't have any dependency to GUI.
    I simply need to fire an event from an object, and capture that event from other objects by registering event handlers.
    I have experience in .Net programming with Events and Delegates (function pointers), but cannot find something like that in Java. All it offers is various kinds of GUI related Listeners where I can't find a proper help resource using them in Non-GUI components.If you want to make your own Listener make your Listener. Create an event class that encapsulates the event as you want, create a listener interface that has a method like handleMyEvent(MyEvent me) and then add addMyEventListener, removeMyEventListener methods to your original class. Add a List<MyEvent> to your original class and add the listeners to it and then when events happen
    MyEvent someEvent = new MyEvent();
    for(MyEventListener mel : eventlisteners)
       mel.handleMyEvent(someEvent);

  • How to start TestStand ApplicationMgr in a NON-GUI C# modules

    hello all,
    We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started.
    Now we need to implement the UI in WPF and we have to seperate the UI and the Test Engine into different module so that the UI can call different type of Test Engines later. Therefore we have to implement the TestStand TestEngine module in a NON-GUI module. In this module we need to load a sequence file, run the sequnece file, collect test results and send back to UI to display.
    To implement this module we have a lot of questions:
    1. Is ApplicationMgr a must-have for our purpose of loading, running sequence and getting test results?
    2. Can AppliactionMgr be created in a NON-GUI module?
    3. Can we use
    NationalInstruments.TestStand.Interop.UI.Applicati
    onMgr myApplicationMgr = new NationalInstruments.TestStand.Interop.UI.ApplicationMgr();
    myApplicationMgr.Start()
    to create and start the ApplicationMgr? We have tried, but unfortunately it is not working. What did we miss?
    4. Is the ActiveX control the only way to access the ApplicationMgr? For NON-GUI module, there must be a way that we didn't find yet. Anyone have help us point to a right direction? If some example code would be great!
    Thank you very much!
    Regards,

    The ApplicationMgr makes a lot of things simpler, so I highly recommend you use it even if you aren't displaying a UI with it. You can create the control on a hidden form as follows (assuming your thread is an STA thread):
    System.Windows.Forms.Form hiddenForm = new System.Windows.Forms.Form();
    NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr appMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr();
    ((System.ComponentModel.ISupportInitialize)(appMgr)).BeginInit();
    hiddenForm.Controls.Add(appMgr);
    ((System.ComponentModel.ISupportInitialize)(appMgr)).EndInit();
    This way you can use the ApplicationMgr without showing anything to the user.
    Hope this helps,
    -Doug

  • Oracle 11g client installation on Solaris in non GUI mode

    Hi,
    I want to know if there is a way i can install Oracle 11g client on Solaris 10 machine in non GUI mode (ie. i want to do it from a command based terminal)
    Thanks
    Anup

    Hi Anup
    You have two ways to install it
    1) Client installation without response file
    Please Refer to Doc ID 885643.1
    2) With Response file
    Refer to the document available in Document library
    Document Oracle® Database Client Installation Guide
    11g Release 2 (11.2) for Solaris Operating System
    Note: from 11gR2 onwards you can create a response file from GUI also and then use it later on for silent installation.
    Hope this is helpful for You
    Regards
    Sudhir
    Edited by: user13090769 on Sep 1, 2010 10:55 AM
    Edited by: user13090769 on Sep 1, 2010 10:56 AM

  • Need help writing non-gui JMF program

    I need to write a program that will convert a WAV file from a ULAW format to a GSM WAV file format. I first tried this with the Java Sound API and the WAV file format of GSM was not supported so I stumbled across JMF.
    I can use the JMStudio and Export GUI programs that come with JMF to convert the wav file as needed. But now I'm trying to write a batch program (non-gui) to convert the file on the fly.
    First, is this possible. Second, does anyone have any code samples of a batch java program using JMF in batch.
    Thanks,
    Scott

    Not exactly what I was looking for. After 2 days of beating my head against the wall this is what I got to work. Include the jmf.jar in my project. Here is my code.
    import java.io.IOException;
    import javax.media.DataSink;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSourceException;
    import javax.media.Processor;
    import javax.media.control.TrackControl;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.DataSource;
    import javax.media.protocol.FileTypeDescriptor;
    import jmapps.util.StateHelper;
    public class TestAudio5 {
         public static void main(String[] args) {
              try {
                   Processor p = null;
                   StateHelper sh = null;
                   DataSource inSource = Manager.createDataSource(
                             new MediaLocator("file:c:\\ASSURANCE_THREE_MINUTE.wav"));
                   p = Manager.createProcessor(inSource);
                   sh = new StateHelper(p);
    //               Configure the processor
                   if (!sh.configure(10000)) {
                             System.out.println("can't configure");
                        System.exit(-1);
                   p.setContentDescriptor(new
                                       FileTypeDescriptor(FileTypeDescriptor.WAVE));
                   //AudioFormat(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels)
                   //AudioFormat(
                   //          java.lang.String encoding,
                   //          double sampleRate,
                   //          int sampleSizeInBits,
                   //          int channels,
                   //          int endian,
                   //          int signed,
                   //          int frameSizeInBits,
                   //          double frameRate,
                   //          java.lang.Class dataType)
                   AudioFormat outputFormat = new javax.media.format.AudioFormat(
                                            AudioFormat.GSM_MS,
                                            8000.0,
                                            0,
                                            1,
                                            0,
                                            1,
                                            520,
                                            1625.0,
                                            null);
                   System.out.println("outputFormat: " + outputFormat.toString());
                   TrackControl tc[] = p.getTrackControls();
                   for ( int i = 0; i < tc.length; i++ ) {
                        tc.setEnabled(true);
                        System.out.println("before format: " + tc[i].getFormat().toString());
                        tc[i].setFormat(outputFormat);
                        System.out.println("after format: " + tc[i].getFormat().toString());
                   if (!sh.realize(10000)) {
                                       System.out.println("can't realize");
                                       System.exit(-1);
                   // get the output of the processor
                   DataSource source = p.getDataOutput();
                   // create a File protocol MediaLocator with the location
                   // of the file to which bits are to be written
                   MediaLocator dest = new MediaLocator("file://c:\\test.wav");
                   // create a datasink to do the file writing & open the
                   // sink to make sure we can write to it.
                   DataSink filewriter = null;
                   filewriter = Manager.createDataSink(source, dest);
                   filewriter.open();
                   // now start the filewriter and processor
                   filewriter.start();
                   sh.playToEndOfMedia(5000);
                   sh.close();
                   filewriter.close();
              } catch (NoDataSourceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              catch (Exception e) {
                             // TODO Auto-generated catch block
                   e.printStackTrace();
              System.out.println("done!");
              System.exit(-1);

  • Non-GUI Forte

    "Keith Patterson" <[email protected]> wrote:
    <snip!>
    ... I would like to create several 'batch' Forte programs that perform
    a select all from our tables at random intervals during our testing.
    Has anyone done this sort of thing?? I'm not even sure how to start
    building an app that I don't want any output from and any assistance
    would be sincerely appreciated. You're going to be embarassed at how easy it is. At least, I was! ;-)
    Assuming that you want is to kick a couple batch, detached, daemon, or
    whatever processes to bang on your database, what you need to do is:
    * Create a new project. Give this project, as contributors, all the
    projects needed to get the functionality you want to test.
    * In this new project, create a NON-GUI object with a method that
    actually performs the test you want. Make this the initial
    object/method for the project.
    * Make distribution on this project.
    * Run your project, applying the -fcons, -fnw, and/or -fterm qualifiers
    as necessary.
    If you want to force the action through the same Forte service objects
    (rather than just copies of them), the above WILL NOT do what you want.
    In theory you can get that with the above setup by putting the SOs in a
    "reference partition" (I believe that's the term), but I have no actual
    experience at that.
    Alternatively, you could simply put a "test" button somewhere in your
    app, that creates a new instance of the test object, and does a "start
    task" on the relevant method. This is not, strictly speaking, a "batch"
    run, but you also don't have to make distribution to do it.
    Tom Wyant
    E. I. DuPont de Nemours
    Richmond, VA USA

    If you upgrade to 1.5 it's a little easier, for instance reading a word and then an integer is this simple:    Scanner s=Scanner.create(System.in);
        String param= s.next();
        int value=s.nextInt();For further information see
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
    http://java.sun.com/developer/technicalArticles/releases/j2se15/

  • Javafx for console (non-gui) applications?

    Hi,
    I am interested in using the JavaFX scripting language as a general purpose language to create console (non-gui) applications. But even running the following simple program seems to initiate some sort of GUI that quickly appears and disappears. Is there anyway to run a JavaFX script in "console-only" mode?
    function run(args : String[]) {
      println("hello")
    }Thanks.

    Hi,
    Yeah, that is pretty much exactly what I did.
    I am running on Mac OS X 10.5.6, with Java 1.6.0_07 and JavaFX 1.1.0.
    When I execute the program from Terminal, everything works, however a new application appears in the menu bar while the program is executing in the console. For example, if I add a java.lang.Thread.sleep(5000) invocation to the program mentioned earlier, you will see the application in the menu bar for 5 seconds. This is not the way a normal console-based java application typically works... there should be no application in the menu bar.
    Thanks.

  • Using Xcode for non-gui C++

    I originally posted this in the wrong place, and I was told to post in here.
    I am learning standard c++ in school, and we're programming with Microsoft visual Studio on PCs. I wanted to work on my projects at home, but I don't know how to create and build non-gui C++ projects. Anyone know?

    we're programming with Microsoft visual Studio on PCs
    If you want something like "Visual Studio" on Mac, then you can use the "Xcode" application in /Developer/Applications/. (I assume you have installed Xcode Tools, which is in your Leopard DVD).
    Start Xcode, and select "New Project..." from the "File" menu. In the Assistant dialog, open "Command Line Utility" and select "C++ Tool". Enter the name of the project and where to save it, and push Finish. Double click on "main.cpp", edit it, save (cmd-S), and push "Build" or "Build and Run". Is this what you want?
    Of course the project file is not comatible with Visual Studio, but you can copy the source files (*.cpp and *.h) to Windows PCs.
    If you prefer to run C++ compiler from the command line (rather than to use Xcode application), then just open Terminal.app (in /Applications/Utilities/), cd to the directory where the source files are, and try typing "g++ xxxx.cpp".

  • SSRS report with tabular model – Create a dropdown report parameter with "None" option as the top value.

    Hello Everyone,
    I would like to create SSRS single select dropdown list parameter (it is using MDX query in dataset) with "None" option at the top. Note: this parameter is dependent parameter and getting filtered based on the selection of another parameter.
    How can I add hard-coded "None" text at the top of the parameter values? Can Union function help me to add this hard-coded value? The purpose is, when user selects None from the dropdown ignore the condition of the parameter from MDX query else
    use the selected value in query condition.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hi Ankit,
    In your scenario, you can achieve your requirement in report level other than in query. Add a Filter like:
    Expression: =IIF(Parameters!Name.Value="None",1,Fields!Name.Value)
    Operator:=
    Value: =IIF(Parameters!Name.Value="None",1,Parameters!Name.Value)
    In this case, report will ignore this parameter, and show all the records on the report when selecting “None” value. I have tested it on my local environment, the screenshots below are for you reference.
    Reference:
    Add a Filter to a Dataset (Report Builder and SSRS)
    Regards,
    Charlie Liao
    TechNet Community Support

  • BI-IP with non SAP environment

    Hi,
    How is BI-IP suitable for Planning , Budgeting and Forecasting with non-SAP environment?
    Regards,
    UR

    Hi UR,
    BI-IP works on top of BI (datawarehouse). If you mean load data from non sap into BI and then plan with IP, it can be a good solution, if you mean plan data outside BI it is not possible.
    br
    Michele

  • Problem with Non-English Fields Output to PDF by JASPER in JDev10.1.3

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

    I am using jsprx files(designed in i-report) to generate pdf reports out of an oracle database.
    The non-English fields are shown correctly when I output the report into an HTML or when I view it with JasperView.
    If I try making PDF files (JasperExportManager.exportReportToPdfFile) the static fields containing e.g.Arabic/Chineese characters won't be displayed and dynamic fields from the database with non-English contents will be shown as ??? or null.
    I received some suggestions about using PARAMETERS to feed the report instead of FIELDS, which I think can not be helpful in this case and in general.
    I think this should be a common problem. These are the components I am using:
    itext-1.4.7. jar
    commons-digester- 1.7.zip
    jasperreports- 1.2.8.jar
    Any comment or help is appreciated.
    Thanks
    Farbod

  • Problem description: My MacBook Pro is running really slow. Applications won't open or take up to 10 min.  EtreCheck version: 2.1.5 (108) Report generated December 27, 2014 at 9:15:58 PM CST  Click the [Support] links for help with non-Apple products

    Problem description:
    My MacBook Pro is running really slow. Applications won’t open or take up to 10 min.
    EtreCheck version: 2.1.5 (108)
    Report generated December 27, 2014 at 9:15:58 PM CST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Late 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.4 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: one day 6:55:8
    Disk Information: ℹ️
      TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HD (disk1) /  [Startup]: 498.88 GB (5.04 GB free) (Low!)
      Core Storage: disk0s2 499.25 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [loaded] com.epson.driver.EPSONProjectorUDAudio (1.30 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) [Support]
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) [Support]
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) [Support]
    Problem System Launch Agents: ℹ️
      [killed] com.apple.CallHistoryPluginHelper.plist
      [killed] com.apple.coreservices.appleid.authentication.plist
      [killed] com.apple.icloud.fmfd.plist
      [killed] com.apple.telephonyutilities.callservicesd.plist
      4 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
      [killed] com.apple.ctkd.plist
      [killed] com.apple.icloud.findmydeviced.plist
      [killed] com.apple.ifdreader.plist
      [killed] com.apple.nehelper.plist
      [killed] com.apple.wdhelper.plist
      [running] com.seagate.TBDecorator.plist [Support]
      5 processes killed due to memory pressure
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.carbonite.launchd.carbonitealerts.plist [Support]
      [running] com.carbonite.launchd.carbonitestatus.plist [Support]
      [loaded] com.coupons.coupond.plist [Support]
      [loaded] com.hp.help.tocgenerator.plist [Support]
      [loaded] com.trendmicro.itis.dca.plist [Support]
      [running] com.trendmicro.itis.uimgmt.agent.plist [Support]
    Launch Daemons: ℹ️
      [failed] com.adobe.fpsaud.plist [Support]
      [running] com.carbonite.launchd.carbonitedaemon.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [running] com.trendmicro.icore.av.plist [Support]
      [running] com.trendmicro.icore.main.plist [Support]
      [running] com.trendmicro.icore.wp.plist [Support]
      [running] com.trendmicro.itis.plugin.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [invalid?] com.jdibackup.JustCloud.autostart.plist [Support]
      [invalid?] com.jdibackup.JustCloud.backupstart.plist [Support]
      [loaded] com.trendmicro.itis.uninstaller.plist [Support]
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/Resources/WDDriveUtilityHelper.app)
      WDSecurityHelper Application (/Applications/WD Security.app/Contents/Resources/WDSecurityHelper.app)
      USB Display Agent Application (/Applications/USB Display/USB Display.app/Contents/Resources/USB Display Agent.app)
      bomgar-scc-20130819-104735 UNKNOWN (missing value)
      bomgar-scc-20130905-143949 UNKNOWN (missing value)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
      HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 [Support]
      CouponPrinter-FireFox_v2: Version: 5.0.5 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    User internet Plug-ins: ℹ️
      npBcsMcTcIO: Version: Unknown [Support]
    Safari Extensions: ℹ️
      Trend Micro Toolbar [Installed]
    3rd Party Preference Panes: ℹ️
      Carbonite  [Support]
      Flash Player  [Support]
      Paragon NTFS for Mac ® OS X  [Support]
      Seagate Dashboard for Mac OSX  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      HD: Disk size: 498.88 GB Disk used: 493.84 GB
      Destinations:
      Jens Seagate Backup [Local]
      Total size: 999.86 GB
      Total number of backups: 6
      Oldest backup: 2014-06-24 10:33:56 +0000
      Last backup: 2014-12-17 17:14:18 +0000
      Size of backup disk: Too small
      Backup size 999.86 GB < (Disk used 493.84 GB X 3)
      My Passport for Mac [Local]
      Total size: 2.00 TB
      Total number of backups: 14
      Oldest backup: 2013-08-21 19:19:35 +0000
      Last backup: 2014-12-19 11:44:23 +0000
      Size of backup disk: Excellent
      Backup size 2.00 TB > (Disk size 498.88 GB X 3)
    Top Processes by CPU: ℹ️
          6% coreaudiod
          5% CarboniteDaemon
          4% iMovie
          3% JustCloud
          3% Wondershare Player
    Top Processes by Memory: ℹ️
      335 MB iPhoto Library Manager
      180 MB Finder
      142 MB iMovie
      70 MB Preview
      51 MB Microsoft Word
    Virtual Memory Information: ℹ️
      149 MB Free RAM
      1.04 GB Active RAM
      897 MB Inactive RAM
      1.17 GB Wired RAM
      30.53 GB Page-ins
      1.42 GB Page-outs
    Diagnostics Information: ℹ️
      Dec 26, 2014, 05:17:12 PM /Library/Logs/DiagnosticReports/iPhoto_2014-12-26-171712_[redacted].cpu_resourc e.diag [Details]
      Dec 26, 2014, 03:47:17 PM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-154717_[redacted].cp u_resource.diag [Details]
      Dec 26, 2014, 02:22:01 PM Self test - passed
      Dec 26, 2014, 11:48:03 AM /Library/Logs/DiagnosticReports/CarboniteDaemon_2014-12-26-114803_[redacted].cp u_resource.diag [Details]

    You have nearly run out of disk space.  Either purchase a larger one or start cleaning out the one you have?

  • Can't get the attachment filename out of a Part (with non ascii characters)

    Hello, all and happy new year :)
    My issue is with non ascii filename in attachments... Yes i've read the FAQ : http://www.oracle.com/technetwork/java/faq-135477.html#encodefilename
    I can't get the filename out of the BodyPart for those kind of attachments
    here's my unit test :
         * contains various parts from various mailer encoded in different ways...
         private enum EncodedFileNamePart{
              OUTLOOK("Content-Type: text/plain;\n name=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename=\"=?iso-8859-1?Q?c'estd=E9j=E0no=EBl=E7ac'estcool.txt?=\" \n\nnoel 2010\n","c'estdéjànoëlçac'estcool.txt"),
              GMAIL("Content-Type: text/plain; charset=US-ASCII; name=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Disposition: attachment; filename=\"=?ISO-8859-1?B?ZOlq4G5v62znYWNlc3Rjb29sLnR4dA==?=\"\nContent-Transfer-Encoding: base64\nX-Attachment-Id: f_giityr5r0\n\namluZ2xlIGJlbGxzIQo=\n","déjànoëlçacestcool.txt"),
              THUNDERBIRD("Content-Type: text/plain;\n name=\"=?ISO-8859-1?Q?d=E9j=E0no=EBl=E7acestcool=2Etxt?=\"\nContent-Transfer-Encoding: 7bit\nContent-Disposition: attachment;\n filename*0*=ISO-8859-1''%64%E9%6A%E0%6E%6F%EB%6C%E7%61%63%65%73%74%63%6F;\n filename*1*=%6F%6C%2E%74%78%74\n\njingle bells!\n","déjànoëlçacestcool.txt"),
              EVOLUTION("Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt\nContent-Type: text/plain; name*=ISO-8859-1''d%E9j%E0no%EBl.txt; charset=\"UTF-8\" \nContent-Transfer-Encoding: 7bit\n\njingle bells\n","déjànoël.txt"),
              String content=null;
              String target=null;
              private EncodedFileNamePart(String content,String target){
                   this.content=content;
                   this.target=target;
              public Part get(){
                   try{
                   ByteArrayInputStream bis = new ByteArrayInputStream(this.content.getBytes());
                   Part part = new MimeBodyPart(bis);
                   bis.close();
                   return part;
                   catch(Throwable e){
                        return null;
              public String getTarget(){
                   return this.target;
         @Test
         public void testJavamailDecode() throws MessagingException, UnsupportedEncodingException{
              System.setProperty("mail.mime.encodefilename", "true");
              System.setProperty("mail.mime.decodefilename", "true");
              for(EncodedFileNamePart part : EncodedFileNamePart.values())
                   assertEquals(part.name(),MimeUtility.decodeText(part.get().getFileName()),part.getTarget());     
    I take a NullPointerExcepion in the decodeText because getFileName() return null for the EVOLUTION case, and work well with OUTLOOK, THUNDERBIRD and GMAIL.
    Evolution's content type is "Content-Disposition: attachment; filename*=ISO-8859-1''d%E9j%E0no%EBl.txt" wich doesn't look like the other (looks like the RFC 2616 or RFC5987 to do it.)
    How can i handle this situation except by writting my own decoder?
    Thanks for your answers!
    Edited by: user13619058 on 4 janv. 2011 07:44

    Set the System property "mail.mime.decodeparameters" to "true" to enable the RFC 2231 support.
    See the javadocs for the javax.mail.internet package for the list of properties.
    Yes, the FAQ entry should contain those details as well.

  • HT202724 When I send a message in a group with non-iPhone users it appears as a mms, how do I change the settings so it's a sms?

    When I send a message in a group with non-iPhone users it appears as "New Multimedia Message." One of my friends in the group also has an iPhone and his doesn't appear this way, how do I change my settings so it appears as a normal text message and not an mms?

    iOS: Troubleshooting Messages - Apple Support
    Send a group message with your iPhone, iPad, or iPod touch - Apple Support
    Send messages with your iPhone, iPad, or iPod touch - Apple Support

Maybe you are looking for