Activity for Arushi Rai

  • Arushi Rai Arushi Rai posted a comment on ticket #194

    Hi Team, Any update on this?

  • Arushi Rai Arushi Rai posted a comment on ticket #194

    Hi @rzorzorzo Any update on this?

  • Arushi Rai Arushi Rai posted a comment on ticket #194

    I am seeing the same issue. Using YAJSW 13.05 but log says 13.04: INFO|3968/0|22-11-28 12:40:57|YAJSW: yajsw-stable-13.04 INFO|3968/0|22-11-28 12:40:57|OS : Windows Server 2012 R2/6.3/amd64 @rzorzorzo can you look into this?

  • Arushi Rai Arushi Rai modified a comment on ticket #193

    Hi @rzorzorzo, When is this update expected to release? Also, what is the impact on YAJSW version 13.04?

  • Arushi Rai Arushi Rai posted a comment on ticket #193

    Hi team, When is this update expected to release? Also, what is the impact on YAJSW version 13.04?

  • Arushi Rai Arushi Rai posted a comment on ticket #189

    Hi @rzorzorzo, Thanks for your response, I will update to the latest YAJSW. But can you confirm if 13.03 is actually imapcted or not? I will need to patch my service as well.

  • Arushi Rai Arushi Rai posted a comment on ticket #189

    Hi @john1900, @rzorzorzo Any information for this issue?

  • Arushi Rai Arushi Rai posted a comment on ticket #189

    Also, if YAJSW is impacted is there any workaround? Will there be any issue if common-configuration2 library is updated to latest while YAJSW is till on 13.03?

  • Arushi Rai Arushi Rai created ticket #189

    Critical vulnerability in commons-configuration2

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    With these changes, service starts automatically on server reboot. I totally missed looking at systemd.vm template. Thank you so much @rzo for guiding me.

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    @rzo, Requested details - OS: PhotonOS (RHEL based similar to CentOS) JDK - Zulu OpenJDK JRE 11.0.13 Copy of config file: #******************************************************************** # Java Executable Properties #******************************************************************** # Java Application wrapper.java.command=/usr/java/jre/bin/java wrapper.ntservice.java.command=/usr/java/jre/bin/java #******************************************************************** # working directory #********************************************************************...

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    Hi @rzo, Thats right. Install and start of service with release 13.03 is working fine but service will not start automatically on server reboot. Let me collect all the details you requested and I will get back to you. Meanwhile, in your setup what is the value for wrapper.daemon.update_rc that you are setting?

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi @rzo, Thats right. Install and start of service with release 13.03 is working fine but service will not start automatically on server reboot. Let me collect all the details you requested and I will get back to you. Meanwhile, in your setup what is the value for wrapper.daemon.update_rc that you are setting.

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    I used the latest 13.03, wrapper.logfile.umask is working as expected. Thank you @rzo

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    I cannot enable my service outside either: systemctl enable myservice The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other...

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    I cannot enable my service outside either: **systemctl enable myservice** The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some...

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi @rzo Upgrade to 13.03 is working fine so first issue is resolved. Now w.r.t service start at server reboot, that is still not working and should be reproducible on centos OS. I checked unit file for my service and I do not see [install] section added (which I think wrapper would add if it is supported). Refer Install directive for enable/disable service - https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files#install-section-directives

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi @rzo Sure let me give 13.03 try for first issue. Regarding second issue, I see that on 12.05 as well.

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    @rzorzorzo Can you give this a try on CentOS?

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    @rzorzorzo Can you give this a try on Ubuntu?

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    Hi @rzo, I am currently facing two issues: ISSUE1: Upgrading YAJSW to 13.02 - https://sourceforge.net/p/yajsw/bugs/179/ issue I am actually facing when upgrading YAJSW to 13.02 which after making the change you suggested I do not see the "new File" error. However I am still seeing one issue with slf4j reference in velocity. Here is the log snippet if you have any idea: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at...

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    Hi @rzo, I am currently facing two issues: Upgrading YAJSW to 13.02 - https://sourceforge.net/p/yajsw/bugs/179/ issue I am actually facing when upgrading YAJSW to 13.02 which after making the change you suggested I do not see the "new File" error. However I am still seeing one issue with slf4j reference in velocity. Here is the log snippet if you have any idea: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown...

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi @rzo, I am currently facing two issues: Upgrading YAJSW to 13.02 - https://sourceforge.net/p/yajsw/bugs/179/ issue I am actually facing when upgrading YAJSW to 13.02 which after making the change you suggested I do not see the "new File" error. However I am still seeing one issue with slf4j reference in velocity. Here is the log snippet if you have any idea: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown...

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    Hi @rzo, Just checking to see if there is any recommendation for this?

  • Arushi Rai Arushi Rai modified a comment on ticket #47

    Hi @rzorzorzo, Just checking to see if there is any recommendation for this?

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi team, Just checking to see if there is any recommendation for this?

  • Arushi Rai Arushi Rai posted a comment on ticket #47

    Hi @rzo Do you have any recommendation for this? Is this supported by YAJSW?

  • Arushi Rai Arushi Rai created ticket #47

    General Ticket - Service does restart automatically on server reboot

  • Arushi Rai Arushi Rai posted a comment on ticket #179

    Thanks @rzo. Let me try this and I will get back to you.

  • Arushi Rai Arushi Rai posted a comment on ticket #179

    Hi @rzo, Any update on this issue? I know this is closed so can we re-open this or do you want me to create a separate ticket? Thank you for looking into it.

  • Arushi Rai Arushi Rai modified a comment on ticket #179

    Hi @rzo, I am using the latest 13.02 version of yajsw and running into this same error: YAJSW: yajsw-stable-13.02 OS : Linux/4.19.208-1.ph3/amd64 JVM : Azul Systems, Inc./11.0.12//usr/java/jre/64 Looking in classpath from {0} for {1} org.rzo.yajsw.boot.WrapperClassLoader@7bb11784 /com/sun/jna/linux-x86-64/libjnidispatch.so Found library resource at {0} jar:file:/opt/service/./lib/core/jna/jna-5.10.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so Extracting library to {0} /opt/service/unix/../tmp/jna15315484558062845644.tmp...

  • Arushi Rai Arushi Rai modified a comment on ticket #179

    Hi @rzo, I am using the latest 13.02 version of yajsw and running into this same error: YAJSW: yajsw-stable-13.02 OS : Linux/4.19.208-1.ph3/amd64 JVM : Azul Systems, Inc./11.0.12//usr/java/jre-vmware/64 Looking in classpath from {0} for {1} org.rzo.yajsw.boot.WrapperClassLoader@7bb11784 /com/sun/jna/linux-x86-64/libjnidispatch.so Found library resource at {0} jar:file:/opt/service/./lib/core/jna/jna-5.10.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so Extracting library to {0} /opt/service/unix/../tmp/jna15315484558062845644.tmp...

  • Arushi Rai Arushi Rai posted a comment on ticket #179

    Hi @rzo, I am using the latest 13.02 version of yajsw and running into this same error: YAJSW: yajsw-stable-13.02 OS : Linux/4.19.208-1.ph3/amd64 JVM : Azul Systems, Inc./11.0.12//usr/java/jre-vmware/64 Looking in classpath from {0} for {1} org.rzo.yajsw.boot.WrapperClassLoader@7bb11784 /com/sun/jna/linux-x86-64/libjnidispatch.so Found library resource at {0} jar:file:/opt/service/./lib/core/jna/jna-5.10.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so Extracting library to {0} /opt/service/unix/../tmp/jna15315484558062845644.tmp...

  • Arushi Rai Arushi Rai posted a comment on ticket #45

    Hi @rzo, I have set wrapper.debug=true in my internal setup and here is the log snippet for action systemctl stop myservice: INFO|wrapper|21-11-29 14:55:25|Shutting down Wrapper INFO|wrapper|21-11-29 14:55:25|stop from Thread Thread-2 reason: WRAPPER SHUTDOWN INFO|wrapper|21-11-29 14:55:25|set state RUNNING->STATE_USER_STOP INFO|wrapper|21-11-29 14:55:25|stopping process with pid/timeout 7735 135000 INFO|wrapper|21-11-29 14:55:25|stop from Thread Thread-3 reason: USER INFO|7735/0|21-11-29 14:55:25|Controller...

  • Arushi Rai Arushi Rai modified a comment on ticket #45

    Also want to point out that before moving to 12.15, I was updating service's unit file. [Service] SuccessExitStatus=143 https://serverfault.com/questions/695849/services-remain-in-failed-state-after-stopped-with-systemctl Refer: https://sourceforge.net/p/yajsw/bugs/173/ I still have this configuration but looks like I can remove that now, right?

  • Arushi Rai Arushi Rai posted a comment on ticket #45

    Also want to point out that before moving to 12.15, I was updating service's unit file. [Service] SuccessExitStatus=143 https://serverfault.com/questions/695849/services-remain-in-failed-state-after-stopped-with-systemctl Refer: https://sourceforge.net/p/yajsw/bugs/173/

  • Arushi Rai Arushi Rai posted a comment on ticket #45

    Thank you @rzo for your quick response. This definitely helps clarify the events. So I have been testing service stop and restart in my internal setup and for both systemctl stop myservice systemctl restart myservice I see in logs: INFO|wrapper|21-11-18 19:54:13|Shutting down Wrapper INFO|wrapper|21-11-18 19:54:13|stopping process with pid/timeout 5280 135000 INFO|5280/0|21-11-18 19:54:13|wrapper manager received Message:STOP::WRAPPER SHUTDOWN INFO|wrapper|21-11-18 19:54:14|waitpid 5280 0 INFO|wrapper|21-11-18...

  • Arushi Rai Arushi Rai posted a comment on ticket #45

    Please let me know if you would like me to share complete log file and any wrapper configuration. Thank you!

  • Arushi Rai Arushi Rai created ticket #45

    General Query - Process shutting down with pid/timeout

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Thank you @rzo

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Hi @rzo, I see the 13.01 beta is released but any ETA on GA release?

  • Arushi Rai Arushi Rai posted a comment on ticket #22

    Hi @rzo, What is the ETA for 13.01 release?

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Thank you @john for looking into this. I would like to avoid maintaining my own version of the library. if possible, can you share time frame for 13.01 release?

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Hi @rzo, Anything you suggest on this? Thank you.

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Hi @rzo, Sorry for late follow up on this. I tried the setting but it does not seem to be working and also I noticed the log directory is created with root user even though I have set the app account - wrapper.app.account=users\test log configuration: #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Pipe the STD out to wrapper.log wrapper.console.pipestreams=true # Format of output...

  • Arushi Rai Arushi Rai posted a comment on ticket #32

    Sure @rzo let me give it a try and I will get back to you.

  • Arushi Rai Arushi Rai created ticket #32

    Support for setting wrapper log file permissions

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Actually I realized that it is not the wrapper that is complaining, I see the error in my application log. I am able to resolve that by setting - Djava.io.tmpdir=${wrapper_home}/tmp

  • Arushi Rai Arushi Rai modified a comment on discussion Help

    Hi @rzo, I am installing a service on Photon OS (https://vmware.github.io/photon/assets/files/html/3.0/Introduction.html) Due to some changes for the security, the permissions for the default tmp have changed and so I am getting the error: java.lang.UnsatisfiedLinkError: /tmp/jna--189118908/jna11633310460160565610.tmp: /tmp/jna--189118908/jna11633310460160565610.tmp: failed to map segment from shared object at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown...

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi @rzo, I am installing a service on Photon OS (https://vmware.github.io/photon/assets/files/html/3.0/Introduction.html) Due to some changes for the security, the permissions for the default tmp have changed and so I am getting the error: java.lang.UnsatisfiedLinkError: /tmp/jna--189118908/jna11633310460160565610.tmp: /tmp/jna--189118908/jna11633310460160565610.tmp: failed to map segment from shared object at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown...

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Issue resolved with - 1. copy the file yajswxxx/templates/systemd.vm to /opt/service/templates/systemd.vm Thank you Ron.

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Let me give these solutions a try and I will reach out if I see further issues. Thank you so much Ron for your help.

  • Arushi Rai Arushi Rai modified a comment on discussion Help

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Attached wrapper.conf Conf file is still old, do I need to update that based on 12.15 version?

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Attached wrapper.conf Conf file is still old, do I need to update that based on 12.15 version?

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi Ron, Hope you are doing good. I am trying to run an application with Zulu JRE 11.0.9 on CentOS 7 using latest Yajsw 12.15 libraries and I am getting the following error: wrapper.conf: wrapper.java.command=/opt/openjdk/jre/bin/java wrapper.ntservice.java.command=/opt/openjdk/jre/bin/java YAJSW: yajsw-stable-12.15 OS : Linux/3.10.0-693.21.1.el7.x86_64/amd64 JVM : Azul Systems, Inc./11.0.9//opt/openjdk/jre/64 Dec 08, 2020 5:15:05 PM org.rzo.yajsw.os.posix.PosixService init WARNING: Error /opt/service/templates/systemd.vm...

  • Arushi Rai Arushi Rai posted a comment on ticket #173

    I updated the unit file for the service [Service] SuccessExitStatus=143 https://serverfault.com/questions/695849/services-remain-in-failed-state-after-stopped-with-systemctl Now when I stop the service, it shows as 'inactive' (expected behavior) Is there any such configuration in yajsw wrapper?

  • Arushi Rai Arushi Rai posted a comment on ticket #173

    This may be the reason - https://stegard.net/2016/08/gracefully-killing-a-java-process-managed-by-systemd/

  • Arushi Rai Arushi Rai posted a comment on ticket #173

    Sure Ron, let me try that. Also, we do have another service running on this server using YAJSW and we did not observe this behavior. Let me dig in to see the difference between the two. Thank you for your response. I might reach out to you again if needed :)

  • Arushi Rai Arushi Rai created ticket #173

    Service is not stopping properly on linux

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi Ron, I tested with 12.14 and do not see NPE now. WARNING|wrapper|20-04-30 10:52:47|YAJSW: yajsw-stable-12.14 WARNING|wrapper|20-04-30 10:52:47|OS : Windows Server 2012 R2/6.3/amd64 WARNING|wrapper|20-04-30 10:52:47|JVM : Oracle Corporation/1.8.0_241/C:\Program Files\Java\jre1.8.0_241/64 INFO|wrapper|20-04-30 10:52:47|start delay: 0 INFO|wrapper|20-04-30 10:52:48|started process with pid 3860 INFO|3860/0|20-04-30 10:52:48|could not find rt.jar INFO|3860/0|20-04-30 10:52:48|YAJSW: yajsw-stable-12.14...

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi Ron, Thank you for the quick response and the suggestion. Just to point out, I am not using the unzipped binaries. I installed zulu java 11 using their msi - https://cdn.azul.com/zulu/bin/zulu11.39.15-ca-jdk11.0.7-win_x64.msi When there is no other JRE or Oracle's JRE installed, I am able to start the application using properties: wrapper.java.command=java wrapper.java.command.jreOnly=true wrapper.java.command.preferJre=true Application fails to install when Oracle JRE 8 is installed as well as...

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi Ron, We are currenly on YAJSW version 12.12 and migrating our application from Oracle Java 8 to Openjdk 11 (Zulu). We are seeing a couple of issues with this. 1. When there is only openjdk 11 is installed (no jre 8 or anything) snipper of wrapper conf: # Java Application wrapper.java.command=java wrapper.java.command.jreOnly=true wrapper.java.command.preferJre=true wrapper.debug=true snippet of wrapper log: INFO|4312/0|20-04-27 15:10:33|java.lang.NullPointerException INFO|4312/0|20-04-27 15:10:33|...

  • Arushi Rai Arushi Rai modified a comment on discussion Help

    Hi Ron, We are currenly on YAJSW version 12.12 and migrating our application from Oracle Java 8 to Openjdk 11 (Zulu). We are seeing a couple of issues with this. 1. When there is only openjdk 11 is installed (no jre 8 or anything) snipper of wrapper conf: # Java Application wrapper.java.command=java wrapper.java.command.jreOnly=true wrapper.java.command.preferJre=true wrapper.debug=true snippet of wrapper log: INFO|4312/0|20-04-27 15:10:33|java.lang.NullPointerException INFO|4312/0|20-04-27 15:10:33|...

  • Arushi Rai Arushi Rai posted a comment on discussion Help

    Hi Ron, We are currenly on YAJSW version 12.12 and migrating our application from Oracle Java 8 to Openjdk 11 (Zulu). We are seeing a couple of issues with this. 1. When there is only openjdk 11 is installed (no jre 8 or anything) snipper of wrapper conf: # Java Application wrapper.java.command=java wrapper.java.command.jreOnly=true wrapper.java.command.preferJre=true wrapper.debug=true snippet of wrapper log: INFO|4312/0|20-04-27 15:10:33|java.lang.NullPointerException INFO|4312/0|20-04-27 15:10:33|...

1