Method to initialize the controller

Dear all,
I'm creating a simple webdynpro project. I have four import parameters in the rfc which will act as search criterion in the search view. Now at the step of writing code in the Implementation tab of the controler. In the method <b>public void wdDoInit()</b>, How will i create element fo these parameters??
for example in the demo example for the flightlist for the input parameter destination_from it is give:-
Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
Bapisfldst bapisfldstFrom = new Bapisfldst();
input.setDestination_From(bapisfldstFrom);
<b>how wud i do same for my input parameter docdate_from??</b>
please suggest.
Thanks,
Anup.

Hi Anup,
If docdate_from is your model attribute direclty under your root model node then, no need to initialize for this.
Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
Bapisfldst bapisfldstFrom = new Bapisfldst();
input.setDestination_From(bapisfldstFrom);
In above code, first two lines are for initializing yoor main model node. And, second two lines are for child model node under your root model node.
If your input parameters are inside such child nodes, then only your need third and forth line.
But, if you want to set some default value for your attribute, then you can use set method as given below.
input.setDestination_From(<default value>);
Regards,
Bhavik

Similar Messages

  • How to create a byte[] as parameter for a Method inside the Controller

    Hi Experts,
    I want to create a method getCachedWebResource inside the component controller which has a parameter file which is of type byte[].
    But in Netweaver Developer Studio I am not able to create this parameter with type byte[] .
    When I try creating a parameter of this type (byte[]) . I get only byte from drop down and  below Array type checkbox is disabled.
    Please help me in this regards.
    I am already highly obliged to his forum with lots of useful answers. Hoping the same this time too
    Best Regards,
    Roby..

    Robert-
    There are two ways of achieving this:
    1. Create a private getCachedWebResource() method inside your component controller's others section. i.e. do not create a method on the Methods tab, but instead code the method directly into the controller.
    2. Create a parameter of type java.lang.Byte[ ] instead of byte[ ]. This can be done by clicking on the Browse button next to the Type and then choosing the Java Native Type radio button. In the Java Native Type input field provide java.lang.Byte. Click on Ok and you should see the Array Type option getting enabled. Check it, and in the method you should convert from java.lang.Byte to byte.
    I would stick to option (1)
    Cheers-
    Atul

  • How to use application class reference in the controller methods of BSP

    Hi,
    I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).
    In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.
    application->text = 'test'.
    I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement. 
    Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.
    Best regards
    Siva

    Hi,
    if you are having main controller and sub-controller then you may need to use below coding to use application class reference.
    *Data declaration
      DATA:  obj_cntrl        TYPE REF TO cl_bsp_controller2,
             obj_sub_cntrl   TYPE REF TO z_cl_sub_cntl,
             application TYPE REF TO z_cl_application.
    *Get the controller
      CALL METHOD obj_main_cntrl->get_controller   "obj_main_cntrl is the object of main controller
        EXPORTING
          controller_id       = 'SUB'   "Controller ID
        RECEIVING
          controller_instance = obj_cntrl  .
      obj_sub_cntrl ?= obj_cntrl  .
      application ?= obj_sub_cntrl ->application.
    or simply use below code in your controller method.
      application ?= me->application.
    Thnaks,
    Chandra

  • Entering into the method created in custome controller but no output

    Hi Experts,
    Please help me to get the data.I have followed the same process to access the database but no output i am getting.But the method created in custome controller is called and message is also displayed.But no error it is showing.Please tell me where i am wrong.
    Regards
    Nutan

    Hi Isaias,
    Method is
    public void ExecuteBapi( )
        //@@begin ExecuteBapi()
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    manager.reportSuccess("entered");
           try
               {          wdContext.currentZbapi_Role_Getlist_InputElement                ().modelObject().execute();
                  wdContext.nodeEt_Role().invalidate();
                   catch(Exception e)
                             e.printStackTrace();
    And the action which is calling this method is:
    public void onActionDisplayRole(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionDisplayRole(ServerEvent)
        wdThis.wdGetFetchDataCustController().ExecuteBapi();
        //@@end
    Please check it where am i wrong? Urgent need
    Regards,
    Nutan

  • [Solved] Failed to initialize the NVIDIA kernel module

    Hi all,
    I've just made the jump to arch and have a fresh install. I'm having trouble getting the nvidia drivers to work. I am currently using the nouveau drivers without issue.
    The method I am using - after much trial - is:
    - uninstall nouveau and mesa lib
    - install nvidia package
    - remove nouveau module entry in mkinitcpio.conf
    - run `mkinitcpio -p linux`
    - edit .conf in xorg.conf.d with minimal required settings. Currently:
    Section "Device"
    Identifier "device0"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    EndSection
    I have installed the linux-headers package and tried reinstalling nvidia again
    Card:
    01:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)
    Kernel:
    3.12.6-1-ARCH
    My Xorg.0.log looks like:
    [ 3.979]
    X.Org X Server 1.14.5
    Release Date: 2013-12-12
    [ 3.979] X Protocol Version 11, Revision 0
    [ 3.979] Build Operating System: Linux 3.12.5-1-ARCH x86_64
    [ 3.979] Current Operating System: Linux arch.tempera 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64
    [ 3.979] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2 rw
    [ 3.979] Build Date: 13 December 2013 03:11:42PM
    [ 3.979]
    [ 3.979] Current version of pixman: 0.32.4
    [ 3.979] Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    [ 3.979] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 3.979] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 4 21:29:46 2014
    [ 3.980] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 3.980] (==) No Layout section. Using the first Screen section.
    [ 3.980] (==) No screen section available. Using defaults.
    [ 3.980] (**) |-->Screen "Default Screen Section" (0)
    [ 3.980] (**) | |-->Monitor "<default monitor>"
    [ 3.981] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 3.981] (**) | |-->Device "device0"
    [ 3.981] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 3.981] (==) Automatically adding devices
    [ 3.981] (==) Automatically enabling devices
    [ 3.981] (==) Automatically adding GPU devices
    [ 3.984] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 3.984] Entry deleted from font path.
    [ 3.984] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 3.984] Entry deleted from font path.
    [ 3.984] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 3.984] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 3.984] Entry deleted from font path.
    [ 3.984] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 3.984] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
    [ 3.984] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 3.984] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 3.984] (II) Loader magic: 0x7fec20
    [ 3.984] (II) Module ABI versions:
    [ 3.984] X.Org ANSI C Emulation: 0.4
    [ 3.984] X.Org Video Driver: 14.1
    [ 3.984] X.Org XInput driver : 19.1
    [ 3.984] X.Org Server Extension : 7.0
    [ 3.985] (--) PCI:*(0:1:0:0) 10de:0dc4:19da:1184 rev 161, Mem @ 0xf4000000/16777216, 0xe0000000/134217728, 0xe8000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 3.986] Initializing built-in extension Generic Event Extension
    [ 3.986] Initializing built-in extension SHAPE
    [ 3.986] Initializing built-in extension MIT-SHM
    [ 3.986] Initializing built-in extension XInputExtension
    [ 3.986] Initializing built-in extension XTEST
    [ 3.986] Initializing built-in extension BIG-REQUESTS
    [ 3.986] Initializing built-in extension SYNC
    [ 3.986] Initializing built-in extension XKEYBOARD
    [ 3.986] Initializing built-in extension XC-MISC
    [ 3.986] Initializing built-in extension SECURITY
    [ 3.986] Initializing built-in extension XINERAMA
    [ 3.986] Initializing built-in extension XFIXES
    [ 3.986] Initializing built-in extension RENDER
    [ 3.986] Initializing built-in extension RANDR
    [ 3.986] Initializing built-in extension COMPOSITE
    [ 3.986] Initializing built-in extension DAMAGE
    [ 3.986] Initializing built-in extension MIT-SCREEN-SAVER
    [ 3.986] Initializing built-in extension DOUBLE-BUFFER
    [ 3.986] Initializing built-in extension RECORD
    [ 3.986] Initializing built-in extension DPMS
    [ 3.986] Initializing built-in extension X-Resource
    [ 3.986] Initializing built-in extension XVideo
    [ 3.986] Initializing built-in extension XVideo-MotionCompensation
    [ 3.986] Initializing built-in extension XFree86-VidModeExtension
    [ 3.986] Initializing built-in extension XFree86-DGA
    [ 3.986] Initializing built-in extension XFree86-DRI
    [ 3.986] Initializing built-in extension DRI2
    [ 3.986] (II) LoadModule: "glx"
    [ 3.989] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 4.075] (II) Module glx: vendor="NVIDIA Corporation"
    [ 4.075] compiled for 4.0.2, module version = 1.0.0
    [ 4.075] Module class: X.Org Server Extension
    [ 4.075] (II) NVIDIA GLX Module 331.20 Wed Oct 30 17:36:48 PDT 2013
    [ 4.076] Loading extension GLX
    [ 4.076] (II) LoadModule: "nvidia"
    [ 4.076] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 4.082] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 4.082] compiled for 4.0.2, module version = 1.0.0
    [ 4.082] Module class: X.Org Video Driver
    [ 4.083] (II) NVIDIA dlloader X Driver 331.20 Wed Oct 30 17:16:53 PDT 2013
    [ 4.083] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 4.083] (++) using VT number 7
    [ 4.090] (II) Loading sub module "fb"
    [ 4.090] (II) LoadModule: "fb"
    [ 4.090] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 4.091] (II) Module fb: vendor="X.Org Foundation"
    [ 4.091] compiled for 1.14.5, module version = 1.0.0
    [ 4.091] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4.091] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 4.091] (II) Loading sub module "wfb"
    [ 4.091] (II) LoadModule: "wfb"
    [ 4.091] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 4.092] (II) Module wfb: vendor="X.Org Foundation"
    [ 4.092] compiled for 1.14.5, module version = 1.0.0
    [ 4.092] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4.092] (II) Loading sub module "ramdac"
    [ 4.092] (II) LoadModule: "ramdac"
    [ 4.092] (II) Module "ramdac" already built-in
    [ 4.093] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4.093] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 4.093] (==) NVIDIA(0): RGB weight 888
    [ 4.093] (==) NVIDIA(0): Default visual is TrueColor
    [ 4.093] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 4.094] (**) NVIDIA(0): Enabling 2D acceleration
    [ 4.095] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
    [ 4.095] (EE) NVIDIA(0): system's kernel log for additional error messages and
    [ 4.095] (EE) NVIDIA(0): consult the NVIDIA README for details.
    [ 4.095] (EE) NVIDIA(0): *** Aborting ***
    [ 4.095] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 4.095] (II) UnloadModule: "nvidia"
    [ 4.095] (II) UnloadSubModule: "wfb"
    [ 4.095] (II) UnloadSubModule: "fb"
    [ 4.095] (EE) Screen(s) found, but none have a usable configuration.
    [ 4.095] (EE)
    Fatal server error:
    [ 4.095] (EE) no screens found(EE)
    [ 4.095] (EE)
    Please consult the The X.Org Foundation support
    at [url]http://wiki.x.org[/url]
    for help.
    [ 4.095] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 4.095] (EE)
    [ 4.107] (EE) Server terminated with error (1). Closing log file.
    The only entry I found in `dmesg | grep nvidia` related to nvidia-drm, and seemed to say it was loaded successfully. I didn't save the exact entry and i've reinstalled nouveau now so that I could post this.
    Any help much appriciated. I've been at this for a while. Learning a lot in the process!
    Last edited by gnibbler (2014-01-04 22:31:49)

    Success! Several days of trying various things and I finally give in and make a post to this forum. One more attempt - which was only really so that I could add modprobe info to this post - and it works.
    I had at some stage installed the driver xf86-video-nv, and this may have been causing the clash. I un-installed it, and followed the procedure above to reinstall nvidia.
    I think the main hang up I'd had is that I had not been rebuilding my kernel image with mkinitcpio after installing nvidia during my previous attempts.
    I hope some info in here helps some other stuck archer.
    Edit: Thanks graysky. I had found the right nvidia driver using the arch wiki and followed this advice to remove the nouveau hook. Much appriciated.
    Last edited by gnibbler (2014-01-04 22:35:00)

  • [Bumblebee]Failed to initialize the NVIDIA GPU at PCI:1:0:0.

    Hi!
    I've instaled Arch about a month ago and now wanted to check my nvidia card using Bumblebee, but have some errors…
    [wicu@arch:~]$ optirun -vv minecraft
    [ 4859.259278] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 4859.404191] [DEBUG]optirun version 3.0.1 starting...
    [ 4859.404220] [DEBUG]Active configuration:
    [ 4859.404226] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 4859.404242] [DEBUG] X display: :8
    [ 4859.404254] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
    [ 4859.404265] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 4859.404276] [DEBUG] VGL Compression: proxy
    [ 4859.536971] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 4859.537027] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 4859.537053] [DEBUG]Socket closed.
    [ 4859.537086] [ERROR]Aborting because fallback start is disabled.
    [ 4859.537094] [DEBUG]Killing all remaining processes.
    [wicu@arch:~]$ sudo journalctl // here is only part when I tried use bumblebee
    Nov 26 17:48:43 arch kernel: NVRM: failed to copy vbios to system memory.
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238670] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238729] [WARN][XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238765] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238819] [ERROR][XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238826] [ERROR][XORG] (EE) NVIDIA(0): check your system's kernel log for additional error
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238830] [ERROR][XORG] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238835] [ERROR][XORG] (EE) NVIDIA(0): README for additional information.
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238841] [ERROR][XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238847] [ERROR][XORG] (EE) NVIDIA(0): Failing initialization of X screen 0
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238853] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238858] [ERROR][XORG] (EE)
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238863] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238868] [ERROR][XORG] (EE)
    Nov 26 17:48:43 arch bumblebeed[303]: [ 4139.238873] [ERROR]X did not start properly
    Nov 26 17:48:43 arch kernel: NVRM: RmInitAdapter failed! (0x30:0xffffffff:739)
    Nov 26 17:48:43 arch kernel: NVRM: rm_init_adapter(0) failed
    // xorg log
    [ 4859.510]
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    [ 4859.511] X Protocol Version 11, Revision 0
    [ 4859.511] Build Operating System: Linux 3.6.3-1-ARCH x86_64
    [ 4859.511] Current Operating System: Linux arch 3.6.7-1-ARCH #1 SMP PREEMPT Sun Nov 18 10:11:22 CET 2012 x86_64
    [ 4859.511] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=70a6cff9-bcf7-42eb-9ba1-73953e023617 ro quiet
    [ 4859.511] Build Date: 08 November 2012 07:09:29PM
    [ 4859.511]
    [ 4859.511] Current version of pixman: 0.28.0
    [ 4859.511] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 4859.511] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4859.511] (==) Log file: "/var/log/Xorg.8.log", Time: Mon Nov 26 18:00:43 2012
    [ 4859.511] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 4859.511] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 4859.511] (==) ServerLayout "Layout0"
    [ 4859.512] (==) No screen section available. Using defaults.
    [ 4859.512] (**) |-->Screen "Default Screen Section" (0)
    [ 4859.512] (**) | |-->Monitor "<default monitor>"
    [ 4859.512] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 4859.512] (**) | |-->Device "Device1"
    [ 4859.512] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 4859.512] (**) Option "AutoAddDevices" "false"
    [ 4859.512] (**) Not automatically adding devices
    [ 4859.512] (==) Automatically enabling devices
    [ 4859.512] (==) Automatically adding GPU devices
    [ 4859.512] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 4859.512] Entry deleted from font path.
    [ 4859.512] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 4859.512] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 4859.512] Entry deleted from font path.
    [ 4859.512] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 4859.512] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/Type1/
    [ 4859.512] (++) ModulePath set to "/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules"
    [ 4859.512] (==) |-->Input Device "<default pointer>"
    [ 4859.512] (==) |-->Input Device "<default keyboard>"
    [ 4859.512] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 4859.512] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 4859.512] (II) Loader magic: 0x7fcc40
    [ 4859.512] (II) Module ABI versions:
    [ 4859.512] X.Org ANSI C Emulation: 0.4
    [ 4859.513] X.Org Video Driver: 13.1
    [ 4859.513] X.Org XInput driver : 18.0
    [ 4859.513] X.Org Server Extension : 7.0
    [ 4859.513] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4859.513] setversion 1.4 failed
    [ 4859.516] (--) PCI:*(0:1:0:0) 10de:0de9:17aa:3901 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
    [ 4859.516] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 4859.516] Initializing built-in extension Generic Event Extension
    [ 4859.516] Initializing built-in extension SHAPE
    [ 4859.516] Initializing built-in extension MIT-SHM
    [ 4859.516] Initializing built-in extension XInputExtension
    [ 4859.516] Initializing built-in extension XTEST
    [ 4859.516] Initializing built-in extension BIG-REQUESTS
    [ 4859.516] Initializing built-in extension SYNC
    [ 4859.516] Initializing built-in extension XKEYBOARD
    [ 4859.516] Initializing built-in extension XC-MISC
    [ 4859.516] Initializing built-in extension SECURITY
    [ 4859.516] Initializing built-in extension XINERAMA
    [ 4859.516] Initializing built-in extension XFIXES
    [ 4859.516] Initializing built-in extension RENDER
    [ 4859.516] Initializing built-in extension RANDR
    [ 4859.516] Initializing built-in extension COMPOSITE
    [ 4859.516] Initializing built-in extension DAMAGE
    [ 4859.516] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4859.516] Initializing built-in extension DOUBLE-BUFFER
    [ 4859.516] Initializing built-in extension RECORD
    [ 4859.516] Initializing built-in extension DPMS
    [ 4859.516] Initializing built-in extension X-Resource
    [ 4859.516] Initializing built-in extension XVideo
    [ 4859.516] Initializing built-in extension XVideo-MotionCompensation
    [ 4859.516] Initializing built-in extension XFree86-VidModeExtension
    [ 4859.516] Initializing built-in extension XFree86-DGA
    [ 4859.516] Initializing built-in extension XFree86-DRI
    [ 4859.516] Initializing built-in extension DRI2
    [ 4859.516] (II) LoadModule: "glx"
    [ 4859.516] (II) Loading /usr/lib/nvidia-bumblebee/xorg/modules/extensions/libglx.so
    [ 4859.526] (II) Module glx: vendor="NVIDIA Corporation"
    [ 4859.526] compiled for 4.0.2, module version = 1.0.0
    [ 4859.526] Module class: X.Org Server Extension
    [ 4859.526] (II) NVIDIA GLX Module 310.19 Thu Nov 8 01:12:43 PST 2012
    [ 4859.526] Loading extension GLX
    [ 4859.526] (II) LoadModule: "nvidia"
    [ 4859.526] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 4859.526] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 4859.526] compiled for 4.0.2, module version = 1.0.0
    [ 4859.526] Module class: X.Org Video Driver
    [ 4859.526] (II) LoadModule: "mouse"
    [ 4859.527] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 4859.527] (II) Module mouse: vendor="X.Org Foundation"
    [ 4859.527] compiled for 1.13.0, module version = 1.8.1
    [ 4859.527] Module class: X.Org XInput Driver
    [ 4859.527] ABI class: X.Org XInput driver, version 18.0
    [ 4859.527] (II) LoadModule: "kbd"
    [ 4859.527] (WW) Warning, couldn't open module kbd
    [ 4859.527] (II) UnloadModule: "kbd"
    [ 4859.527] (II) Unloading kbd
    [ 4859.527] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 4859.527] (II) NVIDIA dlloader X Driver 310.19 Thu Nov 8 00:53:33 PST 2012
    [ 4859.527] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 4859.527] (--) using VT number 7
    [ 4859.527] (II) Loading sub module "wfb"
    [ 4859.527] (II) LoadModule: "wfb"
    [ 4859.527] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 4859.527] (II) Module wfb: vendor="X.Org Foundation"
    [ 4859.527] compiled for 1.13.0, module version = 1.0.0
    [ 4859.527] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4859.527] (II) Loading sub module "ramdac"
    [ 4859.527] (II) LoadModule: "ramdac"
    [ 4859.527] (II) Module "ramdac" already built-in
    [ 4859.527] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4859.527] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 4859.527] (==) NVIDIA(0): RGB weight 888
    [ 4859.527] (==) NVIDIA(0): Default visual is TrueColor
    [ 4859.527] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 4859.527] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 4859.528] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 4859.528] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
    [ 4859.528] (**) NVIDIA(0): Enabling 2D acceleration
    [ 4859.528] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
    [ 4859.528] (**) NVIDIA(0): Ignoring EDIDs
    [ 4859.534] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 4859.534] (EE) NVIDIA(0): check your system's kernel log for additional error
    [ 4859.534] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    [ 4859.534] (EE) NVIDIA(0): README for additional information.
    [ 4859.534] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    [ 4859.534] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 4859.534] (II) UnloadModule: "nvidia"
    [ 4859.534] (II) UnloadSubModule: "wfb"
    [ 4859.534] (EE) Screen(s) found, but none have a usable configuration.
    [ 4859.534]
    Fatal server error:
    [ 4859.534] no screens found
    [ 4859.534] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 4859.534] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [ 4859.534] (EE)
    [ 4859.534] Server terminated with error (1). Closing log file.
    [wicu@arch:~]$ lspci | grep VGA
    3:00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    14:01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630M] (rev a1)
    [wicu@arch:~]$ primusrun minecraft
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    asdf
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    27 achievements
    208 recipes
    Setting user: Druedain, -4246576297828159265
    primus: fatal: failure contacting bumblebee daemon
    [18:05:39 - wicu@arch:~]$ primusrun minecraft
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    asdf
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    27 achievements
    208 recipes
    Setting user: Druedain, -7896572405277476304
    primus: fatal: failure contacting bumblebee daemon
    [wicu@arch:~]$ systemctl | grep bumblebee
    35:bumblebeed.service

    [wicu@arch:~]$ dmesg | grep nvidia
    782:[ 6.776816] nvidia: module license 'NVIDIA' taints kernel.
    784:[ 6.784411] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
    [wicu@arch:~]$ cat /etc/bumblebee/bumblebee.conf
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    # bbswitch - new in BB 3, recommended if available
    # switcheroo - vga_switcheroo method, use at your own risk
    # none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia
    Module=nvidia
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    [wicu@arch:~]$ cat /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
    EndSection

  • Bug:Unable to initialize the credential store[Version 11.1.1.0.2]

    Hi Experts,
    Is this Jdeveloper 11gR2 (Studio Edition Version 11.1.1.0.2) Bug!!
    I did connect by this JDeveloper IDE and working well for different projects but I have found it when I import project by Subversion from another Repository. After importing this project I am trying to connect (when tried to test connection then it shows success but when do click Ok button then it shows Exception) and failed to getting Exception as "Unable to initialize the credential store"
    Please note that there only one file exists in \src\META-INF\ is weblogic-application.xml
    Please Help me how to solve this issue. Its quite urgent.
    javax.naming.NamingException [Root exception is oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.   
         at oracle.adf.share.jndi.ContextImpl.throwNamingException(ContextImpl.java:390)
         at oracle.adf.share.jndi.ContextImpl.saveDocument(ContextImpl.java:702)
         at oracle.adf.share.jndi.ContextImpl.save(ContextImpl.java:720)
         at oracle.adf.share.jndi.AdfInitialContext.save(AdfInitialContext.java:91)
         at oracle.adfinternal.rc.connection.UncloseableContextWrapper.save(UncloseableContextWrapper.java:89)
         at oracle.jdeveloper.rescat2.util.ConnectionUtil.invokeOldStyleWizard(ConnectionUtil.java:137)
         at oracle.jdeveloper.rescat2.util.ConnectionUtil.showWizard(ConnectionUtil.java:66)
         at oracle.adf.share.dt.AppConnContextMenuListener.onNewConnection(AppConnContextMenuListener.java:600)
         at oracle.adf.share.dt.AppConnContextMenuListener.newReposConnHandled(AppConnContextMenuListener.java:594)
         at oracle.adf.share.dt.AppConnContextMenuListener.handleEvent(AppConnContextMenuListener.java:120)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.   
         at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialStorage(CredentialStoreContext.java:174)
         at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialProvisioner(CredentialStoreContext.java:98)
         at oracle.adf.share.security.credentialstore.CredentialProvisioner.<init>(CredentialProvisioner.java:43)
         at oracle.adf.share.jndi.CredentialStoreHelper.<init>(CredentialStoreHelper.java:52)
         at oracle.adf.share.jndi.ReferenceStoreHelper.saveCredentials(ReferenceStoreHelper.java:436)
         at oracle.adf.share.jndi.ContextImpl.saveDocument(ContextImpl.java:692)
         ... 38 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialStorage(CredentialStoreContext.java:170)
         ... 43 more
    Caused by: oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.   
    java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
         at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.initialize(CSFDTCredentialStore.java:184)
         at oracle.adf.share.security.providers.jps.CSFCredentialStore.<init>(CSFCredentialStore.java:204)
         at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.<init>(CSFDTCredentialStore.java:93)
         ... 48 more
    Caused by: oracle.security.jps.JpsException: java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
         at oracle.adf.share.dt.jps.FileBasedJpsConfigStorage$FileBasedReader.parse(FileBasedJpsConfigStorage.java:60)
         at oracle.adf.share.dt.jps.JpsConfigReader.readXML(JpsConfigReader.java:79)
         at oracle.adf.share.dt.jps.JpsConfigUtils.readJpsConfig(JpsConfigUtils.java:123)
         at oracle.adf.share.dt.jps.JpsConfigUtils.getCredentialStore(JpsConfigUtils.java:1275)
         at oracle.adf.share.dt.jps.JpsConfigUtils.getCredentialStore(JpsConfigUtils.java:1301)
         at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.initialize(CSFDTCredentialStore.java:159)
         ... 50 more
    Caused by: java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
         at java.net.URL.openStream(URL.java:1009)
         at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
         at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
         at oracle.adf.share.dt.jps.FileBasedJpsConfigStorage$FileBasedReader.parse(FileBasedJpsConfigStorage.java:55)
         ... 55 moreEdited by: Zakir Hossain on Jun 7, 2009 1:37 PM

    Hi,
    Now I can work and connecting on it after importing connection files/parameters what created from another site of that Repository. And also can possible to do new connection.*
    But my question is why not getting proper message, why need to waste time about this type of error?*
    In JDeveloper 11g versions have lots of meaningless exceptions another is NullPointerException. Why not give us prompt with proper and valid information. I am very much tired about finding and identifying this types of BUG :)*
    Wish will be resolved by releasing a patch ASAP.*
    Regards
    Zakir
    ===

  • [Closed]Bumblebee - Failed to initialize the NVIDIA GPU

    Hi,
    I'am having trouble with bumblebee. When i ran
    optirun glxgears -info
    I get the following error,
    [ 66.574]
    X.Org X Server 1.14.2
    Release Date: 2013-06-25
    [ 66.574] X Protocol Version 11, Revision 0
    [ 66.574] Build Operating System: Linux 3.9.7-1-ARCH x86_64
    [ 66.574] Current Operating System: Linux archlinux 3.10.3-1-ARCH #1 SMP PREEMPT Fri Jul 26 11:26:59 CEST 2013 x86_64
    [ 66.574] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=2136b55a-3c0b-4a13-a536-86d195e15fa8 ro
    [ 66.574] Build Date: 01 July 2013 10:48:42AM
    [ 66.574]
    [ 66.574] Current version of pixman: 0.30.0
    [ 66.574] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 66.574] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 66.574] (==) Log file: "/var/log/Xorg.8.log", Time: Tue Jul 30 19:25:29 2013
    [ 66.589] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [ 66.589] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [ 66.607] (==) ServerLayout "Layout0"
    [ 66.607] (==) No screen section available. Using defaults.
    [ 66.607] (**) |-->Screen "Default Screen Section" (0)
    [ 66.607] (**) | |-->Monitor "<default monitor>"
    [ 66.607] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 66.607] (**) | |-->Device "DiscreteNvidia"
    [ 66.607] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 66.607] (**) Option "AutoAddDevices" "false"
    [ 66.607] (**) Option "AutoAddGPU" "false"
    [ 66.607] (**) Not automatically adding devices
    [ 66.607] (==) Automatically enabling devices
    [ 66.607] (**) Not automatically adding GPU devices
    [ 66.607] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 66.607] Entry deleted from font path.
    [ 66.607] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 66.607] Entry deleted from font path.
    [ 66.607] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 66.607] Entry deleted from font path.
    [ 66.607] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 66.607] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 66.607] Entry deleted from font path.
    [ 66.607] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 66.607] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/
    [ 66.607] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
    [ 66.607] (==) |-->Input Device "<default pointer>"
    [ 66.607] (==) |-->Input Device "<default keyboard>"
    [ 66.607] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
    [ 66.607] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
    [ 66.607] (II) Loader magic: 0x7fdc20
    [ 66.607] (II) Module ABI versions:
    [ 66.607] X.Org ANSI C Emulation: 0.4
    [ 66.607] X.Org Video Driver: 14.1
    [ 66.607] X.Org XInput driver : 19.1
    [ 66.607] X.Org Server Extension : 7.0
    [ 66.607] (II) xfree86: Adding drm device (/dev/dri/card1)
    [ 66.608] (II) xfree86: Adding drm device (/dev/dri/card0)
    [ 66.608] setversion 1.4 failed
    [ 66.609] (--) PCI:*(0:1:0:0) 10de:0fd4:1462:10d7 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
    [ 66.609] Initializing built-in extension Generic Event Extension
    [ 66.609] Initializing built-in extension SHAPE
    [ 66.609] Initializing built-in extension MIT-SHM
    [ 66.609] Initializing built-in extension XInputExtension
    [ 66.609] Initializing built-in extension XTEST
    [ 66.609] Initializing built-in extension BIG-REQUESTS
    [ 66.609] Initializing built-in extension SYNC
    [ 66.609] Initializing built-in extension XKEYBOARD
    [ 66.609] Initializing built-in extension XC-MISC
    [ 66.609] Initializing built-in extension SECURITY
    [ 66.609] Initializing built-in extension XINERAMA
    [ 66.609] Initializing built-in extension XFIXES
    [ 66.609] Initializing built-in extension RENDER
    [ 66.609] Initializing built-in extension RANDR
    [ 66.609] Initializing built-in extension COMPOSITE
    [ 66.609] Initializing built-in extension DAMAGE
    [ 66.609] Initializing built-in extension MIT-SCREEN-SAVER
    [ 66.609] Initializing built-in extension DOUBLE-BUFFER
    [ 66.609] Initializing built-in extension RECORD
    [ 66.609] Initializing built-in extension DPMS
    [ 66.609] Initializing built-in extension X-Resource
    [ 66.609] Initializing built-in extension XVideo
    [ 66.609] Initializing built-in extension XVideo-MotionCompensation
    [ 66.609] Initializing built-in extension XFree86-VidModeExtension
    [ 66.609] Initializing built-in extension XFree86-DGA
    [ 66.609] Initializing built-in extension XFree86-DRI
    [ 66.609] Initializing built-in extension DRI2
    [ 66.609] (II) LoadModule: "glx"
    [ 66.622] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
    [ 67.248] (II) Module glx: vendor="NVIDIA Corporation"
    [ 67.248] compiled for 4.0.2, module version = 1.0.0
    [ 67.248] Module class: X.Org Server Extension
    [ 67.248] (II) NVIDIA GLX Module 319.32 Wed Jun 19 14:55:38 PDT 2013
    [ 67.257] Loading extension GLX
    [ 67.257] (II) LoadModule: "nvidia"
    [ 67.258] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 67.346] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 67.346] compiled for 4.0.2, module version = 1.0.0
    [ 67.346] Module class: X.Org Video Driver
    [ 67.354] (II) LoadModule: "mouse"
    [ 67.354] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
    [ 67.357] (II) Module mouse: vendor="X.Org Foundation"
    [ 67.357] compiled for 1.14.0, module version = 1.9.0
    [ 67.357] Module class: X.Org XInput Driver
    [ 67.357] ABI class: X.Org XInput driver, version 19.1
    [ 67.357] (II) LoadModule: "kbd"
    [ 67.358] (WW) Warning, couldn't open module kbd
    [ 67.358] (II) UnloadModule: "kbd"
    [ 67.358] (II) Unloading kbd
    [ 67.358] (EE) Failed to load module "kbd" (module does not exist, 0)
    [ 67.358] (II) NVIDIA dlloader X Driver 319.32 Wed Jun 19 14:34:12 PDT 2013
    [ 67.358] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 67.359] (--) using VT number 7
    [ 67.367] (II) Loading sub module "fb"
    [ 67.367] (II) LoadModule: "fb"
    [ 67.367] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 67.367] (II) Module fb: vendor="X.Org Foundation"
    [ 67.368] compiled for 1.14.2, module version = 1.0.0
    [ 67.368] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 67.368] (WW) Unresolved symbol: fbGetGCPrivateKey
    [ 67.368] (II) Loading sub module "wfb"
    [ 67.368] (II) LoadModule: "wfb"
    [ 67.368] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 67.376] (II) Module wfb: vendor="X.Org Foundation"
    [ 67.376] compiled for 1.14.2, module version = 1.0.0
    [ 67.377] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 67.377] (II) Loading sub module "shadow"
    [ 67.377] (II) LoadModule: "shadow"
    [ 67.377] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 67.377] (II) Module shadow: vendor="X.Org Foundation"
    [ 67.377] compiled for 1.14.2, module version = 1.1.0
    [ 67.377] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 67.377] (II) Loading sub module "ramdac"
    [ 67.377] (II) LoadModule: "ramdac"
    [ 67.377] (II) Module "ramdac" already built-in
    [ 67.378] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 67.378] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
    [ 67.378] (==) NVIDIA(0): RGB weight 888
    [ 67.378] (==) NVIDIA(0): Default visual is TrueColor
    [ 67.378] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 67.378] (**) NVIDIA(0): Option "NoLogo" "true"
    [ 67.378] (**) NVIDIA(0): Option "ProbeAllGpus" "false"
    [ 67.379] (**) NVIDIA(0): Option "UseEDID" "false"
    [ 67.379] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
    [ 67.379] (**) NVIDIA(0): Enabling 2D acceleration
    [ 67.379] (**) NVIDIA(0): Ignoring EDIDs
    [ 67.379] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
    [ 67.379] (**) NVIDIA(0): mode
    [ 72.511] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    [ 72.511] (EE) NVIDIA(0): check your system's kernel log for additional error
    [ 72.511] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    [ 72.511] (EE) NVIDIA(0): README for additional information.
    [ 72.511] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    [ 72.511] (EE) NVIDIA(0): Failing initialization of X screen 0
    [ 72.512] (II) UnloadModule: "nvidia"
    [ 72.512] (II) UnloadSubModule: "shadow"
    [ 72.512] (II) UnloadSubModule: "wfb"
    [ 72.512] (II) UnloadSubModule: "fb"
    [ 72.512] (EE) Screen(s) found, but none have a usable configuration.
    [ 72.512] (EE)
    Fatal server error:
    [ 72.512] (EE) no screens found(EE)
    [ 72.512] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 72.512] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [ 72.512] (EE)
    [ 72.512] (EE) Server terminated with error (1). Closing log file.
    This is /etc/bumblebee/bumblebee.conf file;
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    # bbswitch - new in BB 3, recommended if available
    # switcheroo - vga_switcheroo method, use at your own risk
    # none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    In addition
    dmesg | grep nvidia
    does not return anything and
    modprobe nvidia
    returns
    modprobe: ERROR: could not insert 'nvidia': No such device
    There is no /etc/X11/xorg.conf file.
    Last edited by Selo (2013-07-30 19:41:25)

    Hello, I also I have that problem.
    $primusrun glxgears
    primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
    $grep -Fn '(EE' /var/log/Xorg.8.log
    15: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    105:[ 875.659] (EE) Failed to load module "mouse" (module does not exist, 0)
    110:[ 875.659] (EE) Failed to load module "kbd" (module does not exist, 0)
    153:[ 880.312] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
    154:[ 880.312] (EE) NVIDIA(0): check your system's kernel log for additional error
    155:[ 880.312] (EE) NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
    156:[ 880.312] (EE) NVIDIA(0): README for additional information.
    157:[ 880.312] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    158:[ 880.312] (EE) NVIDIA(0): Failing initialization of X screen 0
    163:[ 880.312] (EE) Screen(s) found, but none have a usable configuration.
    164:[ 880.312] (EE)
    166:[ 880.312] (EE) no screens found(EE)
    167:[ 880.312] (EE)
    171:[ 880.312] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    172:[ 880.313] (EE)
    173:[ 880.313] (EE) Server terminated with error (1). Closing log file.

  • Old famous problem - AP LAP1142N can't join the controller - 4402, please participate, let's make a good guide!

    Hello folks,
    I really feel sorry for bringing up this discussion again. I wouldn't dare to ask this question if I find someone's clear cut suggestion/solution or an overview giving a detailed step-by-step procedure. People just suggest jumping through so many  hoops like resetting the AP or converting it back to standalone mode and then back to LWAPP.
    Hence I have so many questions and hope that we can make a good guide covering all possible problems.
    1) AP was originally running a standalone image.  I booted it into a so-called ROMMON or AP mode (ESC is the right key to make it boot into this mode)
    I found a recovery image in its flash - c1140-rcvk9w8-mx. I made the AP boot from it by using "set" command and I see that it start booting using this recovery image. Here goes the question. Do all AP settings matter ? E.g. when I run "set" command from AP I see the following:
    ap: set
    ?=
    DEFAULT_ROUTER=10.0.0.1
    Default_router=10.9.99.1
    ENABLE_BREAK=yes
    IP_ADDR=10.0.0.1
    IP_AddR=10.9.99.9
    MANUAL_BOOT=no
    NETMASK=255.255.255.224
    NEW_IMAGE=yes
    PWR_INJECTOR_DETECT=0016.c7fa.b394
    RELOAD_REASON=9
    ROM_PERSISTENT_UTC=1014941470
    TERMLINES=0
    netmask=255.255.255.0
    2) How would do something like "write erase" or even recover the enable password while being in AP mode? Do I really need to do it ? What I see next makes me believe there's something with the AP configuration (particularly SSH) that prevents an AP join WLC.
    3) The AP is powered on, connected to the switchport on the same L2 VLAN where WLC management interface. Then it boots and gets an IP address from the DHCP server located on the other switch.
    *Mar  1 00:00:08.695: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Mar  1 00:00:08.705: %CDP_PD-2-POWER_LOW: All radios disabled - AC_ADAPTOR  (0000.0000.0000)
    *Mar  1 00:00:09.629: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:17.534: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0 assigned DHCP address 192.168.1.122, mask 255.255.255.0, hostname AP2
    Here comes the question, why do I see this on the console (pay attention at "transport input ssh" line)? Does it have anything to do  with an error for DTLS ?
    *Apr 12 12:44:21.034: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Apr 12 12:44:31.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.141 peer_port: 5246
    *Apr 12 12:44:55.000: DTLS_CLIENT_ERROR: ../dtls/dtls_connection_db.c:1924 Max retransmission count reached!
    *Apr 12 12:44:55.000: %DTLS-3-HANDSHAKE_RETRANSMIT: Max retransmit count for 192.168.1.141 is reached.
    transport input ssh
    ^
    % Invalid input detected at '^' marker.
    4) Do I have to connect the controller ap-manager interface to the network or I can rely on the AP find the WLC via its management interface. I have never worked with 4400 series controllers. Just started with 5500 and they don't have the ap-manager interface.
    Cisco guide says: "The management interface is also used for layer two communications between the WLC and access points", so I can safely assume that it is enough. Moreover I can ping the AP from the WLC while connected to WLC via SSH and its management interface.
    5) And finally, what's wrong with the discovery? This is what I see on the controller while debugging capwap packets:
    (Cisco Controller) debug>*spamReceiveTask: Apr 12 12:53:52.253: <<<<  Start of CAPWAP Packet  >>>>
    *spamReceiveTask: Apr 12 12:53:52.253: CAPWAP Control mesg Recd from 192.168.1.122, Port 57046
    *spamReceiveTask: Apr 12 12:53:52.253:          HLEN 4,   Radio ID 0,    WBID 1
    *spamReceiveTask: Apr 12 12:53:52.253:          Msg Type   :   CAPWAP_DISCOVERY_REQUEST
    *spamReceiveTask: Apr 12 12:53:52.253:          Msg Length : 29
    *spamReceiveTask: Apr 12 12:53:52.253:          Msg SeqNum : 0
    *spamReceiveTask: Apr 12 12:53:52.253:
    *spamReceiveTask: Apr 12 12:53:52.253:   Type : CAPWAP_MSGELE_DISCOVERY_TYPE, Length 1
    *spamReceiveTask: Apr 12 12:53:52.253:          Discovery Type : CAPWAP_DISCOVERY_TYPE_UNKNOWN
    *spamReceiveTask: Apr 12 12:53:52.253:
    *spamReceiveTask: Apr 12 12:53:52.253:   Type : CAPWAP_MSGELE_WTP_FRAME_TUNNEL, Length 1
    *spamReceiveTask: Apr 12 12:53:52.253:          WTP Frame Tunnel Mode : NATIVE_FRAME_TUNNEL_MODE
    *spamReceiveTask: Apr 12 12:53:52.253:
    *spamReceiveTask: Apr 12 12:53:52.253:   Type : CAPWAP_MSGELE_WTP_MAC_TYPE, Length 1
    *spamReceiveTask: Apr 12 12:53:52.253:          WTP Mac Type  : SPLIT_MAC
    *spamReceiveTask: Apr 12 12:53:52.253:
    *spamReceiveTask: Apr 12 12:53:52.253:   Type : CAPWAP_MSGELE_VENDOR_SPECIFIC_PAYLOAD, Length 10
    *spamReceiveTask: Apr 12 12:53:52.253:          Vendor Identifier  : 0x00409600
    *spamReceiveTask: Apr 12 12:53:52.254:
    What discovery mode are we in? L2 or L3 ?

    (Cisco Controller) >show sysinfo
    Manufacturer's Name.............................. Cisco Systems Inc.
    Product Name..................................... Cisco Controller
    Product Version.................................. 7.0.230.0
    RTOS Version..................................... 7.0.230.0
    Bootloader Version............................... 4.0.219.0
    Emergency Image Version.......................... N/A
    Build Type....................................... DATA + WPS
    System Name...................................... Cisco_8b:83:03
    System Location..................................
    System Contact...................................
    System ObjectID.................................. 1.3.6.1.4.1.14179.1.1.4.3
    IP Address....................................... 192.168.1.140
    System Up Time................................... 0 days 19 hrs 9 mins 20 secs
    System Timezone Location.........................
    Configured Country............................... CA  - Canada
    Operating Environment............................ Commercial (0 to 40 C)
    Internal Temp Alarm Limits....................... 0 to 65 C
    Internal Temperature............................. +41 C
    --More-- or (q)uit
    State of 802.11b Network......................... Enabled
    State of 802.11a Network......................... Enabled
    Number of WLANs.................................. 1
    Number of Active Clients......................... 0
    Burned-in MAC Address............................ 00:23:5E:8B:83:00
    Crypto Accelerator 1............................. Absent
    Crypto Accelerator 2............................. Absent
    Power Supply 1................................... Absent
    Power Supply 2................................... Present, OK
    Maximum number of APs supported.................. 12
    "Show inventory" on the AP doesn't give any output. Giving you the "show version" instead omitting some legal stuff
    AP2>sh ver
    Cisco IOS Software, C1140 Software (C1140-RCVK9W8-M), Version 12.4(18a)JA, RELEASE SOFTWARE (fc4)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by Cisco Systems, Inc.
    Compiled Fri 21-Nov-08 01:28 by prod_rel_team
    ROM: Bootstrap program is C1140 boot loader
    BOOTLDR: C1140 Boot Loader (C1140-BOOT-M) Version 12.4(18a)JA, RELEASE SOFTWARE (fc4)
    AP2 uptime is 1 hour, 42 minutes
    System returned to ROM by reload
    System image file is "flash:/c1140-rcvk9w8-mx/c1140-rcvk9w8-mx"
    Last reload reason:
    cisco AIR-LAP1142N-N-K9    (PowerPC405ex) processor (revision A0) with 98294K/32768K bytes of memory.
    Processor board ID FTX1329S9NB
    PowerPC405ex CPU at 586Mhz, revision number 0x147E
    Last reset from reload
    LWAPP image version 3.0.51.0
    1 Gigabit Ethernet interface
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:22:BD:18:ED:66
    Part Number                          : 73-11451-06
    PCA Assembly Number                  : 800-30554-03
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC13282UKM
    Top Assembly Part Number             : 800-31273-01
    Top Assembly Serial Number           : FTX1329S9NB
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-LAP1142N-N-K9
    Configuration register is 0xF
    And the full boot process on WAP:
    IOS Bootloader - Starting system.
    Xmodem file system is available.
    DDR values used from system serial eeprom.
    WRDTR,CLKTR: 0x84000800, 0x40000000
    RQDC, RFDC : 0x80000038, 0x0000020a
    PCIE0: link is up.
    PCIE0: VC0 is active
    PCIE1: link is up.
    PCIE1: VC0 is active
    PCIEx: initialization done
    flashfs[0]: 149 files, 8 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 32385024
    flashfs[0]: Bytes used: 7901696
    flashfs[0]: Bytes available: 24483328
    flashfs[0]: flashfs fsck took 16 seconds.
    Reading cookie from system serial eeprom...Done
    Base Ethernet MAC address: 00:22:bd:18:ed:66
    Ethernet speed is 100 Mb - FULL duplex
    Loading "flash:/c1140-rcvk9w8-mx/c1140-rcvk9w8-mx"...#############################################################################################################################################################################################################################
    File "flash:/c1140-rcvk9w8-mx/c1140-rcvk9w8-mx" uncompressed and installed, entry point: 0x4000
    executing...
    enet halted
    Cisco IOS Software, C1140 Software (C1140-RCVK9W8-M), Version 12.4(18a)JA, RELEASE SOFTWARE (fc4)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by Cisco Systems, Inc.
    Compiled Fri 21-Nov-08 01:28 by prod_rel_team
    Image text-base: 0x00004000, data-base: 0x00430000
    Proceeding with system init
    Proceeding to unmask interrupts
    Initializing flashfs...
    flashfs[1]: 149 files, 8 directories
    flashfs[1]: 0 orphaned files, 0 orphaned directories
    flashfs[1]: Total bytes: 32385024
    flashfs[1]: Bytes used: 7901696
    flashfs[1]: Bytes available: 24483328
    flashfs[1]: flashfs fsck took 4 seconds.
    flashfs[1]: Initialization complete....done Initializing flashfs.
    Ethernet speed is 100 Mb - FULL duplex
    cisco AIR-LAP1142N-N-K9    (PowerPC405ex) processor (revision A0) with 98294K/32768K bytes of memory.
    Processor board ID FTX1329S9NB
    PowerPC405ex CPU at 586Mhz, revision number 0x147E
    Last reset from power-on
    LWAPP image version 3.0.51.0
    1 Gigabit Ethernet interface
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:22:BD:18:ED:66
    Part Number                          : 73-11451-06
    PCA Assembly Number                  : 800-30554-03
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC13282UKM
    Top Assembly Part Number             : 800-31273-01
    Top Assembly Serial Number           : FTX1329S9NB
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-LAP1142N-N-K9
    % Please define a domain-name first.
    ip ssh version 2
    ^
    % Invalid input detected at '^' marker.
    transport input ssh
    ^
    % Invalid input detected at '^' marker.
    aaa new-model
    ^
    % Invalid input detected at '^' marker.
    aaa authentication login default local
    ^
    % Invalid input detected at '^' marker.
    login authentication default
    ^
    % Invalid input detected at '^' marker.
    transport input ssh
    ^
    % Invalid input detected at '^' marker.
    RS
    Press RETURN to get started!
    SI IDB null
    RSSI IDB null
    *Mar  1 00:00:05.992: *** CRASH_LOG = YES
    Base Ethernet MAC address: 00:22:BD:18:ED:66
    *Mar  1 00:00:06.203: %LWAPP-3-CLIENTEVENTLOG: Read and initialized AP event log (contains, 1024 messages)
    *Mar  1 00:00:08.251: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:08.292: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1140 Software (C1140-RCVK9W8-M), Version 12.4(18a)JA, RELEASE SOFTWARE (fc4)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by Cisco Systems, Inc.
    Compiled Fri 21-Nov-08 01:28 by prod_rel_team
    *Mar  1 00:00:08.318: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Mar  1 00:00:08.327: %CDP_PD-2-POWER_LOW: All radios disabled - AC_ADAPTOR  (0000.0000.0000)
    *Mar  1 00:00:09.251: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:17.157: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0 assigned DHCP address 192.168.1.123, mask 255.255.255.0, hostname AP2
    logging origin-id string AP:0022.bd18.ed66
    ^
    % Invalid input detected at '^' marker.
    logging 255.255.255.255
    ^
    % Invalid input detected at '^' marker.
    logging trap 3
    ^
    % Invalid input detected at '^' marker.
    *Mar  1 00:00:27.230: %CAPWAP-3-ERRORLOG: Not sending discovery request AP does not have an Ip !!
    *Mar  1 00:00:27.343: Logging LWAPP message to 255.255.255.255.
    Translating "CISCO-LWAPP-CONTROLLER"...domain server (192.168.1.40)
    *Mar  1 00:00:38.267: %CAPWAP-3-ERRORLOG: Did not get log server settings from DHCP.
    *Mar  1 00:00:39.267: %CAPWAP-3-ERRORLOG: Could Not resolve CISCO-LWAPP-CONTROLLER
    *Apr 12 15:39:49.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_ip: 192.168.1.141 peer_port: 5246

  • Failed to Initialize the application 'soa-infra'

    Hi,
    During installation of SOA 11g, i am facing problem in starting the managed server.
    Iam using the following components with versions:
    *1. JDeveloper Studio Edition Version 11.1.1.2.0 (Base install)*
    *2. Weblogic Server 10.3.2.0*
    *3. SOA Suite 11.1.1.2.0*
    Configured the weblogic sever and initialized successful. I can able to login with weblogic admin console http://localhost:7001/console
    But unable to initialize the managed server.
    I entered in the command prompt the following line to start the Managed server:
    cd C:\Oracle\Middleware\home_11gR1\user_projects\domains\domain1\bin+
    startManagedWebLogic.cmd soa_server1*
    please find the error logs below:
    <14 Feb, 2010 10:36:22 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'soa-infra' due to error weblogic.management.DeploymentExce
    ption: [J2EE:160149]Error while processing library references. Unresolved applic
    ation library references, defined in weblogic-application.xml: [Extension-Name:
    adf.oracle.domain, exact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(
    CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:1221)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:83)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:367)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
    a:54)
    Truncated. see log file for complete stacktrace
    >
    <14 Feb, 2010 10:36:22 PM IST> <Notice> <Log Management> <BEA-170027> <The Serve
    r has established connection with the Domain level Diagnostic Service successful
    ly.>
    <14 Feb, 2010 10:36:22 PM IST> <Critical> <WebLogicServer> <BEA-000286> <Failed
    to invoke startup class "Audit Loader Startup Class", java.lang.ClassNotFoundExc
    eption: oracle.security.audit.ajl.loader.JEEAuditLoader
    java.lang.ClassNotFoundException: oracle.security.audit.ajl.loader.JEEAuditLoade
    r
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    >
    <14 Feb, 2010 10:36:22 PM IST> <Critical> <WebLogicServer> <BEA-000286> <Failed
    to invoke startup class "OWSM Startup class", java.lang.ClassNotFoundException:
    oracle.wsm.policymanager.util.PolicyManagerStartup
    java.lang.ClassNotFoundException: oracle.wsm.policymanager.util.PolicyManagerSta
    rtup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    >
    <14 Feb, 2010 10:36:22 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to ADMIN>
    <14 Feb, 2010 10:36:22 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RESUMING>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    5]" is now listening on fe80:0:0:0:9110:972e:a205:5448:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    7]" is now listening on 0:0:0:0:0:0:0:1:8001 for protocols iiop, t3, ldap, snmp,
    http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    1]" is now listening on 2001:0:cf2e:3096:18e0:c66:8a3e:95d4:8001 for protocols i
    iop, t3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    3]" is now listening on fe80:0:0:0:745d:4ced:9c6f:b98:8001 for protocols iiop, t
    3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default"
    is now listening on 192.168.1.2:8001 for protocols iiop, t3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    6]" is now listening on fe80:0:0:0:0:5efe:c0a8:102:8001 for protocols iiop, t3,
    ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    4]" is now listening on fe80:0:0:0:18e0:c66:8a3e:95d4:8001 for protocols iiop, t
    3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    2]" is now listening on fe80:0:0:0:159e:df37:2373:d1e1:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    8]" is now listening on 127.0.0.1:8001 for protocols iiop, t3, ldap, snmp, http.
    >
    <14 Feb, 2010 10:36:23 PM IST> <Notice> <WebLogicServer> <BEA-000332> <Started W
    ebLogic Managed Server "soa_server1" for domain "domain1" running in Development
    Mode>
    <14 Feb, 2010 10:36:23 PM IST> <Warning> <Server> <BEA-002611> <Hostname "USER-P
    C", maps to multiple IP addresses: 192.168.1.2, fe80:0:0:0:159e:df37:2373:d1e1%1
    0, fe80:0:0:0:18e0:c66:8a3e:95d4%12, 2001:0:cf2e:3096:18e0:c66:8a3e:95d4>
    <14 Feb, 2010 10:36:27 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RUNNING>
    <14 Feb, 2010 10:36:27 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server st
    arted in RUNNING mode>
    when i entered the address in the url : http://localhost:7001/em getting the below message in the browser
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.4.5 404 Not Found*
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Can any one help me to resolve this problem...
    Thanx in advance
    Regards,
    Aejaz
    Edited by: Aejaz on Feb 14, 2010 10:13 AM

    I had already configured the EM manager and other things while creating domain. I selected the option as follows;
    1. create a new weblogic domain.
    2. generate a domain configured automatically to support the following products.
    (selected the below items)
    oracle soa suite 11.1.1.0
    oracle enterprise manager 11.1.1.0
    oracle BAM 11.1.1.0
    oracle wsm....
    oracle JRF...
    All the above steps were shown as successfull till the last.
    But facing the problem while starting the severs (only weblogic server started successfully).
    Iam using versions :
    Weblogic Server 10.3.2.0
    SOA Suite 11.1.1.2.0 (but the wizard is showing version as 11.1.1.0)
    Is this problem is due to version difference?
    Thanx
    Aejaz

  • What is the correct way to inform the controller of an exception in MVC?

    Hi this question has been on my mind for a while.
    Imagine you have a an application based on MVC (mode, view controller) design pattern.
    If a non-fatel exception is thrown in the model (e.g. a number format exception) what is the standard way to of informing the controller so that it can do something useful like display an error pop-up or 'gracefully' shut-down the application.
    The two ideas I came up with are:
    -Return -1 or some other variable in the 'catch' of the try/catch.
    Could be messy, every time you called a risky method you would have to wrap it in an if statement.
    -Declare the model as throwing the exception - that way the controller can 'catch' it and do something useful.
    Possibly makes the controller less cohesive.
    -Handle the error directly from the model by having it display a pop-up error message or forward to an error page etc.
    This would make the model less cohesive.
    The controller should still be informed for the exception so it can decide what to do next - if the exception occurred during form validation shouldnt the controller e responsible for redisplaying the form with an error message?
    Is there a 'best practice' of handling exceptions?
    Thanks
    Edited by: vijizzle on May 12, 2010 8:25 PM

    Just have it throw an Exception and let the Controller deal with it.
    Using a pop-up in the Model makes no sense to me. User interface is the View's job. Ultimately, an error pop-up may be presented, but the problem will be passed back to the View before that happens.

  • The BPM Workspace is loading and failing to initialize the directory.xml

    Hi BPM Specialists,
    I installed BPM along with SOA suit in Windows XP box. Now I am getting failing to initialize directory.xml error and the workspace is not getting loaded.I am not able to locate a directory.xml file in my installed directory. Please let me know what needs to be done.Thanks a lot in adavance.
    Initializing PAPI services...
    <May 3, 2011 1:10:23 PM IST> <Error> <oracle.bpm.common> <BEA-000000> <directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:335)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.initPAPI(ADFWorkspaceEnvironment.java:66)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.initialize(WorkspaceEnvironment.java:113)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.<init>(WorkspaceEnvironment.java:85)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.<init>(ADFWorkspaceEnvironment.java:37)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:51)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    >
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: ..\config\directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:335)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.initPAPI(ADFWorkspaceEnvironment.java:66)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.initialize(WorkspaceEnvironment.java:113)
    at oracle.bpm.workspace.model.common.WorkspaceEnvironment.<init>(WorkspaceEnvironment.java:85)
    at oracle.bpm.workspace.adf.model.common.ADFWorkspaceEnvironment.<init>(ADFWorkspaceEnvironment.java:37)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:51)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    java.lang.reflect.InvocationTargetException
    <May 3, 2011 1:10:23 PM IST> <Error> <oracle.bpm.common> <BEA-000000> <WorkSpace failed on Startup.>
    <May 3, 2011 1:10:23 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.bpm.workspace.adf.ADFWorkspaceContextListener failed: oracle.bpm.lang.exception.ProgramException: WorkSpaceWorkSpace failed on Startup..
    oracle.bpm.lang.exception.ProgramException: WorkSpaceWorkSpace failed on Startup.
    at oracle.bpm.lang.exception.ProgramException.wrap(ProgramException.java:54)
    at oracle.bpm.workspace.adf.ADFWorkspaceContextListener.contextInitialized(ADFWorkspaceContextListener.java:55)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.bpm.web.WebEnvironment.initialize(WebEnvironment.java:80)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: Critical Error.
    Detail:
    directory configuration runtime fails to initilize with resource: ..\config\directory.xml

    Thanks a lot for you reply.
    I have installed OBPM 11g along with SOA suit.So whenever I am trying to restart the WL server, the log is showing the error where it is not able to initialize the directory.xml.
    Could you please let me know what else can be done?

  • How to get the table Event action in the controller???

    HI
    Based on my requirement i have extended my controller,but i want to perform some validation like ,,,,
    i have table in one region ,in which one column is having a Button (flex field) action with image,
    i want to write the code in the controller according to the validation ,,,,but i am unable to find the event action in the main controller,
    how to get the event action ?,,,,, of the item type as image
    thanks in advance
    Kash

    If not you can use image component with clientListener and serverListener to preform your requirement set clientListener click event and then inside clientListener java script method call the
    serverListener then will execute serverListener method.

  • Problem with a method to modify the transparency of a Label UILabel

    HI
    I Have create a small project which can modify the brightness ( or the transparency ) of a label
    UIlabel
    So the code
    File .m
    ControlBoxCookeAppDelegate.m
    Code :
    Code:
    *// ControlBoxCookeAppDelegate.m*
    *// Control Box Cooke*
    *// Created by Bruno on 1/11/10.*
    *// Copyright _MyCompanyName_ 2010. All rights reserved.*
    *#import "SerialManager.h"*
    *#import "ControlBoxCookeAppDelegate.h"*
    *#import "PickerViewController.h"*
    *#include <fcntl.h>*
    *#include "Led.h"*
    *@implementation ControlBoxCookeAppDelegate*
    *@synthesize window;*
    *- (void)applicationDidFinishLaunching:(UIApplication *)application {*
    *// Override point for customization after application launch*
    *[window makeKeyAndVisible];*
    //RootViewController.m
    *- (void)applicationDidFinishLaunching:(UIApplication *)application {*
    * pvController = [[PickerViewController alloc] initWithNibName:@"pickerview"/@"MainWindow"*//@"Control Box Cooke"//*@"PickerView"/ bundle:[NSBundle mainBundle]];*
    * Led_Operateur= [[Led alloc] initWithFrame:CGRectMake(20,50,280,20)];*
    * Led_Operateur.text=@" ";*
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.5]];*
    * [pvController.view addSubview:Led_Operateur];*
    * [window addSubview:pvController.view];*
    * // Override point for customization after application launch*
    * [window makeKeyAndVisible];*
    *- (void)dealloc {*
    * [Led_Operateur release];*
    * [pvController release];*
    *[window release];*
    *[super dealloc];*
    -(void)Modifie_luma:(CGFloat)luma
    * pvController = [[PickerViewController alloc] initWithNibName:@"pickerview" bundle:[NSBundle mainBundle]];*
    * Led_Operateur= [[UILabel alloc] initWithFrame:CGRectMake(20,50,280,20)];*
    * Led_Operateur.text=@" ";*
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: luma]];*
    * [pvController.view addSubview:Led_Operateur];*
    * [window addSubview:pvController.view];*
    * [window makeKeyAndVisible];*
    @end
    file.h
    Code :
    Code:
    *// ControlBoxCookeAppDelegate.h*
    *// Control Box Cooke*
    *// Created by Bruno on 1/11/10.*
    *// Copyright _MyCompanyName_ 2010. All rights reserved.*
    *#import <UIKit/UIKit.h>*
    *#import "SerialManager.h"*
    *#import "led.h"*
    *@class PickerViewController;*
    *@interface ControlBoxCookeAppDelegate : NSObject <UIApplicationDelegate> {*
    *UIWindow window;
    * PickerViewController pvController;
    * SerialManager portCunima;
    * int portin,portout; // numero de port de com in-out*
    * UILabel Led_Operateur;
    -(void)Modifie_luma:(CGFloat)luma;
    *@property (nonatomic, retain) IBOutlet UIWindow window;
    @end
    To the initialization no problem my label UILabel display itself very well with the transparency
    of 50% ( alpha=0.5)
    But when I modify this transparency with a button, in my window iPhone
    the program call the method Modifie_Luma witch is the class
    ControlBoxCookeAppDelegate
    the program go on to this method, (I have fixe a breakpoint) but impossible to various this transparency.
    So if I change in method (void)applicationDidFinishLaunching
    the transparency
    example alpha =0,5 => alpha =0,8
    Code :
    Code:
    * [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.8]];*
    this example go on
    resume
    when I change the transparency in the method
    (void)applicationDidFinishLaunching it 's OK
    when I change the transparency in the method
    -(void)Modifie_luma it's not OK
    Have you an explanation ?

    So the code , sorry but no marker for the code in post
    How do you do ?
    // ControlBoxCookeAppDelegate.h
    // Control Box Cooke
    // Created by Bruno on 1/11/10.
    // Copyright _MyCompanyName_ 2010. All rights reserved.
    #import <UIKit/UIKit.h>
    #import "SerialManager.h"
    #import "led.h"
    @class PickerViewController;
    @interface ControlBoxCookeAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    PickerViewController *pvController;
    SerialManager *portCunima;
    int portin,portout; // numero de port de com in-out
    UILabel *Led_Operateur;
    -(void)Modifie_luma:(CGFloat)luma;
    @property (nonatomic, retain) IBOutlet UIWindow *window;
    @end
    // ControlBoxCookeAppDelegate.m
    // Control Box Cooke
    // Created by Bruno on 1/11/10.
    // Copyright _MyCompanyName_ 2010. All rights reserved.
    #import "SerialManager.h"
    #import "ControlBoxCookeAppDelegate.h"
    #import "PickerViewController.h"
    #include <fcntl.h>
    #include "Led.h"
    @implementation ControlBoxCookeAppDelegate
    @synthesize window;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Override point for customization after application launch
    [window makeKeyAndVisible];
    //RootViewController.m
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    pvController = [[PickerViewController alloc] initWithNibName:@"pickerview"/@"MainWindow"*//@"Control Box Cooke"//*@"PickerView"/ bundle:[NSBundle mainBundle]];
    Led_Operateur= [[Led alloc] initWithFrame:CGRectMake(20,50,280,20)];
    Led_Operateur.text=@" ";
    [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: 0.5]];
    [pvController.view addSubview:Led_Operateur];
    [window addSubview:pvController.view];
    Led *ZoneA;
    CGRect Dimension;
    ZoneA = [[Led alloc]initWithFrame:Dimension];
    [pvController.view addSubview:ZoneA];
    [window addSubview:pvController.view];
    [ZoneA Modifie_luma:0.5];
    [ZoneA release];
    // Override point for customization after application launch
    [window makeKeyAndVisible];
    Led *Led1;
    CGRect frame;
    Led1=[[Led alloc] initWithFrame:frame];
    [pvController.view addSubview:Led1];
    [window addSubview:pvController.view];
    [Led1 release];
    [label release];
    [Error_message release];
    [path_port release];
    - (void)dealloc {
    [Led_Operateur release];
    [pvController release];
    [window release];
    [super dealloc];
    -(void)Modifie_luma:(CGFloat)luma
    pvController = [[PickerViewController alloc] initWithNibName:@"pickerview" bundle:[NSBundle mainBundle]];
    Led_Operateur= [[UILabel alloc] initWithFrame:CGRectMake(20,50,280,20)];
    Led_Operateur.text=@" ";
    [Led_Operateur setBackgroundColor: [ UIColor colorWithWhite:1.0 alpha: luma]];
    [pvController.view addSubview:Led_Operateur];
    [window addSubview:pvController.view];
    [window makeKeyAndVisible];
    @end

  • In OAF, How to get the DFF Attributes bean in the PR of the controller

    Hi All,
    I am not able to get the holder of the Descriptive Flex Field bean attributes in the processrequest method of the controller. Any idea, how to get it?
    my Code Snippet:
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)webBean.findIndexedChildRecursive("AdditionalAttributes");
    if(oadescriptiveflexbean != null)
    System.out.println("oadescriptiveflexbean is not null);
    OAWebBean bean1 = (OAWebBean) oadescriptiveflexbean.findIndexedChildRecursive("AdditionalAttributes1");
    System.out.println("bean1 "+bean1);
    It is going inside the IF condition. But, it displaying the bean1 value as null.
    Regards,
    Soorya

    Hi,
    You cannot reorder the dffbeans. In DFF setup definition itself, you have to maintain the sequence of the fields.
    DFF beans are listed under flow layout by default. Following note from OA Framework developer guide
    ++++
    Altering the Flexfield UI LayoutNote:
    This is not recommended by the OA Framework team and may cause problems with PPR.
    If you want to do something unusual with the descriptive flexfield UI layout (like insert a button after every segment or move the segments around), you need to follow these steps:
    Find the OADescriptiveFlexBean by attribute name and call the processFlex method on OADescriptiveFlexBean. After this, you will be creating the flexfield segment web beans based on metadata and the view object attribute.
    Call the getIndexedChild(int)method on the flexfield web bean to go through all the child of the flexfield and alter the layout as desired.
    ++++
    Regards,
    Soorya

Maybe you are looking for

  • How will you turn off an IPhone 4S voice over with the latest IOS

    How will you turn off Voice Over in Iphone 4S? i tried turning it off through settings/accessability/voice over but when i turned it off it always go back to ON. It is very depressing to go over with this feature. Thanks.

  • GUI Development Paradigm

    Hi everybody! I'm quite new in ALBPM and I have some questions about it, especially about user interfaces. I've been developing JSP aplications (using MVC frameworks) for a long time, and I can't figure out how does it fit in the ALBPM world. What's

  • ASK THE EXPERTS - WAAS MONITORING AND REPORTING

    Welcome to the Cisco Networking  Professionals Ask the Expert conversation. This is an opportunity to learn about Cisco Wide Area Application Services monitoring and reporting with Michael Holloway and Joe Merrill.  Michael is an escalation support e

  • Magnetic Lasso Tool Question/Suggestion

    Hello: I've been suing the magnetic lasso tool to make a selection of a group of people; there is a lot of going between legs and over heads, etc.  But invariably when I get about half way through the selection the magnetic lasson tool acts as if I'v

  • App won't run on MacBook Air

    Hi, I am trying to run an App on my Itunes (MacBook Air, latest model) but although the App has downloaded, i can't get it to run. It is a childrens' App which, when running, allows me to download the individual videos/songs (Gigglebellies). As my Ip