Limitations when using jsvc daemon?

I found out about and started using JMC yesterday and am using it to gain insights into a Java program that runs via the jsvc daemon on Linux (Ubuntu and RHEL).
Most everything in JMC is working, except 1) the MBeans browser, which is completely empty, and 2) method profiling/sampling, which never produces any events even when enabled via the Flight Recorder template.  Both of these features work fine when I use JMC against JMC itself or another Java program not running via jsvc.
Are these two features not available for Java programs running via jsvc in general, or is there something specific to the application I'm trying to debug?
The application is from a 3rd party and so far I've not been able to figure out how to run it independently of jsvc so I can see if that solves the problem.
thx,
Chris
P.S. JMC is exactly the kind of tool I've been looking for to diagnose and troubleshoot production Java-based services -- thanks for making it available!

I guess that log message comes from
http://commons.apache.org/proper/commons-daemon/xref/org/apache/commons/daemon/support/DaemonLoader.html
Maybe this indicates that the jvm attach framework on Linux will not work that well, and if you're connecting locally with JMC to your app, this might be a problem.
If you did not do so already, it might help if you start the jsvc daemon with some extra jvm flags:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=7091
and then in JMC create a custom connection to localhost:7091
If this a system you want secure, you should of course enable ssl and/or authentication...

Similar Messages

  • [SOLVED]Netcfg works great manually, but when using the daemon it wont

    I installed netcfg a really long time ago following the arch wiki. When I first installed it and set everything up, it was all working perfectly.
    For the past three or four months Ive been having problems where netcf daemon is failing to connect (home wireless network 256bit wep). It takes about 20 seconds just waiting and eventually says failed. If I log in and run the command manually (sudo netcfg home-wifi) it connect perfectly fine every time.
    Ive tried everything I can think of including different QUIRKS and changing permissions on the profiles but nothing works. I also tried using the netcfg menu but it doesnt work like that either. I went over the wiki page again thinking something might have chnaged, but its all the same. I even reinstalled and configured again but still nothing.
    heres my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/New_York"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi-cpufreq cpufreq_ondemand vboxdrv loop)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Arch"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(home-wifi)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng crond hal cpufreq !network net-profiles @netfs @alsa @sensors @mpd)
    What gets me is that it actually takes longer to fail then it does when I manually connect. It times out for like 20 seconds, but when I manually connect its almost instantaneous.
    Last edited by tjwoosta (2010-03-02 05:31:37)

    I had arch installed on my Sony VAIO, had this problem, and then fixed it somehow.  That was several months ago, recently I fried the laptop so I just reinstalled and can't remember.  But now I have a "solution"  haha
    this is kind of silly how I got it to work, though.
    I created another profile "home-wifi-boot" with a short timeout, this is called from rc.conf.
    then I put "/usr/bin/netcfg home-wifi" in my /etc/rc.local  , which is exactly the same but has a 30 sec timeout.
    This just does the same thing as I was doing manually, runs netcfg a second time.  It works for me!
    Last edited by jamba (2010-02-14 15:30:58)

  • File size limitation when using BufferedWriter(FileWriter) on Linux

    I am using a Java application (console-based) on Linux RH8.0 with a Pentium III processor.
    I preprocess Javascript scripts that #include other Javascript scripts.
    (in fact these scripts are Javascript Server pages)
    I try putting all the result of the preprocess into one BIG temporary file
    created using File.createTempFile(prefix,".jsp");
    where prefix = "analyse"
    I write into this file by instanciating one 'new BufferedWriter(new FileWriter(...))'
    and then calling the write() and newLine() methods.
    But the temporary file seems to be limited whatever I do to 221184 bytes, which is too short for me.
    Could someone help me please ?

    Do you call flush() on the BufferedWriter when you've
    finished writing to it? I've had problems in the past
    with files being truncated/empty when I've neglected
    to do that. (Although admittedly, it doesn't sound all
    that likely to be the case for you...)
    How much output is missing? You say that the file size
    of 221184 is "too short", how much output were you
    expecting?
    Oh, and as you're running on a Linux-based OS, try
    checking to make sure that your file size isn't being
    limited - to check, run "ulimit -a" and look for the
    'file size' line. By default on Mandrake, it's
    unlimited, and I'd expect that to be the case for
    RedHat too, but you never know...Thanks, I just realized that I forgot to close() my temporary file before reading it, so it had not the opportunity to flush...
    Thanks a lot.
    Stephane

  • Does the quadrangle's amount be limited when using the IndexedQuadArray?

    Dear all,
    I use IndexedQuadArray to describe a 3d's surface which is composed of thousands of quadrangle. When the quadrangle's amount is larger than 60000,the JVM is crashed with the following information:
    +++++++++++++++++++++++
    An unexpected error has been detected by Java Runtime Environment:
    SIGSEGV(0xb) at pc=0x000000000dbefebb, ...
    Java VM: Java HotSpot(TM) 64-Bit SErver VM(11.3-b02 mixed mode linux-amd64)
    Problematic frame:
    C [i965_dri.so + 0x31ebb]
    The crash happened outside the Java Virtual Machine in native code.
    See Problem ...
    ++++++++++++++++++++++++++++++++++
    But when the amount is not larger then 60000, everything is ok.
    My os is: 2.6.26.8-57.fc8, Redhat fedora 8, x86_64
    J2SE : 1.6.0_13-b03
    Java3D: 1.5.2
    thanks

    That's a computer problem. Your computer can't handle an amount larger than 60000. I had a similar problem.

  • JTextArea size limitation when used as a log

    Hello,
    I am writting an application where I have to log many messages.
    I already solved (at least I hope so) somme troubles about being always at the end of the area with :
    textArea.append(....);
    textArea.setCaretPosition( textArea.getDocument().getLength() );I solve the thread pbs using invokeLater().
    But now, last (but not least) issue : how to avoid the text area explosion in term of memory use? I would like to always "stock" the 1000 last messages for example.
    Is there a solution (more elegant than cutting the lines by two when above a certain limit)?
    Thanks for help.
    Francois.

    Very good idea. Thank you HolgerVogelsang !
    I was beginning to think about that track...
    As I am verylazy : does anybody have some snippet like that?
    Thanks.
    Francois

  • Mounting NFS Drive limitations when using the GUI?

    I mounted a NFS drive in the "Workgroup Manager" and I can't turn on Enable Access Control Lists on this volume" (ACL). Because I don't have ACL on I can't share this volume well using Samba.
    When trying to turn ACL on I get this error: "kErrorChangingACLState"
    However; if I go under the hood of OSX, and mount the NFS volume via Terminal I inherited ACL support. I am not sure if this is dangerous but I can now share the NFS file structure and Samba happily lets the proper people access.
    It seems that ACL is very important to have Windows allow Group access. POSIX support only lets "Everyone" and "User" access. It seems to know that the files is part of the correct group but Windows won't let you on.
    Does anyone know why one can't force the NFS volume in the GUI to have ACL support?
    -Hays

    Thanks cjlim for chiming in.
    This is coming from a Nokia representative in one Disqus forum:
    We've seen many people from US asking for this feature. Right now you can get a direction list before starting your journey, with HERE Maps. From there you can then launch HERE Drive. In HERE Drive you have a map instead, which should show you where it is going to take you. Otherwise we believe that reading a direction list while driving is highly distracting and unsafe.
    Will the lack of compass affect entering trip itinerary in HERE Maps before launching HERE Drive+?

  • Site search limitations when using Spry Widgets

    Currently evaluating search tools to work with Spry
    accordion, tabbed panels and so on. Apparently NONE of them do.
    This is a big problem. Our site uses mostly Dreamweaver spry
    widgets.
    I have tested the very highly rated zoom Search from WrenSoft
    and also expect problems with Google Search and Atomz (based on web
    research I have done).
    If one searches for a word residing in one of the spry tabbed
    panels,accordians (there could be many layers on a single page of
    course), site search engines correctly take you to the page but
    naturally does not open the correct tabbed panel (Zoom Search
    doesn't understand DW code of course). Just presents you with the
    default panel. User would have to dig through all panels on that
    page to find the text. Our users need these nice interfaces. This
    is reality. Also some of the Java script in Wrensoft that
    highlights search words conflicts with existing Java script within
    Dreamweaver. I've worked around some of it but the core issue is
    the landing on the page and opening the correct tab. The question
    is can anyone suggest a search engine tool that will work with
    Dreamweaver Spry widgets or suggest something else. This is a huge
    disincentive to use Spry. Perhaps build pages without Spry to
    specifically go to after search? Sound like a lot of work.
    Thanks
    Richard

    RickRoo wrote:
    > If one searches for a word residing in one of the spry
    tabbed
    > panels,accordians (there could be many layers on a
    single page of course), site
    > search engines correctly take you to the page but
    naturally does not open the
    > correct tabbed panel (Zoom Search doesn't understand DW
    code of course).
    This is not an issue specific to Spry, it's an issue with
    other JavaScript solutions that show and hide content, and it is
    also an issue if CSS is used show and hide content.
    If you have a way to obtain the search terms from the search
    engine page, then you might be able to handle this (based upon your
    description, the WrenSoft JavaScript finds that info out), but then
    you'd also have to have a search engine built within your page that
    will search through the page and figure out what tab the searched
    term(s) are on, and then show that tab, but then what happens when
    you have terms on multiple tabs in a tab group? You'll have to
    determine which search terms are more important than other terms.
    There is code available that will allow you to open specific
    tabs using the showPanel method. Check out the API for the Tabbed
    panel:
    http://labs.adobe.com/technologies/spry/articles/data_api/index.html
    And perhaps take a look at the code for this page (check in
    the linked JavaScript file):
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tp_unobtrusive.js
    As the Spry code is namespaced to specifically prevent
    conflicts with other JavaScript code, it would be good to know what
    those conflicts are so that others can be aware of them to try to
    prevent them in their pages.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Is there a Hard Drive Size Limitation when using Tiger?

    Im going to be setting up a backup server that users can copy their working files to, so Im going to be installing 2 300gb hard drives on a G4 running tiger. I just want to be sure that there is not some hard drive size limitation with tiger.
    Please let me know!!!

    Welcome to Apple Discussions!
    The size limitation is operating system independent. It has to do with the ATA bus on older machines which is discussed in more detail on this article:
    http://docs.info.apple.com/article.html?artnum=86178
    If you have a G4 tower that is older than the resolving of that limitation, you can add a PCI ATA card which supports larger hard drives, many of which are discussed in more detail on http://www.xlr8yourmac.com/
    I'm not sure about sharing external hard drives, though the size limitation does not apply to new external hard drives purchased since that limitation was resolved with newer ATA buses.

  • Is there a file size limitation when using Adobe Send?

    What is the largest file I can upload using Adobe Send?

    At this point, we have resolved the virtually all of the issues that users were encountering with uploading large files through Adobe Send.
    Although there is no 'hard' limit, you should be able to send files of 2GB and larger.

  • Cannot get hardware limits to work when using Lintech switches with a ACR9000 motion controller

    This has been my conversation with Parker Automation.
    From: Susan Connors <[email protected]>
    Date: April 21, 2015 at 8:52:55 AM CDT
    To: Bowlerdusty <[email protected]>
    Subject: Re: ACR 9000
    Hi Dustin,
    Since the product was not purchased from us, or through the Parker website, but through National Instruments, you would need to contact them and they should be able to help.
    Regards,
    Susan
    Susan Connors
    Customer Service Representative
    Cross Company - Automation Group
    Employee Owned Since 1979
    Direct Dial: 704-755-1048 Fax: 704-523-6500
    Toll Free: 1-800-866-4568 ext 5352
    On Mon, Apr 20, 2015 at 4:16 PM, Bowlerdusty <[email protected]> wrote:
    Hi again. Since last speaking, we have gotten the motor to move. The only thing we are struggling on now is getting the hardware limits to work. We are using switches provided by Lintech. One pair of switches is mechanical and the other pair are non-contact reed switches. I found out earlier that the product was purchased from National Instruments Co. Anyway we could receive some help with this?
    Thanks,
    Dustin Brown
    -----Original Message-----
    From: Susan Connors <[email protected]>
    To: Bowlerdusty <[email protected]>
    Sent: Tue, Feb 3, 2015 12:52 pm
    Subject: Re: ACR 9000
    Dustin,
    I am checking with our manager and engineers on this and will let you know.
    Regards,
    Susan
    Susan Connors
    Customer Service Representative
    Cross Company Automation Group - Employee Owned Since 1979
    Direct Dial: 704-755-1048 Fax: 704-523-6500
    [email protected]
    www.cross-automation.com
    Cross Automation Line Card
    We welcome your feedback on our customer support team. Please email my manager: [email protected]
    On Mon, Feb 2, 2015 at 3:10 PM, Bowlerdusty <[email protected]> wrote:
    Could it possibly be under some other name? There are other divisions it could possible be under. This place is also under the U.S. Army Corps of Engineers, so it might be under that name. And if this wasn't purchased from this company, then where was it purchased from? This is the company I was sent to when I contacted the Parker Motion support.
    -----Original Message-----
    From: Susan Connors <[email protected]>
    To: bowlerdusty <[email protected]>
    Sent: Fri, Jan 30, 2015 4:13 pm
    Subject: Fwd: ACR 9000
    Hello,
    We have checked and show no record of your company or this part being purchased from us, so this is not something that we can offer support.
    I do not know of an integrator in your area but you should contact a local one that could possibly help you trouble-shoot any questions you have on this unit.
    Regards,
    Susan
    Susan Connors
    Customer Service Representative
    Cross Company Automation Group - Employee Owned Since 1979
    Direct Dial: 704-755-1048 Fax: 704-523-6500
    [email protected]
    www.cross-automation.com
    Cross Automation Line Card
    We welcome your feedback on our customer support team. Please email my manager: [email protected]
    ---------- Forwarded message ----------
    From: Bowlerdusty <[email protected]>
    Date: Fri, Jan 30, 2015 at 3:59 PM
    Subject: Re: ACR 9000
    To: [email protected]
    Any idea of when I'll get a response?
    -----Original Message-----
    From: AG Sales Fax <[email protected]>
    To: bowlerdusty <[email protected]>
    Sent: Fri, Jan 30, 2015 11:03 am
    Subject: Fwd: ACR 9000
    -- Can you please advise Company name and location so I can forward to appropriate contact?
    ---------- Forwarded message ----------
    From: 'Bowlerdusty' via [email protected] <[email protected]>
    Date: Fri, Jan 30, 2015 at 10:32 AM
    Subject: ACR 9000
    To: [email protected]
    I was told to contact you guys for help with this. Can you be of some assistance?
    -----Original Message-----
    From: jhoagland <[email protected]>
    To: Bowlerdusty <[email protected]>
    Sent: Thu, Jan 29, 2015 3:44 pm
    Subject: Re: ACR9000
    There are free training videos on our website:
    http://www.parkermotion.com/products/Controllers__​6934__30_32_80_567_29.html
    This unit was purchased through Cross Automation.
    They are your local Parker ATC distributor and can give you assistance though the unit is out of warranty.
    Their phone number is: 704-523-2222
    Let me know if there’s any questions. Have a nice day.
    Regards,
    Jonathan
    -----Original Message-----
    From: Bowlerdusty < [email protected]>
    To: emn_applications < [email protected]>
    Sent: Thu, Jan 29, 2015 2:57 pm
    Subject: Fwd: ACR9000
    Here is a pic of the serial number and model number.
    -----Original Message-----
    From: emn_applications < [email protected]>
    To: Bowlerdusty < [email protected]>
    Sent: Thu, Jan 29, 2015 11:36 am
    Subject: Re: ACR9000
    On the other side of the ACR9000 is a label with the model number, SO and
    serial number. Please provide.
    Regards,
    Jonathan
    Application Engineering Team
    [email protected]
    phone 800-358-9070 · international 1-707-584-7558
    www.parkermotion.com
    Parker Hannifin Corporation · Electromechanical Automation, NA
    5500 Business Park Drive · Rohnert Park · CA · 94928
    Bowlerdusty <[email protected]>
    To
    [email protected]
    01/29/2015 09:19 AM
    cc
    Subject
    Re: ACR9000
    I honeslty don't know this information. This stuff was bought at least a
    few years ago. A student who is now gone had put it together a while back.
    There were a lot of binders with it for instructions but none of it was
    very clear to me. I'm sending pictures with the parts I have
    (controller,drive,motor,etc.).
    -----Original Message-----
    From: emn_applications <[email protected]>
    To: Dustin Brown <[email protected]>
    Sent: Wed, Jan 28, 2015 10:17 am
    Subject: Re: ACR9000
    OK. So now you'd program it using the Configuration Wizard in ACR-View and
    the program editor.
    Which Parker ATC distributor did you purchase this through?
    Regards,
    Jonathan
    Application Engineering Team
    [email protected]
    phone 800-358-9070 · international 1-707-584-7558
    www.parkermotion.com
    Parker Hannifin Corporation · Electromechanical Automation, NA
    5500 Business Park Drive · Rohnert Park · CA · 94928
    Dustin Brown <[email protected]>
    To
    [email protected]"
    01/28/2015 07:58 AM <
    [email protected]>
    cc
    Subject
    Re: ACR9000
    Hi thanks for the reply. We got it connected via Ethernet now. We had to
    change the IP address of "local area connection" on the computer to
    192.168.10.1 for it to see the controller. So now that it is connecting to
    the controller, it keeps saying that the drives are all disabled. I have
    one drive connected to the controller in the Axis 0 port.
    Sent from my iPhone
    On Jan 27, 2015, at 3:56 PM, [email protected] wrote:
    > Did you change your PC's IP address?
    >
    > VIDEO: How to set your PC's Ethernet IP address
    >
    http://www.parkermotion.com/dmxreadyv2/faqsmanager​/faqsmanager.asp?category=116&knowledgebase=faqman​...
    >
    >
    > Default is 192.168.10.40
    >
    > Is this a new ACR9000?
    > If you don't know the IP address and the default doesn't work, you'll
    need
    > to connect via USB or serial to get the IP address or reset it.
    >
    > Regards,
    >
    > Jonathan
    >
    > __________________________________________________​______________________
    > Application Engineering Team
    > [email protected]
    > phone 800-358-9070 · international 1-707-584-7558
    > www.parkermotion.com
    > Parker Hannifin Corporation · Electromechanical Automation, NA
    > 5500 Business Park Drive · Rohnert Park · CA · 94928
    >
    >
    >
    >
    >
    >
    >
    > Bowlerdusty <[email protected]>
    To
    >
    [email protected]
    > 01/27/2015 01:48 PM
    cc
    >
    >
    Subject
    > ACR9000
    >
    >
    >
    >
    >
    > I am having a little trouble getting a connection between the ACR view
    > software and the ACR 9000. I am attempting to use an ethernet cable for
    > the connection. Every time I press the "connect" button it says "Failed
    > attempting to connect to controller". Do you have any advice?
    >
    > Thanks,
    > Dustin Brown
    >
    >
    >
    >
    (See attached file: IMG_0864.JPG)(See attached file: IMG_0865.JPG)(See
    attached file: IMG_0866.JPG)(See attached file: IMG_0867.JPG)(See attached
    file: IMG_0868.JPG)(See attached file: IMG_0869.JPG)
    1 Attached Images
    Solved!
    Go to Solution.
    Attachments:
    image.jpg ‏938 KB
    image.jpg ‏1570 KB
    image.jpg ‏767 KB

    Hi thanks for the reply.  Yes I have used the ACR view to specify which inputs to use before.  I used input 0 for the positive limit, input 1 for the negative limit, and input 2 for the home switch.  However, when using ACR view the switch kept displaying that the switch had been tripped when nothing was pressing against it.  I would also try pressing on the mechanical switch to see at least if the value would change but to no avail.
    Attachments:
    image1.JPG ‏1642 KB
    image3 (1).JPG ‏3768 KB
    image2 (1).JPG ‏3247 KB

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • Benefits/ Limitations when we use  SAP HANA Extended and Standard products.

    Hi All,
    We are going to purchase SAP HANA media. Please let me know what are the benefits/ limitations when we use  SAP HANA Extended and Standard products.
    Thanks in Advance,
    Vishall

    Hello,
    please check Master Guide (page 9 - chapter 1.6 Software Components)
    https://service.sap.com/~sapidb/011000358700000604552011
    There you can find edition comparison and detailed description.
    To extract the short summary:
    Platform edition = SAP HANA Database + Studio + Client + Host Agent + Information Composer
    Enterprise edition = (Platform edition) + LT Replication Add-on (SLT) + LT Replication Server (SLT) + SAP BO Data Services
    Enterprise extended edition = (Enterprise edition) + Sybase Adaptive Server Enterprise + Sybase Replication Server + Sybase Replication Server Agent + SAP HANA load controller
    It depends on what licenses you already have and how do you intends to use HANA.
    Platform edition = ETL via BO Data Services (you already have license for BO Data Services)
    Enterprise edition = SLT and/or BO Data Services (including licenses)
    Enterprise extended edition = all replication technologies
    Tomas

  • Rc.conf: A reasonable DAEMONS array when using sysvinit is?

    My latest rc.conf.pacnew suggests that having a reasonable DAEMONS array when using sysvinit is a good thing to have.
    Right now the only line left I am using in my rc.conf is:
    DAEMONS=(syslog-ng net-profiles dbus crond ntpd)
    But is it a reasonable Daemons array?

    If you need a daemon after booting the system, add it to the array. If a daemon requires another daemon, put it after the dependency. If a daemon does neither depend on anything like other daemons or network, put it in the and and write @daemonname to start it in the background. My other rules of thumb used to be: start syslog early, start dbus early.

  • Application crashes when using JNI with Jdk 1,2, 1.3 and 1.4

    Hi!
    I have this application that has a GUI written in Java and a file parser written in C. JNI is used to connect these parts together. The problem is that the application only works when I am using jdk 1.1.8 but not when using jdk1.2, jdk1.3 or jdk1.4. I am running the application on a Solaris 8 machine.
    I have not written the application myself but I am going to be working with it from now on. But I have today little knowledge with JNI and I have tried different approaches to solve the problem. For example I have tried to used DDD together with GDB to find out what the problem is but with no luck. When I run the application using jdk1.4 I get the following error when the JVM crashes:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 10 occurred at PC=0xFA023164
    Function=Java_Bitmap_setDebug+0x1C
    Library=/usr/u/lal/micview/micview2_1_0_beta1/libBitmapImpl.so
    Current Java thread:
    at Bitmap.setDebug(Native Method)
    at DisplayPanel.loadFile(DisplayPanel.java:396)
    at MicPlot.loadFile(MicPlot.java:1452)
    at MicPlot.loadFile(MicPlot.java:1441)
    at MicPlot.miOpen_Action(MicPlot.java:1267)
    at MicPlot$SymAction.actionPerformed(MicPlot.java:1184)
    at java.awt.MenuItem.processActionEvent(MenuItem.java:588)
    at java.awt.MenuItem.processEvent(MenuItem.java:548)
    at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
    at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    Dynamic libraries:
    0x10000 /opt/java/jdk1.4/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff270000 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
    0xfe000000 /opt/java/j2sdk1.4.1/jre/lib/sparc/client/libjvm.so
    0xff220000 /usr/lib/libCrun.so.1
    0xff200000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff1d0000 /usr/lib/libm.so.1
    0xff250000 /usr/lib/libw.so.1
    0xff0e0000 /usr/lib/libmp.so.2
    0xff0b0000 /opt/java/j2sdk1.4.1/jre/lib/sparc/native_threads/libhpi.so
    0xff080000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libverify.so
    0xff030000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libjava.so
    0xfe7e0000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libzip.so
    0xfe4e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xedd00000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libawt.so
    0xfc480000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libmlib_image.so
    0xfc410000 /opt/java/j2sdk1.4.1/jre/lib/sparc/motif21/libmawt.so
    0xeda80000 /usr/dt/lib/libXm.so.4
    0xfa090000 /usr/openwin/lib/libXt.so.4
    0xfa3d0000 /usr/openwin/lib/libXext.so.0
    0xfc7e0000 /usr/openwin/lib/libXtst.so.1
    0xed980000 /usr/openwin/lib/libX11.so.4
    0xfa2a0000 /usr/openwin/lib/libdps.so.5
    0xfa3b0000 /usr/openwin/lib/libSM.so.6
    0xfa1d0000 /usr/openwin/lib/libICE.so.6
    0xed880000 /opt/java/j2sdk1.4.1/jre/lib/sparc/libfontmanager.so
    0xfa390000 /usr/openwin/lib/locale/common/xlibi18n.so.2
    0xfa1b0000 /usr/openwin/lib/locale/iso8859-1/xomEuro.so.2
    0xfa190000 /usr/lib//liblayout.so
    0xfa050000 /usr/openwin/lib/locale/common/ximlocal.so.2
    0xfa010000 /usr/u/lal/micview/micview2_1_0_beta1/libBitmapImpl.so
    Local Time = Thu Oct 3 13:32:47 2002
    Elapsed Time = 35
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1-beta-b14 mixed mode)
    # An error report file has been saved as hs_err_pid27692.log.
    # Please refer to the file for further information.
    Abort
    From this information I think that the problem should be in the native method setDebug. But I have tried to set a breakpoint at the beginning of that function in the C part but with no luck. The application crashes before it reaches that position in the C file.
    What could possibly go wrong between the setDebug function in the C part and the function call in the Java part?
    When using GDB, GDB cannot figure out what is wrong it just returns a hex address, no function name.
    I would really appreciate some help. I have tried everything that I can come up with!
    Best regards
    Lars

    I have figured out that the application fails on its first call to the native methods.
    So I have this Bitmap class that contains all the native calls and it is defined shortly as follow:
    public class Bitmap {
    static {
    System.loadLibrary("BitmapImpl");
    native void setDebug(int debuglevel, int statistics);
    There are many more native methods defined in Bitmap, but I only show the setDebug method because that is the first one that is executed and also the one that immediately fails.
    My setDebug C function is defined as follow in BitmapImpl.c
    #include <time.h>
    #include <stdio.h>
    #include <limits.h>
    #include <fcntl.h>
    #include <jni.h>
    #include <math.h>
    #include <errno.h>
    #include "Bitmap.h"
    #include "data.h"
    jint debug = 0;
    jint statistics = 1;
    JNIEXPORT void JNICALL Java_Bitmap_setDebug
    (JNIEnv *jenv, jobject jo, jint d, jint s)
    debug = d;
    statistics = s;
    My libBitmapImpl.so file is compiled using the following Makefile and using GNU gcc:
    JAVAPATH=$(JAVAINCLUDEPATH)
    LMACRO=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOLARIS
    CSOURCE=BitmapImpl.c
    all:
    gcc -O3 -G $(LMACRO) -I$(JAVAPATH) -I$(JAVAPATH)/solaris \
    $(CSOURCE) -o libBitmapImpl.so
    It is still a total mystory why the application fails. I have tried it on a RedHat Linux machine and there it works fine. But not on Solaris. Only if I use the jdk1.1.8 but not a later one.
    Would really appreiciate some help!
    Best regards
    Lars

  • How to force simple tags and null attributes to appear when using SQL/XML?

    Hello everybody:
    I'm developing a non-schema based XMLType view.
    When the XML document is generated, i noticed two things I need to manage in order to achieve the desired result:
    1. Oracle generates a <tag></tag> pair for each XMLELEMENT defined; in my case, some tags need to appear as <tag/>... how do I do? Is it possible when using schema based XMLType views? Is it possible while using a non-schema approach?
    2. When using XMLATTRIBUTE('' AS "attribute") or XMLATTRIBUTE(NULL AS "attribute"), no one attribute with label "attribute" and null value appears at the output; how do I force to Oracle DB to render those attributes which are with no values (needed to render those attributes as another parsing code will await for all the items)?
    3. Some tip about how to route the output to an XML text disk file will be appreciated.
    Thanks in advance.
    Edited by: Enyix on 26/02/2012 11:21 PM
    Edited by: Enyix on 26/02/2012 11:22 PM

    Hello odie_63, thanks for your reply:
    Reasons why needed single tags are these two next: Needed to generate a single XML file from 50,000,000 rows, where the XML ouput matches not only row data but another default values for another elements and attributes (not from database but using strings and types with default values); by using start and end tag, the generated file is as much twice bigger than using single tags; second, needed a very precise presentation for all the document.
    For generating that document, currently focus is based on using a batch process relying on Spring Batch with using a single JDBC query where a join happens between two tables. From my point of view, that approach uses: database resources, network resources, disk resources, and processing resources, including the price of making the join, sending to network, creating objects, validating, and making the file (Expending too much time generating that XML file). That processs currently is in development.
    I think possibly another approach is delegating the complete generation of that file to the database using its XML capabilities. My current approach following your recomendations is to generate a clob where I will put all the XML and putting it into a table. It leads me to another issues: Considering limitations on memory, processing and disk space, needed to append a single row-as-xml into the clob as soon as possible, and putting the clob inside the field as soon as possible, or putting the clob inside the field, and appending into it as the data is generated; so How do I manage the process in order to achieve that goals?. Seen these issues aren't related to my original question, so I'll open a new post. Any help will be apreciated.
    Thanks again in advance.

Maybe you are looking for

  • Prob in O/P with adobe forms

    HI, I am creating the table in Adobe forms using the subforms I am following the example in SAP TECHNICAL which is 6th one from top I couldnt paste the link as its not allowing me 2 do I places a logo on the page and below that I have a Table. The Ta

  • Charing iPod with iGo charger

    So I got the generic USB tip for the iGo charger. This is just a USB power port. I use a mini dock on my iPod to get line out while I'm in my car, and it has a USB in for charging. However, when I connect the USB it does not charge. Does anyone know

  • Bapi or user-exit to create warning in invoice

    Hi, I was askes to create a warning whenever someone pushes delete within an invoice (mir7). The problem is that our users are not aware, that they are really going to delete not only the marked position within the invoice but the whole invoice. I´ve

  • Tree for file system

    hi frndzz, I want to represent the file system using a jtree?please send the code fragment............... and also how to know which operating system under the app is running in java? Thanks in advance

  • 720p60 P2/HD Dropped Frame Issue

    I'm having a dropped frame issue in FCP with some P2 720-60p footage. I can't get it to play through a sequence without freezing and giving me a warning. We've narrowed it down to an apparent processor issue. There are two tracks of audio (a stereo p