Quantcast

eXist service via YAJSW

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

eXist service via YAJSW

Mathias Göbel

Dear *,

i failed installing eXist as a service with the (new) YAJSW.

The installation with ./tools/yajsw/bin/installDeamonNoPriv.sh reports nothing unusual, but eXist does not start on system initialization.

I looked up the init script at  /etc/init.d/eXist-db and tried the command executed on start manually:

/usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dwrapper.pidfile=/run/wrapper.eXist-db.pid -Dwrapper.service=true -Dwrapper.visible=false -Djna_tmpdir=/home/mathias/development/fontane/SADE/dist-utils/antbuild/build/exist-git/tools/yajsw/tmp -jar /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/wrapper.jar -tx /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/conf/wrapper.conf

INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/commons/commons-httpclient-3.0.1.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/commons/commons-codec-1.3.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/commons/commons-net-3.2.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/regex/automaton-1.11.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/glazedlists/glazedlists-1.8.0_java15.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/glazedlists/commons-beanutils-1.8.2.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/cron/joda-time-2.7.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/cron/yacron4j-00.03.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/jgoodies/forms-1.2.0.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-webdav/jackrabbit-webdav-1.5.6.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-webdav/xercesImpl.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-webdav/slf4j-jdk14-1.5.0.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-webdav/slf4j-api-1.5.0.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-dbx/vfs-dbx-00.02.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-dbx/dropbox-core-sdk-1.7.7.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/vfs-dbx/jackson-core-2.2.4.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/glazedlists/commons-beanutils-1.8.2.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/glazedlists/glazedlists-1.8.0_java15.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/keystore/keystore.jar
INFO: lib not found: /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/lib/extended/abeille/formsrt.jar
YAJSW: yajsw-stable-12.08
OS   : Linux/4.4.0-70-generic/amd64
JVM  : Oracle Corporation/1.8.0_121//usr/lib/jvm/java-8-openjdk-amd64/jre/64
Mar 29, 2017 10:24:48 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
Mar 29, 2017 10:24:48 AM org.rzo.yajsw.os.posix.PosixService init
INFO: /etc/init.d/eXist-db already exists
************* STARTING eXist-db ***********************

Mar 29, 2017 10:24:48 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:48 AM org.rzo.yajsw.os.posix.PosixService startProcess
INFO: calling /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dwrapper.pidfile=/run/wrapper.eXist-db.pid -Dwrapper.service=true -Dwrapper.visible=false -Djna_tmpdir=/home/mathias/development/fontane/SADE/dist-utils/antbuild/build/exist-git/tools/yajsw/tmp -jar /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/wrapper.jar -c /home/mathias/development/fontane/SADE/dist-utils/antbuild/build/sade/tools/yajsw/conf/wrapper.conf
Mar 29, 2017 10:24:48 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:50 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:52 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:54 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:56 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:24:58 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:00 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:02 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:04 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:06 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:08 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Mar 29, 2017 10:25:08 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.eXist-db.pid
Service eXist-db NOT started


Finally it returns "Service eXist-db NOT started" but the process is running after that - it does not after system start is completed.

My system is a typical Ubuntu 16.04 64bit Java 8u121.

Are there any people out there got this service wrapper working or having same experiences with YAJSW?

Best,
Mathias
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: eXist service via YAJSW

Dannes Wessels-3
As you use the unprivileged user... does he/she have write permissions in /run ?
Alternatively you could use the other script, and define a run-as user .....

regards

Dannes 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: eXist service via YAJSW

Dominique Rabeuf
Same problem under Windows 10.
eXist 3.1.1 Java 8 121
Service seems to be started.
But yajsw logs directory is empty

Attemp to run eXst Launcher produces only one line in WEBINF/logs exist.log
2017-03-30 09:10:43,624 [BrokerPools-ShutdownHook] INFO  (BrokerPools.java [run]:67) - Executing shutdown thread

2017-03-29 12:28 GMT+02:00 Dannes Wessels <[hidden email]>:
As you use the unprivileged user... does he/she have write permissions in /run ?
Alternatively you could use the other script, and define a run-as user .....

regards

Dannes 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Dominique Rabeuf

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...