JSVC install

We need to run Tomcat as a daemon using the jsvc tool from the commons-daemon project. Using Software Management via Yast, produces no results for jsvc, I have found that the jakarta-commons-daemon jar files are installed in the /usr/share/java directory however the c files or binary do not appear to be available. Are this in the channel anywhere? The SDK for 11 sp2 is added to the build already as well. I realize we can just install jsvc from apache but I would assume if SUSE puts out a complete Tomcat build, and the jar files are there the rest should be available. Thanks.

Just to be clear, why via jsvc specifically? In other words, what’s the
business case behind all of this?

Good luck.

Jsvc allows the application (e.g. Tomcat) to perform some privileged operations as root (e.g. bind to a port < 1024), and then switch identity to a non-privileged user.

Are the operations mentioned just binding lower ports like Apache httpd
does before becoming unprivileged, or something else as well (sorry, I
just do not know)?

Good luck.

Did you install the …

i | jakarta-commons-daemon | Jakarta Commons Daemon Package | package
i | jakarta-commons-daemon | Jakarta Commons Daemon Package | srcpackage

Packages?

rpm -qa --list jakarta-commons-daemon
/usr/share/doc/packages/jakarta-commons-daemon
/usr/share/doc/packages/jakarta-commons-daemon/LICENSE
/usr/share/doc/packages/jakarta-commons-daemon/LICENSE.txt
/usr/share/doc/packages/jakarta-commons-daemon/PROPOSAL.html
/usr/share/doc/packages/jakarta-commons-daemon/RELEASE-NOTES.txt
/usr/share/doc/packages/jakarta-commons-daemon/STATUS.html
/usr/share/doc/packages/jakarta-commons-daemon/daemon.css
/usr/share/doc/packages/jakarta-commons-daemon/daemon.html
/usr/share/doc/packages/jakarta-commons-daemon/samples
/usr/share/doc/packages/jakarta-commons-daemon/samples/AloneDaemon.sh
/usr/share/doc/packages/jakarta-commons-daemon/samples/AloneService.java
/usr/share/doc/packages/jakarta-commons-daemon/samples/Native.c
/usr/share/doc/packages/jakarta-commons-daemon/samples/Native.sh
/usr/share/doc/packages/jakarta-commons-daemon/samples/README.txt
/usr/share/doc/packages/jakarta-commons-daemon/samples/ServiceDaemon.java
/usr/share/doc/packages/jakarta-commons-daemon/samples/ServiceDaemon.sh
/usr/share/doc/packages/jakarta-commons-daemon/samples/ServiceDaemonReadThread.java
/usr/share/doc/packages/jakarta-commons-daemon/samples/SimpleDaemon.java
/usr/share/doc/packages/jakarta-commons-daemon/samples/SimpleDaemon.sh
/usr/share/doc/packages/jakarta-commons-daemon/samples/build.xml
/usr/share/java/commons-daemon-1.0.1.jar
/usr/share/java/commons-daemon.jar
/usr/share/java/jakarta-commons-daemon-1.0.1.jar
/usr/share/java/jakarta-commons-daemon.jar

If you need to compile you own, some docs are at…
http://tomcat.apache.org/tomcat-7.0-doc/setup.html

[QUOTE=summitflier;13139]Did you install the …

i | jakarta-commons-daemon | Jakarta Commons Daemon Package | package
i | jakarta-commons-daemon | Jakarta Commons Daemon Package | srcpackage

Packages?

If you need to compile you own, some docs are at…
http://tomcat.apache.org/tomcat-7.0-doc/setup.html[/QUOTE]

Thank you for your reply.

Yes I have installed the package, however there is no binary. It appears that the Daemon is made of 2 parts. One written in C that makes the interface to the operating system and the other in Java that provides the Daemon API, but the binary is nowhere to be found after installing the package, only the jar files. I realize we can just download it from apache but I was looking to install it through the channel. Maybe I missed the source, I will look again. Thanks.

Thanks to your post I have noticed the source package was not available through Yast. I attempted to install it via zypper but it said the source rpm was not available, so I need to figure out the install source for that.

The source is on Disc 2.