import and export smiles marvin sketch javascript

User e22d9561fc

30-03-2014 20:44:35

Good Day I would like to know how to put the license in order to export and import through the SMILES marvi Sketch in javascript

ChemAxon f052bdfe3c

02-04-2014 15:53:57

Hi Patrick,


Have you downloaded/installed JChem web service on your server?


Best,


Efi


 


P.S. You can find an example how to import/export SMILES here: https://marvin4js.chemaxon.com/latest/examples/example-molconvert.html

User e22d9561fc

02-04-2014 16:29:27

This appears Feedback:


 


ERROR: MolConvert failed (status code 500) {"errorCode":0,"errorMessage":"No valid license found. Contact administrator!","rootCause":"chemaxon.license.LicenseException"}

User e22d9561fc

02-04-2014 19:29:21

I already use the jchem package on my tomcat server address and www.ccae.ufpb.br / sistematX, we already do queries and other substructure on the website I am having difficulty in importing and exporting marvin sketch javascript. Would greatly aid you to do this work asking for a license

ChemAxon 13811e1703

04-04-2014 13:04:01

Hi Patrick,

 The error message you got is caused by the REST Web Services cannot find the licenseon the server. Is it deployed to the same instance of Tomcat as your other web application? (The licenses should be in the home directory of the user who is running the server instance)

Regards,
Peter 

User e22d9561fc

10-04-2014 16:02:54

already put this 3 doretorios the license and does not work still getting the message

http://localhost:8888/marvin4js/examples/ (marvin sketch examples of javascript)

http://localhost:8888/webservices/ (the WAR file webservices.war)

http://localhost:8888/marvin4js/ (uncompressed files)


ERROR: MolConvert failed (status code 500) {"errorCode": 2, "errorMessage": ".! No valid license found Contact administrator", "rootcause": "chemaxon.license.LicenseException"}



the file


<script src="../js/webservices.js"> </ script>

getDefaultServicesPrefix function () {
var servername = "http://localhost:8888";
var webapp = "/ webservices";
return servername + webapp;
}

</ script>

ChemAxon f052bdfe3c

14-04-2014 13:51:40

I have deleted the attachments. Please DO NOT post licenses on the forum.

ChemAxon 13811e1703

14-04-2014 14:02:28

Hi Patrick,

If you see "No valid license found Contact administrator" it means the marvinJs called the service, the service is running, but cannot find the licenses on the server. can you check the services root url in a browser?
By your description it should be at:
http://localhost:8888/webservices/rest-v0

Copy this link to a browser and send us the repsonse please.


Regards,
Peter 

User e22d9561fc

14-04-2014 17:01:43

{"welcomeMessage":"You connected to the JChem REST Web Services","availableServices":
emVersion":"6.2.0_b823","javaVersion":

User e22d9561fc

14-04-2014 17:17:18




 





Thanks it worked after I put the license in the User folder system further keeps appearing in the Feedback javascript marvin "Valid License can not found the"

ChemAxon f052bdfe3c

22-04-2014 15:45:04

Hi Patrick,


Please ask your sales contact who sent the Marvin JS license to you, he will send you a document about the license installation.


Best Regards,


Efi