From: Mansell, G. <Gar...@ri...> - 2022-03-09 16:19:14
|
Further to this issue, I have just tried explicitly installing using Java 8 from an Admin Command prompt: set JAVA_HOME=C:\PROGRA~1\AMAZON~1\JDK18~1.0_3 C:\PROGRA~1\AMAZON~1\JDK18~1.0_3\bin\java.exe -jar c:\install\eXist-db-setup-4.10.0.jar When I run the install service from the Start Programs Menu - this works, but I then get this error in the wrapper logs: WARNING|wrapper|Service eXist-db|22-03-09 16:03:48|YAJSW: yajsw-stable-12.12 WARNING|wrapper|Service eXist-db|22-03-09 16:03:48|OS : Windows Server 2019/10.0/amd64 WARNING|wrapper|Service eXist-db|22-03-09 16:03:48|JVM : Amazon.com Inc./1.8.0_312/C:\Program Files\Amazon Corretto\jdk1.8.0_312\jre/64 INFO|wrapper|Service eXist-db|22-03-09 16:03:48|start delay: 0 INFO|wrapper|Service eXist-db|22-03-09 16:03:48|started process with pid 9612 INFO|9612/0|Service eXist-db|22-03-09 16:03:49|[INFO] StandardFileSystemManager - Using "c:\eXist-db\tools\yajsw\tmp\vfs_cache" as temporary files store. INFO|9612/0|Service eXist-db|22-03-09 16:03:49|no java main method found -> aborting INFO|9612/0|Service eXist-db|22-03-09 16:03:49|java.lang.NoClassDefFoundError: org/exist/start/EXistClassLoader INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.Class.getDeclaredMethods0(Native Method) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.Class.privateGetDeclaredMethods(Class.java:2729) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.Class.privateGetMethodRecursive(Class.java:3076) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.Class.getMethod0(Class.java:3046) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.Class.getMethod(Class.java:1812) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at org.rzo.yajsw.app.WrapperManagerImpl.init(WrapperManagerImpl.java:336) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at org.rzo.yajsw.app.WrapperManagerProxy.getWrapperManager(WrapperManagerProxy.java:53) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at org.rzo.yajsw.app.AbstractWrapperJVMMain$1.run(AbstractWrapperJVMMain.java:64) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.security.AccessController.doPrivileged(Native Method) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at org.rzo.yajsw.app.AbstractWrapperJVMMain.preExecute(AbstractWrapperJVMMain.java:56) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:41) INFO|9612/0|Service eXist-db|22-03-09 16:03:49|Caused by: java.lang.ClassNotFoundException: org.exist.start.EXistClassLoader INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.net.URLClassLoader.findClass(URLClassLoader.java:387) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.ClassLoader.loadClass(ClassLoader.java:418) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| at java.lang.ClassLoader.loadClass(ClassLoader.java:351) INFO|9612/0|Service eXist-db|22-03-09 16:03:49| ... 11 more So, I am still stuck trying to get it to run as a service - any ideas? Thanks Gary -------------------------------------------------------------------------------------------------------------------------------------------------------------- This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors are authorised to enter into legally binding obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails and other telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check e-mail and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies. Ricardo plc is a public limited company registered in England with registered number 00222915. The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by Sea, West Sussex, BN43 5FG. -------------------------------------------------------------------------------------------------------------------------------------------------------------- |