Lauching a JVM from C and providing interface to C++

Hi
I'm work on a project that launch a JVM using JNI.
I need to provide a interface to a C++ class through JNI in order to allow the launched JVM to access it. The code of this class is in the program that launch the JVM
The problem is that java does not find the given function and fails with:
java.lang.UnsatisfiedLinkError: altitude
The function is present in the database (checked with "nm" against the name given by javah).
I supposed that there is some kind of addressing or kind of "namespace", but don't know how to avoid it.

From a program in a JVM call a routine which has a JNI that launches a new JVM using
C? Why would you want to do this?No it's not what I am doing.
From a C++ program that follows I launch a JVM (that's working, the code have been simplified a bit) and retrieve methods id to store them in attributes (variables names starting with underscore):
      // Create the JVM oine time only
      if (NULL == _env)
        JavaVMInitArgs  vm_args;
        JavaVMOption*   options = NULL;
        char*           char_options = NULL;
        list<string>    user_options;
        _database.getPropertyList("simu.locals.java", "option", &user_options);
        if (0 != user_options.size())
          unsigned long index = 0;
          options = new JavaVMOption[user_options.size()];         
          for (list<string>::iterator   it = user_options.begin();
               user_options.end() != it; it++)
            char_options = strdup(it->c_str());
            options[index++].optionString = char_options;
          vm_args.nOptions = user_options.size();
        vm_args.version = JNI_VERSION_1_4;
        vm_args.options = options;
        vm_args.ignoreUnrecognized = JNI_TRUE;     
        JNI_CreateJavaVM(&_jvm, (void**)&_env, &vm_args);    
      // Retrieve the class and method that will allow to create the
      // planner
      _cls = _env->FindClass(class_name->c_str());
      string*   method =
        _database.getProperty("simu.locals.java.methods.init.name");
      string*   sig =
        _database.getProperty("simu.locals.java.methods.init.signature");
      string*   port =
        _database.getProperty("simu.locals.java.methods.init.argument");
      string            nid = str(format("%d") % id);
      jmethodID         mid =
        _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());
      jint              arg1 = lexical_cast<unsigned int>(*port);
      jstring           arg2 = _env->NewStringUTF(nid.c_str());
      _planner = _env->CallStaticObjectMethod(_cls, mid, arg1, arg2);
      // Save the method ID we'll need later     
      method =
        _database.getProperty("simu.locals.java.methods.incoming.name");
      sig =
        _database.getProperty("simu.locals.java.methods.incoming.signature");
      _incoming = _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());
      method =
        _database.getProperty("simu.locals.java.methods.outgoing.name");
      sig =
        _database.getProperty("simu.locals.java.methods.outgoing.signature");
      _outgoing = _env->GetStaticMethodID(_cls, method->c_str(), sig->c_str());Then I call the retrieved static method of the class when needed.
This work perfectly, as far as i have tested.
But now, the java part will need to access some algorithm and datas already existing in the C part. So i made a very simple interface:
** Interface to the environement C++ class
package provided;
public class Environment
    ** Methods implemented in Environment.cc
    public static native double altitude(double lat, double lon);
}I generate the interface with javah and implement it quicly (doing nothing):
#include <iostream>
using namespace std;
** This file implement the interface betwen the C++ class Environment
** (from Environment.h) and the Java class provided.Environment whose
** native method are described in provided_Environment.h.
** It uses jni.h
#include "provided_Environment.h"
#include "Environment.h"
#include "jni.h"
* Class:     provided_Environment
* Method:    altitude
* Signature: (DD)V
extern "C" JNIEXPORT
jdouble JNICALL Java_provided_Environment_altitude(JNIEnv*      env,
                                                   jclass     c,
                                                   jdouble      lat,
                                                   jdouble      lon)
  cout << ARTEMIS::Environment::altitude(lat, lon) << endl; 
  return (ARTEMIS::Environment::altitude(lat, lon));
}nm returns:
nm mms | grep altitude
080aa94c t _GLOBAL__I_Java_provided_Environment_altitude
080aa6e4 T Java_provided_Environment_altitude
080a8778 T _ZN7ARTEMIS11Environment8altitudeEddSo there is no .so . I've tried to have one but there is the same kind of problem as when I load the .so, I have a error because the .so can find the required symbols that are in the program (here the ARTEMIS::Environment::altitude function)
Is it clearer ??

Similar Messages

  • Thunderbird3-x86-64 from AUR and Provider for Google plugin not workin

    Hi
    I compiled Thunderbird 3 from AUR which has the Lightning plugin in it v1.0b2pre and want Provider for Google (sync google calender to lightning) and I'm not getting it working.  I have tried serveral versions including the nightly build and does not install.  Has anyone got this plugin working?
    M

    Hi
    Thanks I've tried that but Provider for Google's preferences is not available for me to select - its greyed out. 
    I compiled Thunderbird from AUR which had Lightning pre-installed.  I disabled it and installed your recommended version - lightning is now 1.0b1 and Provider is 0.6b1.  Did you install Thunderbird from extra and not AUR?
    M
    Okay uninstalled my compiled thunderbird and installed from extra - its called shredder from what I see.  Installed lightning and provider as you have indicated and still Provider's preference button is grayed out.  is this due to remnents of previous installation? what can I do to fix?
    Last edited by majikins (2010-02-27 16:09:11)

  • Problem with 'RP-PROVIDE-FROM-LAST' and IT0377(GB)

    Greetings,
    I have encountered a problem in that we have an interface from SAP to UNIPAY and this interface selects all the paydata from employees and then converts it so that it can be payed via UNIPAY. Now this in itself may sound fairly simple but the problem is the interface is selecting data from IT0377 that has been delimited and still paying the employee which is incorrect. I have debugged the interface and the problem is with 'RP-PROVIDE-FROM-LAST IT0377' which is still selecting and bringing through the data of the delimited record.
    Has anybody had this problem and if so what was done to correct it ?
    Thanks
    Mark

    this macro will put the last infotype record in the header line of concerned internal table, for the given period (pn-begda and pn-endda on selection screen).
    rp-provide-from-last p0377 space pn-begda pn-endda.
    here in the header of internal table p0377, the last record valid for period pn-begda n pn-endda, will be put after execution of the macro statement.
    i think u r looking the table 1st record in debug mode but u shud not look at 1st record instead of tht see the header line of table and use that header data.
    see my dummy code below -
    *& Report  ZPPL_PREVEMPLOYERS                                          *
    REPORT  ZPPL_PREVEMPLOYERS   message-id rp
                                 line-size 250
                                 line-count 65.
    *Program logic :- This Report is used to Download all the Previous
    * Employer (IT0023) records of the employees
    *eject
    *& Tables and Infotypes                                                *
    tables: pernr.
    infotypes: 0000,
               0001,
               0002,
               0023.
    *eject
    *& Constants                                                           *
    constants: c_1(1)       type c               value '1'   ,
               c_3(1)       type c               value '3'   ,
               c_i(1)       type c               value 'I'   ,
               c_x(1)       type c               value 'X'   ,
               c_eq(2)      type c               value 'EQ'  ,
               c_pl03       like p0001-werks     value 'PL03'.
    *eject
    *& Selection-Screen                                                    *
    parameters: p_file  like rlgrap-filename default 'C:TempABC.xls',
                p_test  as checkbox default c_x               .
    *eject
    *& Internal tables                                                     *
    * Internal Table for Output
    data: begin of t_output occurs 0    ,
           pernr like pernr-pernr       ,
           nachn like p0002-nachn       ,
           vorna like p0002-vorna       ,
           orgeh_stext like p1000-stext ,
           plans_stext like p1000-stext ,
           begda like p0023-begda       ,
           endda like p0023-endda       ,
           land1 like p0023-land1       ,
           arbgb like p0023-arbgb       ,
           ort01 like p0023-ort01   .
    data: end of t_output           .
    *eject
    *& Variables                                                           *
    data: o_stext like p1000-stext,
          p_stext like p1000-stext.
    *eject
    *& Initialization                                                      *
    Initialization.
    * Initialize Selection-Screen values
      perform init_selction_screen.
    *eject
    *& AT Selection-screen                                                 *
    at selection-screen .
    * Check if Test run selected, download file name should be entered
      if p_test is initial.  "
        if p_file is initial.
          message e016 with 'Please enter file name'
                            'specifying complete path'.
        endif.
      endif.
    *eject
    *& Start-of Selection                                                  *
    Start-of-selection.
    get pernr.
      clear t_output.
    * Read Infotype 0
      rp-provide-from-last p0000 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Check if employee is active
      check p0000-stat2 in pnpstat2.      "pernr Active
    * Read Infotype 1
      rp-provide-from-last p0001 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * check if employee belongs to PL03
      check p0001-werks in pnpwerks.  "belongs to PL03
    * Check if emp belongs to Active Group
      check p0001-persg in pnppersg.
    * Read Infotype 2
      rp-provide-from-last p0002 space pn-begda pn-endda.
      check pnp-sw-found eq c_1.
    * Read Org Unit Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'O'
              objid                   = p0001-orgeh
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = o_stext
          EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    *Read Position Text.
    CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
         EXPORTING
              OTYPE                   = 'S'
              objid                   = p0001-plans
              begda                   = p0001-begda
              endda                   = p0001-endda
              reference_date          = p0001-begda
         IMPORTING
              object_text             = p_stext
         EXCEPTIONS
              nothing_found           = 1
              wrong_objecttype        = 2
              missing_costcenter_data = 3
              missing_object_id       = 4
              OTHERS                  = 5.
    * Gather all the required information related to the emp
      move: pernr-pernr to t_output-pernr,
            o_stext to t_output-orgeh_stext,
            p_stext to t_output-plans_stext,
            p0002-nachn to t_output-nachn,
            p0002-vorna to t_output-vorna.
    * Gather previous Employee details
      loop at p0023.
        move-corresponding p0023 to t_output.
        append t_output.
      endloop.
    *eject
    *& End-of Selection                                                    *
    end-of-selection.
      perform print_report.
    * Downlaod the file
      if not t_output[] is initial.
        if p_test eq space.
          perform download_file.
        endif.
      else.
        write: 'No records selected' color col_negative.
      endif.
    *eject
    *& Top-of-page                                                         *
    Top-of-page.
    * Print Header
      perform print_header.
    *eject
    *&      Form  download_file
    * Description :
    FORM download_file .
      DATA: full_file_name    TYPE string,
            z_akt_filesize    TYPE i     .
      full_file_name = p_file.
    *  download table into file on presentation server
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                = full_file_name
          filetype                = 'DAT'
          NO_AUTH_CHECK           = c_x
          codepage                = '1160'
        IMPORTING
          FILELENGTH              = z_akt_filesize
        CHANGING
          data_tab                = t_output[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          not_supported_by_gui    = 22
          error_no_gui            = 23
          OTHERS                  = 24.
      IF  sy-subrc               NE        0.
        MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.
      ENDIF.
    ENDFORM.                    " download_file
    *eject
    *&      Form  print_report
    *Description:
    FORM print_report .
      data: i       type i,
            w_count type i.
      sort t_output.
    * Print the report
      loop at t_output.
        i = sy-tabix mod 2.
        if i eq 0.
          format color col_normal intensified on.
        else.
          format color col_normal intensified off.
        endif.
        write:/1     t_output-pernr          ,
               10     t_output-vorna(25)     ,
               35    t_output-nachn(25)      ,
               61   t_output-orgeh_stext     ,
               102  t_output-plans_stext     ,
               143  t_output-begda           ,
               154   t_output-endda          ,
               168   t_output-land1          ,
               178   t_output-arbgb(40)      ,
               219   t_output-ort01          ,
               249   space              .
      endloop.
      uline.
      Describe table t_output lines w_count.
      Skip 2.
      Write:/ 'Total No of Records Downloaded: ' color col_total,
              w_count.
    ENDFORM.                    " print_report
    *eject
    *&      Form  print_header
    *Description:
    FORM print_header .
      skip 1.
      Uline.
      format Intensified on color col_heading.
      write:/1   'Pers. #'        ,
             10   'Last Name'     ,
             35   'First Name'    ,
             61   'Org Unit'      ,
             102  'Position'      ,
             143  'Beg Date'      ,
            154   'End Date'      ,
            168   'Cntry Key'     ,
            178   'Prev Employer' ,
            219  'City'           ,
            249   space          .
      format intensified off color off.
      uline.
    ENDFORM.                    " print_header
    *eject
    *&      Form  init_selction_screen
    *Description:
    FORM init_selction_screen .
      refresh: pnpwerks,
               pnppersg,
               pnpstat2.
      clear:   pnpwerks,
               pnppersg,
               pnpstat2.
      pnpwerks-sign   = c_i.
      pnpwerks-option = c_EQ.
      pnpwerks-low    = c_pl03.
      append pnpwerks.
      pnppersg-sign   = c_i.
      pnppersg-option = c_EQ.
      pnppersg-low    = c_1.
      append pnppersg.
      pnpstat2-sign   = c_i.
      pnpstat2-option = c_EQ.
      pnpstat2-low    = c_3.
      append pnpstat2.
    ENDFORM.                    " init_selction_screen

  • How to upload a text file from a shared folder and provide an o/p

    how to upload a text file from a shared folder and provide an o/p  containing the details in each order in the text file

    Hi,
    Use <b>GUI_UPLOAD</b> to upload a text file from a shared folder.
    Use <b>GUI_DOWNLOAD</b> to download data in a file on the presentation server or use <b>OPEN DATASET, TRANSFER</b> and <b>CLOSE DATASET</b> statements to download data to the application server.
    Now, I hope the code for data fetching, if required, is already present in the report.
    Reward points if the answer is helpful.
    Regards,
    Mukul

  • Hello, i have been sent the following email from apple: - You've taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you... and asks for apple login details, is this a genuine request?

    Hello, i have been sent the following email from apple, see below and asks for apple login details, is this a genuine request?
    Thank you.
    You’ve taken the added security step and provided a rescue email address. Now all you need to do is verify that it belongs to you.
    The rescue email address that you gave us is [email protected]
    Just click the link below to verify, sign in using your Apple ID and password, then follow the prompts.
    Verify Now >
    The rescue email address is dedicated to your security and allows Apple to get in touch if any account questions come up, such as the need to reset your password or change your security questions. As promised, Apple will never send any announcements or marketing messages to this address.
    When using Apple products and services, you’ll still sign in with your primary email address as your Apple ID.
    It’s about protecting your identity.
    Just so you know, Apple sends out an email whenever someone adds or changes a rescue email address associated with an existing Apple ID. If you received this email in error, don’t worry. It’s likely someone just mistyped their own email address when creating a new Apple ID.
    If you have questions or need help, visit the Apple ID Support site.
    Thanks again,
    Apple Support

    In that case, someone is trying to hi-jack your Apple ID.
    You should change your password immediately.

  • My MacBook Pro is running slowly. I run Mountain Lion on it.  I received the following report from Etrecheck.  Can someone help me decipher it and provide me with steps to fix the slow speed?

    My MacBook Pro is running slowly. I run Mountain Lion on it.  I received the following report from Etrecheck.  Can someone help me decipher it and provide me with steps to fix the slow speed?
    Problem description:
    slow computer
    EtreCheck version: 2.0.11 (98)
    Report generated November 15, 2014 2:57:16 PM EST
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,1
      1 2.3 GHz Intel Core i7 CPU: 4-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000 - VRAM: 384 MB
      NVIDIA GeForce GT 650M - VRAM: 512 MB
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.8.5 (12F45) - Uptime: 6 days 7:45:47
    Disk Information: ℹ️
      TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      disk0s1 (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (25.67 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      HL-DT-ST DVDRW  GS31N 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Rowmote Helper.app
      [loaded] com.regularrateandrhythm.driver.RowmoteIREmu (1.0 - SDK 10.8) Support
      /System/Library/Extensions
      [not loaded] com.smarttech.iokit.SMARTBoard (11) Support
      [not loaded] com.tectona.driver.PL2303 (1.3.0) Support
      [loaded] com.webroot.driver.WebrootSecureAnywhere (54 - SDK 10.7) Support
    Problem System Launch Agents: ℹ️
      [failed] com.apple.accountsd.plist
      [failed] com.apple.AirPlayUIAgent.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.lookupd.plist
      [failed] com.apple.printtool.agent.plist
      [failed] com.apple.scopedbookmarkagent.xpc.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.coresymbolicationd.plist
      [failed] com.apple.wdhelper.plist
    Launch Agents: ℹ️
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.smarttech.boardservice.plist Support
      [running] com.smarttech.floatingtools.plist Support
      [running] com.smarttech.ink.plist Support
      [running] com.smarttech.SBWDKService.plist Support
      [running] com.smarttech.smartnotification.plist Support
      [running] com.smarttech.systemtrayicon.plist Support
      [running] com.webroot.WRMacApp.plist Support
      [running] com.webroot.WRMacBackNSync.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [running] com.regularrateandrhythm.rowmotehelperaide.plist Support
      [running] com.webroot.security.mac.plist Support
      [running] com.webroot.webfilter.mac.plist Support
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Garmin Express Service UNKNOWN (missing value)
      iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Dropbox Application (/Applications/Dropbox.app)
      Spotify Application (/Applications/Spotify.app)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      Rowmote Helper Application (/Applications/Rowmote Helper.app)
    Internet Plug-ins: ℹ️
      Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
      FlashPlayer-10.6: Version: 15.0.0.223 - SDK 10.6 Support
      npwebroot: Version: 2.0.15 Support
      AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.223 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.1
      SharePointBrowserPlugin: Version: 14.4.5 - SDK 10.6 Support
      Unity Web Player: Version: UnityPlayer version 4.5.1f3 - SDK 10.6 Support
      Silverlight: Version: 5.1.20513.0 - SDK 10.6 Support
      JavaAppletPlugin: Version: Java 7 Update 51 Check version
    Safari Extensions: ℹ️
      Password Manager
      webfilter
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Flip4Mac WMV  Support
      Java  Support
      SMART Board  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          3% WindowServer
          2% iPhoto
          2% mds
          2% mdworker
          1% Google Chrome
    Top Processes by Memory: ℹ️
      382 MB Mail
      275 MB WebProcess
      107 MB Google Chrome
      103 MB WindowServer
      99 MB Google Chrome Helper
    Virtual Memory Information: ℹ️
      270 MB Free RAM
      1.50 GB Active RAM
      1.30 GB Inactive RAM
      1.22 GB Wired RAM
      20.97 GB Page-ins
      8.64 GB Page-outs

    Hi Linc
    I hope this is what you were after.  Looking forward to hearing your feedback.
    Thanks, Susanna.
    11/16/14 12:36:02.738 PM com.apple.XType.FontHelper[91728]: FontHelper:  message received. (<dictionary: 0x7fbb9b606ce0> { count = 2, contents =
      "query" => <string: 0x7fbb9b605720> { length = 109, contents = "com_apple_ats_name_postscript == "Roboto-Regular" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
      "restricted" => <bool: 0x7fff7912f320>: true
    11/16/14 12:36:02.738 PM com.apple.XType.FontHelper[91728]: AutoActivation:  scopes (
        "/Library/Application Support/Apple/Fonts"
    11/16/14 12:36:02.878 PM com.apple.XType.FontHelper[91728]: FontHelper:  message received. (<dictionary: 0x7fbb9a41d950> { count = 2, contents =
      "query" => <string: 0x7fbb9a41d2e0> { length = 108, contents = "com_apple_ats_name_postscript == "Roboto-Medium" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
      "restricted" => <bool: 0x7fff7912f320>: true
    11/16/14 12:36:02.878 PM com.apple.XType.FontHelper[91728]: AutoActivation:  scopes (
        "/Library/Application Support/Apple/Fonts"
    11/16/14 12:36:02.889 PM com.apple.XType.FontHelper[91728]: FontHelper:  message received. (<dictionary: 0x7fbb9b102580> { count = 2, contents =
      "query" => <string: 0x7fbb9b100580> { length = 107, contents = "com_apple_ats_name_postscript == "Roboto-Light" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
      "restricted" => <bool: 0x7fff7912f320>: true
    11/16/14 12:36:02.889 PM com.apple.XType.FontHelper[91728]: AutoActivation:  scopes (
        "/Library/Application Support/Apple/Fonts"
    11/16/14 12:36:02.898 PM com.apple.XType.FontHelper[91728]: FontHelper:  message received. (<dictionary: 0x7fbb9a41d1d0> { count = 2, contents =
      "query" => <string: 0x7fbb9a41d2e0> { length = 106, contents = "com_apple_ats_name_postscript == "Roboto-Bold" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
      "restricted" => <bool: 0x7fff7912f320>: true
    11/16/14 12:36:02.898 PM com.apple.XType.FontHelper[91728]: AutoActivation:  scopes (
        "/Library/Application Support/Apple/Fonts"
    11/16/14 12:36:03.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91723 [cfprefsd]
    11/16/14 12:36:03.784 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91721]) Exited: Killed: 9
    11/16/14 12:36:03.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91721 [SleepServicesD]
    11/16/14 12:36:08.471 PM com.apple.launchd.peruser.501[159]: (com.apple.tccd[91730]) Exited: Killed: 9
    11/16/14 12:36:08.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91730 [tccd]
    11/16/14 12:36:09.592 PM com.apple.launchd[1]: (com.apple.xpcd.F5010000-0000-0000-0000-000000000000[91727]) Exited: Killed: 9
    11/16/14 12:36:09.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91727 [xpcd]
    11/16/14 12:36:13.129 PM com.apple.launchd[1]: (com.apple.XType.FontHelper[91728]) Exited: Killed: 9
    11/16/14 12:36:13.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91728 [XType.FontHelper]
    11/16/14 12:36:14.996 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91739]) Exited: Killed: 9
    11/16/14 12:36:14.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91739 [SleepServicesD]
    11/16/14 12:36:20.120 PM com.apple.launchd[1]: (com.apple.cfprefsd.xpc.daemon[76618]) Exited: Killed: 9
    11/16/14 12:36:20.000 PM kernel[0]: memorystatus_thread: idle exiting pid 76618 [cfprefsd]
    11/16/14 12:36:23.433 PM com.apple.launchd.peruser.501[159]: (com.apple.cfprefsd.xpc.agent[76616]) Exited: Killed: 9
    11/16/14 12:36:23.000 PM kernel[0]: memorystatus_thread: idle exiting pid 76616 [cfprefsd]
    11/16/14 12:36:26.261 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91752]) Exited: Killed: 9
    11/16/14 12:36:26.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91752 [SleepServicesD]
    11/16/14 12:36:37.691 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91764]) Exited: Killed: 9
    11/16/14 12:36:38.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91764 [SleepServicesD]
    11/16/14 12:36:48.938 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91777]) Exited: Killed: 9
    11/16/14 12:36:49.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91777 [SleepServicesD]
    11/16/14 12:37:01.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91788 [SleepServicesD]
    11/16/14 12:37:00.821 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91788]) Exited: Killed: 9
    11/16/14 12:37:04.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91706 [distnoted]
    11/16/14 12:37:15.656 PM com.apple.launchd[1]: (com.apple.sleepservicesd[91795]) Exited: Killed: 9
    11/16/14 12:37:15.000 PM kernel[0]: memorystatus_thread: idle exiting pid 91795 [SleepServicesD]
    11/16/14 12:37:27.016 PM ReportCrash[91819]: Failed to create CSSymbolicatorRef for Webroot SecureAnywhere[264]
    11/16/14 12:37:27.125 PM ReportCrash[91819]: Failed to create dSYM-less CSSymbolicatorRef for Webroot SecureAnywhere[264]
    11/16/14 12:37:27.487 PM com.apple.launchd.peruser.501[159]: (com.webroot.WRMacApp[264]) Job appears to have crashed: Segmentation fault: 11
    11/16/14 12:37:30.336 PM com.apple.launchd[1]: (WSDaemon[61]) Exited abnormally: Broken pipe: 13
    11/16/14 12:37:34.295 PM WindowServer[79]: CGXDisableUpdate: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.
    11/16/14 12:37:34.594 PM WindowServer[79]: reenable_update_for_connection: UI updates were finally reenabled by application "iPhoto" after 1.30 seconds (server forcibly re-enabled them after 1.00 seconds)
    11/16/14 12:37:37.648 PM ReportCrash[91819]: Saved crash report for Webroot SecureAnywhere[264] version 8.0.7.78 (8.0.7.78) to /Users/landerson/Library/Logs/DiagnosticReports/Webroot SecureAnywhere_2014-11-16-123737_lukes-MacBook-Pro.crash
    11/16/14 12:37:42.660 PM WindowServer[79]: CGXDisableUpdate: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.
    11/16/14 12:37:43.632 PM WindowServer[79]: reenable_update_for_connection: UI updates were finally reenabled by application "iPhoto" after 1.97 seconds (server forcibly re-enabled them after 1.00 seconds)
    11/16/14 12:37:50.783 PM WSDaemon[91822]: CGSRegisterConnectionNotifyProc called with invalid connection
    11/16/14 12:38:09.909 PM Problem Reporter[91853]: launch_msg returned m

  • I have iphone 4s from sprint and its motherboard is damaged so please provide me what to do it is not in warranty and i am in India now.thanks in advance.

    I have iphone 4s from sprint and its motherboard is damaged so please provide me what to do it is not in warranty and i am in India now.thanks in advance.

    No, the logic board needs to be replaced. But, here's your ptoblem: No authorized service center, In India, will touch a US iPhone. Thus, your only option is a third-party repair shop. But, since Apple does not sell iPhone parts, many on the market are counterfeit. In other words, if you go to a third-party repair shop, you take your chances as to what you end up with.
    If you can't send the phone to someone in the US, that can go to an Apple store for you, & do an out of warranty exchange...cost is US $199...then sell the phone for parts or go to a third-party repair shop & hope you don't end up worse than you are now.
    Those are your options.
    Good luck.

  • I have bought apple care from australia and it will be validated in india also ? and it will provide me australian 3 year warranty or international ?

    i have bought apple care from australia and it will be validated in india also ? and it will provide me australian 3 year warranty or international ?

    AppleCare for computers is international.

  • Get the source coding and the interface of a from routine (4.6C)

    Hello,
    I am looking for a way to get the source coding and the interface of a Form routine. Having a look at the functionality used in SE80, I found the function module RS_SEARCH_FORM.
    By specifying the following parameters:
    Include Name:                      i_incl             
    Main program:                      i_mainprogram
    Form routine name                i_objectname      
    Object Type for Form routine: i_objecttype
    you receive the "pattern", which is being generated by using the drag and drop
    functionality for Form routines in SE80. For example:
    PERFORM test
                USING
                   a.
    In addition to this, I am looking for a way to get the source coding and the interface for a form routine in a 4.6C system.
    The mentioned function module has a tables parameter called i_source but I didn't find out how to execute it in order receive the source code.
    It would be great if you could help me to solve this issue.
    Best regards,
    Fabian

    Hi,
    the only idea I have is to scan the source code for the form routine in order to retrieve the needed information. It would be great to have a standardized function module, which provides this functionality.
    Regards,
    Fabian

  • I installed a new router from my ISP provider and now I can't find my Time Capsule or "Guest" network.  What do I need to do to correct this problem?

    I installed a new (and supposedly better &amp; stronger) router from my ISP provider (Verizon) and now I can't find my Time Capsule or "Guest" network. 
    My Mac is not backing up because it can't find my Time Capsule network &amp; my "Guest" network has also disappeared. 
    What do I need to do to correct this problem?

    You must reset the TC to factory and start over. The TC simply remembers too much from the previous setup to work in the new one.
    If your new router is going to take the router role, then the TC will have to be bridged and you will lose your Guest wireless.. the way around this is to use the Verizon router as your guest wireless and the TC as your main wireless.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Factory reset Gen 5
    Hold in reset for about 5sec until the status light flashes quickly.
    If your AirPort Time Capsule still doesn’t respond, do a similar reset to the Gen1-4.
    Unplug your AirPort Time Capsule .. hold in reset and power the TC back on.. without releasing the reset.. wait until status led flashes rapidly.

  • I have bought my iphone 5 from UK and now residing in USA. Although my carrier (Ultra Mobile) provides 4G service i only get 3G speed. Also icon "3G" appears on top part of my screen. My model is MD297B/A. Pls suggest to enable 4G on my phone

    i have bought my iphone 5 from UK and now residing in USA. Although my carrier (Ultra Mobile) provides 4G service i only get 3G speed. Also icon "3G" appears on top part of my screen. My model is MD297B/A. Pls suggest to enable 4G on my phone

    It is more than likely the inability of the UK phone to support the US phone bands. You will probably be stuck with 3G and will never be able to get LTE. Also, your warranty is only good in the UK. You might be better of to try and sell that device to someone in the UK and purchase a phone in the US that you can get full service with.

  • HT1414 I am going through the process of unlocking my iphone 4 and have had all the go aheads from my service provider but i am still having problems when i plug the phone into itunes. Has anyone else had this program

    I am going through the process of unlocking my iphone 4 and have had all the go aheads from my service provider but i am still having problems when i plug the phone into itunes. Has anyone else had this problem??

    Umm, what problem?  What actually happens when you try to restore it in iTunes?

  • Have one WiFi signal into the apartment for my Air, and another wifi signal for my 5c phone plan. Both from the same provider. Expensive. Is there a way to 'combine' WiFi signals so I pay only for one, but can get on the Internet with my Air?

    Have one WiFi signal into the apartment for my Air, and another wifi signal for my 5c phone plan. Both from the same provider. Expensive. Is there a way to 'combine' WiFi signals so I pay only for one, but can get on the Internet with my Air?

    Roamingnome, thanks for your response. Although I have been a Bell (Canada) customer for my WiFi signal for years, the 5c and its necessary mobility plan, is very recent. Some years ago, Bell supplied its own ‘router’ for my computer, and claimed that it was possible to get their WiFi signal only with the router they supplied. When I recently received the 5c, I wondered if the plan it requires, which is within the much wider, overall Bell zone, could be used somehow to get my Air online - some sort of tethering? - that allows me to give up the Air WiFi service and router all together, but still get the Air connected. Here in Canada, Bell Mobility and other Bell services are very separate. Any suggestions appreciated.

  • Mail not getting all messages from server and other strange behavior

    Hello All,
    Mail has been doing some odd things for me of late (at least the last week) and I'm lost for a solution to my problem. As far as I can tell, perhaps my Prefs. have become corrupted, or at least something in relation to Mail has become corrupted. Perhaps someone has a solution to this issue before I have to back it all up and NUKE the whole **** app to get back up and running properly.
    The main issue I appear to be having is that Mail is not getting all of my Mail messages from my server. I can log into my web-mail interface provided by my domain host and can see there that there are many e-mails that don't appear to be coming down the pipe to the Mail.app client. I'm getting some e-mail's but not all....
    *Here are all the things that I've checked:*
    • The missing e-mails are not being picked up as Junk and are not in the Junk folder
    • I have done a search within Mail for the missing e-mail's and nothing turns up anywhere.
    • I have checked on the server end that I'm not maxing out my InBox or that there are any other service issues from my domain host provider.
    • I have been into Prefs and checked my account settings - most (see below) of which appear to be as normal and are fine.
    *Here are the weird things that I've noticed:*
    • When I went into the Prefs. for the account in question, I noticed that my login had changed. For example - it usually it is "[email protected]", however it had seemed to have changed to just "johndoe" - I know this wasn't me as my domain host will not allow me to access any mail unless the login is the full mail address.
    • In RULES, every rule I double click to check on seems mostly fine, apart from the fact that every "Account is:" the pull down menu just appears as blank. Usually it says "Account is: ([email protected])"
    It's there last 2 items that make me think something is corrupted - so I guess my question is, what pref or file has corrupted and how can I fix it without having to give Mail.app a digital enema?
    Any assistance would be most helpful - missing some but not all your incoming e-mail messages is quite annoying, as you can guess...!
    Thanks,
    Boz

    Hello Boz.
    This appears to be a rules issue. Mail is almost certainly downloading those messages, but they’re probably being processed by your rules in an unexpected way — given the information you’ve provided, maybe because there is something wrong with the file where the account settings are stored.
    Do you have any Mail plug-ins? In the Finder, go to each of the following folders (if they exist). What do you see there?
    /Library/InputManagers/
    /Library/Mail/Bundles/
    ~/Library/InputManagers/
    ~/Library/Mail/Bundles/
    To make accurately reporting this information easier, you may open /Applications/Utilities/Terminal, type the following command (you can just copy it here and paste it in Terminal), and press <Return>. You can then copy the output of that command from Terminal and paste it in your reply to this post:
    ls -1 /Library/InputManagers /Library/Mail/Bundles ~/Library/InputManagers ~/Library/Mail/Bundles
    <hr>
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Write down your Mail > Preferences > Accounts settings or take screen shots of them.
    2. If you have a .Mac account and .Mac synchronization of Mail data is enabled either in Mail > Preferences > General or in System Preferences > .Mac, disable it before proceeding.
    3. Quit Mail.
    4. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to solve the problem. You can do this in the Finder by dragging the Mail folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is locally stored.
    5. In the Finder, go to ~/Library/Preferences/. Locate com.apple.mail.plist and move it to the Desktop (to be deleted if this solves the problem). If you have a backup of your data that includes a working copy of this file, you may try restoring it from the backup to avoid steps 6-8.
    6. Open Mail. You’ll have to set up your non-.Mac accounts from scratch all over again. If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done.
    7. You’ll have to re-configure some of your Mail > Preferences settings. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    8. As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    9. If the problem is fixed now and .Mac synchronization of Mail data was enabled at the beginning, enable it again, go to System Preferences > .Mac > Advanced, click Reset Sync Data, and choose the appropriate options to reset the Mail data stored on the .Mac server with the data locally stored on the computer, i.e. sync data must flow from the computer to the .Mac server.
    <hr>
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. You can easily locate any of the folders referred to in this post by copying the folder path here, doing Go > Go to Folder in the Finder, and pasting the folder path there.

  • Jabber and Meida Interface Service - Switch port

    Hi All,
    here is from Cisco:
    Before Cisco Jabber for Windows sends audio media or video media, it checks for Cisco Media Services Interface .
    • If the service exists on the computer , Cisco Jabber for Windows provides flow information to Cisco Media Services Interface . The service then signals the network so that routers classify the flow and provide priority to the Cisco Jabber for Windows traffic.
    • If the service does not exist, Cisco Jabber for Windows does not use it and sends audio media and video media as normal.
    My Question is : what does normal means?
    1- we can identify ports for Jabber in CUCM, then create ACL and apply QoS.in that Case what " Normal Traffic " means?
    2- for MSI, do we need to configure anything on the switch port to work peoperly?
    3- How switch knows which Qos to apply based on what MSI saying? still needs an ACL, if yes, what s apoint of using MSI dfor Qos?
    Thanks,
    Hamed

    This would be EF for voice, AF41 for video/voice, and CS3 for SIP signal. Two things typically cause this to get treated as best effort:
    The Windows PC is not allowing the application to set DSCP markings. Group or local security policy can be used to allow this
    The switch is not trusting the data VLAN. Most SRND material suggests using a policer to limit the amount of EF/AF41/CS3 traffic from the data VLAN and to remark the violation traffic to best effort.
    You'll want to start with the MediaNet Deployment Guide. There is a lot going on to make this work.
    The MSI tells the switch what application and ports are being used. The switch then sets the DSCP marking on that traffic.
    Please remember to rate helpful responses and identify helpful or correct answers.

Maybe you are looking for

  • ISA Customer Details Search

    Hi Forum, The problem scenario as follows: While creating the order in ISA in BOB scenario, customer number is required to be entered. During order simulate, it shows the customer details. I want to know how this customer details are fetched from R/3

  • HT5313 How can I check if my iMac has this update? OS X Lion v10.7.5 Update

    How can I check if my iMac has this update? OS X Lion v10.7.5 Update

  • Duplicate Invoice Control.

    With regards to duplicate invoice control, can anyone advise if they have found a method to ensure that invoices are not processed more than once? Current process in ECC is too rudimentary. Is there a way to configure the system such that it displays

  • Embedded SQL-92 Functions in JDBC

    It appears that the Oracle supplied JDBC drivers do not support embedded SQL-92 functions such as {fn UCASE(column)}. (I got this from the JDBC docs here online.) Does anyone know of a driver for Oracle that does support these features? I know it's n

  • HT1218 router will not work anymore with new update- how do I fix this?

    I just updated to the current software and now I have no connection. I have tried to reset the airport extreme but I cannot get it to recognize my laptop, Ipad2 and iphone.  I have earthlink as my internet provider.   I have talked with them, but the