License installation problem -- non-standard installation

User 02d57c176d

21-06-2016 22:41:10

Dear users,


I want to run an application using MarvinJS and webservices. I have downloaded jetty from official site and "installed it" like this (i.e. unpacked downloaded archive). I run server like that:


user@machine:~/jetty-distribution-9.3.9.v20160517/demo-base$ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Dchemaxon.license.url="/home/kp332534/jetty-distribution-9.3.9.v20160517/.chemaxon/license.cxl" -jar ../start.jar


Server configuration is as below:

http://pastebin.com/TQ4CiBcL


JChem Webservices say that I am authenticated as undefined.

Where do I put license files to make it work?


My webservices version is quite recent - I have downloaded it 2-3 months ago from your website.


Yours faithfully,

Krzysztof

ChemAxon 13811e1703

22-06-2016 11:36:20

Dear Krzysztof,

The user is undefined when there is no security configuration for JChem Web Services, that has nothin to do with licenses (https://restdemo.chemaxon.com/docs/installationguide.md#security)

If you check the root service url (http://[host]:[port]/[context]/rest-v0) in a browser, there you should see the installed licenses listed.

Can you send us the log file from this path?
./jetty-distribution-9.3.9.v20160517/logs/chemaxon.log

Please note that OpenJDK is not supported by JChem Web Services, I recommend using Oracle Java 8.

Regards,
Peter 

User 02d57c176d

22-06-2016 11:54:03

Dear Peter,


 


Thank you for your help. You can find requested file on here. By the way, the log I have supplied is from
~/jetty-distribution-9.3.9.v20160517/demo-base/logs because that's where
jetty is putting demo logs.
I will make security configuration ASAP.


Regards,
Krzysztof