|
From: Alexandros K. <al...@kr...> - 2012-11-01 09:39:28
|
Thanks Christian, I look forward to getting this configuration property. The solution you mentioned is known to me but i need to have this done programmatically or ask the users of my application to do it which is not ideal. I am also waiting for the following in the next release: A. New log level that prints only java application output B. Creating wrapperW custom binaries in 'silent mode' (without a popup) Any ideas when the next release will be ready? Thanks, Alex Kritikos Software AG On Nov 1, 2012, at 11:11 AM, Christian Mueller <chr...@ta...> wrote: > Hello Alex, > > from what it seems, does you JNI function com_wm_distman_helpers_RegistrHelper_setExpandStringValueNative cause a crash. > When you run the application as Administrator, does it succeed? > In any way, there should be some error handling if it does not run as administrator. > > Since version 3.5.7 of the Wrapper, when running on Windows Vista/7/8/etc., where UAC is active, the Wrapper is actually able to request elevation and run elevated, whenever it detects it doesn't run elevated and is going to interact with a Windows Service. > When it requests elevation can however not being configured by the user. So for instance when running as Console application, the Wrapper won't request elevation, since for the Wrapper process it is not mandatory. > > If you want to make sure the Wrapper runs always elevated, for now I'd suggest to take a look at this: > http://www.howtogeek.com/howto/windows-vista/always-start-an-application-in-administrator-mode-on-windows-vista/ > > I will take also a look to add a conf-property to the Wrapper, to tell the Wrapper to always request elevation. > > Hope this information helps you out. > > Cheers, > > Christian > > > On Thu, Nov 1, 2012 at 1:32 AM, Alexandros Kritikos <al...@kr...> wrote: > Hello support, > > I have a java application that i run using wrapper in console mode and when it hits some native code to access the registry the JVM crashes with the following message: > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x182cbbf3, pid=27944, tid=289 > 4 > # > # JRE version: 7.0_05-b05 > # Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode windows-x86 ) > # Problematic frame: > # C [dmlib8447593060838142972.dll+0xbbf3] Java_com_wm_distman_helpers_Registr > Helper_setExpandStringValueNative+0xa996 > # > # Failed to write core dump. Minidumps are not enabled by default on client ver > ions of Windows > # > # An error report file with more information is saved as: > # C:\SoftwareAG\nirvana\java\nirvana\bin\hs_err_pid27944.log > # > # If you would like to submit a bug report, please visit: > # http://bugreport.sun.com/bugreport/crash.jsp > # The crash happened outside the Java Virtual Machine in native code. > # See problematic frame for where to report the bug. > # > JVM exited while starting the application. > > Could this have anything to do with running as administrator? Is it possible to configure wrapper to elevate privileges? > > Thanks, > > Alex Kritikos > Software AG > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |