Trouble configuring custom SAF

I'm trying to start developing my own SAF but I'm having trouble with my first step of getting a very basic SAF to work. At this point I'm just trying to get every request rejected to show my SAF is doing something, but it's not working at all (all requests accepted).
I'm starting with the QOS sample SAF that comes with the build. This is Sun Java System Web Server 7, on CentOS.
I'm going to show some of the details because I suspect it's something very basic/simple that I'm doing wrong.
The highlights of my SAF code is:
NSAPI_PUBLIC int requestLimit(pblock *pb, Session *sn, Request *rq)
    PRBool ok = PR_TRUE;
    ok = PR_FALSE;
        protocol_status(sn, rq, PROTOCOL_SERVICE_UNAVAILABLE, NULL);
        return REQ_ABORTED;
//The rest of this function's code should be irrelevant at this point
//I just hard coded the return above to try to get something working
    if (ok)
        return REQ_PROCEED;
    else
        /* one of the limits was exceeded
           therefore, we set HTTP error 503 "server too busy" */
        protocol_status(sn, rq, PROTOCOL_SERVICE_UNAVAILABLE, NULL);
        return REQ_ABORTED;
NSAPI_PUBLIC int requestLimitError(pblock *pb, Session *sn, Request *rq)
     char* err_header = "<HTML><HEAD><TITLE>Unable to service request</TITLE></HEAD><BODY>";
     char* error = "Limits Exceeded";
     char* err_footer = "</BODY></HTML>";
    PRBool ours = PR_FALSE;
    /* Tests to see if this 503 error is a request limit error */
    ours = PR_TRUE; //hard coding true for now
    if (ours)
        /* this was really a QOS failure, therefore send the error page */
        pb_param *pp = pblock_remove ("content-type", rq->srvhdrs);
        if (pp != NULL)
             param_free (pp);
        pblock_nvinsert ("content-type", "text/html", rq->srvhdrs);
        protocol_start_response(sn, rq);
          net_write(sn->csd, err_header, strlen(err_header));
        net_write(sn->csd, error, strlen(error));
          net_write(sn->csd, err_footer, strlen(err_footer));
        return REQ_PROCEED;
    else
        /* this 503 didn't come from a QOS SAF failure, let someone else handle it */
        return REQ_PROCEED;
}I've adjusted the Makefile:
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Defines for example NSAPI programs running under Linux
CC_CMD=/usr/bin/gcc -fpic -DNET_SSL -DLinux -DLINUX -D_REENTRANT
LD_SHAREDCMD=/usr/bin/gcc -shared
# Support for including NSPR header files under JES(Linux)
EXTRA_INCLUDEFLAGS=-I/opt/sun/private/include/nspr
all:
prepare:
INCLUDEDIR=../../../include
INCLUDE_FLAGS=-I$(INCLUDEDIR) -I$(INCLUDEDIR)/base -I$(INCLUDEDIR)/frame -I$(INCLUDEDIR)/nspr $(EXTRA_INCLUDEFLAGS)
COMMON_DEFS=-DMCC_HTTPD -DXP_UNIX -DSPAPI20
all: share.so
share.so: share.o
     $(MAKE) prepare
     $(LD_SHAREDCMD) share.o -o share.so $(EXTRA_LDDEFINES)
.c.o:
     $(CC_CMD) $(COMMON_DEFS) $(INCLUDE_FLAGS) -c $<
clean:
     rm *.o *.so $(EXTRA_CLEAN)The magnus.conf file in /sun/webserver7/https-localhost.localdomain/config is:
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
Init fn="load-modules" shlib="libj2eeplugin.so"
Init fn="load-modules" shlib="/sun/webserver7/samples/nsapi/share/share.so" funcs="requestLimit,requestLimitError"
#Init fn="load-modules" shlib="/sun/webserver7/https-localhost.localdomain/lib/test.so" funcs="custom_request_limits" shlibs_flags="(global|now)"The last line above is commented out from an earlier experiment
The obj.conf file in /sun/webserver7/https-localhost.localdomain/config is:
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
# You can edit this file, but comments and formatting changes
# might be lost when you use the administration GUI or CLI.
<Object name="default">
AuthTrans fn="requestLimit"
Error fn="requestLimitError" code="503"
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
#NameTrans fn="custom_request_limits"
NameTrans fn="assign-name" from="**/**.html" name="**/**.html"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/sun/webserver7/lib/icons" name="es-internal"
PathCheck fn="uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index-j2ee"
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
ObjectType fn="type-j2ee"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="*" type="*" fn="requestLimit"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
Service method="TRACE" fn="service-trace"
Error fn="error-j2ee"
AddLog fn="flex-log"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>
<Object name="send-precompressed">
PathCheck fn="find-compressed"
</Object>
<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>
<Object name="**/**.html">
#NameTrans fn="custom_request_limits"
</Object>I have stopped the server with /sun/webserver7/https-localhost.localdomain/bin/stopserv, confirmed the site was not responding, then started it with /sun/webserver7/https-localhost.localdomain/bin/startserv
At this point, I believe the SAF should be blocking all requests to the server, but it doesn't. All requests are handled as before. I've cleared my browser cache to make sure it's really requesting the files from the server.
A few trouble shooting tests:
I've tried deleting the share.so file and making sure it is restored by 'Make'. Make does not report any errors.
I've intentionally changed the names of the functions in share.c to ones that don't match to make sure the server is looking for them, and that does prompt an error when I restart the server.
I've intentially changed the fn names in the magnus.conf file to ones that don't match, and that also prompts errors when I restart the server.
However, if I change the fn name in the obj.conf AuthTrans line, that does NOT prompt any errors. So I wonder if the obj.conf file is being used, but I'm not sure what else/different to do with it.
I've tried changing the obj.conf file to hook in my SAF at differnent points (NameTrans, Service), but nothing seems to have an effect.
I'm all out of ideas. Any suggestions (oh please, oh please) ?
Edited by: timwhunt on Apr 23, 2009 2:29 PM

Thanks for suggesting the logs, that's a lession I seem to have to learn many times!
I've only found one line that looks related, and it's from the server startup:
[23/Apr/2009:16:07:51] fine (26232): attempting to load /sun/webserver7/samples/nsapi/share/share.so
There's no indication of any error after that attempted load. When I intentionally changed names so they didn't match yesterday, that did prompt an earlier error in the log that I found. But there are no errors now that I've restored the correct name.
It doesn't add anything to the error log in response to a request, except for perhaps another entry like:
[23/Apr/2009:16:20:39] fine (26237): Updating accelerator cache
But nothing specific about SAFs. There is also no reference at all to the obj.conf file.

Similar Messages

  • How to configure custom error page in WebServer 6.1 if instance is down

    Hi ,
    I have deployed an application on port 82.
    If the instance is down, want to configure custom error page in Sun One Webserver 6.1 so that the it displays a customised message rather than browser displaying its custom DNS error page.
    In web.xml, configured the 404/500 error messages, but if the instance is down, my web application does not receive the request. So it should be defined at the root level.Where to configure the same?
    Thanks for the help in advance.

    You can use Error function "send-error" http://docs.sun.com/source/817-1834-10/crobjsaf.html#wp20007
    It has an example
    Error fn=send-error code=401 path=/sun/server61/docs/errors/401.html

  • I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes does not have a ringtone tab.  I can not sync the ringtones.

    I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes library does not have a ringtones tab.  I can not sync the ringtones (or I don't know how)!  Please help.

    Yes, the file extension is M4R.  Does it matter where I save these files on my Macbook?  I then opened them in Itunes and played them.  I did find the Tones folder in Itunes but the Tones or Ringtones tab does not show up when I select Iphone (within Itunes).  When I open the Tones folder in the Library, it is empty.  Thanks in advance for your help.

  • How to configure customer KB in partneer functions

    hi,
    sap gurus,
    how to configure customer "KB" - partner function in partner determination procedure which is use ful for credit management.
    plz help me on this
    my id is [email protected]
    regards,
    balaji.t
    09990019711.

    Hi,
    Go to
    *IMG -- SD -- Basic functions -- partner determination -- setup partner determination -
    Set Up Partner Determination for Customer Master ---*
    Find the procedure which is assigned to your account group... you can view this at partner determination  procedure assignment...
    then select the procudure in partner detremination procedures. and then select the partner funtions in procedure...  here add the partner funtion KB in partner funtion and mark it as mandatory by checking the check box in the last mandatory function
    Muthu
    Edited by: Muthupandiyan on Mar 28, 2008 2:02 PM

  • Configure custom query group in navigation menu

    How do we configure custom query groups? Say for example: I have created a custom query group and added my custom query definitions to it. How do I configure this so that when I click on Contract Management Tab on the workbench, my custom query group is invoked?
    I need to configure custom query group in navigation menu. Any help would be appreciated.
    Regards,
    Bindu Sharma

    Hi Bindu,
    As per my understanding, it is standard and query group cannot be added in the navigation but you can add your quries under Agreement and Claus Library.
    Kindly refer the blog for the same: http://scn.sap.com/docs/DOC-55733
    Let me know if you need any other information.
    Thanks,
    Kushagra A

  • Trouble loading custom saved Premiere Pro CS6 keyboard shortcuts

    Hello Everyone,
    I'm having trouble loading custom saved Premiere Pro CS6 keyboard shortcuts. I have a saved .kys set-up file but there is no load button visible in the Keyboard Shortcuts dialog. It took a while to make the shortcuts. Very frustrating. Any tips appreciated.
    Thanks,
    FB

    IIRC ..the "load" is done from a drop down menu giving you the choices of the Default Presets as well as your custom set.  NAmed as per  "whatever.kys"
    Did you create them in your current Premiere or are you importing them from elsewhere?

  • I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    Do you even know how to nuke and re-set Photoshop's preferences, colorplak?  Your last post seems to reveal that you don't understand what I'm talking about. Here's a link you can click on:
    Preference file functions, names, locations | Photoshop CC
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CC Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    Note for Photoshop 14.1 and later: If you use Generator and reset your Preferences, Generator is disabled. Choose Preferences > Plug-ins to turn it back on.
    Video: Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • How will i configure customer mass maintanance

    how will i configure customer mass maintainance for a given no of customers.....

    hello, friend.
    by mass maintenance, do you mean using t-codes MASS and XD99?
    i believe there is no configuration required for this.  you just have to set up your enterprise structure (sales org, distribution channel, division, sales office, sales group, etc.) to enable you to filter your master data so that only the relevant ones will be maintained en masse.
    regards.

  • Apple Configurator custom iOS version option

    As of last week, Apple Configurator custom iOS version option seems to be failing out.Previously we were able to install or upgrade to iOS 8.1.3 instead of iOS 8.2 until we have tested applications to confirm they are working on the latest iOS version. When using the custom iOS version, it fails out during the iOS install issue.
    It also appears the iTunes will no longer let a device be restored to the 8.1.3 ipsw either.
    Has anyone else experienced this issue?

    Dear HyperNova,
    Firstly I thank you for your prompt reply to my question. However I do object to your response that you "seriously doubt anyone from Apple would tell me that" - are you seriously questioning my integrity that I would post that if not true! It is no wonder that people shy away from posting on forums when they get that sort of response.
    I was advised by the support person I spoke to that it was intended for developer previews but that I could try it for earlier versions of iOS. It may not be a "supported' feature - but I WAS advised by Apple support that I could do this and it worked.

  • Configuring Custom Popup messages.

    Hi
    I created a Calculated Field (Ex:Calculated Account) and the value of the calculated field is another single value field (Ex: [Account]) and Required, Force Active Properties to Calculated Field are put it as True. If i am not enter value for the Account it displays error pop up message as "Calculated Account is a required field.Please enter a value for the field (SBL-DAT-00498)". But my requirement is i want to pop up a custom message (like "Account is required"). How i can change that error message using configuration.
    Thanks & Regards

    Hey,
    One of the way is you can handle this through eScript.
    Siebel message is coming up during wirte record event for the BC and you can validate the same at prewrite record and do the exception handling there!!!
    Cheers
    ~

  • Trouble with custom kernel for EeePC 1000H and bluetooth

    I believe I've got pretty much everything working on my 1000H except for bluetooth. I can't seem to get the hardware working. The module is loaded, and dmesg has references to bluetooth, but blueman does not list the adapter, and running "hcitool scan" from the command line returns "Device is not available: No such device".
    I've enabled every bluetooth-related item I can find in the kernel, so I don't see what I'm missing. I did import the config from the stock kernel, where bluetooth was working fine.
    # /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/Los_Angeles"
    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="no"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(atl1e rt2860sta rndis_host cdc_ether usbnet rfkill acpi-cpufreq pciehp intel_agp snd-hda-intel !snd-pcsp bluetooth !eeepc_laptop)
    # 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="sprice-l"
    # 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"
    wlan0="dhcp"
    INTERFACES=(!eth0 !wlan0)
    # 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=(main)
    # 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 !network @acpid @crond hal networkmanager netfs bluetooth @alsa @openntpd gdm)
    dmesg:
    Linux version 2.6.32-ARCH (root@sprice-l) (gcc version 4.4.2 20091208 (prerelease) (GCC) ) #5 SMP PREEMPT Tue Dec 29 09:02:31 PST 2009
    KERNEL supported cpus:
    Intel GenuineIntel
    AMD AuthenticAMD
    NSC Geode by NSC
    Cyrix CyrixInstead
    Centaur CentaurHauls
    Transmeta GenuineTMx86
    Transmeta TransmetaCPU
    UMC UMC UMC UMC
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000e2000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000003f7a0000 (usable)
    BIOS-e820: 000000003f7a0000 - 000000003f7ae000 (ACPI data)
    BIOS-e820: 000000003f7ae000 - 000000003f7f0000 (ACPI NVS)
    BIOS-e820: 000000003f7f0000 - 000000003f800000 (reserved)
    BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
    DMI present.
    AMI BIOS detected: BIOS may corrupt low RAM, working around it.
    e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
    last_pfn = 0x3f7a0 max_arch_pfn = 0x100000
    MTRR default type: uncachable
    MTRR fixed ranges enabled:
    00000-9FFFF write-back
    A0000-DFFFF uncachable
    E0000-EFFFF write-through
    F0000-FFFFF write-protect
    MTRR variable ranges enabled:
    0 base 000000000 mask 0C0000000 write-back
    1 base 03F800000 mask 0FF800000 uncachable
    2 disabled
    3 disabled
    4 disabled
    5 disabled
    6 disabled
    7 disabled
    x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Scanning 0 areas for low memory corruption
    modified physical RAM map:
    modified: 0000000000000000 - 0000000000010000 (reserved)
    modified: 0000000000010000 - 000000000009fc00 (usable)
    modified: 000000000009fc00 - 00000000000a0000 (reserved)
    modified: 00000000000e2000 - 0000000000100000 (reserved)
    modified: 0000000000100000 - 000000003f7a0000 (usable)
    modified: 000000003f7a0000 - 000000003f7ae000 (ACPI data)
    modified: 000000003f7ae000 - 000000003f7f0000 (ACPI NVS)
    modified: 000000003f7f0000 - 000000003f800000 (reserved)
    modified: 00000000fee00000 - 00000000fee01000 (reserved)
    modified: 00000000fff80000 - 0000000100000000 (reserved)
    initial memory mapped : 0 - 01c00000
    init_memory_mapping: 0000000000000000-00000000377fe000
    0000000000 - 0000400000 page 4k
    0000400000 - 0037400000 page 2M
    0037400000 - 00377fe000 page 4k
    kernel direct mapping tables up to 377fe000 @ 10000-15000
    RAMDISK: 3f735000 - 3f78fc32
    Allocated new RAMDISK: 00011000 - 0006bc32
    Move RAMDISK from 000000003f735000 - 000000003f78fc31 to 00011000 - 0006bc31
    ACPI: RSDP 000fb9f0 00014 (v00 ACPIAM)
    ACPI: RSDT 3f7a0000 0003C (v01 A_M_I_ OEMRSDT 08000801 MSFT 00000097)
    ACPI: FACP 3f7a0200 00084 (v02 A_M_I_ OEMFACP 08000801 MSFT 00000097)
    ACPI: DSDT 3f7a05b0 05050 (v01 A1028 A1028000 00000000 INTL 20051117)
    ACPI: FACS 3f7ae000 00040
    ACPI: APIC 3f7a0390 0005C (v01 A_M_I_ OEMAPIC 08000801 MSFT 00000097)
    ACPI: MCFG 3f7a03f0 0003C (v01 A_M_I_ OEMMCFG 08000801 MSFT 00000097)
    ACPI: OEMB 3f7ae040 00061 (v01 A_M_I_ AMI_OEM 08000801 MSFT 00000097)
    ACPI: HPET 3f7a5600 00038 (v01 A_M_I_ OEMHPET 08000801 MSFT 00000097)
    ACPI: SSDT 3f7aeb80 004F0 (v01 PmRef CpuPm 00003000 INTL 20051117)
    ACPI: Local APIC address 0xfee00000
    127MB HIGHMEM available.
    887MB LOWMEM available.
    mapped low ram: 0 - 377fe000
    low ram: 0 - 377fe000
    node 0 low ram: 00000000 - 377fe000
    node 0 bootmap 0006c000 - 00072f00
    (9 early reservations) ==> bootmem [0000000000 - 00377fe000]
    #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
    #1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
    #2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
    #3 [0001000000 - 000167a084] TEXT DATA BSS ==> [0001000000 - 000167a084]
    #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
    #5 [000167b000 - 00016821fc] BRK ==> [000167b000 - 00016821fc]
    #6 [0000010000 - 0000011000] PGTABLE ==> [0000010000 - 0000011000]
    #7 [0000011000 - 000006bc32] NEW RAMDISK ==> [0000011000 - 000006bc32]
    #8 [000006c000 - 0000073000] BOOTMAP ==> [000006c000 - 0000073000]
    found SMP MP-table at [c00ff780] ff780
    Zone PFN ranges:
    DMA 0x00000010 -> 0x00001000
    Normal 0x00001000 -> 0x000377fe
    HighMem 0x000377fe -> 0x0003f7a0
    Movable zone start PFN for each node
    early_node_map[2] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0003f7a0
    On node 0 totalpages: 259887
    free_area_init_node: node 0, pgdat c1548600, node_mem_map c1684200
    DMA zone: 32 pages used for memmap
    DMA zone: 0 pages reserved
    DMA zone: 3951 pages, LIFO batch:0
    Normal zone: 1744 pages used for memmap
    Normal zone: 221486 pages, LIFO batch:31
    HighMem zone: 256 pages used for memmap
    HighMem zone: 32418 pages, LIFO batch:7
    Using APIC driver default
    ACPI: PM-Timer IO Port: 0x808
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
    ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Enabling APIC mode: Flat. Using 1 I/O APICs
    Using ACPI (MADT) for SMP configuration information
    ACPI: HPET id: 0xffffffff base: 0xfed00000
    SMP: Allowing 2 CPUs, 0 hotplug CPUs
    nr_irqs_gsi: 24
    PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
    PM: Registered nosave memory: 00000000000a0000 - 00000000000e2000
    PM: Registered nosave memory: 00000000000e2000 - 0000000000100000
    Allocating PCI resources starting at 3f800000 (gap: 3f800000:bf600000)
    Booting paravirtualized kernel on bare hardware
    NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1
    PERCPU: Embedded 13 pages/cpu @c2000000 s29720 r0 d23528 u2097152
    pcpu-alloc: s29720 r0 d23528 u2097152 alloc=1*4194304
    pcpu-alloc: [0] 0 1
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257855
    Kernel command line: root=/dev/disk/by-uuid/21e88bd5-5449-4926-8ed4-80fce8263ceb ro
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Initializing CPU#0
    Initializing HighMem for node 0 (000377fe:0003f7a0)
    Memory: 1023012k/1040000k available (4034k kernel code, 16100k reserved, 1396k data, 408k init, 130696k highmem)
    virtual kernel memory layout:
    fixmap : 0xfff1e000 - 0xfffff000 ( 900 kB)
    pkmap : 0xff800000 - 0xffc00000 (4096 kB)
    vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
    lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
    .init : 0xc154e000 - 0xc15b4000 ( 408 kB)
    .data : 0xc13f08c2 - 0xc154daf8 (1396 kB)
    .text : 0xc1000000 - 0xc13f08c2 (4034 kB)
    Checking if this processor honours the WP bit even in supervisor mode...Ok.
    SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:512
    Console: colour VGA+ 80x25
    console [tty0] enabled
    hpet clockevent registered
    HPET: 3 timers in total, 0 timers will be used for per-cpu timer
    Fast TSC calibration using PIT
    Detected 1596.133 MHz processor.
    Calibrating delay loop (skipped), value calculated using timer frequency.. 3193.27 BogoMIPS (lpj=5320443)
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: L1 I cache: 32K, L1 D cache: 24K
    CPU: L2 cache: 512K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    mce: CPU supports 5 MCE banks
    CPU0: Thermal monitoring enabled (TM2)
    using mwait in idle threads.
    Performance Events: Atom events, Intel PMU driver.
    ... version: 3
    ... bit width: 40
    ... generic registers: 2
    ... value mask: 000000ffffffffff
    ... max period: 000000007fffffff
    ... fixed-purpose events: 3
    ... event mask: 0000000700000003
    Checking 'hlt' instruction... OK.
    ACPI: Core revision 20090903
    ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    CPU0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz stepping 02
    Booting processor 1 APIC 0x1 ip 0x6000
    Initializing CPU#1
    Calibrating delay using timer specific routine.. 3193.98 BogoMIPS (lpj=5319968)
    CPU: L1 I cache: 32K, L1 D cache: 24K
    CPU: L2 cache: 512K
    CPU: Physical Processor ID: 0
    CPU: Processor Core ID: 0
    CPU1: Thermal monitoring enabled (TM2)
    CPU1: Intel(R) Atom(TM) CPU N270 @ 1.60GHz stepping 02
    checking TSC synchronization [CPU#0 -> CPU#1]: passed.
    Brought up 2 CPUs
    Total of 2 processors activated (6386.25 BogoMIPS).
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 0 (cpu_power = 589) 1 (cpu_power = 589)
    domain 1: span 0-1 level MC
    groups: 0-1 (cpu_power = 1178)
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 1 (cpu_power = 589) 0 (cpu_power = 589)
    domain 1: span 0-1 level MC
    groups: 0-1 (cpu_power = 1178)
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 63
    PCI: Not using MMCONFIG.
    PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
    PCI: Using configuration type 1 for base access
    bio: create slab <bio-0> at 0
    ACPI: EC: Look up EC in DSDT
    ACPI: Executed 1 blocks of module-level executable AML code
    ACPI: Interpreter enabled
    ACPI: (supports S0 S3 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 63
    PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
    PCI: Using MMCONFIG for extended config space
    ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
    ACPI: No dock devices found.
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:02.0: reg 10 32bit mmio: [0xf7f00000-0xf7f7ffff]
    pci 0000:00:02.0: reg 14 io port: [0xdc00-0xdc07]
    pci 0000:00:02.0: reg 18 32bit mmio pref: [0xd0000000-0xdfffffff]
    pci 0000:00:02.0: reg 1c 32bit mmio: [0xf7ec0000-0xf7efffff]
    pci 0000:00:02.1: reg 10 32bit mmio: [0xf7f80000-0xf7ffffff]
    pci 0000:00:1b.0: reg 10 64bit mmio: [0xf7eb8000-0xf7ebbfff]
    pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1b.0: PME# disabled
    pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.0: PME# disabled
    pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.1: PME# disabled
    pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
    pci 0000:00:1c.3: PME# disabled
    pci 0000:00:1d.0: reg 20 io port: [0xd400-0xd41f]
    pci 0000:00:1d.1: reg 20 io port: [0xd480-0xd49f]
    pci 0000:00:1d.2: reg 20 io port: [0xd800-0xd81f]
    pci 0000:00:1d.3: reg 20 io port: [0xd880-0xd89f]
    pci 0000:00:1d.7: reg 10 32bit mmio: [0xf7eb7c00-0xf7eb7fff]
    pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
    pci 0000:00:1d.7: PME# disabled
    pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
    pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0380 (mask 0003)
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0290 (mask 0007)
    pci 0000:00:1f.0: ICH7 LPC Generic IO decode 3 PIO at 0068 (mask 0003)
    pci 0000:00:1f.2: reg 10 io port: [0x00-0x07]
    pci 0000:00:1f.2: reg 14 io port: [0x00-0x03]
    pci 0000:00:1f.2: reg 18 io port: [0x00-0x07]
    pci 0000:00:1f.2: reg 1c io port: [0x00-0x03]
    pci 0000:00:1f.2: reg 20 io port: [0xffa0-0xffaf]
    pci 0000:00:1f.2: PME# supported from D3hot
    pci 0000:00:1f.2: PME# disabled
    pci 0000:03:00.0: reg 10 64bit mmio: [0xfbfc0000-0xfbffffff]
    pci 0000:03:00.0: reg 18 io port: [0xec00-0xec7f]
    pci 0000:03:00.0: PME# supported from D3hot D3cold
    pci 0000:03:00.0: PME# disabled
    pci 0000:00:1c.1: bridge io port: [0xe000-0xefff]
    pci 0000:00:1c.1: bridge 32bit mmio: [0xfbf00000-0xfbffffff]
    pci 0000:01:00.0: reg 10 32bit mmio: [0xfbef0000-0xfbefffff]
    pci 0000:01:00.0: PME# supported from D0 D3hot
    pci 0000:01:00.0: PME# disabled
    pci 0000:00:1c.3: bridge 32bit mmio: [0xf8000000-0xfbefffff]
    pci 0000:00:1c.3: bridge 64bit mmio pref: [0xf0000000-0xf6ffffff]
    pci 0000:00:1e.0: transparent bridge
    pci_bus 0000:00: on NUMA node 0
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P7._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 *7 10 11 12 14 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 12 14 15)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
    ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15)
    vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    PCI: Using ACPI for IRQ routing
    NetLabel: Initializing
    NetLabel: domain hash size = 128
    NetLabel: protocols = UNLABELED CIPSOv4
    NetLabel: unlabeled traffic allowed by default
    Switching to clocksource tsc
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 13 devices
    ACPI: ACPI bus type pnp unregistered
    system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
    system 00:08: ioport range 0x25c-0x25f has been reserved
    system 00:08: ioport range 0x380-0x383 has been reserved
    system 00:08: ioport range 0x400-0x41f has been reserved
    system 00:08: ioport range 0x4d0-0x4d1 has been reserved
    system 00:08: ioport range 0x800-0x87f has been reserved
    system 00:08: ioport range 0x480-0x4bf has been reserved
    system 00:08: iomem range 0x8c000000-0x8c01ffff has been reserved
    system 00:08: iomem range 0xfed1c000-0xfed1ffff has been reserved
    system 00:08: iomem range 0xfed20000-0xfed3ffff has been reserved
    system 00:08: iomem range 0xfed50000-0xfed8ffff has been reserved
    system 00:08: iomem range 0xffb00000-0xffbfffff has been reserved
    system 00:08: iomem range 0xfff00000-0xffffffff could not be reserved
    system 00:0a: iomem range 0xfec00000-0xfec00fff could not be reserved
    system 00:0a: iomem range 0xfee00000-0xfee00fff has been reserved
    system 00:0b: iomem range 0xe0000000-0xe3ffffff has been reserved
    system 00:0c: iomem range 0x0-0x9ffff could not be reserved
    system 00:0c: iomem range 0xc0000-0xcffff could not be reserved
    system 00:0c: iomem range 0xe0000-0xfffff could not be reserved
    system 00:0c: iomem range 0x100000-0x3f7fffff could not be reserved
    pci 0000:00:1c.0: PCI bridge, secondary bus 0000:04
    pci 0000:00:1c.0: IO window: 0x1000-0x1fff
    pci 0000:00:1c.0: MEM window: 0x40000000-0x401fffff
    pci 0000:00:1c.0: PREFETCH window: 0x00000040200000-0x000000403fffff
    pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
    pci 0000:00:1c.1: IO window: 0xe000-0xefff
    pci 0000:00:1c.1: MEM window: 0xfbf00000-0xfbffffff
    pci 0000:00:1c.1: PREFETCH window: 0x00000040400000-0x000000405fffff
    pci 0000:00:1c.3: PCI bridge, secondary bus 0000:01
    pci 0000:00:1c.3: IO window: 0x2000-0x2fff
    pci 0000:00:1c.3: MEM window: 0xf8000000-0xfbefffff
    pci 0000:00:1c.3: PREFETCH window: 0x000000f0000000-0x000000f6ffffff
    pci 0000:00:1e.0: PCI bridge, secondary bus 0000:05
    pci 0000:00:1e.0: IO window: disabled
    pci 0000:00:1e.0: MEM window: disabled
    pci 0000:00:1e.0: PREFETCH window: disabled
    pci 0000:00:1c.0: enabling device (0104 -> 0107)
    pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:1c.0: setting latency timer to 64
    pci 0000:00:1c.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    pci 0000:00:1c.1: setting latency timer to 64
    pci 0000:00:1c.3: enabling device (0106 -> 0107)
    pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    pci 0000:00:1c.3: setting latency timer to 64
    pci 0000:00:1e.0: setting latency timer to 64
    pci_bus 0000:00: resource 0 io: [0x00-0xffff]
    pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
    pci_bus 0000:04: resource 0 io: [0x1000-0x1fff]
    pci_bus 0000:04: resource 1 mem: [0x40000000-0x401fffff]
    pci_bus 0000:04: resource 2 pref mem [0x40200000-0x403fffff]
    pci_bus 0000:03: resource 0 io: [0xe000-0xefff]
    pci_bus 0000:03: resource 1 mem: [0xfbf00000-0xfbffffff]
    pci_bus 0000:03: resource 2 pref mem [0x40400000-0x405fffff]
    pci_bus 0000:01: resource 0 io: [0x2000-0x2fff]
    pci_bus 0000:01: resource 1 mem: [0xf8000000-0xfbefffff]
    pci_bus 0000:01: resource 2 pref mem [0xf0000000-0xf6ffffff]
    pci_bus 0000:05: resource 3 io: [0x00-0xffff]
    pci_bus 0000:05: resource 4 mem: [0x000000-0xffffffff]
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    NET: Registered protocol family 1
    pci 0000:00:02.0: Boot video device
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 363k freed
    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
    apm: disabled - APM is not SMP safe.
    Scanning for low memory corruption every 60 seconds
    audit: initializing netlink socket (disabled)
    type=2000 audit(1262112860.302:1): initialized
    highmem bounce pool size: 64 pages
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Slow work thread pool: Starting up
    Slow work thread pool: Ready
    NTFS driver 2.1.29 [Flags: R/W DEBUG].
    fuse init (API version 7.13)
    SGI XFS with security attributes, large block/inode numbers, no debug enabled
    msgmni has been set to 1744
    alg: No test for stdrng (krng)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pcieport 0000:00:1c.0: irq 24 for MSI/MSI-X
    pcieport 0000:00:1c.0: setting latency timer to 64
    pcieport 0000:00:1c.1: irq 25 for MSI/MSI-X
    pcieport 0000:00:1c.1: setting latency timer to 64
    pcieport 0000:00:1c.3: irq 26 for MSI/MSI-X
    pcieport 0000:00:1c.3: setting latency timer to 64
    ACPI: AC Adapter [AC0] (on-line)
    input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
    ACPI: Lid Switch [LID]
    input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
    ACPI: Sleep Button [SLPB]
    input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
    ACPI: Power Button [PWRB]
    input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
    ACPI: Power Button [PWRF]
    ACPI: SSDT 3f7ae180 0023C (v01 PmRef Cpu0Ist 00003000 INTL 20051117)
    ACPI: SSDT 3f7ae450 00724 (v01 PmRef Cpu0Cst 00003001 INTL 20051117)
    Monitor-Mwait will be used to enter C-1 state
    Monitor-Mwait will be used to enter C-2 state
    Marking TSC unstable due to TSC halts in idle
    processor LNXCPU:00: registered as cooling_device0
    ACPI: SSDT 3f7ae0b0 000CC (v01 PmRef Cpu1Ist 00003000 INTL 20051117)
    ACPI: SSDT 3f7ae3c0 00085 (v01 PmRef Cpu1Cst 00003000 INTL 20051117)
    Switching to clocksource hpet
    processor LNXCPU:01: registered as cooling_device1
    thermal LNXTHERM:01: registered as thermal_zone0
    ACPI: Thermal Zone [TZ00] (53 C)
    isapnp: Scanning for PnP cards...
    ACPI: Battery Slot [BAT0] (battery present)
    isapnp: No Plug & Play device found
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    brd: module loaded
    loop: module loaded
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    ehci_hcd 0000:00:1d.7: setting latency timer to 64
    ehci_hcd 0000:00:1d.7: EHCI Host Controller
    ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:1d.7: using broken periodic workaround
    ehci_hcd 0000:00:1d.7: debug port 1
    ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
    ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf7eb7c00
    ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 8 ports detected
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    uhci_hcd 0000:00:1d.0: setting latency timer to 64
    uhci_hcd 0000:00:1d.0: UHCI Host Controller
    uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000d400
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    uhci_hcd 0000:00:1d.1: setting latency timer to 64
    uhci_hcd 0000:00:1d.1: UHCI Host Controller
    uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d480
    usb usb3: configuration #1 chosen from 1 choice
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    uhci_hcd 0000:00:1d.2: setting latency timer to 64
    uhci_hcd 0000:00:1d.2: UHCI Host Controller
    uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800
    usb usb4: configuration #1 chosen from 1 choice
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 2 ports detected
    uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
    uhci_hcd 0000:00:1d.3: setting latency timer to 64
    uhci_hcd 0000:00:1d.3: UHCI Host Controller
    uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d880
    usb usb5: configuration #1 chosen from 1 choice
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 2 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver libusual
    PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    cpuidle: using governor ladder
    cpuidle: using governor menu
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    TCP cubic registered
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
    registered taskstats version 1
    Freeing unused kernel memory: 408k freed
    BFS CPU scheduler v0.313 by Con Kolivas.
    input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
    usb 1-5: new high speed USB device using ehci_hcd and address 2
    usb 1-5: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 2
    usb-storage: waiting for device to settle before scanning
    libata version 3.00 loaded.
    ata_piix 0000:00:1f.2: version 2.13
    ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    ata_piix 0000:00:1f.2: MAP [ P0 P2 IDE IDE ]
    ata_piix 0000:00:1f.2: setting latency timer to 64
    scsi1 : ata_piix
    scsi2 : ata_piix
    ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14
    ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
    usb 1-8: new high speed USB device using ehci_hcd and address 4
    ata1.00: ATA-7: ST980811AS, 3.ALC, max UDMA/133
    ata1.00: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32)
    elantech.c: assuming hardware version 2, firmware version 2.48
    ata1.00: configured for UDMA/133
    scsi 1:0:0:0: Direct-Access ATA ST980811AS 3.AL PQ: 0 ANSI: 5
    sd 1:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
    sd 1:0:0:0: [sda] Write Protect is off
    sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
    sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda: sda1 sda2 sda3
    usb 1-8: configuration #1 chosen from 1 choice
    sd 1:0:0:0: [sda] Attached SCSI disk
    elantech.c: Synaptics capabilities query result 0x00, 0x02, 0x64.
    usb 5-1: new full speed USB device using uhci_hcd and address 2
    input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input5
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    usb 5-1: configuration #1 chosen from 1 choice
    Driver 'rtc_cmos' needs updating - please use bus_type methods
    rtc_cmos 00:03: RTC can wake from S4
    rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
    rtc0: alarms up to one month, 114 bytes nvram, hpet irqs
    udev: starting version 146
    ATL1E 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    ATL1E 0000:03:00.0: setting latency timer to 64
    rt2860sta: module is from the staging directory, the quality is unknown, you have been warned.
    rt2860 0000:01:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
    === pAd = f825a000, size = 580808 ===
    <-- RTMPAllocAdapterBlock, Status=0
    rt2860 0000:01:00.0: setting latency timer to 64
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver rndis_host
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    Linux agpgart interface v0.103
    agpgart-intel 0000:00:00.0: Intel 945GME Chipset
    agpgart-intel 0000:00:00.0: detected 7932K stolen memory
    agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
    scsi 0:0:0:0: Direct-Access Single Flash Reader 1.00 PQ: 0 ANSI: 0
    sd 0:0:0:0: [sdb] 1984000 512-byte logical blocks: (1.01 GB/968 MiB)
    sd 0:0:0:0: [sdb] Write Protect is off
    sd 0:0:0:0: [sdb] Mode Sense: 03 00 00 00
    sd 0:0:0:0: [sdb] Assuming drive cache: write through
    usb-storage: device scan complete
    sd 0:0:0:0: [sdb] Assuming drive cache: write through
    sdb: sdb1
    sd 0:0:0:0: [sdb] Assuming drive cache: write through
    sd 0:0:0:0: [sdb] Attached SCSI removable disk
    HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    HDA Intel 0000:00:1b.0: setting latency timer to 64
    input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
    Bluetooth: Core ver 2.15
    NET: Registered protocol family 31
    Bluetooth: HCI device and connection manager initialized
    Bluetooth: HCI socket layer initialized
    EXT3 FS on sda3, internal journal
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda2, internal journal
    EXT3-fs: mounted filesystem with writeback data mode.
    Adding 1951888k swap on /dev/sda1. Priority:-1 extents:1 across:1951888k SS
    Bluetooth: L2CAP ver 2.14
    Bluetooth: L2CAP socket layer initialized
    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Bluetooth: BNEP filters: protocol multicast
    Bluetooth: SCO (Voice Link) ver 0.6
    Bluetooth: SCO socket layer initialized
    eeepc_laptop: Eee PC Hotkey Driver
    eeepc_laptop: Hotkey init flags 0x41
    eeepc_laptop: TYPE (2000000) not reported by BIOS, enabling anyway
    eeepc_laptop: PANELPOWER (4000000) not reported by BIOS, enabling anyway
    eeepc_laptop: Get control methods supported: 0x6101713
    input: Asus EeePC extra buttons as /devices/platform/eeepc/input/input7
    input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input8
    ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [drm] Initialized drm 1.1.0 20060810
    pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    pci 0000:00:02.0: setting latency timer to 64
    [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    ATL1E 0000:03:00.0: irq 27 for MSI/MSI-X
    RX DESC f6a56000 size = 2048
    <-- RTMPAllocTxRxRingMemory, Status=0
    --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat
    1. Phy Mode = 0
    2. Phy Mode = 0
    RTMPSetPhyMode: channel is out of range, use first channel=1
    3. Phy Mode = 0
    MCS Set = 00 00 00 00 00
    <==== RTMPInitialize, Status=0
    0x1300 = 00073200
    ===>rt_ioctl_giwscan. 24(24) BSS returned, data->length = 2895
    CPU0 attaching NULL sched-domain.
    CPU1 attaching NULL sched-domain.
    CPU0 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 0 (cpu_power = 589) 1 (cpu_power = 589)
    domain 1: span 0-1 level MC
    groups: 0-1 (cpu_power = 1178)
    CPU1 attaching sched-domain:
    domain 0: span 0-1 level SIBLING
    groups: 1 (cpu_power = 589) 0 (cpu_power = 589)
    domain 1: span 0-1 level MC
    groups: 0-1 (cpu_power = 1178)
    ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
    ===>rt_ioctl_giwscan. 27(27) BSS returned, data->length = 3340
    ===>rt_ioctl_giwscan. 24(24) BSS returned, data->length = 3033
    ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=1)
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM ver 1.11
    ===>rt_ioctl_giwscan. 33(33) BSS returned, data->length = 4186
    ===>rt_ioctl_giwscan. 31(31) BSS returned, data->length = 3779
    ===>rt_ioctl_giwscan. 27(27) BSS returned, data->length = 3232
    ===>rt_ioctl_giwscan. 26(26) BSS returned, data->length = 3185
    ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
    ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
    ===>rt_ioctl_giwscan. 29(29) BSS returned, data->length = 3623
    ===>rt_ioctl_giwscan. 24(24) BSS returned, data->length = 2955
    ===>rt_ioctl_giwscan. 21(21) BSS returned, data->length = 2593
    ===>rt_ioctl_giwscan. 28(28) BSS returned, data->length = 3512
    ===>rt_ioctl_giwscan. 31(31) BSS returned, data->length = 3816
    ===>rt_ioctl_giwscan. 32(32) BSS returned, data->length = 3932
    exe[2947]: segfault at 5f ip 085642ae sp b6575a50 error 4 in chrome[8048000+20dc000]
    exe[2958]: segfault at 1692e8c6 ip b6c174cb sp b64b5a48 error 6 in libstdc++.so.6.0.13[b6bc1000+e8000]
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    ===>rt_ioctl_giwscan. 29(29) BSS returned, data->length = 3614
    wlan0: no IPv6 routers present
    ===>rt_ioctl_giwscan. 30(30) BSS returned, data->length = 3706
    ===>rt_ioctl_giwscan. 22(22) BSS returned, data->length = 2758
    ===>rt_ioctl_giwscan. 33(33) BSS returned, data->length = 4063
    ===>rt_ioctl_giwscan. 29(29) BSS returned, data->length = 3631
    ===>rt_ioctl_giwscan. 30(30) BSS returned, data->length = 3633
    NOTE: I load eeepc-laptop via rc.local to save time. I don't have any other hardware issues that I can think of.

    Got it. I tried booting with MOD_AUTOLOAD set to yes, and it was working fine. Looks like I needed to specify some more modules in my list.

  • PXI first use, unable to configure/boot safe mode or RT

    Hi all,
    I am new to PXI controllers, i am having a few issues with a PXI controller in my university which i intend to use for my fyp project.
    So we are using a PXI 1042Q chassis with a PXI 8106 embedded controller.
    We started this controller for the first time and updated windows xp, we also removed labview 8.6 that came with it and installed labview 2010 with all the available drivers, softwares and liscenses..
    When we start windows XP on the PXI system we can see the PXI chassis and controller identified in MAX but labview cannot find them when creating a project.. My first question concerns the reason why labview cannot identify PXI targets in a project?, could it be a missing liscence (for instance RT liscence for PXI)? or an improperly installed driver? How to check if RT liscence is missing or needed?
    Due to the first problem, we tried to control the PXI remotelty from another desktop host PC where we found more problems.
    1/ Can we make a connection in order to download a project from the host PC to the PXI via ETHERNET (without MXI cards) ?
    2/ We tried to make the connection using ethernet but we couldnt configure the IP; when we switch to safe mode to configure, the pxi gives the following texts on screen " system error kernel 446610 LFS error not a dos disk pc-dskinit " and the system remains unconfigured with the 0.0.0.0 IP due to the failure to boot, MAX on the host PC sees the PXI as a 0.0.0.0 and changing the IP is not possible also.
    To cure this issue and help the system boot, we created a desktop PC utility USB Drive in MAX (on the host PC), configured the boot devices priority on PXI and booted the PXI from the USB drive.  we entered safe mode and the pxi took an IP automatically and then it displayed that the software is not present... The problem is that when we tried to install the software on the pxi using MAX on the host PC (which now sees the PXI) we got disconnected.. 
    Note that firewall is off, the host pc has an ip in range with the one generated by the pxi, on the same subnet and has windows 7..So why are we loosing the connection in MAX after 30 seconds,, when we try to install the software on the pxi?
    thank you in advance for your help.
    Elias Saleh.

    Dear Elias579,
    Welcome you to the NI Forums!
    There are basically three ways a PXI system can by characterised by the OS:
    Real-Time OS running on the PXI makes it an RT Target, which then can be reached from the network by a host PC for example
    "regular" Windows running on the PXI makes it a simple industrial PC, which has no real-time qualities. In this case you cannot add the controller to your project, since you are actually on the target, and whatever VIs you crate are actually on the platform already!
    Hybrid systems (not all controllers are compatible with this) can run in such a way that one core runs regular Windows and an other runs an RT OS, which can communicate with each other.
    Your problem is either
    1.) You installed a simple windows, in which case you wont add any targets to your project since you are running every VIs on the target. The chassis works exactly like a PCIe bus slot extender, so the cards inside are the ones that matter. For example if you have a programmable FPGA PXI card, and you have LABVIEW REAL-TIME and NI-RIO driver installed, you will be able to add the card within the chassis to your project.
    2.) You are just missing a driver. Since you do not have an RT OS on the PXI, you might need a suitable DAQmx for you cards. 
    Please to help me have more vision of your problem try to describe what cards are you using and what is actually you would like to do.
    For debugging you issue, these documents might help:
    http://digital.ni.com/public.nsf/allkb/24D16468DE8838B2862568E200746D7E
    https://decibel.ni.com/content/docs/DOC-16189
    **EDIT:
    one more thing, if you are using a regular Windows PXI, you should not seek to connect to it as an RT Target. You might try to use Remote Desktop from an another PC though.
    Looking forwards to help you solve your issue,
    Peter
    Peter L.
    National Instruments Hungary
    Applications Engineer

  • BUG? - Unable to configure custom viewhandler

    Hi.
    I'm experiencing difficulties with my attempt to configure a custom viewhandler, i.e. by sub-classing the ViewHandlerImp class.
    My plan was to use the viewhandler to switch render kit IDs, based on the URL mapping.
    It is possible to do this when using MyFaces but it seems that with ADF Faces there is no ViewHandler that can be subclassed, i.e. ADF faces has it's own ViewHandler implementation.
    I attempted to subclass the org.apache.myfaces.application.jsp.JspViewHandlerImpl class, overriding the CalculateRenderKitId() method to return "oracle.adf.core" as the kit id.
    This is all that is needed with MyFaces, i.e. returning "HTML_BASIC" when loading a MyFaces jsp page, with the correct mappings, works OK.
    There then should be no need to specify the default kit id, i.e. via:
    <default-render-kit-id>
    oracle.adf.core
    </default-render-kit-id>
    in the faces-config.xml file, i.e. you can then switch render kits at will in order to plug in rendering for different output formats based on the file extension mapping *.jspx, *.jspw, to switch, for example between HTML, WML, SVG output formats.
    I also tried to subclass the oracle.adfinternal.view.faces.application.ViewHandlerImpl class but this doesn't seem possible since it doesn't have a parameterless base constructor and there is no documentation.
    Is there any way of doing this or is there a fix for this in the pipeline?
    I am using Apache MyFaces with EA19.
    Thnks..

    I got different setting advise from verizon store, verizon online and from charter.  all said something different.  I eventually got it to work using the regular pop.charter.net for incoming and smtp.charterinternet.com for outgoing.  No secure connection...  no verification certificate...  and the port is 25.  I have a droidX also.

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • Trouble Registering Custom MBean in WLS 6.1 (Example from JMX Guide)

    Hi there,
    I have trouble getting an example to work provided in the BEA Manual
    "Programming WebLogic JMX Services". The example of registering a
    custom MBeans produces in my case:
    java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient
    Getting BEA MBean Server
    Using domain: weblogic
    Create object name
    Create MBean Dummy within MBean Server
    Could not create MBean Dummy
    java.rmi.UnmarshalException: error unmarshalling arguments; nested
    exception is:
    java.lang.ClassNotFoundException: jmx.dummy.MyClient
    java.lang.ClassNotFoundException: jmx.dummy.MyClient
    <<no stack trace available>>
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException - with nested
    exception:
    [java.rmi.UnmarshalException: error unmarshalling arguments; nested
    exception is:
            java.lang.ClassNotFoundException: jmx.dummy.MyClient]
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
    at $Proxy2.registerMBean(Unknown Source)
    at jmx.dummy.MyClient.registerMBean(MyClient.java:57)
    at jmx.dummy.MyClient.main(MyClient.java:19)
    I have a custom MBean: MyCustomMBean:
    package jmx.dummy;
    public interface MyCustomMBean
    public int      getAttribute();
    and it's implementation class MyClient listed below. Does anybody know
    what I'm doing wrong ?
    Greetings,
    Alex
    package jmx.dummy;
    import weblogic.management.MBeanHome;
    import weblogic.management.Helper;
    import weblogic.management.RemoteMBeanServer;
    import javax.management.*;
    public class MyClient implements MyCustomMBean, java.io.Serializable
    MBeanServer server = null;
    ObjectName mbo = null;
    String mbeanName = null;
    public static void main(String[] args)
    MyClient client = new MyClient();
    client.createMBeanServer();
    client.registerMBean();
    client.getMBeanInfo();
    private void createMBeanServer()
    MBeanHome mbh =
    Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","petstoreServer");
    echo("Getting BEA MBean Server");
    server = mbh.getMBeanServer();
    if (server == null)
    echo("Server is null");
    System.exit(2);
    private void registerMBean()
    String domain = server.getDefaultDomain();
    echo("Using domain: " + domain);
    mbeanName = new String("Dummy");
    try
    echo("Create object name");
    mbo = new ObjectName(domain + ":type="+mbeanName);
    catch (MalformedObjectNameException e1)
    echo("MalformedObjectNameException");
    e1.printStackTrace();
    System.exit(1);
    echo("Create MBean " + mbeanName + " within MBean Server");
    try
    //server.createMBean(mbeanName,mbo);
    server.registerMBean((Object) new MyClient(), mbo);
    catch (Exception e)
    echo("Could not create MBean " + mbeanName);
    e.printStackTrace();
    System.exit(1);
    private void getMBeanInfo()
    echo("getting management information for "+mbeanName);
    MBeanInfo info = null;
    try
    info = server.getMBeanInfo(mbo);
    catch (Exception e)
    echo("could not get MBeanInfo object for "+mbeanName);
    e.printStackTrace();
    return;
    echo("CLASSNAME: \t"+info.getClassName());
    echo("DESCRIPTION: \t"+info.getDescription());
    echo("ATTRIBUTES: todo ....");
    echo("\n\n");
    try
    echo("Get MBean Values:");
    String state = (String)
    server.getAttribute(mbo,"MyAttribute");
    catch (Exception e)
    echo("Could not read attributes");
    e.printStackTrace();
    return;
    echo("End of DEMO");
    private void echo(String error)
    System.out.println(error);
    public int getAttribute()
    return 3434;

    Hi, i'm using wl 6.0 on HPunix.
    And.. we don't have any serverclasses folder. :(
    Audun
    [email protected] (Alex) wrote:
    OK, I got it working. Will answer it here in case somebody else has a
    problem. Editing the CLASSPATH of WLS did not work for me but putting
    my classes in ./config/serverclasses/ did the trick. But then I
    encountered another problem, new exception that my code was not JMX
    compliant. Seperating the MBean implementation for the MyClient class
    to a new class worked:
    new class MyCustom:
    package jmx.dummy;
    public class MyCustom implements
    jmx.dummy.MyCustomMBean,java.io.Serializable
    public int getMyAttribute()
    return 3434;
    untouched MyCustomMBean class:
    package jmx.dummy;
    public interface MyCustomMBean
    public int      getMyAttribute();
    edited MyClient class:
    package jmx.dummy;
    import weblogic.management.MBeanHome;
    import weblogic.management.Helper;
    import weblogic.management.RemoteMBeanServer;
    import javax.management.*;
    public class MyClient
    MBeanServer server = null;
    ObjectName mbo = null;
    String mbeanName = null;
    public static void main(String[] args)
    MyClient client = new MyClient();
    client.createMBeanServer();
    client.registerMBean();
    client.getMBeanInfo();
         client.unregister();
    private void createMBeanServer()
    MBeanHome mbh =
    Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","examplesServer");
    echo("Getting BEA MBean Server");
    server = mbh.getMBeanServer();
    if (server == null)
    echo("Server is null");
    System.exit(2);
    private void registerMBean()
    String domain = server.getDefaultDomain();
    echo("Using domain: " + domain);
    mbeanName = new String("MyCustomMBean");
    try
    echo("Create object name");
    mbo = new ObjectName(domain + ":type="+mbeanName);
    catch (MalformedObjectNameException e1)
    echo("MalformedObjectNameException");
    e1.printStackTrace();
    System.exit(1);
    echo("Create MBean " + mbeanName + " within MBean Server");
    try
    //server.createMBean(mbeanName,mbo);
    server.registerMBean((Object) new MyCustom(), mbo);
    catch (Exception e)
    echo("Could not create MBean " + mbeanName);
    e.printStackTrace();
    System.exit(1);
    private void getMBeanInfo()
    echo("getting management information for "+mbeanName);
    MBeanInfo info = null;
    try
    info = server.getMBeanInfo(mbo);
    catch (Exception e)
    echo("could not get MBeanInfo object for "+mbeanName);
    e.printStackTrace();
    return;
    echo("CLASSNAME: \t"+info.getClassName());
    echo("DESCRIPTION: \t"+info.getDescription());
    echo("ATTRIBUTES: todo ....");
    echo("\n\n");
    try
    echo("Get MBean Values:");
    String state =
    (server.getAttribute(mbo,"MyAttribute")).toString();
    System.out.println("state is "+state);
    catch (Exception e)
    echo("Could not read attributes");
    e.printStackTrace();
    return;
    echo("End of DEMO");
    private void echo(String error)
    System.out.println(error);
    public int getAttribute()
    return 3434;
    private void unregister()
    try
    server.unregisterMBean(mbo);
    catch (Exception e)
    echo("could not unregister mbean");
    [email protected] (Alex) wrote in message news:<[email protected]>...
    Hi there,
    I have trouble getting an example to work provided in the BEA Manual
    "Programming WebLogic JMX Services". The example of registering a
    custom MBeans produces in my case:
    java -cp .;C:\bea\wlserver6.1\lib\weblogic.jar jmx.dummy.MyClient
    Getting BEA MBean Server
    Using domain: weblogic
    Create object name
    Create MBean Dummy within MBean Server
    Could not create MBean Dummy
    java.rmi.UnmarshalException: error unmarshalling arguments; nested
    exception is:
    java.lang.ClassNotFoundException: jmx.dummy.MyClient
    java.lang.ClassNotFoundException: jmx.dummy.MyClient
    <<no stack trace available>>
    --------------- nested within: ------------------
    weblogic.rmi.extensions.RemoteRuntimeException - with nested
    exception:
    [java.rmi.UnmarshalException: error unmarshalling arguments; nested
    exception is:
    java.lang.ClassNotFoundException: jmx.dummy.MyClient]
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:60)
    at $Proxy2.registerMBean(Unknown Source)
    at jmx.dummy.MyClient.registerMBean(MyClient.java:57)
    at jmx.dummy.MyClient.main(MyClient.java:19)
    I have a custom MBean: MyCustomMBean:
    package jmx.dummy;
    public interface MyCustomMBean
    public int      getAttribute();
    and it's implementation class MyClient listed below. Does anybody know
    what I'm doing wrong ?
    Greetings,
    Alex
    package jmx.dummy;
    import weblogic.management.MBeanHome;
    import weblogic.management.Helper;
    import weblogic.management.RemoteMBeanServer;
    import javax.management.*;
    public class MyClient implements MyCustomMBean, java.io.Serializable
    MBeanServer server = null;
    ObjectName mbo = null;
    String mbeanName = null;
    public static void main(String[] args)
    MyClient client = new MyClient();
    client.createMBeanServer();
    client.registerMBean();
    client.getMBeanInfo();
    private void createMBeanServer()
    MBeanHome mbh =
    Helper.getMBeanHome("system","beabeabea","t3://localhost:7001","petstoreServer");
    echo("Getting BEA MBean Server");
    server = mbh.getMBeanServer();
    if (server == null)
    echo("Server is null");
    System.exit(2);
    private void registerMBean()
    String domain = server.getDefaultDomain();
    echo("Using domain: " + domain);
    mbeanName = new String("Dummy");
    try
    echo("Create object name");
    mbo = new ObjectName(domain + ":type="+mbeanName);
    catch (MalformedObjectNameException e1)
    echo("MalformedObjectNameException");
    e1.printStackTrace();
    System.exit(1);
    echo("Create MBean " + mbeanName + " within MBean Server");
    try
    //server.createMBean(mbeanName,mbo);
    server.registerMBean((Object) new MyClient(), mbo);
    catch (Exception e)
    echo("Could not create MBean " + mbeanName);
    e.printStackTrace();
    System.exit(1);
    private void getMBeanInfo()
    echo("getting management information for "+mbeanName);
    MBeanInfo info = null;
    try
    info = server.getMBeanInfo(mbo);
    catch (Exception e)
    echo("could not get MBeanInfo object for "+mbeanName);
    e.printStackTrace();
    return;
    echo("CLASSNAME: \t"+info.getClassName());
    echo("DESCRIPTION: \t"+info.getDescription());
    echo("ATTRIBUTES: todo ....");
    echo("\n\n");
    try
    echo("Get MBean Values:");
    String state = (String)
    server.getAttribute(mbo,"MyAttribute");
    catch (Exception e)
    echo("Could not read attributes");
    e.printStackTrace();
    return;
    echo("End of DEMO");
    private void echo(String error)
    System.out.println(error);
    public int getAttribute()
    return 3434;

Maybe you are looking for

  • Phone is not showing up in iTunes.  I've tried everything.

    I have windows XP, iTunes 7.0.1.8, and a Motorola SLIVR. When I connect my phone to my computer via USB, it sometimes does not show up in iTunes. if it does show up, anytime i try to transfer songs, or delete songs, or access the phone's music files

  • Flex SDK4 - import built in class error

    How are you? I am writing a very simple class, which I am trying to compile with ./mxmlc found in Flex SDK4. However I am getting the below errors, it seems like the built in classes cannot be found. I am not sure why the FLVPlayback or VideoPlayer o

  • How to insert into SQL server table form oracle forms

    I created a form with oracle as my database. But there one trigger where I need to insert the data into a sql server table. Is this possible. If so can any help me out. Thanks in advance. Asha

  • How to track data exchange

    Hi All, I am working on a load generator application where i record client interactions(request and response objects) in XML serialized form. Now i want to replay those recorded stuff. I am able to replay simple calls(requests) using reflection APIs.

  • Font Size Gone Wild

    I'm having this weird problem on the site I'm building. Every so often, when I put something in italic, the font size for the word I've italicized ends up way bigger than the words around it. I have been marking the word I want to italicize and using