Menu

#124 Cannot specify colon in wrapper.console.title

All
closed-fixed
nobody
None
5
2016-10-23
2016-07-07
No

Tested on 11.11, probably still valid for the leatest release.
If you in wrapper.conf specify e.g. wrapper.console.title=C:\\Windows\\system32\\java.exe,
the service will start normally, but when a timeout occurs, and the wrapper is attempting a restart, the wrapper will fail 5 times (with a stacktrace) and give up.

INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|javax.management.MalformedObjectNameException: Invalid character ':' in value
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at javax.management.ObjectName.parseValue(ObjectName.java:974)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at javax.management.ObjectName.checkValue(ObjectName.java:1006)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at javax.management.ObjectName.construct(ObjectName.java:725)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at javax.management.ObjectName.<init>(ObjectName.java:1404)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.WrapperManagerImpl.registerMBean(WrapperManagerImpl.java:664)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.WrapperManagerImpl.init(WrapperManagerImpl.java:330)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.WrapperManagerProxy.getWrapperManager(WrapperManagerProxy.java:46)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.AbstractWrapperJVMMain$1.run(AbstractWrapperJVMMain.java:44)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at java.security.AccessController.doPrivileged(Native Method)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.AbstractWrapperJVMMain.preExecute(AbstractWrapperJVMMain.java:38)
INFO|5572/1|Service C:\Windows\system32\java.exe|16-07-06 15:52:07|    at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:34)

Fix for bug as Git Patch file is attached. (there may be other places with similar functionality).

1 Attachments

Discussion

  • rzo

    rzo - 2016-09-02
    • status: open --> open-accepted
     
  • rzo

    rzo - 2016-10-23
    • status: open-accepted --> closed-fixed
     
  • rzo

    rzo - 2016-10-23

    thanks.
    release 12.07

     

Log in to post a comment.