[jacorb-developer] Java Service Wrapper Issue
ulrich berl
ulrich.berl at gmx.net
Tue Feb 13 11:14:03 CET 2018
Hi
I think the WRAPPER_CONF in ntfy-wrapper should contain the full path of NotifyService-Wrapper.conf.
NotifyService-Wrapper.conf seems to be wrong as there are referenced invalid/missing jars:
wrapper.java.classpath.1=../lib/wrapper-3.1.0.jar
wrapper.java.classpath.2=../lib/jacorb.jar
wrapper.java.classpath.3=../lib/slf4j-api-1.7.6.jar
wrapper.java.classpath.5=../lib/antlr-2.7.2.jar
wrapper.java.classpath.6=../lib/slf4j-jdk14-1.7.6.jar
wrapper.java.classpath.7=../lib/picocontainer-1.2.jar
should be:
wrapper.java.classpath.1=../lib/wrapper-3.1.0.jar
wrapper.java.classpath.2=../lib/jacorb-3.9.jar
wrapper.java.classpath.3=../lib/slf4j-api-1.7.14.jar
wrapper.java.classpath.4=../lib/jacorb-services-3.9.jar
wrapper.java.classpath.5=../lib/antlr-2.7.2.jar
wrapper.java.classpath.6=../lib/slf4j-jdk14-1.7.14.jar
wrapper.java.classpath.7=../lib/picocontainer-1.2.jar
wrapper.java.classpath.8=../lib/jacorb-omgapi-3.9.jar
AND should contain a wrapper.working.dir=%WRAPPER_INIT_DIR%
(if wrapper is outside of jacorb dir)
BR
UBerl
-----------------------
It looks like the problem is the configuration file - have you tried
configuring the WRAPPER_CONF file (the NotifyService-Wrapper.conf ) as
per
https://wrapper.tanukisoftware.com/doc/english/props-example-config.html ?
Regards
Nick
On 13/02/18 07:44, ulrich berl wrote:
> Hi!
>
> Downloaded jacorb v3.9 and wrapper-linux-x86-64-3.5.34.
>
> Extracted to:
>
> /opt/jacorb-3.9
> /opt/wrapper-linux-x86-64-3.5.34
>
> From jacorb documentation:
>
> [root at me opt] ln -s /opt/wrapper-linux-x86-64-3.5.34/bin/wrapper /usr/local/bin
> [root at me opt] which wrapper
> /usr/local/bin/wrapper
>
> So wrapper is working.
>
> From jacorb documentation: The JacORB notification service can now be run by simply executing bin/ntfy-wrapper console.
>
> [root at me opt] cd jacorb-3.9
> [root at me jacorb-3.9] bin/ntfy-wrapper console
> Running JacORB Notification Service...
> FATAL | wrapper | Unable to open configuration file: NotifyService-Wrapper.conf (No such file or directory)
> FATAL | wrapper | Current working directory: /opt/wrapper-linux-x86-64-3.5.34/bin
> FATAL | wrapper | The Wrapper will stop.
>
> It seems the wrong working directory is used...
>
> BR
> UBerl
> _______________________________________________
> jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer[https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer][https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer[https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer]]
More information about the jacorb-developer
mailing list