Weird Bouncy castle problem... works on cmd prompt, error in midlet

Hi, i'm developing a RC4 code.... it works when i made the main method display the plaintext, ciphertext and decrypted text.
But, putting it to a MIDlet, i get the error message:
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/CipherParameters
     at TestRC4.<init>(+36)
     at java.lang.Class.runCustomCode(+0)
     at com.sun.midp.midlet.MIDletState.createMIDlet(+34)
     at com.sun.midp.midlet.Scheduler.schedule(+52)
     at com.sun.midp.main.Main.runLocalClass(+28)
     at com.sun.midp.main.Main.main(+80) Why? how do i fix it?

I call OpenProcess(), even with minimal parameters like PROCESS_QUERY_INFORMATION
Actually it's not minimal:
Generic read access to a higher integrity process (PROCESS_VM_READ access to the virtual memory of a process, and
PROCESS_QUERY_INFORMATION) is restricted to block the ability of lower-privilege processes from gaining read access to memory that may contain password data or other key material that is used for authentication.
https://msdn.microsoft.com/en-us/library/bb625962.aspx

Similar Messages

  • Process chains problems : Working every day with error (red)

    Hi All,
    I have a next question, about process chains problem.
    When I start my process chains immediate, then working without errors,  but I want this process chains work every day and chainged properties, selected date/time and periodicaly (every day) but now it work with error.
    How to I find problems? What are yours offers?
    p.s. I see logs, but every day have diffence between errors.
    Regards,
    Mahir M. Quluzade

    HI,
    just check the time which you have given is OK or is overlappintg with some other job which is locking your table in process chain
    or is colliding with attribute change run
    or it fails because of lack of background processes.
    There could be numerious reasons and you need to analyze the log for this.
    But as you said the job is failing everday for different reasons..try to find the most common errors and try to remove it or mention that here.
    Thanks
    Ajeet

  • Signing Bouncy Castle or third party provider's jar file with signtool

    Hi,
    I am using JDK 1.4.2 and bouncy castle as a provider for RSA.
    It worked fine until recently when my company asked me to compile and build the jar from the source code from bouncy castle, instead of using the binary version provided in their website.
    But I only have a certificate obtained from Verisign. So I used signtool 1.3 from netscape to sign the jar file, which could be verified by jarsigner. But when use this one signed by my company's certificate. it didn't work. The exception is
    java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/
    ECB/PKCS1Padding
    at javax.crypto.Cipher.getInstance(DashoA6275)
    When I switch back to the signed jar file provided by bouncy castle, everything worked ok again.
    It looks that jar file is not recognized properly.
    Can anyone tell me if I can use the signtool to sign the provider's jar file? Or I have to sign with jarsigner?
    Thanks for the help.

    Thanks for your reply.
    I am reluctant to use the lightweight crypto API
    becaues it will be difficult to switch to anther
    service provider.True. However, if you switch to another Provider, you'll have the same trouble you're having with BC regarding rebuilding from source.
    In BC's website, they don't have "cleanroom" JCE
    listed for JDK 1.4
    Can you give some resource for that?Hmmm - no, I can't. I haven't needed the cleanroom impl, so I stopped paying attention to it. I do't know if BC is working on a 1.4-compatible one or not. You might post a note to the dev-crypto mailing list BC runs.
    Can I sign BC's jar file by my JCE certificate if I
    obtain one from SUN?Unless you're recognized by Sun as a company that does significant security development, you will NOT get a security-signing cert. Several of us have already made the attempt.
    The net is, what your bosses are asking for is unreasonable, and is preventing you from getting your job done. If they continue to insist that you build your security code from source, then your CANNOT use the JCE structure, period. In that case, you might as well use the BC lightweight API.
    Grant

  • Idea Centre K410 boots to cmd prompt only

    Hi, I'm trying to fix an IdeaCentre K410 with Windows 8 on it.  The issue is when I power on the computer it does the following:
    1. the "lenovo" logo comes up
    2. the system beeps once as the logo disappears
    3. the logo comes back after the beep
    4. a circle of dots starts spinning under the logo
    5. a blue (maybe bluish-green) box appears for a second or two (literally)
    6. cmd.exe pops up
    The command prompt starts out with X:\windows\system32>
    The C: drive has been reformatted so windows is no longer installed on it.  The X: drive (I'm guessing this is the recovery partition?) appears to be intact as the X: directory contains OneKey, Program Files, Program Files (x86), Users, Windows, and LRSBootTmp.log
    I've moved into the OneKey\main directory and attempted to run LRSBoot.exe (assuming this is the Lenovo Recovery System) but it pops up an alert box with the title "Caution" and then says "First parameter format is not correct, as X:XX.vbs"  I have absolutely no idea what that means.  The only thing I can do at that point is click "OK" (the only option) or hit the red x; both of which take me back to command prompt.
    I was also given the Lenovo Start Recovery Discs that came with the computer, but there is no option to boot from the cd/dvd drive.  I've gone into the BIOS (the only other thing I can get into besides cmd prompt) and looked at the boot settings but the only options I get are Auto, UEFI Only, and Legacy Only.  I've tried all three.  I've also checked the "Secure Boot" status but it is disabled and I don't seem to even have the option to enable it (though everything I've read says to leave it disabled).
    I've put the recovery disc and went through the various directories (in cmd prompt) trying several executables that looked like they might start the recovery program.  I get told every time that, "The subsystem needed to support the image type is not present" or "This version of..." insert file/executable here "...is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher."
    I'm at a loss what to do.  I've never encountered a BIOS that didn't have a boot from cd/dvd option.  Nor have I ever had a computer that only loads up exclusively in cmd prompt.  Any help would be much appreciated.  Thanks.
    Solved!
    Go to Solution.

    Ok so I solved it after several hours... Remind me never to buy a Lenovo computer or quite possibly Windows 8.
    For anyone else experiencing the same type of issue here is what I ended up doing.
    I pulled the hard drive from the Lenovo computer and hooked it up to my personal desktop.  I then ran diskpart.exe in the Run window (Windows key + R, or should be at the bottom of the start bar).  I used diskpart to delete every partition (including the "hidden" ones on the Lenovo hard drive; this included four partitions labeled "Recovery," one labeled "OEM," one labled "ETFS" (or something like that, I should have written it down), and the C: partition.  Once I had a completely unpartitioned unformated drive I used diskmanagement to format the drive using NTFS. Disk management is found by right-clicking the My Computer or Computer icon and clicking on Manage: this pops up Computer Management and Disk Management should be one of the options in the left-hand pane.
    Once this was done I shut down my computer, unplugged the power cable, disconnected the hard drive and then put it back into the Lenovo computer.  At this point I went into the BIOS settings on the Lenovo computer and reset them to factory default, with a slight change to the boot priority (I made the DVD drive the top priority, not sure if this was necessary or not).  I then inserted the Lenovo recovery disc 1, and allowed the computer to boot.  Since it could no longer find any remnant of the previous Windows 8 installation it quit trying to boot from the hard drive, and instead booted from the CD.
    Then I just had to wait (about 2 hours) for the whole recovery process to complete and pay attention to when it asked for the next recovery disc--which I don't think it actually used discs 4 or 5 but I put them in anyways just to have it immediately tell me to move on to the next disc.  Disc 6 did finish the process however so no complaints.  Once the discs were complete it started unloading files in several cmd prompt windows and seemed to be stuck for most of the 2 hours at this point. However, a few of the cmd prompt windows are minimized and if you maximize them you will see it is working you just need patience.
    After it was all said and done I created the profile and checked for windows updates about 20 times (an exaggeration but not by much) and voila it now works.  Windows 8 is back on the computer and everything is running fine.  And to top it off I didn't have to call and deal with the Lenovo support.
    That said I'm not sure this is the best approach and if I had realized how screwed up the computer was I probably wouldn't have offered to fix it.  I don't recommend this approach unless you really feel comfortable in what you are doing or have nothing to lose.  Anyways thought I would share as in most cases there are several other people with the same problem.

  • Bouncy Castle Encryption for Large XML Files?

    Hi,
    I am trying to encrypt files > 8 KB using the KeyBasedLargeFileProcessor Utility class of Bouncy Castle.
    It's encrypting the file. But, unable to decrypt the same encrypted file. Hence it's encrypting incorrectly.
    While trying to decrypt the encrypted file, it says "It was encrypted with a key (4E616D65) that does not exist"
    Please suggest what change needs to be made in the 'encryptFile' method where it says -
    "OutputStream cOut = cPk.open(out, new byte[1 << 16]);"
    I tried changing the value, but it doesn't work. The maximum file size that we may encrypt is around 3 MB.
    The files that are being encrypted / decrypted are XML files.
    Any inputs are highly appreciated.
    Thanks,
    Tan

    While trying to decrypt the encrypted file, it says "It was encrypted with a key (4E616D65) that does not exist" So use the same key you encrypted with.
    Please suggest what change needs to be made in the 'encryptFile' method where it says -
    "OutputStream cOut = cPk.open(out, new byte[1 << 16]);" Do you have some evidence that that's where the problem is?

  • Applet leaves cmd prompt hanging afr exit under 1.3.1_02, ok under 1.2.2

    Subject: Applet leaves cmd prompt hanging afr exit under 1.3.1_02, ok under 1.2.2
    I am working with examples from a Java book. My applets leaving the command promt hanging after closing them by clicking the X in the upper left corner. I am running Windows NT 4.0, svc pack 6.
    After the applet is ended the command window hangs and won't respond to ctrl-c. If I attempt to close the command window a message box appears saying the command window is unable to respond to the end request (busy or waiting) and gives me the option to wait / end / cancel.
    This has happened with all the applet examples I have tried and some Sun JAI examples.
    Here is an example from a Java primer:
    import java.applet.Applet;
    import java.awt.Graphics;
    <applet code="AppletLifecycle" width=300 height=50>
    </applet>
    public class AppletLifecycle extends Applet {
    String str = "";
    public void init() {
    str += "init; ";
    public void start() {
    str += "start; ";
    public void stop() {
    str += "stop; ";
    public void destroy() {
    System.out.println("destroy");
    public void paint(Graphics g) {
    g.drawString(str, 10, 25);
    import java.applet.*;
    import java.awt.*;
    <applet code="FirstApplet" width=400 height=400>
    </applet>
    public class FirstApplet extends Applet {
    public void paint(Graphics g) {
    g.drawString("This is my first applet!", 20, 200);
    After compling, from the command line I enter:
    C:> appletviewer AppletLifecycle.java (or AppletLifecycle.htm)
    The applet comes up correctly.
    If I close the applet by clicking the X in the upper right corner
    - the applet window goes blank
    - "destroy" appears in the command window
    - the command session is hung and will not respond to a ctrl-c to end the application
    I either have to use task manager to kill the command session or click on the X in the upper right corner of the command window. Task manger says the command session is "not responding". Either way I get the message that the application cannot respond to the end task request (may be busy, waiting for a response, etc.) and the option to wait / end / cancel.
    Under Java 1.2.2 after closing the applet the command session is "waiting" ("hung") until a ctrl-c is typed. Then the DOS promt returns and the command session is free.
    This behavior is consistent with several of the applets in this text book.
    I first encountered this problem when working with examples in the JAI (java advanced imaging) package from Sun. These samples run as applications and display an image. They work correctly but hang when I attempt to close them. I have tried the examples only under 1.3.1_02.
    Can anyone help me figure this out?
    Thanks
    Bill

    The book says that the destory method is is called when an applet is closed.
    If the applet does not have a destroy method then the default destoy method
    the the Applet class is called. Is that wrong or am I not understanding.The book and your understanding is correct. It's just that my experience has indicated that overriding the destroy method is not a good idea. The applet's stop method is called (by the appletviewer or a web browser) when it's ready to close or move onto another document, so any cleanup that you need to do should be done in the stop method. As far as browsers go, IE destroy the applet when you move to another document but Netscape 4+ only call the destroy method when the browser window is closed but there is no guarantee that NN4 will ever call the destroy method. That's the reason why I don't recommend overriding the destroy method -- but as long as you know what is in store for you, you can do anything you want.
    BTW, I've compiled and tested the AppletLifecycle.java program on my JDK1.3.1 and it works with the appletviewer, IE5.5 and NN4.7. I have no trouble stoping the program from the MS-DOS window with a CTRL-C or click the little x on the upper right corner of the display. I do know that when I upgraded to 1.3.1_02, all my applets mysteriously stopped working so I went back to 1.3.1 -- maybe that's the reason why you're left hanging.
    V.V.

  • During cmd prompt, need to send control c to break

    hi,
    i am using labview and calling a cmd prompt window (syst exec) and executing a command.
    upon completion of the command, i am able to read the contents of the cmd prompt window.
    the problem is, i have to physically hit "control and c" on the keyboard to get the application to stop.
    i seem unable to automatically send the "control c" (03) to the cmd prompt, in order to stop it, while it is executing.
    anyone have any idea's?
    thanking you in advance.
    Solved!
    Go to Solution.

    It sounds like you are loosing the focus of the window. I assume you are using the windows utils?. See picture. This works for me.
    Richard
    Attachments:
    send_keys.gif ‏18 KB

  • I want to show console output in my cmd prompt in C# winform application

    Hi,
    I'm launching the some process in C# .net Winform appliaction. But i couldn't able to see console output on the screen. The process is getting launched but inside cmd prompt window, it is showing nothing. I would like to show something on cmd prompt. Please
    help on this.
     using (Process comxdcProcess = new System.Diagnostics.Process())
                            comxdcProcess.StartInfo.FileName = fileName;
                            comxdcProcess.StartInfo.Arguments = args;
                            comxdcProcess.StartInfo.RedirectStandardError = true;
                            comxdcProcess.StartInfo.RedirectStandardOutput = true;
                            comxdcProcess.StartInfo.UseShellExecute = false;
                            comxdcProcess.Start();
                            this.errorComment = comxdcProcess.StandardError.ReadToEnd();
                            StreamReader myStreamReader = comxdcProcess.StandardOutput;
                            //// Read the standard output of the spawned process. 
                            this.errorComment = myStreamReader.ReadToEnd();
                            comxdcProcess.WaitForExit();
    click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you Happy Programming! Hari

    @Hariprasadbrk
    Do you mean you have use process class to start "cmd prompt" And want to display some output in it?
    If so, there is no need to use RedirectStandardOutput property. This property means the output of an application is written to the
    Process.StandardOutput stream.
    // Setup the process with the ProcessStartInfo class.
    ProcessStartInfo start = new ProcessStartInfo();
    start.FileName = @"C:\7za.exe"; // Specify exe name not cmd exe.
    start.UseShellExecute = false;
    start.RedirectStandardOutput = true;
    // Start the process.
    using (Process process = Process.Start(start))
    // Read in all the text from the process with the StreamReader.
    using (StreamReader reader = process.StandardOutput)
    string result = reader.ReadToEnd();
    Console.Write(result);
    Output
    This section shows the output of the process.
    7-Zip (A) 4.60 beta Copyright (c) 1999-2008 Igor Pavlov 2008-08-19
    Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]
    [<@listfiles...>]
    So you can start a cmd exe.
    Please also take a look at the article from codeproject
    How to redirect Standard Input/Output of an application
    In summary, the shutdown proces is invoked from my application, and it displays the output from the process in RichTextBox control.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Process.Start - getting different output when running command using this method than I am if I run same command in CMD prompt

    Hi
    Creating an application to analyze .dmp files - all working well except this odd issue
    If I open command prompt and enter this command:-
    kd -z C:\Windows\MiniDump\042414-24632-01.dmp -c "!analyze -v"
    Then it works and shows me all the output I need (shown at bottom of post)
    If I run same command in VB.net using following code - then it doesn't give the same output - the bits I need at the end created by the !analyze -v switch don't appear
    Any ideas why it is not seeing the switch correctly - setting a breakpoint and checking contents of startinfo seems to be showing correct cmd line i.e. "kd -z C:\windows\minidump\042414-24632-01.dmp -c "!analyze –v;q""
    Dim myprocess As New Process()
    myprocess.StartInfo.FileName = "C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\kd"
    myprocess.StartInfo.Arguments = "-z C:\windows\minidump\042414-24632-01.dmp -c ""!analyze –v;q"""
    myprocess.StartInfo.UseShellExecute = False
    myprocess.StartInfo.RedirectStandardOutput = True
    myprocess.StartInfo.CreateNoWindow = True
    myprocess.Start()
    TextBox1.AppendText(myprocess.StandardOutput.ReadToEnd())
    Output when run from cmd prompt:-
    C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86>kd -z C:\Windows\MiniDump\042414-24632-01.dmp -c "!analyze -v;q"
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [C:\Windows\MiniDump\042414-24632-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    Symbol search path is: *** Invalid ***
    * Symbol loading may be unreliable without a symbol search path. *
    * Use .symfix to have the debugger choose a symbol path. *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    Executable search path is:
    * Symbols can not be loaded because symbol path is not initialized. *
    * The Symbol Path can be set by: *
    * using the _NT_SYMBOL_PATH environment variable. *
    * using the -y <symbol_path> argument when starting the debugger. *
    * using .sympath and .sympath+ *
    Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ntkrnlpa.exe
    *** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.18205.x86fre.win7sp1_gdr.130708-1532
    Machine Name:
    Kernel base = 0x82e3e000 PsLoadedModuleList = 0x82f874d0
    Debug session time: Thu Apr 24 13:36:18.672 2014 (UTC + 1:00)
    System Uptime: 0 days 0:00:38.703
    * Symbols can not be loaded because symbol path is not initialized. *
    * The Symbol Path can be set by: *
    * using the _NT_SYMBOL_PATH environment variable. *
    * using the -y <symbol_path> argument when starting the debugger. *
    * using .sympath and .sympath+ *
    Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ntkrnlpa.exe
    *** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    ************* Symbol Loading Error Summary **************
    Module name Error
    ntkrnlpa The system cannot find the file specified
    You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the
    command that caused symbols to be loaded.
    You should also verify that your symbol search path (.sympath) is correct.
    * Bugcheck Analysis *
    Use !analyze -v to get detailed debugging information.
    BugCheck 50, {afa99150, 0, 88c557d7, 0}
    *** WARNING: Unable to verify timestamp for mssmbios.sys
    *** ERROR: Module load completed but symbols could not be loaded for mssmbios.sys
    *** WARNING: Unable to verify timestamp for mfehidk.sys
    *** ERROR: Module load completed but symbols could not be loaded for mfehidk.sys
    *** WARNING: Unable to verify timestamp for HipShieldK.sys
    *** ERROR: Module load completed but symbols could not be loaded for HipShieldK.sys
    ***** Kernel symbols are WRONG. Please fix symbols to do analysis.
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    Probably caused by : mfehidk.sys ( mfehidk+377d7 )
    Followup: MachineOwner
    1: kd> kd: Reading initial command '!analyze -v;q'
    * Bugcheck Analysis *
    PAGE_FAULT_IN_NONPAGED_AREA (50)
    Invalid system memory was referenced. This cannot be protected by try-except,
    it must be protected by a Probe. Typically the address is just plain bad or it
    is pointing at freed memory.
    Arguments:
    Arg1: afa99150, memory referenced.
    Arg2: 00000000, value 0 = read operation, 1 = write operation.
    Arg3: 88c557d7, If non-zero, the instruction address which referenced the bad memory
    address.
    Arg4: 00000000, (reserved)
    Debugging Details:
    ***** Kernel symbols are WRONG. Please fix symbols to do analysis.
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    ADDITIONAL_DEBUG_TEXT:
    You can run '.symfix; .reload' to try to fix the symbol path and load symbols.
    MODULE_NAME: mfehidk
    FAULTING_MODULE: 82e3e000 nt
    DEBUG_FLR_IMAGE_TIMESTAMP: 4d2e1e3e
    READ_ADDRESS: GetPointerFromAddress: unable to read from 00000000
    GetPointerFromAddress: unable to read from 00000000
    unable to get nt!MmSpecialPoolStart
    unable to get nt!MmSpecialPoolEnd
    unable to get nt!MmPagedPoolEnd
    unable to get nt!MmNonPagedPoolStart
    unable to get nt!MmSizeOfNonPagedPoolInBytes
    afa99150
    FAULTING_IP:
    mfehidk+377d7
    88c557d7 0fb70c06 movzx ecx,word ptr [esi+eax]
    MM_INTERNAL_CODE: 0
    CUSTOMER_CRASH_COUNT: 1
    DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT
    BUGCHECK_STR: 0x50
    CURRENT_IRQL: 0
    ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) x86fre
    LAST_CONTROL_TRANSFER: from 82e7eaa8 to 82ecb879
    STACK_TEXT:
    WARNING: Stack unwind information not available. Following frames may be wrong.
    ad0baf90 82e7eaa8 00000000 afa99150 00000000 nt+0x8d879
    ad0bafa8 88c557d7 badb0d00 00000000 88c4ceb0 nt+0x40aa8
    ad0bb040 88c4f97d 001a99b0 afa91000 00000000 mfehidk+0x377d7
    ad0bb090 88c52b16 00770220 ad0bb0fc 00000010 mfehidk+0x3197d
    ad0bb0bc 98d5fb73 ae770220 ad0bb0fc 00000010 mfehidk+0x34b16
    ad0bb140 98d5fc43 ae738c30 98d6b62a aace7220 HipShieldK+0xb73
    ad0bb168 98d6b882 ad0bb19c 00000000 98d77b44 HipShieldK+0xc43
    ad0bb1b8 98d631a9 00000bd4 0000102c ad0bb208 HipShieldK+0xc882
    ad0bb330 88c47795 00000bd4 0000102c ad0bb401 HipShieldK+0x41a9
    ad0bb400 88c22b57 0000102c ad0bb460 85b3dee0 mfehidk+0x29795
    ad0bb41c 88c232c6 ad0bb430 0000000c 8c4b6ce0 mfehidk+0x4b57
    ad0bb43c 830a5acb adb6b9b8 0000102c ad0bb460 mfehidk+0x52c6
    ad0bb4f4 830adaf8 adb16030 01b6b9b8 ad0bb550 nt+0x267acb
    ad0bbc00 82e7b8c6 038ae710 038ae6ec 02000000 nt+0x26faf8
    ad0bbc34 77a470f4 badb0d00 038ae3dc 00000000 nt+0x3d8c6
    ad0bbc38 badb0d00 038ae3dc 00000000 00000000 0x77a470f4
    ad0bbc3c 038ae3dc 00000000 00000000 00000000 0xbadb0d00
    ad0bbc40 00000000 00000000 00000000 00000000 0x38ae3dc
    STACK_COMMAND: kb
    FOLLOWUP_IP:
    mfehidk+377d7
    88c557d7 0fb70c06 movzx ecx,word ptr [esi+eax]
    SYMBOL_STACK_INDEX: 2
    SYMBOL_NAME: mfehidk+377d7
    FOLLOWUP_NAME: MachineOwner
    IMAGE_NAME: mfehidk.sys
    BUCKET_ID: WRONG_SYMBOLS
    FAILURE_BUCKET_ID: WRONG_SYMBOLS
    ANALYSIS_SOURCE: KM
    FAILURE_ID_HASH_STRING: km:wrong_symbols
    FAILURE_ID_HASH: {70b057e8-2462-896f-28e7-ac72d4d365f8}
    Followup: MachineOwner
    quit:
    output when run in my app:-
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [C:\Windows\MiniDump\042414-24632-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    Symbol search path is: *** Invalid ***
    * Symbol loading may be unreliable without a symbol search path. *
    * Use .symfix to have the debugger choose a symbol path. *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    Executable search path is:
    * Symbols can not be loaded because symbol path is not initialized. *
    * The Symbol Path can be set by: *
    * using the _NT_SYMBOL_PATH environment variable. *
    * using the -y <symbol_path> argument when starting the debugger. *
    * using .sympath and .sympath+ *
    Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ntkrnlpa.exe
    *** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.18205.x86fre.win7sp1_gdr.130708-1532
    Machine Name:
    Kernel base = 0x82e3e000 PsLoadedModuleList = 0x82f874d0
    Debug session time: Thu Apr 24 13:36:18.672 2014 (UTC + 1:00)
    System Uptime: 0 days 0:00:38.703
    * Symbols can not be loaded because symbol path is not initialized. *
    * The Symbol Path can be set by: *
    * using the _NT_SYMBOL_PATH environment variable. *
    * using the -y <symbol_path> argument when starting the debugger. *
    * using .sympath and .sympath+ *
    Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ntkrnlpa.exe
    *** ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe
    Loading Kernel Symbols
    Loading User Symbols
    Loading unloaded module list
    ************* Symbol Loading Error Summary **************
    Module name Error
    ntkrnlpa The system cannot find the file specified
    You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the
    command that caused symbols to be loaded.
    You should also verify that your symbol search path (.sympath) is correct.
    * Bugcheck Analysis *
    Use !analyze -v to get detailed debugging information.
    BugCheck 50, {afa99150, 0, 88c557d7, 0}
    *** WARNING: Unable to verify timestamp for mssmbios.sys
    *** ERROR: Module load completed but symbols could not be loaded for mssmbios.sys
    *** WARNING: Unable to verify timestamp for mfehidk.sys
    *** ERROR: Module load completed but symbols could not be loaded for mfehidk.sys
    *** WARNING: Unable to verify timestamp for HipShieldK.sys
    *** ERROR: Module load completed but symbols could not be loaded for HipShieldK.sys
    ***** Kernel symbols are WRONG. Please fix symbols to do analysis.
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    *** Either you specified an unqualified symbol, or your debugger ***
    *** doesn't have full symbol information. Unqualified symbol ***
    *** resolution is turned off by default. Please either specify a ***
    *** fully qualified symbol module!symbolname, or enable resolution ***
    *** of unqualified symbols by typing ".symopt- 100". Note that ***
    *** enabling unqualified symbol resolution with network symbol ***
    *** server shares in the symbol path may cause the debugger to ***
    *** appear to hang for long periods of time when an incorrect ***
    *** symbol name is typed or the network symbol server is down. ***
    *** For some commands to work properly, your symbol path ***
    *** must point to .pdb files that have full type information. ***
    *** Certain .pdb files (such as the public OS symbols) do not ***
    *** contain the required information. Contact the group that ***
    *** provided you with these symbols if you need this command to ***
    *** work. ***
    *** Type referenced: nt!_KPRCB ***
    Probably caused by : mfehidk.sys ( mfehidk+377d7 )
    Followup: MachineOwner
    Darren Rose

    Try it by opening the Cmd prompt as the actual process and passing the Filename and its arguments as the arguments of the Cmd process.  If you notice there is a "-C" before the Filename and Arguments in this example.  The "-C"
    tells the cmd to execute the commands and then close itself.  You can also use a "-K" which tells the cmd to execute the commands and keep itself open.  Being you are not showing the cmd window you don`t want to keep it opened because the
    user can`t close it so, that is why i used "-C".
     I don`t have the program so, you can just experiment to see what it does.  Maybe you should try using "-K" and show the cmd window by commenting out the CreateNoWindow line so you can see what is in the cmd window while testing.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim filepath As String = """C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\kd"""
    Dim args As String = " -z C:\windows\minidump\042414-24632-01.dmp -c ""!analyze –v;q"""
    Dim p As New Process
    With p.StartInfo
    .FileName = "cmd.exe"
    .Arguments = "-c " & filepath & args
    .UseShellExecute = False
    .CreateNoWindow = True
    .RedirectStandardOutput = True
    End With
    p.Start()
    TextBox1.Text = p.StandardOutput.ReadToEnd
    End Sub
    If you say it can`t be done then i`ll try it

  • Problem with passing dashboard prompts

    Hi All,
    I have a problem with passing dashboard prompts.
    Scenario:
    I have a report with country(column interaction),amount sold and two prompts.when the user selects the particular country, i need to navigate to other detailed dasboard with 2 prompts and country.
    with the column interaction, am able to navigate to other dashboard with all the prompts only when the target dashboard prompts, defaults to presentation variable.
    but when the user directly opens the target dashboard, i have to display the report with the default values which am not able to achieve.
    All the prompts are customized prompts.
    Any suggestions would be greatly helpful.
    Thnx in Advance

    Hi,
    When you drill down, corresponding filter values get added to your report. So next time when you change the prompt values It does not give you proper data.
    So before you change the prompt values, you comeback to the default report. and try changing the prompt values.
    Otherwise you can do one thing, Do not enable drill in place for the report section. So when you try to drill down in the report, it takes you to the new page.
    And in the main page even if you change prompt values, It will work perfectly.
    Regards,
    TKB

  • Wlst.cmd file couldnt run from the cmd prompt

    Hi friends,
    when i tried to run the wlst.cmd file in a windows cmd prompt, it is not running as it is saying like
    the system cannot find the path specified
    I tried like the below
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\NEW8\instances\instance4\bifoundation\OracleBIApplication\coreapplication\set
    up>CD \
    C:\>SET MW_HOME=C:\NEW8
    C:\>CD NEW8
    C:\NEW8>CD oracle_common
    C:\NEW8\oracle_common>CD common
    C:\NEW8\oracle_common\common>CD bin
    C:\NEW8\oracle_common\common\bin>wlst.cmd
    The system cannot find the path specified.
    C:\NEW8\oracle_common\common\bin>Eventhough, i tried to run it in the bi_init.cmd prompt, then too it is not running.
    Can anyone tell me in which cmd prompt i need to run that wlst.cmd file for upgrading the fusion m/w shared components.
    Brgds,
    Mini

    Hi Devarasu,
    Thanks for your reply. But now also it doesnt seems to run. Since like you said, i set
    ORACLE_HOME = C:\NEW8\Oracle_BI1And tried to run the wlst.cmd file in the cmd prompt like the below, but then too it is returning the same error like
    D:\New8\oracle_common\common\bin\wlst.cmd
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\Administrator>cd..
    C:\Documents and Settings>cd..
    C:\>\NEW8\oracle_common\common\bin\wlst.cmd
    The system cannot find the path specified.
    C:\>Also i tried to run the wlst.cmd file which is in the following location like
    D:\New8\wlserver_10.3\common\bin\wlst.cmd
    CLASSPATH=C:\NEW8\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic
    _patch.jar;C:\NEW8\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic
    _patch.jar;C:\NEW8\JROCKI~1.0-1\lib\tools.jar;C:\NEW8\WLSERV~1.3\server\lib\webl
    ogic_sp.jar;C:\NEW8\WLSERV~1.3\server\lib\weblogic.jar;C:\NEW8\modules\features\
    weblogic.server.modules_10.3.6.0.jar;C:\NEW8\WLSERV~1.3\server\lib\webservices.j
    ar;C:\NEW8\modules\ORGAPA~1.1/lib/ant-all.jar;C:\NEW8\modules\NETSFA~1.0_1/lib/a
    nt-contrib.jar;;C:\NEW8\utils\config\10.3\config-launch.jar;C:\NEW8\WLSERV~1.3\c
    ommon\derby\lib\derbynet.jar;C:\NEW8\WLSERV~1.3\common\derby\lib\derbyclient.jar
    ;C:\NEW8\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> upgradeJRF('C:\NEW8\instances\instance4\bifoundation')
    Traceback (innermost last):
      File "<console>", line 1, in ?
    NameError: upgradeJRF
    wls:/offline>But it is returning the error like Traceback (innermost last).
    What might be the problem here, Deva. Can you help me to get rid of this issue.
    Brgds,
    Mini

  • Oracle 10g + Bouncy Castle JCE provider

    Hi all,
    I'm trying to deploy Bouncy Castle JCE provider into Oracle environment. I've
    tried several choices but no one works.
    My environment:
    - Oracle 10.2.0.1.0 with Java version 1.4.2_08
    - Java app deployed into Oracle uses $ORACLE_HOME/javavm as $JAVA_HOME
    - I'm using bcprov-jdk14-124.jar.
    I've deployed this library into Oracle (using loadjava), I've tried to copy
    into $JAVA_HOME/lib/ext and edit $JAVA_HOME/lib/security/java.security (added
    line 'security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider'),
    I've tried to copy it into $ORACLE_HOME/jdk/jre/lib/ext and edit appropriate
    java.security file, but nothing works. I'm still getting Exception with 'The
    provider BC may not be signed by a trusted party'.
    Is anyone successfully using bcprov library in Oracle?
    Thanks a lot
    Antonin Faltynek

    Hi,
    See Michael's post in the following thread Re: loadjava sunrsasign.jar
    Kuassi http://db360.blogspot.com

  • Is Bouncy Castle supported by default as an encryption provider?

    Hello,
    I need to encrypt data with RSA using Bouncy Castle (BC) as the provider.
    I have coded something in java that uses BC:
    Cipher cipher = Cipher.getInstance("RSA/NONE/PKCS1Padding","BC");
    deployed it to the portal and it seems to be working without registering BC jar file first. Is BC supported on the portal server by default as I can seem to find its library on the server on one hand but the code is working as is on the other.
    Roy

    Got the answer - It's not.
    The jar with shipped with the ear file I've deployed.

  • Verify a X.509 Certificate with Bouncy Castle and Java ME

    Hi,
    Can anybody point me to an example of verifying a X.509 certificate with Bouncy Castle under Java ME?
    I can see how to easily do it in Java SE code with java.security.cert.Certificate.verify(), but I could not find an equivalent method in the lightweight API.
    Any help is much appreciated.
    Best regards,
    iobytrap

    That's a shame. I'm afraid I don't have any solutions, but I'm am interested if you find one. If you solve your problem, please post back here. In the mean time I'll keep looking around. Have you considered non-free software? IAIK has some fairly complete Java libraries for $$$, though I'm not sure what they have for JME.
    EDIT:
    Yes, they have a library for JME and it has an X509Certificate class. Here are the javadocs .
    Edited by: ghstark on Apr 17, 2010 2:14 PM

  • Single instance cmd prompt for multiple wshshell.run

    Hi,
    I need to have only one command prompt open for two wshshell. run command
    for eg
    wshShell.Run "cmd.exe /C cd D:\"wshShell.Run "cmd.exe /C cd C:\"both the command should display in single command prompt window
    Need to execute some 100 commands in a single cmd prompt like this

    
    The CD commands were obviously just example commands
    not the commands you really want to run. Even if these
    commands were able to successfully change the current
    directory in some other context than the command prompt
    window, that context could only entertain one current
    directory at any given time.
    If you want to run a sequence of commands synchronously
    (one after the other) in the command prompt window, you
    could do as Forest suggested for a short sequence:
    wshShell.Run "cmd.exe /c cd D:\ & dir & cd E:\ & dir"
    or you could put the commands in a batch file:
    wshShell.Run "cmd.exe /c mybatch.cmd"
    or just:
    wshShell.Run "mybatch.cmd"
    You would, of course, need to ensure that the location
    of the batch file was properly specified or deduceable.
    If you want to run a sequence of commands asynchronously
    (all at the same time), well, that is not how the command
    prompt window itself works. You would need to launch
    separate processes, each doing whatever task is assigned
    it. If these are batch files, each will run in its own
    command prompt window; if these are vsbcript files, you
    could run them with wscript.
    Or, if you were to switch to powershell, you could run
    them as separate powershell jobs.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Maybe you are looking for