Auto discovered Linux machines platform value is showing as Windows. Need help

Hi All,
In my infra, we have set the discovery policy as AD & IP range. All the machines are getting discovered, however in platform tab of Unix/Linux machines shows as 'Windows', and due to this we are unable to license the machines.
Please help.
Regards
MPS

Post on this forum instead, bigger chanche that you'll find a PRO*C expert there.
C++ Call Interface (OCCI)
-Andy

Similar Messages

  • New to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    new to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    So where is LR trying to copy the files?  Check your destination in the Import panel at the right.

  • Hi all   report that sends email shows popup window needs to be supressed

    hi all
    i have developed a report that sends email as an attachement, but this report pops up a window in the end ( it says 'no of objext sent') and there i have to press enter, but my report is running in the background (scheduled report) and therefore there should be no pop ups in the report.
    question is how to avoid popup window in the following program.
    below is my code
    just enter your email id in the code and it will run anywhere.
    TABLES: ekko.
    *PARAMETERS: p_email   TYPE somlreci1-receiver
                                     DEFAULT '[email protected]'.
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using         " p_email
                                        'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 1 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
    CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    class cl_abap_char_utilities definition load.
    constants:
        con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
        con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
        CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
                    wa_charekpo-aedat wa_charekpo-matnr
               INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using                  "p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver value '[email protected]',
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'.
                   AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    thanx
    rocky

    hi rocky,
    pls comment the submit program form INITIATE_MAIL_EXECUTE_PROGRAM by default the email runs in background and there is no need to submit 'rsconn01'  it again to  that program where u actually get the pop-up...
    try it
    hope this helps
    regards,
    karthik

  • Value Mapping Replication...need help.....

    Hi everyone,
    I want to get the value mapping table filled by the value stored in my excelsheet.
    Would it be possible to do that without java proxy?
    ~Thanks
    Pranav

    Thanks Michal for your valuable response.
    I am not much comfortable with Java .... read some docs on java proxy and seems that its kind of time consuming to develop java proxy.
    So for me, ABAP proxy is the only choice.. (which is also not my area)
    I have gone through the eLearning link for Value mapping and I think, I have to create REPORT in ABAP which would invoke the ValueMappingReplication class.
    Am I right ?
    Do you have any doc link which could assist me writing code in ABAP to populate information into the valuemappingreplication objects...(fields) ?
    I appreciate for your help and time.
    Thanks,
    Pranav

  • How to make a column values as fields - Generic one needed -help me....!

    Hi,
    There are some data dictionary views to get the list of column names and their id.
    eg: all_tab_columns
    I am querying the fiels for EMP table..
    Select column_name,column_id from all_tab_columns where table_name='EMP' order by column_id;
    column Name column_id
    EMPNO 1
    ENAME 2
    SAL 3
    My reuuirement is nothing but the values of COLUMN_NAME should be displayed as an individual field that is..
    EMPNO,ENAME,SAL
    Likewise, it should react for all tables that is the values should transformed into fields..
    Please help me out in this regard..
    Thanks in advance...

    The reason why i need the generic query to frame the column values into individual fiels is , the explicit cursor can not be used for binding sql statments and moreover i want to create the record type based on the explicit cursor due to some requirement in creating generic procedure..
    So, I need a help for creating column values individual fields meaning
    select column_name from all_tab_columns where table_name='EMP'
    COLUMN_NAME
    EMPNO
    ENAME
    SAL
    the answer should be
    empno ename sal
    Pleaese help me ...

  • AP Groups VLAN showing all SSIDs - Need help.....

    Hey everyone!
         I am hoping I can find some help with configuring the AP Groups VLAN feature on a WiSM + WCS ver 4.2 environment. I enabled and setup AP Groups VLAN for a campus type network acording to the guide here:
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml
    The issue I am having is that even though I enabled and setup the AP Group VLAN as well as assigned the interface / network the AP to the group, all the SSIDs still broadcast on that AP where I only want one SSID to be present. I am testing this in a building that is an extension of another and only have 1 AP thus far so I know I am not picking up the SSIDs from other APs. 
    Anyone have any suggestions or can help? I would greatly appreciate it.....
    Thank You!
    Ed

    Hi Ed,
    The feature you are looking for is called WLAN Override in 4.x release versions
    Enabling WLAN Override
    By default, access points transmit all defined WLANs on the controller. However, you can use the WLAN Override option to select which WLANs are transmitted and which ones are not on a per access point basis. For example, you can use WLAN override to control where in the network the guest WLAN is transmitted or you can use it to disable a specific WLAN in a certain area of the network.
    From this doc;
    http://www.cisco.com/en/US/docs/wireless/controller/4.0/configuration/guide/c40wlan.html#wp1114777
    Once you create a new WLAN, the WLAN > Edit page for the new WLAN appears. In this page you can define various parameters specific to this WLAN including General Policies, RADIUS Servers, Security Policies, and 802.1x Parameters.
    **Check Admin Status under General Policies to enable the WLAN. If you want the AP to broadcast the SSID in its beacon frames, check Broadcast SSID.
    Note: You can configure up to sixteen WLANs on the controller. The Cisco WLAN Solution can control up to sixteen WLANs for Lightweight APs. Each WLAN has a separate WLAN ID (1 through 16), a separate WLAN SSID (WLAN name), and can be assigned unique security policies. Lightweight APs broadcast all active Cisco WLAN Solution WLAN SSIDs and enforce the policies that you define for each WLAN.
    From this good doc;
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a0080665d18.shtml#c3
    Hope this helps!
    Rob

  • Macbook won't show detect displays need help???

    Won't detect any, but says I need 2 displays sometimes??? Help

    dohdoh1985 wrote:
    - I tried every Snow Leopard Release from 10.5.8 to 10.6.4
    Assuming this means the TV was not detected in any of these versions, this would not be a Snow Leopard installation or setup issue. I think that is what sig is trying to tell you.
    If this is true, you might want to post in the MacBook forums to see if anyone has a similar issue. It would be a good idea to post the model number of your Toshiba if you do so, as this might be relevant. Otherwise, it sounds like the problem is in the TV, since the MacBook works with other displays.
    Tip: to avoid unexpected formatting oddities that might make your posts hard to read, you can use the "Preview" tab before you post to see how your post will be formatted.
    Message was edited by: R C-R

  • Image not showing in browser - need help urgently

    hi , I'm new to Javafx I'm trying to create display an image in a web browser , not thing complex , this is my code :
    package javafxapplication1;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.Image;
    Stage {
    title: "Application title"
    scene: Scene {
    width: 800
    height: 800
    content: [ImageView { fitHeight:100 , fitWidth:100 image: Image {   url:"http://braddominy.com/media/images/applescript_dragdrop_icon.png"  ,        preserveRatio:false , backgroundLoading:true} ,x:100 , y:100 } ]
    when I run that example in standard Mode it work properly and the image is displayed , however when i run the example in a browser i get a blank page with a header "JavaFXApplication1"
    i tried to google the problem but came out with no results
    need you help , thanks in advance .
    Edited by: user9377818 on Nov 30, 2010 3:59 AM

    Is the image URL pointing to the same domain as the applet is downloaded from? If not, you will need to sign it. There is a security feature that prevents unsigned applets from downloading material from websites other than the one it is downloaded from to prevent a trojan applet from using your computer to launch a denial of service attack while you run it.

  • Trying to deploy .sh or .csh file on linux machine

    Hi All,
    I am trying to manage Linux devices (Centos 6.3) using SCCM 2012 R2. I have installed the SCCM client on the Linux machine, i can get the H/w & S/w inventory from resource explorer on SCCM but i am not able to deploy scripts(.sh & .csh files) to
    the Linux machine, no matter i do what it just don't get it deployed. i have created 3 separate Centos 6.3 machine for testing this but after deployment when i check the deployment status in monitoring it always shows "Waiting for content". The Linux
    machines are not joined to domain.
    Please Help.
    Thanks,
    Pranay.

    Hi,
    Make sure the package has reached the DP.
    Please check Linux client logs to see whether there are any helpful information.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Pushing management agent from a Solaris machine to a Linux Machine?

    Hi There,
    Currently, the enterprise manager OMS resides on a solaris system, however, we have new hardware on a LINUX. From the enterprise manager can I push an agent to a target on a LINUX machine?
    Thanks,
    J

    I hope this link is helpful its for 11g. it might work for even 10.2.0.5 and above. First you will need to download the agent script for Linux based on the platform either 32 or 64 bit. And after you download the script( I usually use wget) make it executable using
    wget http://host1.servers.com:4889/agent_download/11.1.0.0.0/linux/agentDownload.linux (32-bit)
    *$ chmod 744 agentDownload.linux*
    *./agentDownload.linux -b /u01/OracleHome -m host1.servers.com -r 4889*
    and you can follow this link.
    http://docs.oracle.com/cd/E11857_01/install.111/e16847/install_agent_agtdwnld.htm#CBHHIBCF

  • Japanese font "MS PGothic" not showing properly in linux machine

    Hi,
    I am using this font "MS PGothic" in my swings application to display Japanese font,
    But in SOME of the linux machines, it is not displayed properly
    linux os : Red Hat linux Enterprise edition 5.0.
    Do I need to install some packages for MS PGothic font to get installed in red hat linux.
    please help.
    Regards,
    bt

    You can get the TTF file and put it in your project, so will not have to care about system configuration.
    Good luck

  • Problem with setTraficClass()  in Linux machine

    Hi
    We are facing some problem with setTraficClass() method in java.net.Socket . When we try to set a value 34 using this method in windows it is not setting. when try to see the Ip header in the packet using wireshark it is showing 00.
    After lot of googling we found in sun forum that in Windows os there is no support for TOS/DSCP. if we want to set a value we need to add a registry parameter. Now it is setting in Windows XP [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4696356]
    But our problem is we are trying to run the same thing on linux machine RedHat 2.6.18.92.e15-pae-1686 it is setting 00 . Please find the code bellow
    Is there any setting we need to do in linux machine to call the setTraficClass() method. I am new to linux and not able to fix this issue.
    Please help me
    Thanks in advance.
    Sethu
    Server code
    import java.net.*;
    import java.io.*;
    class server
    public static void main(String args[]) throws Exception
    byte[] receive_data = new byte[1024];
    byte[] send_data = new byte[1024];
    int recv_port;
    DatagramSocket server_socket = new DatagramSocket(5000);
    System.out.println ("UDPServer Waiting for client on port 5000");
    while(true)
    DatagramPacket receive_packet = new DatagramPacket(receive_data,
    receive_data.length);
    server_socket.receive(receive_packet);
    server_socket.getTraficClass()
    String data = new String(receive_packet.getData(),0 ,0
    ,receive_packet.getLength());
    System.out.println("socketIP"+server_socket.getTrafficClass());
    server_socket.setTrafficClass(0x18);
    InetAddress IPAddress = receive_packet.getAddress();
    recv_port = receive_packet.getPort();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    System.out.println("( " + IPAddress + " , " + recv_port
    + " ) said :" + data );
    Client code
    import java.net.*;
    import java.io.*;
    class Client
    public static void main(String args[]) throws Exception
    byte[] send_data = new byte[1024];
    BufferedReader infromuser =
    new BufferedReader(new InputStreamReader(System.in));
    DatagramSocket client_socket = new DatagramSocket();
    InetAddress IPAddress = InetAddress.getByName("127.0.0.1");
    while (true)
    System.out.println("Type Something (q or Q to quit): ");
    String data = infromuser.readLine();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    send_data = data.getBytes();
    DatagramPacket send_packet = new DatagramPacket(send_data,
    send_data.length,
    IPAddress, 5000);
    client_socket.setTraficClass(34)
    client_socket.send(send_packet);
    client_socket.close();

    Hi,
    when I use setsockopt() API on linux machine. I am able to set the DSCP value in the UDP socket.
    I can see the visibility of DSCP marking on the wireShark.
    when I use the setTraficClass(34) API on linux machine. I am not able to set the DSCP value in the UDP socket. It
    always takes the default value as 0. I cant see the visibility of DSCP marking on the wireShark.
    setSockopt() API supported in Linux machine. Why not SetTrafficClass() API?.
    Is there any changes required to make the SetTrafficClass() API to work on Linux platform?.

  • 'java': "Could not reserve enough space on heap" on 48G Linux machine

    I have installed the 64bit version of jdk-1.6.0-17 from java.sun.com on my RedHat Linux machine with 48G internal memory.
    All the java commands return :
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.
    The 32bit 1.6.0-16 did not expose this behaviour. I haven't tried the 32bit version of 1.6.0-17, sorry, but I do need those 64 bits. And I haven't tried the 64bit 1.6.0-16 either, should I?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine, but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    at com.sun.tools.javac.util.ListBuffer.append(ListBuffer.java:110)
    at com.sun.tools.javac.util.ListBuffer.appendList(ListBuffer.java:120)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2408)
    at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2253)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2191)
    at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java:2180)
    at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2126)
    at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:509)
    at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:646)
    at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1869)
    at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
    at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
    at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
    at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
    at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
    at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
    at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:961)
    at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
    at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1162)
    at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1714)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1547)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
    at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
    at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:607)
    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:691)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:350)
    at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:560)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399)
    at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:410)
    make: *** [Sample.class] Error 3
    Running without the 6G limit and setting Xmx12000M doesn't help.
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?
    Thanks,
    Calle

    tschodt wrote:
    Cramgo wrote:
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.Maybe you have found a bug, the default max heap size calculation is supposed to cap it at 1G.
    [http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.1.1]
    So should I report it somewhere or what?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine
    Are you setting one of [_JAVA_OPTIONS|http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html] or [JAVA_TOOLS_OPTIONS|http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#tooloptions] for all shells?
    No, passing -Xmx4096m to java, and -J-Xmx4096m to javac, javah and jar. Is JAVA_OPTIONS or JAVA_TOOLS_OPTIONS better, how do I use those?
    but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    make: *** [Sample.class] Error 3Running without the 6G limit and setting Xmx12000M doesn't help.Forgot to specify -Xms and-Xmx?Promise not to laugh. Seems like I somehow got rid of that m.... running with a heap size of 12000 bytes might be a bit sparse, admittedly. ;) Caught it when I added -Xms...
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?OK so I now can compile again, great. Would be lovely to get rid of the -Xmx but I can live with that...

  • Unable to launch application on Linux machine

    Hi,
    We have a Java based product developed as desktop application. This product has a tree structure built-in. and while connecting to few of the nodes, we are getting the following error: "*Cannot write XdndAware property*".
    Note:
    1. We are running the application on a Linux machine.
    2. We are using JNLP to launch the application.
    3. Only few nodes are causing this issue.
    4. Tried putting -DsuppressSwingDropSupport=true in JNLP file, but no progress.
    5. This happens on JDK1.6.0_23 and above
    Can someone help us to resolve this issue.
    Thank you.
    Regards,
    KNP

    Let me explain my current requirement.
    1. All the client jars should be downloaded every time I click a link (as of now its a JNLP link, but this can change).
    2. And this should be platform independent
    3. I stated in the earlier description I should be able to pass arguments (suppressSwingDropSupport, etc) to VM to resolve the actual issue.
    Can someone please suggest any other approach?
    I have one more generic question: Can I write my own JNLP defining XSD & DTD, so that it can accept all the arguments whichever I can pass to the VM? If so, how to do this?
    Please respond

  • Just updated to my macbook pro to 10.8.2. ical not synching with my Exchange 2010 server. Worked flawlessly prior to the upgrade. Settings set to auto discover. I matched settings of a partner in my who is still using 10.7.1 without issues. Help!

    Just updated to my macbook pro to 10.8.2. ical not synching with my Exchange 2010 server. Worked flawlessly prior to the upgrade. Settings set to auto discover. I matched settings of a partner in my who is still using 10.7.1 without issues. Help!

    Also - my battery has been telling me "service battery" for a LONG time and then it switched to "replace soon" som time ago. Can't really see what this has to do with anything but whatever.
    That could conceivably explain all the problems you're describing. Replacing a Mac's battery should not be postponed since a failed battery will cause other problems to occur. It is also possible that its hard disk has failed, which means the information on it may soon become unrecoverable.
    ... my latest TM back up was from April 2014, can I just run this when I have rescued everthing and then it might not be as slow?
    If that Time Machine backup remains intact, it may be the only viable means of recovering that Mac's information. I suggest you do not attempt to restore its contents to your ailing Mac.
    Given that you are having trouble creating a newer Time Machine backup you should stop using that Mac immediately and have it serviced as soon as you are able. Do not take it to anyone other than Apple or a service facility authorized by Apple, for the very reasons you explained. If there are no Apple Stores in your vicinity search for an Authorized Apple Service Provider using the Contact Us link below. Use one of the options that appear under Contact Apple Support. The language on that page will be different for your location.

Maybe you are looking for

  • Query XML(CLOB) datatype

    Hello, I am new to XML and have been trying this for few days and get no luck ... First, I have an Excel file, which contains a list of bills for customers. It is a sample file to test my application. In the future, my application will receive data o

  • Printing to shared printer on Tiger 10.4

    We have an older iMac that has a printer connected via USB (Officejet 6200). It is shared via printer sharing and runs Mac OS X 10.4. The iMac is connected to a Snow (dual Ethernet) Airport base station. I could see it and print to it with 10.5 from

  • MacBook Pro 8,1 no OS to boot?

         OK, so here is the problem. When I boot up my Mac, it loads up rEFIt, but only has the 'Legacy OS' option, which points to no operating system. Before, I had the option for Windows 8, and OSX Mavericks. In essence, my Mac has absolutely no OS to

  • VS Exp 2013: Unable to create the Web site ... The components for communicating with FTP servers are not installed.

    I have MS Visual Studio Express 2013 It has worked fine for many months and then suddenly (I have made no configuration changes or added new programs) when I try to publish I am getting the message: Unable to create the Web site 'ftp://ftp.xx.xx/xxx.

  • Xferring 45gb HD from a regular Lap 'Top to a mini PC laptop

    I wonder if it is possible to transfer a 45GB HD (Windows XP OS) to a minicomputer (Windows XP OS).  My reason is that I have a laptop that I can no longer access because one keyboard letter does not work, and it happens to be one that Is in my log o