Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For confidential or other support please email.
The time now is Sun Jul 05, 2009 12:57 am
 <b>Register</b> (required to post and download)Register (required to post and download)
 Username:    Password:   Remember login       
 FAQFAQ   SearchSearch   DigestsDigests 
Where to place the license file for applets
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic    Home -> Forums -> Support -> Other: License issues -> Where to place the license file for applets

Display posts from previous:        View previous topic :: View next topic    
Author Message
yzhou
Joined: 30 Sep 2004
Posts: 132


View user's profile



Back to top
Post subject: Where to place the license file for applets
Link to postPosted: Sat Apr 05, 2008 12:12 am  Reply with quote

If I have a web page with a Marvin applet, where do I put the license file on the web server (or elsewhere) and how do I tell the applet where the license file locates?

Thanks.
Judit
Joined: 04 Nov 2004
Posts: 521
ChemAxon personnel

View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Mon Apr 07, 2008 2:55 pm  Reply with quote

Hello,

we indend to solve this in the near future using a Java system property.

Until that it remains the same as before:
Quote:
In case of a web application (e.g. JSP pages) the license file should be placed on the server side, the user home is the home directory of the user that runs (owns) the web server.
However, the license file should be placed on the client side in case of Marvin applets or web applications having embedded Marvin applets to access the plugin calculations.
Can I ask you what would be the best solution for you?

Kind regards,
Judit
yzhou
Joined: 30 Sep 2004
Posts: 132


View user's profile



Back to top
Post subject:
Link to postPosted: Tue Apr 08, 2008 5:34 pm  Reply with quote

I don't have a good suggestion, I guess you don't want the end user to be able to read the license file over http, right? Otherwise, it should be pretty straightforward. Maybe think about encripting the license file for the web server and only applet is capable of decoding that?

We don't have calculation plug-in licenses, so it's okay for us. I guess this is more a problem for those who purchase calculation license but cannot enable their users to use in the applet.
Judit
Joined: 04 Nov 2004
Posts: 521
ChemAxon personnel

View user's profile

Visit poster's website

Back to top
Post subject:
Link to postPosted: Thu May 28, 2009 1:23 pm  Reply with quote

Dear Yingyao,

finally we decided to introduce applet parameters (without encoding).

Marvin 5.2.2 is just released with the possibility to set the license file for applets.

There are 2 parameters available: "license" and "licenseFile"
Details: http://www.chemaxon.com/marvin/help/developer/sketchman.html#parameters.license

Kind regards,
Judit

yzhou
Joined: 30 Sep 2004
Posts: 132


View user's profile



Back to top
Post subject:
Link to postPosted: Thu May 28, 2009 5:40 pm  Reply with quote

Just tested it, works well. Thanks.

Display posts from previous:   
Reply to topic    Home -> Forums -> Other: License issues -> Where to place the license file for applets All times are GMT + 1 Hour
Page 1 of 1
To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum