You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(13) |
Nov
(16) |
Dec
(29) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(38) |
Feb
(51) |
Mar
(51) |
Apr
(115) |
May
(82) |
Jun
(30) |
Jul
(50) |
Aug
(68) |
Sep
(57) |
Oct
(160) |
Nov
(80) |
Dec
(78) |
| 2004 |
Jan
(71) |
Feb
(75) |
Mar
(108) |
Apr
(87) |
May
(79) |
Jun
(70) |
Jul
(69) |
Aug
(39) |
Sep
(52) |
Oct
(47) |
Nov
(50) |
Dec
(32) |
| 2005 |
Jan
(22) |
Feb
(122) |
Mar
(46) |
Apr
(76) |
May
(31) |
Jun
(51) |
Jul
(61) |
Aug
(70) |
Sep
(37) |
Oct
(46) |
Nov
(57) |
Dec
(83) |
| 2006 |
Jan
(55) |
Feb
(81) |
Mar
(51) |
Apr
(67) |
May
(77) |
Jun
(43) |
Jul
(106) |
Aug
(64) |
Sep
(47) |
Oct
(64) |
Nov
(60) |
Dec
(12) |
| 2007 |
Jan
(50) |
Feb
(93) |
Mar
(49) |
Apr
(56) |
May
(40) |
Jun
(63) |
Jul
(40) |
Aug
(47) |
Sep
(54) |
Oct
(37) |
Nov
(54) |
Dec
(37) |
| 2008 |
Jan
(35) |
Feb
(39) |
Mar
(26) |
Apr
(14) |
May
(23) |
Jun
(51) |
Jul
(43) |
Aug
(26) |
Sep
(29) |
Oct
(31) |
Nov
(24) |
Dec
(16) |
| 2009 |
Jan
(21) |
Feb
(30) |
Mar
(74) |
Apr
(26) |
May
(26) |
Jun
(43) |
Jul
(23) |
Aug
(23) |
Sep
(15) |
Oct
(27) |
Nov
(37) |
Dec
(10) |
| 2010 |
Jan
(16) |
Feb
(28) |
Mar
(16) |
Apr
(45) |
May
(8) |
Jun
(68) |
Jul
(45) |
Aug
(44) |
Sep
(51) |
Oct
(7) |
Nov
(20) |
Dec
(21) |
| 2011 |
Jan
(14) |
Feb
(17) |
Mar
(7) |
Apr
(7) |
May
(48) |
Jun
(23) |
Jul
(5) |
Aug
(33) |
Sep
(22) |
Oct
(14) |
Nov
(14) |
Dec
(5) |
| 2012 |
Jan
|
Feb
(10) |
Mar
(12) |
Apr
(51) |
May
(10) |
Jun
(8) |
Jul
(14) |
Aug
(22) |
Sep
(9) |
Oct
(24) |
Nov
(14) |
Dec
(13) |
| 2013 |
Jan
(12) |
Feb
(4) |
Mar
(14) |
Apr
(19) |
May
(2) |
Jun
(5) |
Jul
(13) |
Aug
(10) |
Sep
(4) |
Oct
(11) |
Nov
(13) |
Dec
(2) |
| 2014 |
Jan
(3) |
Feb
(14) |
Mar
(5) |
Apr
(10) |
May
(10) |
Jun
(11) |
Jul
(10) |
Aug
(3) |
Sep
(13) |
Oct
(22) |
Nov
(14) |
Dec
(32) |
| 2015 |
Jan
(8) |
Feb
(2) |
Mar
(17) |
Apr
(1) |
May
(24) |
Jun
|
Jul
(4) |
Aug
|
Sep
(9) |
Oct
(9) |
Nov
(5) |
Dec
(2) |
| 2016 |
Jan
(8) |
Feb
(6) |
Mar
(6) |
Apr
(9) |
May
(3) |
Jun
(2) |
Jul
(7) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
| 2017 |
Jan
(9) |
Feb
(8) |
Mar
(6) |
Apr
|
May
|
Jun
(3) |
Jul
(13) |
Aug
(10) |
Sep
(8) |
Oct
|
Nov
(6) |
Dec
|
| 2018 |
Jan
|
Feb
(5) |
Mar
(7) |
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(9) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2019 |
Jan
(9) |
Feb
|
Mar
|
Apr
(10) |
May
(3) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2021 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2023 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Christian M. <chr...@ta...> - 2012-11-14 03:45:14
|
Hello Lars, I have also never seen this error message. It however looks like, that something went wrong with installing java 7 on that machine. Can you please try as Giuliano mentioned to uninstall and reinstall Java on your machine? I hope this information helps you out, also I'd appreciate if you could let us know if reinstalling was solving your issue. Thank you, Christian On Wed, Nov 14, 2012 at 9:22 AM, Giuliano Rezende <su...@gm...> wrote: > Hello Lars, > > I believe this happened as a result of an attempted update of > java while the program was running, and then the java was not updated > correctly. You can try uninstalling all versions of java and install any again, > that could solve momentarily. > I went through this problem and started using a own JVM for the > application, regardless of the OS installed. > > http://sourceforge.net/mailarchive/forum.php?thread_name=CACH3YSKmUQFb79N_bkaYEniQNnLHiQskg2qBc08kiZZYUL0uDQ% > 40mail.gmail.com&forum_name=wrapper-user > > I hope I have helped. > > Giuliano Rezende > > > 2012/11/13 Lars Schnoor <Lar...@if...> > >> Hi >> >> I am having a problem with the wrapper and Java. >> I get the following errors in the error log. >> INFO | jvm 5 | 2012/11/13 10:41:28 | Registry key >> 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' >> INFO | jvm 5 | 2012/11/13 10:41:28 | has value '1.7', but '1.6' is >> required. >> INFO | jvm 5 | 2012/11/13 10:41:28 | Error: could not find java.dll >> >> The start of the log file with the version is as follows: >> STATUS | wrapper | 2012/11/13 09:51:05 | --> Wrapper Started as Service >> STATUS | wrapper | 2012/11/13 09:51:05 | Java Service Wrapper Community >> Edition 32-bit 3.5.15 >> STATUS | wrapper | 2012/11/13 09:51:05 | Copyright (C) 1999-2012 >> Tanuki Software, Ltd. All Rights Reserved. >> STATUS | wrapper | 2012/11/13 09:51:05 | >> http://wrapper.tanukisoftware.com >> STATUS | wrapper | 2012/11/13 09:51:05 | >> >> I have never had a similar problem, any ideas what the problem is and >> how to fix it? >> >> Lars >> >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Giuliano R. <su...@gm...> - 2012-11-14 00:22:58
|
Hello Lars,
I believe this happened as a result of an attempted update of
java while the program was running, and then the java was not updated
correctly. You can try uninstalling all versions of java and install any again,
that could solve momentarily.
I went through this problem and started using a own JVM for the application,
regardless of the OS installed.
http://sourceforge.net/mailarchive/forum.php?thread_name=CACH3YSKmUQFb79N_bkaYEniQNnLHiQskg2qBc08kiZZYUL0uDQ%
40mail.gmail.com&forum_name=wrapper-user
I hope I have helped.
Giuliano Rezende
2012/11/13 Lars Schnoor <Lar...@if...>
> Hi
>
> I am having a problem with the wrapper and Java.
> I get the following errors in the error log.
> INFO | jvm 5 | 2012/11/13 10:41:28 | Registry key
> 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
> INFO | jvm 5 | 2012/11/13 10:41:28 | has value '1.7', but '1.6' is
> required.
> INFO | jvm 5 | 2012/11/13 10:41:28 | Error: could not find java.dll
>
> The start of the log file with the version is as follows:
> STATUS | wrapper | 2012/11/13 09:51:05 | --> Wrapper Started as Service
> STATUS | wrapper | 2012/11/13 09:51:05 | Java Service Wrapper Community
> Edition 32-bit 3.5.15
> STATUS | wrapper | 2012/11/13 09:51:05 | Copyright (C) 1999-2012
> Tanuki Software, Ltd. All Rights Reserved.
> STATUS | wrapper | 2012/11/13 09:51:05 |
> http://wrapper.tanukisoftware.com
> STATUS | wrapper | 2012/11/13 09:51:05 |
>
> I have never had a similar problem, any ideas what the problem is and
> how to fix it?
>
> Lars
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
|
|
From: Giuliano R. <su...@gm...> - 2012-11-14 00:06:50
|
Hello,
according to the suggestion, I used a own JVM and so far no more
problems.
Thank you for help.
2012/10/24 Christian Mueller <chr...@ta...>
> Hello Giuliano,
>
> I'm sorry for the confusion.
>
> Since the service is still running while you run the update, I can assume
> that Windows holds a file lock on several files, which can't be
> deleted/updated by the Java Update. So it fails half-way.
> I don't think that there is much we can do from our site to handle this
> properly, since it would be rather the task of the updater to check if
> there are any relevant Java processes running prior to the update. (Similar
> to the update of Adobe's Flashplayer updates)
>
> Usually if you are deploying an application you should also evaluate if it
> makes sense for your application if you ship it with a own JVM, rather than
> relying on the user to have a Java installed.
>
> Please let me know if you have any further questions.
>
> Thank you,
>
> Christian Mueller
> Tanuki Software, Ltd.
>
>
>
> On Tue, Oct 23, 2012 at 8:04 PM, Giuliano Rezende <su...@gm...>wrote:
>
>> Version Wrapper: Java Service Wrapper Community Edition 32-bit 3.5.14.
>>
>> The OS version: Windows 7 an Windows XP.
>>
>>
>>
>> Hello,
>>
>> I am having a problem regarding the performing of updated
>> java while there is a program running as a windows service.
>>
>> For example:
>>
>> Suppose there is a version jre-6u31 installed, and naturally a
>> program running as a windows service. When performing the update to
>> version jre-6u37 eg manually or via download or through the utility's operating
>> system, the problem happens, as you can see in the attachment. The error
>> 25099, and Java update does not complete and it no longer runs when you
>> restart the computer.
>>
>> Before restarting, the service keeps running but when
>> restarting does not work anymore. This can be seen in the log file, as
>> well as an attachment the return of the command java -version.
>>
>> The interesting thing is that this does not happen if an
>> update of Java 6 to Java 7, because in this case is created a new folder for
>> the installation of Java 7. For this reason, I believe that what happens is
>> that the update tries to change any file or program that is in use, and the
>> problem happens.
>>
>> So, how to get a program running as a windows service can coexist with
>> Java updates?
>>
>>
>>
>> Thanks.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
>
|
|
From: Lars S. <Lar...@if...> - 2012-11-13 11:09:21
|
Hi I am having a problem with the wrapper and Java. I get the following errors in the error log. INFO | jvm 5 | 2012/11/13 10:41:28 | Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' INFO | jvm 5 | 2012/11/13 10:41:28 | has value '1.7', but '1.6' is required. INFO | jvm 5 | 2012/11/13 10:41:28 | Error: could not find java.dll The start of the log file with the version is as follows: STATUS | wrapper | 2012/11/13 09:51:05 | --> Wrapper Started as Service STATUS | wrapper | 2012/11/13 09:51:05 | Java Service Wrapper Community Edition 32-bit 3.5.15 STATUS | wrapper | 2012/11/13 09:51:05 | Copyright (C) 1999-2012 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2012/11/13 09:51:05 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2012/11/13 09:51:05 | I have never had a similar problem, any ideas what the problem is and how to fix it? Lars |
|
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 |
|
From: Christian M. <chr...@ta...> - 2012-11-01 09:20:13
|
Hello Alex, from what it seems, does you JNI function com_wm_distman_helpers_Registr Helper_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 > > |
|
From: Alexandros K. <al...@kr...> - 2012-10-31 16:56:04
|
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 |
|
From: Alexandros K. <al...@kr...> - 2012-10-29 07:04:43
|
Hi Christian, thanks for this. When is the next release planned? Regards, Alex Kritikos Software AG On Oct 29, 2012, at 8:19 AM, Christian Mueller <chr...@ta...> wrote: > Hello Alexandros, > > I'm sorry for the delay. > > Currently it is not possible to disable the dialog from popping up after the wrapperW.exe file has been customized. > > I will look into this and add an additional parameter '--silent', so no output will be shown. > This would then be available in the next version of the Wrapper, however. > > Best Regards, > > Christian Mueller > Tanuki Software, Ltd. > > > On Sat, Oct 27, 2012 at 1:20 AM, Alexandros Kritikos <al...@kr...> wrote: > Leif / Christian, > > any updates on this? > > Thanks, > > Alex Kritikos > Software AG > > On Oct 17, 2012, at 12:14 PM, Alexandros Kritikos <al...@kr...> wrote: > >> Hi Leif/Christian, >> >> we are using for approach but we need to generate the custom binaries during the installation of our product. When we do that with the regular wrapper.exe everything works as expected but when using wrapperw.exe we get a popup dialog which is breaking our installation. Can this dialog be somehow suppressed ? >> >> Thanks, >> >> Alex Kritikos >> Software AG >> >> On Sep 24, 2012, at 4:46 AM, Christian Mueller <chr...@ta...> wrote: >> >>> Hello Alex, >>> >>> thank you very much for your mail. >>> >>> It's currently not possible to customize the binary on other platforms other than Windows. Basically because those binaries don't embed resource files as the Windows executables, containing the icon, default conf file path and splash screen. >>> >>> There are however 2 ways to achieve similar results as the --passthrough option. >>> >>> - if you call the binary directly you can use the '--' parameter. All parameter after the '--' will be treated as application parameters and be passed through to your application. for instance: >>> bin/wrapper -c ../conf/wrapper.conf -- myparam1 myparam2 [...] >>> >>> - if you use the shell script, you can set the variables PASS_THROUGH and FIXED_COMMAND, so the script will create the command line like above and launch the Wrapper, e.g.: >>> bin/myApp.sh myparam1 myparam2 [...] >>> >>> FIXED_COMMAND can be either 'start' or 'console'. If you don't set that variable, you have to specify the command on the command line, e.g. : >>> bin/myApp.sh console myparam1 myparam2 >>> >>> I hope this information helps you out. >>> >>> Best Regards, >>> >>> Christian Mueller >>> Tanuki Software, Ltd. >>> >>> >>> >>> On Sat, Sep 22, 2012 at 12:53 AM, Alexandros Kritikos <al...@kr...> wrote: >>> Hi Leif, >>> >>> I was wondering if its possible to customize the executable on platforms other than windows. If not could you elaborate on the reason for this? Also how can i get the same behavior of --passthrough without customizing the executable on platforms like OSX, Linux etc? >>> >>> Many thanks in advance, >>> >>> Alex Kritikos >>> Software AG >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Got visibility? >>> Most devs has no idea what their production app looks like. >>> Find out how fast your code is with AppDynamics Lite. >>> http://ad.doubleclick.net/clk;262219671;13503038;y? >>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > ------------------------------------------------------------------------------ > The Windows 8 Center > In partnership with Sourceforge > Your idea - your app - 30 days. Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > ------------------------------------------------------------------------------ > The Windows 8 Center - In partnership with Sourceforge > Your idea - your app - 30 days. > Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/_______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Christian M. <chr...@ta...> - 2012-10-29 06:27:34
|
Hello Alexandros, I'm sorry for the delay. Currently it is not possible to disable the dialog from popping up after the wrapperW.exe file has been customized. I will look into this and add an additional parameter '--silent', so no output will be shown. This would then be available in the next version of the Wrapper, however. Best Regards, Christian Mueller Tanuki Software, Ltd. On Sat, Oct 27, 2012 at 1:20 AM, Alexandros Kritikos <al...@kr...>wrote: > Leif / Christian, > > any updates on this? > > Thanks, > > Alex Kritikos > Software AG > > On Oct 17, 2012, at 12:14 PM, Alexandros Kritikos <al...@kr...> > wrote: > > Hi Leif/Christian, > > we are using for approach but we need to generate the custom binaries > during the installation of our product. When we do that with the regular > wrapper.exe everything works as expected but when using wrapperw.exe we get > a popup dialog which is breaking our installation. Can this dialog be > somehow suppressed ? > > Thanks, > > Alex Kritikos > Software AG > > On Sep 24, 2012, at 4:46 AM, Christian Mueller < > chr...@ta...> wrote: > > Hello Alex, > > thank you very much for your mail. > > It's currently not possible to customize the binary on other platforms > other than Windows. Basically because those binaries don't embed resource > files as the Windows executables, containing the icon, default conf file > path and splash screen. > > There are however 2 ways to achieve similar results as the --passthrough > option. > > - if you call the binary directly you can use the '--' parameter. All > parameter after the '--' will be treated as application parameters and be > passed through to your application. for instance: > bin/wrapper -c ../conf/wrapper.conf -- myparam1 myparam2 [...] > > - if you use the shell script, you can set the variables PASS_THROUGH and > FIXED_COMMAND, so the script will create the command line like above and > launch the Wrapper, e.g.: > bin/myApp.sh myparam1 myparam2 [...] > > FIXED_COMMAND can be either 'start' or 'console'. If you don't set that > variable, you have to specify the command on the command line, e.g. : > bin/myApp.sh console myparam1 myparam2 > > I hope this information helps you out. > > Best Regards, > > Christian Mueller > Tanuki Software, Ltd. > > > > On Sat, Sep 22, 2012 at 12:53 AM, Alexandros Kritikos <al...@kr...>wrote: > >> Hi Leif, >> >> I was wondering if its possible to customize the executable on platforms >> other than windows. If not could you elaborate on the reason for this? Also >> how can i get the same behavior of --passthrough without customizing the >> executable on platforms like OSX, Linux etc? >> >> Many thanks in advance, >> >> Alex Kritikos >> Software AG >> >> >> >> >> ------------------------------------------------------------------------------ >> Got visibility? >> Most devs has no idea what their production app looks like. >> Find out how fast your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219671;13503038;y? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------------ > The Windows 8 Center > In partnership with Sourceforge > Your idea - your app - 30 days. Get started! > http://windows8center.sourceforge.net/ > what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Leif M. <lei...@ta...> - 2012-10-29 05:57:49
|
Michael, The Warning you are seeing when you replace java.exe with a bat file is intentional. We used to be more flexible there but had a few users who were doing something similar to you and running into problems. The Wrapper expects that it is launching java directly and then monitors that process until it exits. When a bat or sh file is used, they sometimes will launch the JVM in the background and then exit. This was causing the Wrapper to think the JVM exited and for it to be restarted. If it is necessary to take actions before launching a JVM, then we recommend using the jvm_prelaunch event to execute a command before the Wrapper launches the JVM. http://wrapper.tanukisoftware.com/doc/english/props-event.html It sounds like you have everything working. Let me know if we can be of further assistance Cheers, Leif On Thu, Oct 25, 2012 at 7:20 AM, Michael MacFaden <mr...@vm...> wrote: > Thanks Leif, quite helpful. > > > So here's what I have now. > > > c:\type myapp-startup.bat > > .... > rem The base name for the Wrapper binary. > set _WRAPPER_BASE=vws-wrapper > > rem The name and location of the Wrapper configuration file. This will > be used > rem if the user does not specify a configuration file as the first > argument to > rem this script. > set _WRAPPER_CONF_DEFAULT=../conf/vws-wrapper.conf > > rem Note that it is only possible to pass parameters through to the JVM > when > rem installing the service, or when running in a console. > > # setup VM's memory settings, variables picked up by > ../conf/vww-wrapper.conf > # see https://wiki.eng.vmware.com/CloudVM/Sizing > # APP_NAME must match entry in vws-wrapper.conf > set APP_NAME=vmware-vws > if not defined VMWARE_JAVA_HOME exit 2 > if not defined VMWARE_CLOUDVM_RAM_SIZE exit 3 > if not defined VMWARE_LOG_DIR exit 4 > > set JAVA_HOME=%VMWARE_JAVA_HOME% > set /a MAXMEM_VALUE=0 > set /a MINMEM_VALUE=0 > set /a VAR=0 > set size_cmd='"%VMWARE_CLOUDVM_RAM_SIZE%" %APP_NAME%' > for /f %%A in (%size_cmd%) do ( > set /a VAR=%%A > ) > set /a MAXMEM_VALUE += %VAR% > if %MAXMEM_VALUE == 0 exit 5 > if %MINMEM_VALUE% == 0 set MINMEM_VALUE=16 > echo "'%APP_NAME%' is using a starting heap of %MINMEM_VALUE% and a max of > %MAXMEM_VALUE% mb > > rem Do not modify anything beyond this point > rem --------------------------------------------------- > .... > > > BTW, this warning was helpful was well since the design we were toying > with internally was not placing > wrapper.java.command=c:\some-wrapper-that-calls-java\script.bat > > And was seeing this: > > DEBUG | wrapper | 2012/10/24 14:35:51 | Waiting 5 seconds before > launching another JVM. > DEBUG | wrapper | 2012/10/24 14:35:56 | Magic number for file > vmware-vws.bat: 0x4072656d > WARN | wrapper | 2012/10/24 14:35:56 | The value of > wrapper.java.command does not appear to be a java binary. > WARN | wrapper | 2012/10/24 14:35:56 | The use of scripts is not > supported. Trying to continue, but some features may not work correctly.. > > Mike MacFaden > Staff Engineer, VMware , Palo Alto CA > > ------------------------------ > > Michael, > There are a number of ways to pass values into the Wrapper to do what you > want. The method you use will depend on the circumstances under which you > will be changing the memory size settings. > > 1) Environment variables. > http://wrapper.tanukisoftware.com/doc/english/props-envvars.html > It is possible to reference any environment variable from within your > wrapper.conf file. These values of course will only work when the > environment is loaded. This means that if you change the environment > (SYSTEM in most cases) you will need to restart the Wrapper service itself > for the changes to take affect. If you use environment variables, you do > so as follows: > > Environment: > > > -- Leif Mortenson Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel: +81-3-3878-3211 Fax: +81-3-3878-0313 http://www.tanukisoftware.com lei...@ta... |
|
From: Alexandros K. <al...@kr...> - 2012-10-26 16:20:23
|
Leif / Christian, any updates on this? Thanks, Alex Kritikos Software AG On Oct 17, 2012, at 12:14 PM, Alexandros Kritikos <al...@kr...> wrote: > Hi Leif/Christian, > > we are using for approach but we need to generate the custom binaries during the installation of our product. When we do that with the regular wrapper.exe everything works as expected but when using wrapperw.exe we get a popup dialog which is breaking our installation. Can this dialog be somehow suppressed ? > > Thanks, > > Alex Kritikos > Software AG > > On Sep 24, 2012, at 4:46 AM, Christian Mueller <chr...@ta...> wrote: > >> Hello Alex, >> >> thank you very much for your mail. >> >> It's currently not possible to customize the binary on other platforms other than Windows. Basically because those binaries don't embed resource files as the Windows executables, containing the icon, default conf file path and splash screen. >> >> There are however 2 ways to achieve similar results as the --passthrough option. >> >> - if you call the binary directly you can use the '--' parameter. All parameter after the '--' will be treated as application parameters and be passed through to your application. for instance: >> bin/wrapper -c ../conf/wrapper.conf -- myparam1 myparam2 [...] >> >> - if you use the shell script, you can set the variables PASS_THROUGH and FIXED_COMMAND, so the script will create the command line like above and launch the Wrapper, e.g.: >> bin/myApp.sh myparam1 myparam2 [...] >> >> FIXED_COMMAND can be either 'start' or 'console'. If you don't set that variable, you have to specify the command on the command line, e.g. : >> bin/myApp.sh console myparam1 myparam2 >> >> I hope this information helps you out. >> >> Best Regards, >> >> Christian Mueller >> Tanuki Software, Ltd. >> >> >> >> On Sat, Sep 22, 2012 at 12:53 AM, Alexandros Kritikos <al...@kr...> wrote: >> Hi Leif, >> >> I was wondering if its possible to customize the executable on platforms other than windows. If not could you elaborate on the reason for this? Also how can i get the same behavior of --passthrough without customizing the executable on platforms like OSX, Linux etc? >> >> Many thanks in advance, >> >> Alex Kritikos >> Software AG >> >> >> >> ------------------------------------------------------------------------------ >> Got visibility? >> Most devs has no idea what their production app looks like. >> Find out how fast your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219671;13503038;y? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user > |
|
From: Michael M. <mr...@vm...> - 2012-10-24 22:21:04
|
Thanks Leif, quite helpful. So here's what I have now. c:\type myapp-startup.bat .... rem The base name for the Wrapper binary. set _WRAPPER_BASE=vws-wrapper rem The name and location of the Wrapper configuration file. This will be used rem if the user does not specify a configuration file as the first argument to rem this script. set _WRAPPER_CONF_DEFAULT=../conf/vws-wrapper.conf rem Note that it is only possible to pass parameters through to the JVM when rem installing the service, or when running in a console. # setup VM's memory settings, variables picked up by ../conf/vww-wrapper.conf # see https://wiki.eng.vmware.com/CloudVM/Sizing # APP_NAME must match entry in vws-wrapper.conf set APP_NAME=vmware-vws if not defined VMWARE_JAVA_HOME exit 2 if not defined VMWARE_CLOUDVM_RAM_SIZE exit 3 if not defined VMWARE_LOG_DIR exit 4 set JAVA_HOME=%VMWARE_JAVA_HOME% set /a MAXMEM_VALUE=0 set /a MINMEM_VALUE=0 set /a VAR=0 set size_cmd='"%VMWARE_CLOUDVM_RAM_SIZE%" %APP_NAME%' for /f %%A in (%size_cmd%) do ( set /a VAR=%%A ) set /a MAXMEM_VALUE += %VAR% if %MAXMEM_VALUE == 0 exit 5 if %MINMEM_VALUE% == 0 set MINMEM_VALUE=16 echo "'%APP_NAME%' is using a starting heap of %MINMEM_VALUE% and a max of %MAXMEM_VALUE% mb rem Do not modify anything beyond this point rem --------------------------------------------------- .... BTW, this warning was helpful was well since the design we were toying with internally was not placing wrapper.java.command=c:\some-wrapper-that-calls-java\script.bat And was seeing this: DEBUG | wrapper | 2012/10/24 14:35:51 | Waiting 5 seconds before launching another JVM. DEBUG | wrapper | 2012/10/24 14:35:56 | Magic number for file vmware-vws.bat: 0x4072656d WARN | wrapper | 2012/10/24 14:35:56 | The value of wrapper.java.command does not appear to be a java binary. WARN | wrapper | 2012/10/24 14:35:56 | The use of scripts is not supported. Trying to continue, but some features may not work correctly.. Mike MacFaden Staff Engineer, VMware , Palo Alto CA ----- Original Message ----- > Michael, > There are a number of ways to pass values into the Wrapper to do what > you want. The method you use will depend on the circumstances under > which you will be changing the memory size settings. > 1) Environment variables. > http://wrapper.tanukisoftware.com/doc/english/props-envvars.html > It is possible to reference any environment variable from within your > wrapper.conf file. These values of course will only work when the > environment is loaded. This means that if you change the environment > (SYSTEM in most cases) you will need to restart the Wrapper service > itself for the changes to take affect. If you use environment > variables, you do so as follows: > Environment: |
|
From: Christian M. <chr...@ta...> - 2012-10-24 07:00:01
|
Hello Giuliano, I'm sorry for the confusion. Since the service is still running while you run the update, I can assume that Windows holds a file lock on several files, which can't be deleted/updated by the Java Update. So it fails half-way. I don't think that there is much we can do from our site to handle this properly, since it would be rather the task of the updater to check if there are any relevant Java processes running prior to the update. (Similar to the update of Adobe's Flashplayer updates) Usually if you are deploying an application you should also evaluate if it makes sense for your application if you ship it with a own JVM, rather than relying on the user to have a Java installed. Please let me know if you have any further questions. Thank you, Christian Mueller Tanuki Software, Ltd. On Tue, Oct 23, 2012 at 8:04 PM, Giuliano Rezende <su...@gm...> wrote: > Version Wrapper: Java Service Wrapper Community Edition 32-bit 3.5.14. > > The OS version: Windows 7 an Windows XP. > > > > Hello, > > I am having a problem regarding the performing of updated java > while there is a program running as a windows service. > > For example: > > Suppose there is a version jre-6u31 installed, and naturally a > program running as a windows service. When performing the update to > version jre-6u37 eg manually or via download or through the utility's operating > system, the problem happens, as you can see in the attachment. The error > 25099, and Java update does not complete and it no longer runs when you > restart the computer. > > Before restarting, the service keeps running but when > restarting does not work anymore. This can be seen in the log file, as > well as an attachment the return of the command java -version. > > The interesting thing is that this does not happen if an > update of Java 6 to Java 7, because in this case is created a new folder for > the installation of Java 7. For this reason, I believe that what happens is > that the update tries to change any file or program that is in use, and the > problem happens. > > So, how to get a program running as a windows service can coexist with > Java updates? > > > > Thanks. > > > > ------------------------------------------------------------------------------ > 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 > > |
|
From: Paul H. <pau...@gm...> - 2012-10-23 08:03:57
|
That works. Thank you for your help. On Tue, Oct 23, 2012 at 6:40 AM, Christian Mueller < chr...@ta...> wrote: > Hello Paul, > > thank you very much for your mail. > > Please make sure to read the documentation for the 4 available integration > methods for the Java Service Wrapper: > http://wrapper.tanukisoftware.com/doc/english/integrate.html > > From your description it sounds like you are doing best with integration > method 1, which is actually in most cases the best and easiest choice. > So please change the following properties in your conf file to this: > wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp > wrapper.app.parameter.1=UDPReceive > > After this changes, everything should already work. > > Please let me know if you have any further questions. > > Thank you, > > Christian Mueller > Tanuki Software, Ltd. > > > > On Mon, Oct 22, 2012 at 11:41 PM, Paul Hartigan <pau...@gm...>wrote: > >> Hi, >> >> I am trying to create a service for a java application I created that >> uses a mongodb database. The command line to run the application is 'java >> -classpath mongo-2.8.0.jar; UDPReceive'. I cannot get this to work in java >> service wrapper. >> >> I am using Java Service Wrapper Community Edition 32-bit 3.5.15. >> >> I have attached my wrapper.conf file and the wrapper.log file. >> >> I am new to java and java service wrapper so it maybe a very basic error. >> >> Thanks. >> >> >> >> >> >> ------------------------------------------------------------------------------ >> 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 > > |
|
From: Christian M. <chr...@ta...> - 2012-10-23 05:40:47
|
Hello Paul, thank you very much for your mail. Please make sure to read the documentation for the 4 available integration methods for the Java Service Wrapper: http://wrapper.tanukisoftware.com/doc/english/integrate.html >From your description it sounds like you are doing best with integration method 1, which is actually in most cases the best and easiest choice. So please change the following properties in your conf file to this: wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.app.parameter.1=UDPReceive After this changes, everything should already work. Please let me know if you have any further questions. Thank you, Christian Mueller Tanuki Software, Ltd. On Mon, Oct 22, 2012 at 11:41 PM, Paul Hartigan <pau...@gm...>wrote: > Hi, > > I am trying to create a service for a java application I created that uses > a mongodb database. The command line to run the application is 'java > -classpath mongo-2.8.0.jar; UDPReceive'. I cannot get this to work in java > service wrapper. > > I am using Java Service Wrapper Community Edition 32-bit 3.5.15. > > I have attached my wrapper.conf file and the wrapper.log file. > > I am new to java and java service wrapper so it maybe a very basic error. > > Thanks. > > > > > > ------------------------------------------------------------------------------ > 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 > > |
|
From: Leif M. <lei...@ta...> - 2012-10-22 07:44:54
|
Michael, There are a number of ways to pass values into the Wrapper to do what you want. The method you use will depend on the circumstances under which you will be changing the memory size settings. 1) Environment variables. http://wrapper.tanukisoftware.com/doc/english/props-envvars.html It is possible to reference any environment variable from within your wrapper.conf file. These values of course will only work when the environment is loaded. This means that if you change the environment (SYSTEM in most cases) you will need to restart the Wrapper service itself for the changes to take affect. If you use environment variables, you do so as follows: Environment: --- JAVA_MAX_MEMORY=256 --- wrapper.conf: --- wrapper.java.additional.2=-Xmx%JAVA_MAX_MEMORY%m --- 2) Command line. http://wrapper.tanukisoftware.com/doc/english/props-command-line.html When you install the Wrapper as a service, it is possible to specify any wrapper property on its command line. This method can only be used when either installing as a service, or updating the Service configuration. The install command would look like this: --- wrapper.exe -i ..\conf\wrapper.conf wrapper.java.additional.2=-Xmx64m --- 3) Cascading Configuration Files. http://wrapper.tanukisoftware.com/doc/english/props-cascading.html It is possible to dynamically create a small configuration file which only contains the properties that you want to change, and then include that from your main configuration file. This method will work if you restart the Wrapper, or even just the JVM if you have the wrapper.restart.reload_configuration=TRUE property set. http://wrapper.tanukisoftware.com/doc/english/prop-restart-reload-configuration.html Please let me know if you have any questions about any of these. Cheers, Leif On Sun, Oct 21, 2012 at 11:27 PM, Michael MacFaden <mr...@vm...> wrote: > >From: Leif Mortensom > >If you require more complicated memory configurations, this can be done > >using the wrapper.java.additional.<n> properties as follows: > > > >wrapper.java.additional.1=-Xms3m > >wrapper.java.additional.2=-Xmx64m > > > >Additional memory settings can be added as needed. When you are done, I > >recommend setting the following property the first time you launch the JVM > >so you can double check the command line. > >wrapper.java.command.loglevel=INFO > > > >Please let me know if you have any questions getting up and running. > > Thanks for the response Leif. Guess I wasn't clear either, in our > system the memory size values are dynamic, may change each time the > jvm is started. I didn't want to modify the wrapper.conf each time > the app starts so wanted to know if I could pass the values in > to tanuki via env var or cmd line. > > Mike > |
|
From: Christian M. <chr...@ta...> - 2012-10-22 03:14:06
|
Hello Abdelmeniem, I'm very sorry for the confusion. I think you have set the wrapper.native_library not correctly. Please set it as following: wrapper.native_library=wrapper For more information, please make sure to read the documentation of the property up on our site: http://wrapper.tanukisoftware.com/doc/english/prop-native-library.html Please let me know if you have any further questions. Thank you, Christian Mueller Tanuki Software, Ltd. On Sun, Oct 21, 2012 at 6:16 PM, Abdelmeniem Tharwat <ath...@tr...>wrote: > Dear Sir, **** > > I face this problem while trying to use Java Service Wrapper from netbeans > -**** > > ** ** > > WrapperManager: Initializing...**** > > WrapperManager: **** > > WrapperManager: WARNING - Unable to load the Wrapper's native library > because none of the**** > > WrapperManager: following files:**** > > WrapperManager: liblibwrapper.jnilib-macosx-universal-64.jnilib > **** > > WrapperManager: liblibwrapper.jnilib.jnilib**** > > WrapperManager: could be located on the following > java.library.path:**** > > WrapperManager: /Users/Abdelhamid/Desktop/Project 2012/Client > Agent/TestProject/.**** > > WrapperManager: /Library/Java/Extensions**** > > WrapperManager: /System/Library/Java/Extensions**** > > WrapperManager: /usr/lib/java**** > > WrapperManager: Please see the documentation for the > wrapper.java.library.path**** > > WrapperManager: configuration property.**** > > WrapperManager: System signals will not be handled correctly.*** > * > > WrapperManager: **** > > ** ** > > Let me know if you can , how to solve this issue ?**** > > Thnx**** > > > ------------------------------------------------------------------------------ > 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 > > |
|
From: Michael M. <mr...@vm...> - 2012-10-21 14:28:09
|
>From: Leif Mortensom >If you require more complicated memory configurations, this can be done >using the wrapper.java.additional.<n> properties as follows: > >wrapper.java.additional.1=-Xms3m >wrapper.java.additional.2=-Xmx64m > >Additional memory settings can be added as needed. When you are done, I >recommend setting the following property the first time you launch the JVM >so you can double check the command line. >wrapper.java.command.loglevel=INFO > >Please let me know if you have any questions getting up and running. Thanks for the response Leif. Guess I wasn't clear either, in our system the memory size values are dynamic, may change each time the jvm is started. I didn't want to modify the wrapper.conf each time the app starts so wanted to know if I could pass the values in to tanuki via env var or cmd line. Mike |
|
From: Abdelmeniem T. <ath...@tr...> - 2012-10-21 09:32:55
|
Dear Sir, I face this problem while trying to use Java Service Wrapper from netbeans - WrapperManager: Initializing... WrapperManager: WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the WrapperManager: following files: WrapperManager: liblibwrapper.jnilib-macosx-universal-64.jnilib WrapperManager: liblibwrapper.jnilib.jnilib WrapperManager: could be located on the following java.library.path: WrapperManager: /Users/Abdelhamid/Desktop/Project 2012/Client Agent/TestProject/. WrapperManager: /Library/Java/Extensions WrapperManager: /System/Library/Java/Extensions WrapperManager: /usr/lib/java WrapperManager: Please see the documentation for the wrapper.java.library.path WrapperManager: configuration property. WrapperManager: System signals will not be handled correctly. WrapperManager: Let me know if you can , how to solve this issue ? Thnx |
|
From: Abdelmeniem T. <ath...@tr...> - 2012-10-21 09:27:54
|
Dear Sir, I face this problem while trying to use Java Service Wrapper from netbeans - WrapperManager: Initializing... WrapperManager: WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the WrapperManager: following files: WrapperManager: liblibwrapper.jnilib-macosx-universal-64.jnilib WrapperManager: liblibwrapper.jnilib.jnilib WrapperManager: could be located on the following java.library.path: WrapperManager: /Users/Abdelhamid/Desktop/Project 2012/Client Agent/TestProject/. WrapperManager: /Library/Java/Extensions WrapperManager: /System/Library/Java/Extensions WrapperManager: /usr/lib/java WrapperManager: Please see the documentation for the wrapper.java.library.path WrapperManager: configuration property. WrapperManager: System signals will not be handled correctly. WrapperManager: Let me know if you can , how to solve this issue ? Thnx |
|
From: Alexandros K. <al...@kr...> - 2012-10-17 10:09:40
|
Hi Leif/Christian, we are using for approach but we need to generate the custom binaries during the installation of our product. When we do that with the regular wrapper.exe everything works as expected but when using wrapperw.exe we get a popup dialog which is breaking our installation. Can this dialog be somehow suppressed ? Thanks, Alex Kritikos Software AG On Sep 24, 2012, at 4:46 AM, Christian Mueller <chr...@ta...> wrote: > Hello Alex, > > thank you very much for your mail. > > It's currently not possible to customize the binary on other platforms other than Windows. Basically because those binaries don't embed resource files as the Windows executables, containing the icon, default conf file path and splash screen. > > There are however 2 ways to achieve similar results as the --passthrough option. > > - if you call the binary directly you can use the '--' parameter. All parameter after the '--' will be treated as application parameters and be passed through to your application. for instance: > bin/wrapper -c ../conf/wrapper.conf -- myparam1 myparam2 [...] > > - if you use the shell script, you can set the variables PASS_THROUGH and FIXED_COMMAND, so the script will create the command line like above and launch the Wrapper, e.g.: > bin/myApp.sh myparam1 myparam2 [...] > > FIXED_COMMAND can be either 'start' or 'console'. If you don't set that variable, you have to specify the command on the command line, e.g. : > bin/myApp.sh console myparam1 myparam2 > > I hope this information helps you out. > > Best Regards, > > Christian Mueller > Tanuki Software, Ltd. > > > > On Sat, Sep 22, 2012 at 12:53 AM, Alexandros Kritikos <al...@kr...> wrote: > Hi Leif, > > I was wondering if its possible to customize the executable on platforms other than windows. If not could you elaborate on the reason for this? Also how can i get the same behavior of --passthrough without customizing the executable on platforms like OSX, Linux etc? > > Many thanks in advance, > > Alex Kritikos > Software AG > > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <lei...@ta...> - 2012-10-04 02:18:02
|
Mike, Sorry about the lack of an explanation. We will improve those documentation pages in the next update. Those properties are provided as a convenience for most users, and also makes it possible to set relative memory sizes. If you require more complicated memory configurations, this can be done using the wrapper.java.additional.<n> properties as follows: wrapper.java.additional.1=-Xms3m wrapper.java.additional.2=-Xmx64m Additional memory settings can be added as needed. When you are done, I recommend setting the following property the first time you launch the JVM so you can double check the command line. wrapper.java.command.loglevel=INFO Please let me know if you have any questions getting up and running. Cheers, Leif On Thu, Oct 4, 2012 at 10:49 AM, Michael MacFaden <mr...@vm...> wrote: > Hi, > > From reading the docs I'm not clear if I can > leave out these wrapper.conf properties: > wrapper.java.initmemory > wrapper.java.maxmemory > > and specify them either as command line as arguments > or env vars from the process/script calling the tanuki start-* script? > > Thanks > Mike MacFaden > > |
|
From: Michael M. <mr...@vm...> - 2012-10-04 01:49:31
|
Hi, >From reading the docs I'm not clear if I can leave out these wrapper.conf properties: wrapper.java.initmemory wrapper.java.maxmemory and specify them either as command line as arguments or env vars from the process/script calling the tanuki start-* script? Thanks Mike MacFaden |
|
From: Leif M. <lei...@ta...> - 2012-10-03 03:57:57
|
Ronen, 1) Looking at the log output, I do not see any sign that the Wrapper's java class is being invoked. Could you please send your wrapper.conf so I can see exactly what you are doing? Most likely the main class is your class directly rather than using one of the Wrapper's helper classes. Please take a look the integration methods. Most likely Method #1 will work for you. If this is the problem then most likely the Wrapper would have timed out on startup after 30 seconds or so as it was waiting for the WrapperManager class to initialize itself. http://wrapper.tanukisoftware.com/doc/english/integrate.html 2) Also, please try turning on wrapper.debug and this will show you/me a lot more information about what is happening. wrapper.debug=true 3) You might also want to try adding a println just inside your bindShutdownHook() to make sure that it is getting called as expected. It probable is as you said, but I don't have source and there is no feedback in the log. :-) Cheers, Leif On Tue, Oct 2, 2012 at 3:55 PM, Ronen Itzhaki <rit...@al...> wrote: > ** > > Hi Leif,**** > > ** ** > > First, thanks for quick reply!**** > > ** ** > > I did as instructed, and as I was suspecting, it seams like my hook isn’t > called L – I don’t see it in the dump (nor I see its output in the log). > All I see is my main thread sleeping…**** > > ** ** > > The log is attached.**** > > ** ** > > I'm using the simplest way to bind my shutdown hook:**** > > ** ** > > *static* *void* bindShutdownHook()**** > > {**** > > Runtime.*getRuntime*().addShutdownHook(*new* Thread()**** > > {**** > > @Override**** > > *public* *void* run()**** > > {**** > > System.*out*.println("Shutting down...");**** > > *try***** > > {**** > > *monAction*("stop"); // returns within 1 sec**** > > }**** > > *catch* (IOException io)**** > > {**** > > io.printStackTrace();**** > > }**** > > }**** > > });**** > > }**** > > ** ** > > The method bindShutdownHook is called as the first thing in the main. **** > > ** ** > > Ronen.**** > > ** ** > > ** ** > > ** ** > ------------------------------ > > *From:* Leif Mortenson [mailto:lei...@ta...] > *Sent:* Sunday, September 30, 2012 2:35 PM > *To:* wra...@li... > *Subject:* Re: [Wrapper-user] WrapperSimpleApp: Shutdown hook isn't called > **** > > ** ** > > Ronen, > Please set the following property. It will request that the Wrapper does > a thread dump when timing out before shutting down. > > http://wrapper.tanukisoftware.com/doc/english/prop-request-thread-dump-on-failed-jvm-exit.html > wrapper.request_thread_dump_on_failed_jvm_exit=TRUE > > The fact that the JVM is failing to exit means that the one of the > shutdown hook threads is still running and failing to complete in a timely > manner. The thread dump will hopefully show you exactly what state your > threads are in on shutdown. > > Please let me know how this works for you. > > Cheers, > Leif**** > > On Sun, Sep 30, 2012 at 9:19 PM, Ronen Itzhaki <rit...@al...> wrote: > **** > > Hi,**** > > **** > > I'm using community license for WrapperSimpleApp.**** > > I am trying to run my services with console first (as you've recommended > in order to make sure everything works properly). When I press the CTRL+C > my shutdown hook isn't called, and I get timeout message in the wrapper's > console (nothing else significant in the log):**** > > **** > > wrapper | CTRL-C trapped. Shutting down.**** > > wrapper | Shutdown failed: Timed out waiting for signal from JVM.**** > > wrapper | JVM did not exit on request, terminated**** > > wrapper | <-- Wrapper Stopped**** > > **** > > Note that when I run my app from a command line or simple bat file, the > shutdown hook does get executed when CTRL+C is pressed:**** > > **** > > **** > > Details:**** > > OS: winXP/win7**** > > Wrapper: wrapper-windows-x86-32-3.5.15.zip**** > > Conf file is attached**** > > **** > > Thanks!**** > > **** > > Ronen.**** > > > |
|
From: Leif M. <lei...@ta...> - 2012-09-30 13:04:33
|
Ronen, Please set the following property. It will request that the Wrapper does a thread dump when timing out before shutting down. http://wrapper.tanukisoftware.com/doc/english/prop-request-thread-dump-on-failed-jvm-exit.html wrapper.request_thread_dump_on_failed_jvm_exit=TRUE The fact that the JVM is failing to exit means that the one of the shutdown hook threads is still running and failing to complete in a timely manner. The thread dump will hopefully show you exactly what state your threads are in on shutdown. Please let me know how this works for you. Cheers, Leif On Sun, Sep 30, 2012 at 9:19 PM, Ronen Itzhaki <rit...@al...> wrote: > Hi,**** > > ** ** > > I'm using community license for WrapperSimpleApp.**** > > I am trying to run my services with console first (as you've recommended > in order to make sure everything works properly). When I press the CTRL+C > my shutdown hook isn't called, and I get timeout message in the wrapper's > console (nothing else significant in the log):**** > > ** ** > > wrapper | CTRL-C trapped. Shutting down.**** > > wrapper | Shutdown failed: Timed out waiting for signal from JVM.**** > > wrapper | JVM did not exit on request, terminated**** > > wrapper | <-- Wrapper Stopped**** > > ** ** > > Note that when I run my app from a command line or simple bat file, the > shutdown hook does get executed when CTRL+C is pressed:**** > > ** ** > > ** ** > > Details:**** > > OS: winXP/win7**** > > Wrapper: wrapper-windows-x86-32-3.5.15.zip**** > > Conf file is attached**** > > ** ** > > Thanks!**** > > ** ** > > Ronen.**** > > > |