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: Etienne de D. <e.d...@ad...> - 2015-05-07 08:37:24
|
Leif We are running the wrapper as a service, I confirm that we have 2 processus : java.exe and wrapper.exe as SYSTEM user. Our pdf Printer is a registered printer. Here the wrapper.conf, Attached the log. I currently doing test following your advice. #encoding=UTF-8 # Configuration files must begin with a line specifying the encoding # of the the file. #******************************************************************** # Wrapper License Properties (Ignored by Community Edition) #******************************************************************** # Professional and Standard Editions of the Wrapper require a valid # License Key to start. Licenses can be purchased or a trial license # requested on the following pages: # http://wrapper.tanukisoftware.com/purchase # http://wrapper.tanukisoftware.com/trial # Include file problems can be debugged by removing the first '#' # from the following line: ##include.debug # The Wrapper will look for either of the following optional files for a # valid License Key. License Key properties can optionally be included # directly in this configuration file. #include ../conf/wrapper-license.conf #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf # The following property will output information about which License Key(s) # are being found, and can aid in resolving any licensing problems. #wrapper.license.debug=TRUE #******************************************************************** # Wrapper Localization #******************************************************************** # Specify the locale which the Wrapper should use. By default the system # locale is used. #wrapper.lang=en_US # en_US or ja_JP # Specify the location of the Wrapper's language resources. If these are # missing, the Wrapper will default to the en_US locale. wrapper.lang.folder=../lang #******************************************************************** # Wrapper Java Properties #******************************************************************** # Java Application # Locate the java binary on the system PATH: wrapper.java.command=java # Specify a specific java binary: #set.JAVA_HOME=/java/path #wrapper.java.command=%JAVA_HOME%/bin/java # Tell the Wrapper to log the full generated Java command line. #wrapper.java.command.loglevel=INFO # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=ad6.printserver.server.AD6PrintServerAppWR # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=ad6printserver.jar wrapper.java.classpath.2=lib/*.jar wrapper.java.classpath.3=lib/*.zip # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=lib # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. wrapper.java.additional.auto_bits=TRUE # Java Additional Parameters wrapper.java.additional.1= # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) #wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1= #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Enables Debug output from the Wrapper. wrapper.debug=TRUE wrapper.environment.dump=TRUE # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. wrapper.logfile=conf/wrapper.log #wrapper.logfile=ad6printserver.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=0 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper General Properties #******************************************************************** # Allow for the use of non-contiguous numbered properties wrapper.ignore_sequence_gaps=TRUE # Do not start if the pid file already exists. wrapper.pidfile.strict=TRUE # Title to use when running as a console wrapper.console.title=Test Wrapper Sample Application #******************************************************************** # Wrapper JVM Checks #******************************************************************** # Detect DeadLocked Threads in the JVM. (Requires Standard Edition) wrapper.check.deadlock=TRUE wrapper.check.deadlock.interval=10 wrapper.max_failed_invocations=99 wrapper.console.fatal_to_stderr=FALSE wrapper.console.error_to_stderr=FALSE wrapper.check.deadlock.action=RESTART wrapper.check.deadlock.output=FULL # Out Of Memory detection. # (Simple match) wrapper.filter.trigger.1000=java.lang.OutOfMemoryError # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) #wrapper.filter.trigger.1000=Exception in thread "*" java.lang.OutOfMemoryError #wrapper.filter.allow_wildcards.1000=TRUE wrapper.filter.action.1000=RESTART wrapper.filter.message.1000=The JVM has run out of memory. #******************************************************************** # Wrapper Email Notifications. (Requires Professional Edition) #******************************************************************** # Common Event Email settings. #wrapper.event.default.email.debug=TRUE #wrapper.event.default.email.smtp.host=<SMTP_Host> #wrapper.event.default.email.smtp.port=25 #wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification #wrapper.event.default.email.sender=<Sender email> #wrapper.event.default.email.recipient=<Recipient email> # Configure the log attached to event emails. #wrapper.event.default.email.attach_log=TRUE #wrapper.event.default.email.maillog.lines=50 #wrapper.event.default.email.maillog.format=LPTM #wrapper.event.default.email.maillog.loglevel=INFO # Enable specific event emails. #wrapper.event.wrapper_start.email=TRUE #wrapper.event.jvm_prelaunch.email=TRUE #wrapper.event.jvm_start.email=TRUE #wrapper.event.jvm_started.email=TRUE #wrapper.event.jvm_deadlock.email=TRUE #wrapper.event.jvm_stop.email=TRUE #wrapper.event.jvm_stopped.email=TRUE #wrapper.event.jvm_restart.email=TRUE #wrapper.event.jvm_failed_invocation.email=TRUE #wrapper.event.jvm_max_failed_invocations.email=TRUE #wrapper.event.jvm_kill.email=TRUE #wrapper.event.jvm_killed.email=TRUE #wrapper.event.jvm_unexpected_exit.email=TRUE #wrapper.event.wrapper_stop.email=TRUE # Specify custom mail content wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n #******************************************************************** # Wrapper Windows NT/2000/XP Service Properties #******************************************************************** # WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.name=AD6PrintServer # Display name of the service wrapper.displayname=AD6PrintServer # Description of the service wrapper.description=AD6PrintServer Description # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START wrapper.ntservice.starttype=DEMAND_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=false ----- Original Message ----- From: Leif Mortenson To: Wrapper User List Sent: Thursday, May 07, 2015 4:34 AM Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer Etienne How are you running the Wrapper? As a service? If so then it will be running as the SYSTEM user by default. The SYSTEM user has its own environment and path, as well as restrictions on network access. I am not clear, is your pdf printer a registered printer? Or an executable you are trying to run? You can debug the active environment with the following property: wrapper.environment.dump=TRUE http://wrapper.tanukisoftware.com/doc/english/prop-environment-dump.html You may need to setup your printer in a specific user and then configure the Wrapper to run as that user. Please read over the following: http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-account.html It is also possible to configure the Wrapper so it can access remote Printers and Network Shares without having to first set them up in that account. Not sure if this is useful to you: http://wrapper.tanukisoftware.com/doc/english/prop-share-general.html Cheers, Leif On Thu, May 7, 2015 at 12:00 AM, Tu T. Nguyen <ttn...@ra...> wrote: Please see the following link for information regarding windows services. http://windows.microsoft.com/en-us/windows-vista/manage-services-in-windows-vista-from-windows-vista-inside-out Under startup options you can see the tab for “Log On” Make sure you choose “This Account:” and specify a username and password that has at least local administrator privileges. From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Tuesday, May 05, 2015 6:04 AM To: wra...@li... Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I' don't know if it's a matter of administrator account, we reproduce this problem on other PC and we are connected as Administrator. If you know how to assign an administrator account to the Windows Service ? When we send documents to pdf Printer, the System launch binaries such PDFCreator.exe, maybe we need to manage permission in the wrapper to execute binaries ? ----- Original Message ----- From: Tu T. Nguyen To: wra...@li... Sent: Monday, May 04, 2015 6:35 PM Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer Maybe this is a permissions issue. Have you tried assigning the Windows service an administrator account instead of using the service account? From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Monday, May 04, 2015 6:46 AM To: wra...@li... Subject: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I, We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java application as a Windows Service (Vista OS). Our java application generates documents, whose sent to physical Printer (Canon, HP ...) for the printing, and that's works fine. If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! And we have no Error and no trace in log file. Perhap's, there is a parameter to be matched in the wrapperapp.conf, we would not have seen ? Thank's for your help. E. de Dieuleveult. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ------------------------------------------------------------------------------ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Leif M. <lei...@ta...> - 2015-05-07 02:41:18
|
Moises, Could you set the wrapper.debug=true property and then send the resulting wrapper.log file? I would need a lot more information to give you helpful response. The debug output will show me what the Wrapper thinks is happening at least. The Wrapper is repeatedly trying to launch your application. But it is exiting prior to the application completing its startup. You may have a configuration problem. Does your application output any messages? Cheers, Leif On Tue, May 5, 2015 at 1:25 AM, moises zermeño <moi...@ho...> wrote: > We're using wrapper 3.5.25, attached is the config file and we're > constantly getting the following error: > > FATAL | wrapper | 2015/05/04 10:39:08 | There were 5 failed launches in > a row, each lasting less than 300 seconds. Giving up. > FATAL | wrapper | 2015/05/04 10:39:08 | There may be a configuration > problem: please check the logs. > |
|
From: Leif M. <lei...@ta...> - 2015-05-07 02:40:34
|
Colin, The arguments passed to the Wrapper need to be broken up. You have registered them as pairs of arguments (name and value) with a space. Those are passed as a single argument to the JVM on UNIX. Please try it as follows and let me know if this fixes your problem. wrapper.app.parameter.1=com.quantifind.kafka.offsetapp.OffsetGetterWeb wrapper.app.parameter.2=--zk wrapper.app.parameter.3=myzk1:2181,myzk2:2181,myzk3:2181/kafka1 wrapper.app.parameter.4=--port wrapper.app.parameter.5=8080 wrapper.app.parameter.6=--refresh wrapper.app.parameter.7=10.seconds wrapper.app.parameter.8=--retain wrapper.app.parameter.9=7.days Problems like this can be easily debugged by setting the following property to show the generated command line in the log file (You have it commented out): wrapper.java.command.loglevel=INFO Cheers, Leif On Thu, May 7, 2015 at 8:32 AM, Colin Kincaid Williams <di...@uw...> wrote: > >java -cp KafkaOffsetMonitor-assembly-0.2.1.jar > com.quantifind.kafka.offsetapp.OffsetGetterWeb --zk > myzk1:2181,myzk2:2181,myzk3:2181/kafka1 --port 8080 --refresh 10.seconds > --retain 2.days > > serving resources from: > jar:file:/opt/kafka-offset-monitor/KafkaOffsetMonitor-assembly-0.2.1.jar!/offsetapp > ... > > starting the application via the command line as I showed above works. > Then I'm trying to adapt it to the wrapper. I will look at the wrapper > again. > |
|
From: Leif M. <lei...@ta...> - 2015-05-07 02:39:39
|
Etienne How are you running the Wrapper? As a service? If so then it will be running as the SYSTEM user by default. The SYSTEM user has its own environment and path, as well as restrictions on network access. I am not clear, is your pdf printer a registered printer? Or an executable you are trying to run? You can debug the active environment with the following property: wrapper.environment.dump=TRUE http://wrapper.tanukisoftware.com/doc/english/prop-environment-dump.html You may need to setup your printer in a specific user and then configure the Wrapper to run as that user. Please read over the following: http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-account.html It is also possible to configure the Wrapper so it can access remote Printers and Network Shares without having to first set them up in that account. Not sure if this is useful to you: http://wrapper.tanukisoftware.com/doc/english/prop-share-general.html Cheers, Leif On Thu, May 7, 2015 at 12:00 AM, Tu T. Nguyen <ttn...@ra...> wrote: > Please see the following link for information regarding windows services. > > > > > http://windows.microsoft.com/en-us/windows-vista/manage-services-in-windows-vista-from-windows-vista-inside-out > > > > Under startup options you can see the tab for “Log On” Make sure you > choose “This Account:” and specify a username and password that has at > least local administrator privileges. > > > > *From:* Etienne de Dieuleveult [mailto:e.d...@ad...] > *Sent:* Tuesday, May 05, 2015 6:04 AM > *To:* wra...@li... > > *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf > Printer > > > > I' don't know if it's a matter of administrator account, we reproduce this > problem on other PC and we are connected as Administrator. > > If you know how to assign an administrator account to the Windows Service ? > > When we send documents to pdf Printer, the System launch binaries such > PDFCreator.exe, maybe we need to manage permission in the > > wrapper to execute binaries ? > > > > > > > > > > ----- Original Message ----- > > *From:* Tu T. Nguyen <ttn...@ra...> > > *To:* wra...@li... > > *Sent:* Monday, May 04, 2015 6:35 PM > > *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf > Printer > > > > Maybe this is a permissions issue. Have you tried assigning the Windows > service an administrator account instead of using the service account? > > > > *From:* Etienne de Dieuleveult [mailto:e.d...@ad... > <e.d...@ad...>] > *Sent:* Monday, May 04, 2015 6:46 AM > *To:* wra...@li... > *Subject:* [Wrapper-user] Wrapper binarie doesn't work with pdf Printer > > > > I, > > We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java > application as a Windows Service (Vista OS). > > Our java application generates documents, whose sent to physical Printer > (Canon, HP ...) for the printing, and that's works fine. > > If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! > And we have no Error and no trace in log file. > > Perhap's, there is a parameter to be matched in the wrapperapp.conf, we > would not have seen ? > > Thank's for your help. > > E. de Dieuleveult. > > |
|
From: Leif M. <lei...@ta...> - 2015-05-07 02:36:50
|
Etienne, Forgot to mention. Any error messages associated with trying to access your printers is going to be in application code and not directly related to the Wrapper. If there is no error message being logged then this a problem with the application that should be corrected. If it is a 3rd party tool, try and see if there is a way to enable debug log output. Cheers, Leif On Thu, May 7, 2015 at 11:34 AM, Leif Mortenson < lei...@ta...> wrote: > Etienne > How are you running the Wrapper? As a service? > If so then it will be running as the SYSTEM user by default. > The SYSTEM user has its own environment and path, as well as restrictions > on network access. > > I am not clear, is your pdf printer a registered printer? Or an > executable you are trying to run? > > You can debug the active environment with the following property: > wrapper.environment.dump=TRUE > http://wrapper.tanukisoftware.com/doc/english/prop-environment-dump.html > > You may need to setup your printer in a specific user and then configure > the Wrapper to run as that user. > Please read over the following: > http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-account.html > > It is also possible to configure the Wrapper so it can access remote > Printers and Network Shares without having to first set them up in that > account. Not sure if this is useful to you: > http://wrapper.tanukisoftware.com/doc/english/prop-share-general.html > > Cheers, > Leif > > > > On Thu, May 7, 2015 at 12:00 AM, Tu T. Nguyen <ttn...@ra...> > wrote: > >> Please see the following link for information regarding windows >> services. >> >> >> >> >> http://windows.microsoft.com/en-us/windows-vista/manage-services-in-windows-vista-from-windows-vista-inside-out >> >> >> >> Under startup options you can see the tab for “Log On” Make sure you >> choose “This Account:” and specify a username and password that has at >> least local administrator privileges. >> >> >> >> *From:* Etienne de Dieuleveult [mailto:e.d...@ad...] >> *Sent:* Tuesday, May 05, 2015 6:04 AM >> *To:* wra...@li... >> >> *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf >> Printer >> >> >> >> I' don't know if it's a matter of administrator account, we reproduce >> this problem on other PC and we are connected as Administrator. >> >> If you know how to assign an administrator account to the Windows Service >> ? >> >> When we send documents to pdf Printer, the System launch binaries such >> PDFCreator.exe, maybe we need to manage permission in the >> >> wrapper to execute binaries ? >> >> >> >> >> >> >> >> >> >> ----- Original Message ----- >> >> *From:* Tu T. Nguyen <ttn...@ra...> >> >> *To:* wra...@li... >> >> *Sent:* Monday, May 04, 2015 6:35 PM >> >> *Subject:* Re: [Wrapper-user] Wrapper binarie doesn't work with pdf >> Printer >> >> >> >> Maybe this is a permissions issue. Have you tried assigning the Windows >> service an administrator account instead of using the service account? >> >> >> >> *From:* Etienne de Dieuleveult [mailto:e.d...@ad... >> <e.d...@ad...>] >> *Sent:* Monday, May 04, 2015 6:46 AM >> *To:* wra...@li... >> *Subject:* [Wrapper-user] Wrapper binarie doesn't work with pdf Printer >> >> >> >> I, >> >> We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java >> application as a Windows Service (Vista OS). >> >> Our java application generates documents, whose sent to physical Printer >> (Canon, HP ...) for the printing, and that's works fine. >> >> If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work >> ! And we have no Error and no trace in log file. >> >> Perhap's, there is a parameter to be matched in the wrapperapp.conf, we >> would not have seen ? >> >> Thank's for your help. >> >> E. de Dieuleveult. >> >> > |
|
From: Colin K. W. <di...@uw...> - 2015-05-06 23:32:18
|
>java -cp KafkaOffsetMonitor-assembly-0.2.1.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --zk myzk1:2181,myzk2:2181,myzk3:2181/kafka1 --port 8080 --refresh 10.seconds --retain 2.days serving resources from: jar:file:/opt/kafka-offset-monitor/KafkaOffsetMonitor-assembly-0.2.1.jar!/offsetapp ... starting the application via the command line as I showed above works. Then I'm trying to adapt it to the wrapper. I will look at the wrapper again. |
|
From: Tu T. N. <ttn...@ra...> - 2015-05-06 15:15:45
|
Please see the following link for information regarding windows services. http://windows.microsoft.com/en-us/windows-vista/manage-services-in-windows-vista-from-windows-vista-inside-out Under startup options you can see the tab for "Log On" Make sure you choose "This Account:" and specify a username and password that has at least local administrator privileges. From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Tuesday, May 05, 2015 6:04 AM To: wra...@li... Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I' don't know if it's a matter of administrator account, we reproduce this problem on other PC and we are connected as Administrator. If you know how to assign an administrator account to the Windows Service ? When we send documents to pdf Printer, the System launch binaries such PDFCreator.exe, maybe we need to manage permission in the wrapper to execute binaries ? ----- Original Message ----- From: Tu T. Nguyen<mailto:ttn...@ra...> To: wra...@li...<mailto:wra...@li...> Sent: Monday, May 04, 2015 6:35 PM Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer Maybe this is a permissions issue. Have you tried assigning the Windows service an administrator account instead of using the service account? From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Monday, May 04, 2015 6:46 AM To: wra...@li...<mailto:wra...@li...> Subject: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I, We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java application as a Windows Service (Vista OS). Our java application generates documents, whose sent to physical Printer (Canon, HP ...) for the printing, and that's works fine. If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! And we have no Error and no trace in log file. Perhap's, there is a parameter to be matched in the wrapperapp.conf, we would not have seen ? Thank's for your help. E. de Dieuleveult. ________________________________ ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ________________________________ _______________________________________________ Wrapper-user mailing list Wra...@li...<mailto:Wra...@li...> https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Dannes W. <da...@ex...> - 2015-05-06 14:56:07
|
On Mon, May 4, 2015 at 6:25 PM, moises zermeño <moi...@ho...> wrote: > We're using wrapper 3.5.25, attached is the config file and we're > constantly getting the following error: > > FATAL | wrapper | 2015/05/04 10:39:08 | There were 5 failed launches in > a row, each lasting less than 300 seconds. Giving up. > FATAL | wrapper | 2015/05/04 10:39:08 | There may be a configuration > problem: please check the logs. > > is there any application logging? what if you run the "console" parameter, what is happening? Did you verify permission errors, virus scanners, blocking firewalls etc? D. |
|
From: Dannes W. <da...@ex...> - 2015-05-06 14:54:58
|
On Wed, May 6, 2015 at 5:20 AM, Colin Kincaid Williams <di...@uw...> wrote: > > INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: > Encountered an error running main: > INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: > com.quantifind.sumac.ArgException: unknown option zk > "myzk1:2181,myzk2:2181,myzk3:2181/kafka1" > > clearly wrong parameters are passed to the application ..... probably you have to check your WrapperSimpleApp ... regards Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |
|
From: Colin K. W. <di...@uw...> - 2015-05-06 03:42:08
|
I'm trying to use the wrapper to start http://quantifind.com/KafkaOffsetMonitor/ . On the project site they give an example to start the application, which works for me. java -cp KafkaOffsetMonitor-assembly-0.2.1.jar com.quantifind.kafka.offsetapp.OffsetGetterWeb --zk myzk1:2181,myzk2:2181,myzk3:2181/kafka1 --port 8080 --refresh 10.seconds --retain 2.days Then I thought the following guide was appropriate to use: http://wrapper.tanukisoftware.com/doc/english/integrate-simple-nix.html Here are the relevant lines from my configuration file: #******************************************************************** # Wrapper Java Properties #******************************************************************** # Java Application # Locate the java binary on the system PATH: wrapper.java.command=java # Specify a specific java binary: #set.JAVA_HOME=/java/path #wrapper.java.command=%JAVA_HOME%/bin/java # Tell the Wrapper to log the full generated Java command line. #wrapper.java.command.loglevel=INFO # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=../KafkaOffsetMonitor-assembly-0.2.1.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. wrapper.java.additional.auto_bits=TRUE # Java Additional Parameters #wrapper.java.additional.1= # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) #wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=com.quantifind.kafka.offsetapp.OffsetGetterWeb wrapper.app.parameter.2=--zk myzk1:2181,myzk2:2181,myzk3:2181/kafka1 wrapper.app.parameter.3=--port 8080 wrapper.app.parameter.4=--refresh 10.seconds wrapper.app.parameter.5=--retain 7.days Here is the logfile: STATUS | wrapper | 2015/05/05 21:05:36 | --> Wrapper Started as Daemon STATUS | wrapper | 2015/05/05 21:05:36 | Java Service Wrapper Community Edition 64-bit 3.5.26 STATUS | wrapper | 2015/05/05 21:05:36 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2015/05/05 21:05:36 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2015/05/05 21:05:36 | STATUS | wrapper | 2015/05/05 21:05:37 | Launching a JVM... INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperManager: Initializing... INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp: INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: Encountered an error running main: INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: com.quantifind.sumac.ArgException: unknown option zk "myzk1:2181,myzk2:2181,myzk3:2181/kafka1" INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: usage: INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --retain class scala.concurrent.duration.FiniteDuration null INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --refresh class scala.concurrent.duration.FiniteDuration null INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --dbName class java.lang.String offsetapp INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --port int 37352 INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --zk class java.lang.String null INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --zkSessionTimeout class scala.concurrent.duration.Duration 30 seconds INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: --zkConnectionTimeout class scala.concurrent.duration.Duration 30 seconds INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgumentParser$$anonfun$nameToHolder$2.apply(ArgumentParser.scala:10) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgumentParser$$anonfun$nameToHolder$2.apply(ArgumentParser.scala:9) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.Map$WithDefault.default(Map.scala:52) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.MapLike$class.apply(MapLike.scala:141) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.AbstractMap.apply(Map.scala:58) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgumentParser$$anonfun$parse$1.applyOrElse(ArgumentParser.scala:23) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgumentParser$$anonfun$parse$1.applyOrElse(ArgumentParser.scala:21) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.TraversableLike$$anonfun$collect$1.apply(TraversableLike.scala:278) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:98) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:226) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.mutable.HashMap.foreach(HashMap.scala:98) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.TraversableLike$class.collect(TraversableLike.scala:278) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at scala.collection.AbstractTraversable.collect(Traversable.scala:105) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgumentParser.parse(ArgumentParser.scala:21) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.Args$class.parse(Args.scala:39) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.kafka.offsetapp.OffsetGetterArgs.parse(OffsetGetterApp.scala:29) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.Args$class.parse(Args.scala:34) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.kafka.offsetapp.OffsetGetterArgs.parse(OffsetGetterApp.scala:29) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgMain$class.mainHelper(ArgApp.scala:39) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.sumac.ArgMain$class.main(ArgApp.scala:34) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.kafka.offsetapp.OffsetGetterWeb$.main(OffsetGetterWeb.scala:43) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at com.quantifind.kafka.offsetapp.OffsetGetterWeb.main(OffsetGetterWeb.scala) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:606) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325) INFO | jvm 1 | 2015/05/05 21:05:37 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:745) STATUS | wrapper | 2015/05/05 21:05:39 | <-- Wrapper Stopped STATUS | wrapper | 2015/05/05 21:08:08 | --> Wrapper Started as Daemon Can anybody suggest how I can get it to work for me? |
|
From: Etienne de D. <e.d...@ad...> - 2015-05-05 13:04:20
|
I' don't know if it's a matter of administrator account, we reproduce this problem on other PC and we are connected as Administrator. If you know how to assign an administrator account to the Windows Service ? When we send documents to pdf Printer, the System launch binaries such PDFCreator.exe, maybe we need to manage permission in the wrapper to execute binaries ? ----- Original Message ----- From: Tu T. Nguyen To: wra...@li... Sent: Monday, May 04, 2015 6:35 PM Subject: Re: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer Maybe this is a permissions issue. Have you tried assigning the Windows service an administrator account instead of using the service account? From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Monday, May 04, 2015 6:46 AM To: wra...@li... Subject: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I, We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java application as a Windows Service (Vista OS). Our java application generates documents, whose sent to physical Printer (Canon, HP ...) for the printing, and that's works fine. If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! And we have no Error and no trace in log file. Perhap's, there is a parameter to be matched in the wrapperapp.conf, we would not have seen ? Thank's for your help. E. de Dieuleveult. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ------------------------------------------------------------------------------ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Tu T. N. <ttn...@ra...> - 2015-05-04 16:51:03
|
Maybe this is a permissions issue. Have you tried assigning the Windows service an administrator account instead of using the service account? From: Etienne de Dieuleveult [mailto:e.d...@ad...] Sent: Monday, May 04, 2015 6:46 AM To: wra...@li... Subject: [Wrapper-user] Wrapper binarie doesn't work with pdf Printer I, We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java application as a Windows Service (Vista OS). Our java application generates documents, whose sent to physical Printer (Canon, HP ...) for the printing, and that's works fine. If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! And we have no Error and no trace in log file. Perhap's, there is a parameter to be matched in the wrapperapp.conf, we would not have seen ? Thank's for your help. E. de Dieuleveult. |
|
From: moises z. <moi...@ho...> - 2015-05-04 16:25:09
|
# Specify the location of the Wrapper's language resources. If these are # missing, the Wrapper will default to the en_US locale. #wrapper.lang.folder=../lang # Locate the java binary on the system PATH: wrapper.java.command=C:\Program Files\Java\jre7\bin\java.exe # Specify a specific java binary: #set.JAVA_HOME=/java/path #wrapper.java.command=%JAVA_HOME%/bin/java # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=../lib/wrapper.jar wrapper.java.classpath.2=DesaFact.jar wrapper.java.classpath.3=../lib/bcprov-jdk16-146.jar wrapper.java.classpath.4=../lib/itextpdf-5.3.2.jar wrapper.java.classpath.5=../lib/iText-2.1.7.jar wrapper.java.classpath.6=../lib/mysql-connector-java-5.1.24-bin.jar wrapper.java.classpath.7=../lib/cfdi-base-0.2.3-SNAPSHOT.jar wrapper.java.classpath.9=../lib/commons-codec-1.4.jar wrapper.java.classpath.10=../lib/commons-collections-3.2.jar wrapper.java.classpath.11=../lib/commons-digester-1.7.jar wrapper.java.classpath.12=../lib/commons-logging.jar wrapper.java.classpath.13=../lib/commons-ssl.jar wrapper.java.classpath.14=../lib/DESASeal.jar wrapper.java.classpath.15=../lib/guava-r06.jar wrapper.java.classpath.16=../lib/itextpdf-5.3.2.jar wrapper.java.classpath.17=../lib/jasperreports-3.7.4.jar wrapper.java.classpath.18=../lib/jaxb-impl-2.1.12.jar wrapper.java.classpath.19=../lib/jdom.jar wrapper.java.classpath.20=../lib/juniversalchardet-1.0.3.jar wrapper.java.classpath.21=../lib/qrgen-1.0.jar wrapper.java.classpath.22=../lib/commons-beanutils-1.5.jar wrapper.java.classpath.23=../lib/zxing-core-1.7.jar wrapper.java.classpath.24=../lib/zxing-j2se-1.7.jar wrapper.java.classpath.25=../lib/activation.jar wrapper.java.classpath.26=../lib/mail.jar wrapper.java.classpath.27=../lib/digitalFactura.jar wrapper.java.classpath.28=../lib/FacturaHoy.jar wrapper.java.classpath.29=../lib/FormasDigitales.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=../lib # Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. wrapper.java.additional.auto_bits=TRUE # Initial Java Heap Size (in MB) #wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) #wrapper.java.maxmemory=64 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=generaxml #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Enables Debug output from the Wrapper. wrapper.debug=FALSE # Format of output for the console. (See docs for formats) wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=FATAL # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=FATAL # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=0 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE #******************************************************************** # Wrapper General Properties #******************************************************************** # Allow for the use of non-contiguous numbered properties wrapper.ignore_sequence_gaps=TRUE # Do not start if the pid file already exists. wrapper.pidfile.strict=TRUE # Title to use when running as a console wrapper.console.title=DesaFactService #******************************************************************** # Wrapper JVM Checks #******************************************************************** # Detect DeadLocked Threads in the JVM. (Requires Standard Edition) wrapper.check.deadlock=TRUE wrapper.check.deadlock.interval=10 wrapper.check.deadlock.action=RESTART wrapper.check.deadlock.output=FULL # Out Of Memory detection. # (Ignore output from dumping the configuration to the console. This is only needed by the TestWrapper sample application.) wrapper.filter.trigger.999=wrapper.filter.trigger.*java.lang.OutOfMemoryError wrapper.filter.allow_wildcards.999=TRUE wrapper.filter.action.999=NONE # Ignore -verbose:class output to avoid false positives. wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError wrapper.filter.action.1000=NONE # (Simple match) wrapper.filter.trigger.1001=java.lang.OutOfMemoryError # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) #wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError #wrapper.filter.allow_wildcards.1001=TRUE wrapper.filter.action.1001=RESTART wrapper.filter.message.1001=The JVM has run out of memory. # Name of the service wrapper.name=DesaFactService # Display name of the service wrapper.displayname=DesaFactService # Description of the service wrapper.description=DesaFactService # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop. wrapper.ntservice.interactive=false |
|
From: Etienne de D. <e.d...@ad...> - 2015-05-04 14:04:38
|
I, We use your wrapper (wrapper-windows-x86-32-3.5.26) to launch a java application as a Windows Service (Vista OS). Our java application generates documents, whose sent to physical Printer (Canon, HP ...) for the printing, and that's works fine. If we send document to pdf Printer (PDFCreator or doPDF) it doesn't work ! And we have no Error and no trace in log file. Perhap's, there is a parameter to be matched in the wrapperapp.conf, we would not have seen ? Thank's for your help. E. de Dieuleveult. |
|
From: Ryan K. <rko...@pi...> - 2015-04-28 17:54:07
|
I see that there's an old post asking how to use jps / jstat with the wrapper, but I'm not sure how it was resolved (the link is stale). Does anyone remember? jps never finds the wrapped JVM and jstat <pid> always returns <pid> not found. I can get jstack to work with the wrapper using SysInternal's psexec -s. psexec -s puts the user in the LocalSystem context, but this does not help with jps / jstat. There's some indication in various forums that these utilities are sensitive to the availability of the hsperfdata directory. For the wrapper, I found this directory in C:\Windows\Temp\hsperfdata_<machine>$. I tried setting the -J-Djava.io.tmpdir="C:\Windows\Temp" to the jstat and jps command line, but this did not help. Any advice would be welcome. |
|
From: Davide S. <ds...@cd...> - 2015-03-25 16:14:12
|
Hi Leif, Yes, we have many Windows services running with the tanukisoft wrapper. It is physical server with a 2 Xeon E5 CPU’s and 128GB of ram. So it should be able to handle a high load, but if it is enough I do not know. We are not aware of any device connected to this server. I checked the Event Log and I cannot see any warnings errors related to this. Davide From: Leif Mortenson [mailto:lei...@ta...] Sent: 25. marts 2015 12:32 To: Wrapper User List Subject: Re: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning Davide, There are not any direct limits that I am aware of on the number of services. Although 100 is impressive. Are these all with the Wrapper? There are however some system resource limits, but they are quite large. Number of file handles, etc. This is the same issue that you talked with Alexandre about last week? I had done some looking around last week and found the following: The AllocConsole is not documented to result in the ERROR_GEN_FAILURE error (#31=0x1f). But the AttachConsole will throw this error if the process it is to attach to does not exist. https://msdn.microsoft.com/en-us/library/windows/desktop/ms681944%28v=vs.85%29.aspx I would imagine that AllocConsole could internally call AttachConsole to attache it after it is created. But that is a guess. https://msdn.microsoft.com/en-us/library/windows/desktop/ms681952%28v=vs.85%29.aspx We have not yet found anything really useful on this however. The text of the system message seems a little misleading. Is this a physical server or a virtual machine? Is it possible that there is a device connected to the system that is missbehaving? Have you checked the Event Log to see if there are any warnings or errors? Cheers, Leif On Wed, Mar 25, 2015 at 7:34 PM, Davide Silvestre <ds...@cd...<mailto:ds...@cd...>> wrote: Hi again, As we have many Windows services running and as I have experienced that I have to stop one to be able to start another one, could my issue be related to the desktop heap size? The values in the registry for a non interactive desktop is 768: SharedSection=1024,20480,768 and as far as I can read there should be no upper limit in the total memory that can be used (48 MB in the old days). I still experience this issue when I start the services from time to time and the error is still the same. wrapper | 2015/03/24 11:22:04 | Allocating a console for the service. ERROR | wrapper | 2015/03/24 11:22:04 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) Davide From: Davide Silvestre [mailto:ds...@cd...<mailto:ds...@cd...>] Sent: 24. marts 2015 16:24 To: wra...@li...<mailto:wra...@li...> Subject: Re: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning Hi Alexandre, Thank you for your reply. We are installing the services in the right way and we run them as Window services. This issue occurs only on 1 server "Windows Server 2012 Standard". We have many services on this server running as services (about 100). Sometimes that error prevents us to be able to start a service. Then if I stop another service then I am able to start it. It is like we have reached a maximum number of services? I thought about that maybe we were running out of ports, but when we have this case we can detect this from the wrapper log. Davide Hi Davide, I'm sorry for the trouble. I don't recommend to use the "-s" parameter to start the Wrapper as a service. In fact, if you execute "wrapper.exe -s..." you should see this message: The -s and --service commands should only be called by the Windows ServiceManager to control the Wrapper as a service, and is not designed to be run manually by the user. Instead you can use the batch files that we specially created for that. They are located in %WRAPPER_HOME%\src\bin. Please have a look at this page: http://wrapper.tanukisoftware.com/doc/english/launch-win.html Basically, you should: - copy the batch files where wrapper.exe is - rename the batch files - install the service using the batch file - start the service using the batch file I hope this will help you. Please don't hesitate to contact us if you have any questions. In case you would like to send your configuration file and keep it private, you can contact us here: su...@ta...<mailto:su...@ta...> Regards, Alexandre Klein Alexandre Klein Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel: +81-3-3878-3211<tel:%2B81-3-3878-3211> Fax: +81-3-3878-0313<tel:%2B81-3-3878-0313> http://www.tanukisoftware.com<http://www.tanukisoftware.com/> On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...<mailto:ds...@cd...>> wrote: I forgot to mention the wrapper and java versions: wrapper version: 3.5.24 java version: 7u72  Davide  From: Davide Silvestre [mailto:ds...@cd...<mailto:ds...@cd...>] Sent: 13. marts 2015 15:20 To: wra...@li...<mailto:wra...@li...> Subject: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning  Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command  >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf  But when I start it as a service (same command with -s) if fails with the following error:  STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log  I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case.  Any inputs? |
|
From: Leif M. <lei...@ta...> - 2015-03-25 12:00:25
|
Davide, There are not any direct limits that I am aware of on the number of services. Although 100 is impressive. Are these all with the Wrapper? There are however some system resource limits, but they are quite large. Number of file handles, etc. This is the same issue that you talked with Alexandre about last week? I had done some looking around last week and found the following: The AllocConsole is not documented to result in the ERROR_GEN_FAILURE error (#31=0x1f). But the AttachConsole will throw this error if the process it is to attach to does not exist. https://msdn.microsoft.com/en-us/library/windows/desktop/ms681944%28v=vs.85%29.aspx I would imagine that AllocConsole could internally call AttachConsole to attache it after it is created. But that is a guess. https://msdn.microsoft.com/en-us/library/windows/desktop/ms681952%28v=vs.85%29.aspx We have not yet found anything really useful on this however. The text of the system message seems a little misleading. Is this a physical server or a virtual machine? Is it possible that there is a device connected to the system that is missbehaving? Have you checked the Event Log to see if there are any warnings or errors? Cheers, Leif On Wed, Mar 25, 2015 at 7:34 PM, Davide Silvestre <ds...@cd...> wrote: > Hi again, > > As we have many Windows services running and as I have experienced that I > have to stop one to be able to start another one, could my issue be related > to the desktop heap size? > > The values in the registry for a non interactive desktop is 768: > > *SharedSection=1024,20480,768* > > and as far as I can read there should be no upper limit in the total > memory that can be used (48 MB in the old days). > > I still experience this issue when I start the services from time to time > and the error is still the same. > > > > wrapper | 2015/03/24 11:22:04 | Allocating a console for the service. > > ERROR | wrapper | 2015/03/24 11:22:04 | ERROR: Unable to allocate a > console for the service: A device attached to the system is not > functioning. (0x1f) > > > > Davide > > > > *From:* Davide Silvestre [mailto:ds...@cd...] > *Sent:* 24. marts 2015 16:24 > *To:* wra...@li... > *Subject:* Re: [Wrapper-user] ERROR: Unable to allocate a console for the > service: A device attached to the system is not functioning > > > > Hi Alexandre, > > Thank you for your reply. > > We are installing the services in the right way and we run them as Window > services. > > This issue occurs only on 1 server "Windows Server 2012 Standard". We have > many services on this server running as services (about 100). Sometimes > that error prevents us to be able to start a service. Then if I stop > another service then I am able to start it. It is like we have reached a > maximum number of services? > > I thought about that maybe we were running out of ports, but when we have > this case we can detect this from the wrapper log. > > Davide > > > > > > Hi Davide, > > I'm sorry for the trouble. > > I don't recommend to use the "-s" parameter to start the Wrapper as a > service. > In fact, if you execute "wrapper.exe -s..." you should see this message: > The -s and --service commands should only be called by the Windows > ServiceManager to control the Wrapper as a service, and is not > designed to be run manually by the user. > > Instead you can use the batch files that we specially created for that. > They are located in %WRAPPER_HOME%\src\bin. > > Please have a look at this page: > http://wrapper.tanukisoftware.com/doc/english/launch-win.html > > > > Basically, you should: > > - copy the batch files where wrapper.exe is > > - rename the batch files > > - install the service using the batch file > > - start the service using the batch file > > I hope this will help you. Please don't hesitate to contact us if you have > any questions. > > In case you would like to send your configuration file and keep it > private, you can contact us here: su...@ta... > > Regards, > > Alexandre Klein > > > > > Alexandre Klein > > 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 > > > > On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...> wrote: > > I forgot to mention the wrapper and java versions: > > wrapper version: 3.5.24 > > java version: 7u72 > >  > > Davide > >  > > *From:* Davide Silvestre [mailto:ds...@cd...] > *Sent:* 13. marts 2015 15:20 > *To:* wra...@li... > *Subject:* [Wrapper-user] ERROR: Unable to allocate a console for the > service: A device attached to the system is not functioning > >  > > Hi, > > I have installed an application as windows service using the wrapper on a > Microsoft Windows Server 2012. > > I can start the application from the command line without problems using > the following command > >  > > >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf > >  > > But when I start it as a service (same command with -s) if fails with the > following error: > >  > > STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service > > DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the > service. > > ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a > console for the service: A device attached to the system is not > functioning. (0x1f) > > STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped > > DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: > wrapper.log > >  > > I read that somebody else encountered the same issue because the Path > variable contained some unresolvable references, but this doesn't seem to > be my case. > >  > > Any inputs? > > > |
|
From: Davide S. <ds...@cd...> - 2015-03-25 10:34:49
|
Hi again, As we have many Windows services running and as I have experienced that I have to stop one to be able to start another one, could my issue be related to the desktop heap size? The values in the registry for a non interactive desktop is 768: SharedSection=1024,20480,768 and as far as I can read there should be no upper limit in the total memory that can be used (48 MB in the old days). I still experience this issue when I start the services from time to time and the error is still the same. wrapper | 2015/03/24 11:22:04 | Allocating a console for the service. ERROR | wrapper | 2015/03/24 11:22:04 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) Davide From: Davide Silvestre [mailto:ds...@cd...] Sent: 24. marts 2015 16:24 To: wra...@li... Subject: Re: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning Hi Alexandre, Thank you for your reply. We are installing the services in the right way and we run them as Window services. This issue occurs only on 1 server "Windows Server 2012 Standard". We have many services on this server running as services (about 100). Sometimes that error prevents us to be able to start a service. Then if I stop another service then I am able to start it. It is like we have reached a maximum number of services? I thought about that maybe we were running out of ports, but when we have this case we can detect this from the wrapper log. Davide Hi Davide, I'm sorry for the trouble. I don't recommend to use the "-s" parameter to start the Wrapper as a service. In fact, if you execute "wrapper.exe -s..." you should see this message: The -s and --service commands should only be called by the Windows ServiceManager to control the Wrapper as a service, and is not designed to be run manually by the user. Instead you can use the batch files that we specially created for that. They are located in %WRAPPER_HOME%\src\bin. Please have a look at this page: http://wrapper.tanukisoftware.com/doc/english/launch-win.html Basically, you should: - copy the batch files where wrapper.exe is - rename the batch files - install the service using the batch file - start the service using the batch file I hope this will help you. Please don't hesitate to contact us if you have any questions. In case you would like to send your configuration file and keep it private, you can contact us here: su...@ta...<mailto:su...@ta...> Regards, Alexandre Klein Alexandre Klein 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<http://www.tanukisoftware.com/> On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...<mailto:ds...@cd...>> wrote: I forgot to mention the wrapper and java versions: wrapper version: 3.5.24 java version: 7u72  Davide  From: Davide Silvestre [mailto:ds...@cd...<mailto:ds...@cd...>] Sent: 13. marts 2015 15:20 To: wra...@li...<mailto:wra...@li...> Subject: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning  Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command  >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf  But when I start it as a service (same command with -s) if fails with the following error:  STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log  I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case.  Any inputs? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Wrapper-user mailing list Wra...@li...<mailto:Wra...@li...> https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Davide S. <ds...@cd...> - 2015-03-24 15:43:27
|
Hi Alexandre, Thank you for your reply. We are installing the services in the right way and we run them as Window services. This issue occurs only on 1 server "Windows Server 2012 Standard". We have many services on this server running as services (about 100). Sometimes that error prevents us to be able to start a service. Then if I stop another service then I am able to start it. It is like we have reached a maximum number of services? I thought about that maybe we were running out of ports, but when we have this case we can detect this from the wrapper log. Davide Hi Davide, I'm sorry for the trouble. I don't recommend to use the "-s" parameter to start the Wrapper as a service. In fact, if you execute "wrapper.exe -s..." you should see this message: The -s and --service commands should only be called by the Windows ServiceManager to control the Wrapper as a service, and is not designed to be run manually by the user. Instead you can use the batch files that we specially created for that. They are located in %WRAPPER_HOME%\src\bin. Please have a look at this page: http://wrapper.tanukisoftware.com/doc/english/launch-win.html Basically, you should: - copy the batch files where wrapper.exe is - rename the batch files - install the service using the batch file - start the service using the batch file I hope this will help you. Please don't hesitate to contact us if you have any questions. In case you would like to send your configuration file and keep it private, you can contact us here: su...@ta...<mailto:su...@ta...> Regards, Alexandre Klein Alexandre Klein 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<http://www.tanukisoftware.com/> On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...<mailto:ds...@cd...>> wrote: I forgot to mention the wrapper and java versions: wrapper version: 3.5.24 java version: 7u72  Davide  From: Davide Silvestre [mailto:ds...@cd...<mailto:ds...@cd...>] Sent: 13. marts 2015 15:20 To: wra...@li...<mailto:wra...@li...> Subject: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning  Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command  >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf  But when I start it as a service (same command with -s) if fails with the following error:  STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log  I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case.  Any inputs? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Wrapper-user mailing list Wra...@li...<mailto:Wra...@li...> https://lists.sourceforge.net/lists/listinfo/wrapper-user |
|
From: Alexandre K. <ale...@ta...> - 2015-03-16 02:10:14
|
Hi Davide, I'm sorry for the trouble. I don't recommend to use the "-s" parameter to start the Wrapper as a service. In fact, if you execute "wrapper.exe -s..." you should see this message: The -s and --service commands should only be called by the Windows ServiceManager to control the Wrapper as a service, and is not designed to be run manually by the user. Instead you can use the batch files that we specially created for that. They are located in %WRAPPER_HOME%\src\bin. Please have a look at this page: http://wrapper.tanukisoftware.com/doc/english/launch-win.html Basically, you should: - copy the batch files where wrapper.exe is - rename the batch files - install the service using the batch file - start the service using the batch file I hope this will help you. Please don't hesitate to contact us if you have any questions. In case you would like to send your configuration file and keep it private, you can contact us here: su...@ta... Regards, Alexandre Klein Alexandre Klein 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 On Fri, Mar 13, 2015 at 11:49 PM, Davide Silvestre <ds...@cd...> wrote: > I forgot to mention the wrapper and java versions: > > wrapper version: 3.5.24 > > java version: 7u72 > > > > Davide > > > > *From:* Davide Silvestre [mailto:ds...@cd...] > *Sent:* 13. marts 2015 15:20 > *To:* wra...@li... > *Subject:* [Wrapper-user] ERROR: Unable to allocate a console for the > service: A device attached to the system is not functioning > > > > Hi, > > I have installed an application as windows service using the wrapper on a > Microsoft Windows Server 2012. > > I can start the application from the command line without problems using > the following command > > > > >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf > > > > But when I start it as a service (same command with -s) if fails with the > following error: > > > > STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service > > DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the > service. > > ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a > console for the service: A device attached to the system is not > functioning. (0x1f) > > STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped > > DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: > wrapper.log > > > > I read that somebody else encountered the same issue because the Path > variable contained some unresolvable references, but this doesn't seem to > be my case. > > > > Any inputs? > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Davide S. <ds...@cd...> - 2015-03-13 15:10:34
|
I forgot to mention the wrapper and java versions: wrapper version: 3.5.24 java version: 7u72 Davide From: Davide Silvestre [mailto:ds...@cd...] Sent: 13. marts 2015 15:20 To: wra...@li... Subject: [Wrapper-user] ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf But when I start it as a service (same command with -s) if fails with the following error: STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case. Any inputs? |
|
From: Davide S. <ds...@cd...> - 2015-03-13 14:41:06
|
Hi, I have installed an application as windows service using the wrapper on a Microsoft Windows Server 2012. I can start the application from the command line without problems using the following command >> [wrapper_path]\wrapper-windows-x86-64.exe -c [application_path]\app.conf But when I start it as a service (same command with -s) if fails with the following error: STATUS | wrapper | 2015/03/13 14:51:29 | --> Wrapper Started as Service DEBUG | wrapper | 2015/03/13 14:51:29 | Allocating a console for the service. ERROR | wrapper | 2015/03/13 14:51:29 | ERROR: Unable to allocate a console for the service: A device attached to the system is not functioning. (0x1f) STATUS | wrapper | 2015/03/13 14:51:29 | <-- Wrapper Stopped DEBUG | wrapper | 2015/03/13 14:51:29 | active log file changed: wrapper.log I read that somebody else encountered the same issue because the Path variable contained some unresolvable references, but this doesn't seem to be my case. Any inputs? |
|
From: Alexandre K. <ale...@ta...> - 2015-03-04 01:45:29
|
Hi Greg, Here is a link to our technical tips: The External Tools menu in Eclipse can start the Java Service Wrapper http://wrapper.tanukisoftware.com/doc/english/qna-eclipse-integration.html There is an example on how to launch the Wrapper. Please note that in this example we are using integration method 1. Please give it a try. Your Github link returns error 404. Is it a private repo? Regards, Alexandre Klein Alexandre Klein 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 On Wed, Mar 4, 2015 at 4:09 AM, Greg Rivera <gre...@gm...> wrote: > Hi everyone, > > Thank you for the replies! > > For args I tried: > {null} > {-c = ../conf/wrapper.conf} > {../conf/wrapper.conf} > > I have code at this repo: https://github.com/gregrivera1/jsw > When I do ./wrapper ../conf/wrapper.conf from the bin folder everything > works as expected. But when I import the project in eclipse and right click > the main class and select debug, I get the mismatching version message. It > then runs my app but when the out of memory exception is thrown the wrapper > doesn't seem to do anything. > > Sorry for my lack of understanding. > > Thanks! > > > > > > > > On Mon, Mar 2, 2015 at 9:17 PM, Leif Mortenson < > lei...@ta...> wrote: > >> Greg, >> Are you sure that the Wrapper binary is of the same version? VERY old >> versions did not used to pass the version and library. The Wrapper jar >> appears to be the new version and is complaining about the version mismatch. >> >> Please try adding wrapper.debug=true to your configuration file as that >> will give more useful information and let you see the generated Java >> command line. >> >> I would suggest trying to get running with Method #1 as 99% of >> applications can be run that way without any coding. Method #3 allows for >> some more advanced integration, but is not usually necessary. >> >> Cheers, >> Leif >> >> On Tue, Mar 3, 2015 at 12:03 PM, Alexandre Klein < >> ale...@ta...> wrote: >> >>> Hi Greg, >>> >>> I'm sorry for the trouble. >>> >>> What is the value of "args" when you execute: >>> >>> WrapperManager.start( new Main(), args ); >>> >>> Can you show me the content of wrapper.conf? If there is sensitive data, >>> please send it to su...@ta... >>> >>> Which command do you use to start the Wrapper using the wrapper >>> executable? >>> >>> On Tue, Mar 3, 2015 at 10:01 AM, Greg Rivera <gre...@gm...> >>> wrote: >>> >>>> Has anyone gotten a chance to look at this yet? i still have not been >>>> able to figure out why this is happening. >>>> >>>> On Wed, Feb 25, 2015 at 1:05 PM, Greg Rivera <gre...@gm...> >>>> wrote: >>>> >>>>> I have subscribed to the mailing list and am resending my query. >>>>> >>>>> Thank you. >>>>> >>>>> On Wed, Feb 25, 2015 at 1:03 PM, Greg Rivera <gre...@gm...> >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I am using method integration 3. >>>>>> >>>>>> I have asked a question here: >>>>>> >>>>>> http://stackoverflow.com/questions/28709609/where-does-wrappermanager-look-for-the-wrapper-conf-file-in-eclipse >>>>>> >>>>>> The contents of this question are below: >>>>>> >>>>>> I have this line in my main function >>>>>> >>>>>> WrapperManager.start( new Main(), args ); >>>>>> >>>>>> When I debug the Main class as a java app, I am able to break at this >>>>>> line. However when I do in my expressions window >>>>>> >>>>>> WrapperManager.getProperties(); >>>>>> >>>>>> it returns empty meaning my wrapper.conf file was not found. For >>>>>> output I get the following: >>>>>> >>>>>> WrapperManager: Initializing...WrapperManager: WARNING - The wrapper.native_library system property was notWrapperManager: set. Using the default value, 'wrapper'.WrapperManager: WARNING - The version of the Wrapper which launched this JVM isWrapperManager: "unknown" while the version of the native libraryWrapperManager: is "3.5.26".WrapperManager: The Wrapper may appear to work correctly but some features mayWrapperManager: not function correctly. This configuration has not been testedWrapperManager: and is not supported.WrapperManager: >>>>>> >>>>>> If someone could please tell me where WrapperManager is looking for >>>>>> this file that would be great. I added wrapper.jar to the build path and to >>>>>> the debug configuration but still I could not get this to work. >>>>>> >>>>>> I looked at the following site: >>>>>> http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html#mainClass >>>>>> >>>>>> However after explaining the main class it does not say how I should >>>>>> be running it. I use the wrapper executable and it says my main is already >>>>>> running the service wrapper. I debug using eclipse and the service wrapper >>>>>> gives the info above. >>>>>> >>>>>> Thanks >>>>>> >>>>>> Info about my env: Linux xxxx-xxxx 3.13.0-45-generic #74-Ubuntu SMP >>>>>> Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >>>>>> >>>>>> wrapper version Java Service Wrapper Community Edition 64-bit 3.5.26 >>>>>> Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. >>>>>> http://wrapper.tanukisoftware.com >>>>>> >>>>>> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > > > -- > Greg Louis Rivera > UCLA | Class of 2013 | B.S. Computer Science > Telescope Inc. | Java Developer > (805) 844 9209 | gre...@gm... > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |
|
From: Greg R. <gre...@gm...> - 2015-03-03 19:09:49
|
Hi everyone,
Thank you for the replies!
For args I tried:
{null}
{-c = ../conf/wrapper.conf}
{../conf/wrapper.conf}
I have code at this repo: https://github.com/gregrivera1/jsw
When I do ./wrapper ../conf/wrapper.conf from the bin folder everything
works as expected. But when I import the project in eclipse and right click
the main class and select debug, I get the mismatching version message. It
then runs my app but when the out of memory exception is thrown the wrapper
doesn't seem to do anything.
Sorry for my lack of understanding.
Thanks!
On Mon, Mar 2, 2015 at 9:17 PM, Leif Mortenson <
lei...@ta...> wrote:
> Greg,
> Are you sure that the Wrapper binary is of the same version? VERY old
> versions did not used to pass the version and library. The Wrapper jar
> appears to be the new version and is complaining about the version mismatch.
>
> Please try adding wrapper.debug=true to your configuration file as that
> will give more useful information and let you see the generated Java
> command line.
>
> I would suggest trying to get running with Method #1 as 99% of
> applications can be run that way without any coding. Method #3 allows for
> some more advanced integration, but is not usually necessary.
>
> Cheers,
> Leif
>
> On Tue, Mar 3, 2015 at 12:03 PM, Alexandre Klein <
> ale...@ta...> wrote:
>
>> Hi Greg,
>>
>> I'm sorry for the trouble.
>>
>> What is the value of "args" when you execute:
>>
>> WrapperManager.start( new Main(), args );
>>
>> Can you show me the content of wrapper.conf? If there is sensitive data,
>> please send it to su...@ta...
>>
>> Which command do you use to start the Wrapper using the wrapper
>> executable?
>>
>> On Tue, Mar 3, 2015 at 10:01 AM, Greg Rivera <gre...@gm...>
>> wrote:
>>
>>> Has anyone gotten a chance to look at this yet? i still have not been
>>> able to figure out why this is happening.
>>>
>>> On Wed, Feb 25, 2015 at 1:05 PM, Greg Rivera <gre...@gm...>
>>> wrote:
>>>
>>>> I have subscribed to the mailing list and am resending my query.
>>>>
>>>> Thank you.
>>>>
>>>> On Wed, Feb 25, 2015 at 1:03 PM, Greg Rivera <gre...@gm...>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am using method integration 3.
>>>>>
>>>>> I have asked a question here:
>>>>>
>>>>> http://stackoverflow.com/questions/28709609/where-does-wrappermanager-look-for-the-wrapper-conf-file-in-eclipse
>>>>>
>>>>> The contents of this question are below:
>>>>>
>>>>> I have this line in my main function
>>>>>
>>>>> WrapperManager.start( new Main(), args );
>>>>>
>>>>> When I debug the Main class as a java app, I am able to break at this
>>>>> line. However when I do in my expressions window
>>>>>
>>>>> WrapperManager.getProperties();
>>>>>
>>>>> it returns empty meaning my wrapper.conf file was not found. For
>>>>> output I get the following:
>>>>>
>>>>> WrapperManager: Initializing...WrapperManager: WARNING - The wrapper.native_library system property was notWrapperManager: set. Using the default value, 'wrapper'.WrapperManager: WARNING - The version of the Wrapper which launched this JVM isWrapperManager: "unknown" while the version of the native libraryWrapperManager: is "3.5.26".WrapperManager: The Wrapper may appear to work correctly but some features mayWrapperManager: not function correctly. This configuration has not been testedWrapperManager: and is not supported.WrapperManager:
>>>>>
>>>>> If someone could please tell me where WrapperManager is looking for
>>>>> this file that would be great. I added wrapper.jar to the build path and to
>>>>> the debug configuration but still I could not get this to work.
>>>>>
>>>>> I looked at the following site:
>>>>> http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html#mainClass
>>>>>
>>>>> However after explaining the main class it does not say how I should
>>>>> be running it. I use the wrapper executable and it says my main is already
>>>>> running the service wrapper. I debug using eclipse and the service wrapper
>>>>> gives the info above.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Info about my env: Linux xxxx-xxxx 3.13.0-45-generic #74-Ubuntu SMP
>>>>> Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>>>>
>>>>> wrapper version Java Service Wrapper Community Edition 64-bit 3.5.26
>>>>> Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
>>>>> http://wrapper.tanukisoftware.com
>>>>>
>>>>>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
--
Greg Louis Rivera
UCLA | Class of 2013 | B.S. Computer Science
Telescope Inc. | Java Developer
(805) 844 9209 | gre...@gm...
|
|
From: Leif M. <lei...@ta...> - 2015-03-03 05:49:10
|
Greg, Are you sure that the Wrapper binary is of the same version? VERY old versions did not used to pass the version and library. The Wrapper jar appears to be the new version and is complaining about the version mismatch. Please try adding wrapper.debug=true to your configuration file as that will give more useful information and let you see the generated Java command line. I would suggest trying to get running with Method #1 as 99% of applications can be run that way without any coding. Method #3 allows for some more advanced integration, but is not usually necessary. Cheers, Leif On Tue, Mar 3, 2015 at 12:03 PM, Alexandre Klein < ale...@ta...> wrote: > Hi Greg, > > I'm sorry for the trouble. > > What is the value of "args" when you execute: > > WrapperManager.start( new Main(), args ); > > Can you show me the content of wrapper.conf? If there is sensitive data, > please send it to su...@ta... > > Which command do you use to start the Wrapper using the wrapper executable? > > On Tue, Mar 3, 2015 at 10:01 AM, Greg Rivera <gre...@gm...> > wrote: > >> Has anyone gotten a chance to look at this yet? i still have not been >> able to figure out why this is happening. >> >> On Wed, Feb 25, 2015 at 1:05 PM, Greg Rivera <gre...@gm...> >> wrote: >> >>> I have subscribed to the mailing list and am resending my query. >>> >>> Thank you. >>> >>> On Wed, Feb 25, 2015 at 1:03 PM, Greg Rivera <gre...@gm...> >>> wrote: >>> >>>> Hello, >>>> >>>> I am using method integration 3. >>>> >>>> I have asked a question here: >>>> >>>> http://stackoverflow.com/questions/28709609/where-does-wrappermanager-look-for-the-wrapper-conf-file-in-eclipse >>>> >>>> The contents of this question are below: >>>> >>>> I have this line in my main function >>>> >>>> WrapperManager.start( new Main(), args ); >>>> >>>> When I debug the Main class as a java app, I am able to break at this >>>> line. However when I do in my expressions window >>>> >>>> WrapperManager.getProperties(); >>>> >>>> it returns empty meaning my wrapper.conf file was not found. For output >>>> I get the following: >>>> >>>> WrapperManager: Initializing...WrapperManager: WARNING - The wrapper.native_library system property was notWrapperManager: set. Using the default value, 'wrapper'.WrapperManager: WARNING - The version of the Wrapper which launched this JVM isWrapperManager: "unknown" while the version of the native libraryWrapperManager: is "3.5.26".WrapperManager: The Wrapper may appear to work correctly but some features mayWrapperManager: not function correctly. This configuration has not been testedWrapperManager: and is not supported.WrapperManager: >>>> >>>> If someone could please tell me where WrapperManager is looking for >>>> this file that would be great. I added wrapper.jar to the build path and to >>>> the debug configuration but still I could not get this to work. >>>> >>>> I looked at the following site: >>>> http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html#mainClass >>>> >>>> However after explaining the main class it does not say how I should be >>>> running it. I use the wrapper executable and it says my main is already >>>> running the service wrapper. I debug using eclipse and the service wrapper >>>> gives the info above. >>>> >>>> Thanks >>>> >>>> Info about my env: Linux xxxx-xxxx 3.13.0-45-generic #74-Ubuntu SMP Tue >>>> Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> wrapper version Java Service Wrapper Community Edition 64-bit 3.5.26 >>>> Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. >>>> http://wrapper.tanukisoftware.com >>>> >>>> |