Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.
IJC via java web start
To watch this topic for replies  Register (enables digests) or give email address:
Reply to topic
Display posts from previous:   
    View previous topic :: View next topic    
Author Message
agatakp

Joined: 20 Dec 2010
Posts: 10

View user's profile

Back to top
Link to postPosted: Thu Feb 16, 2012 3:24 pmPost subject: IJC via java web start Reply with quote

Hi Filip,

we succeeded to instal java web start but except me noone else can see the database of our project. So other users of java web start can launch intsant J chem, but they can see only IJC defult database, i.e. wombat, or only welcome window. They all get also an issue with a license.

I put in master.jnlp file (attached) the link for a license file (licenseUnige.cxl) and for our project (t5_project.ijp). We have an academic web license for 12 users; web server flag is allowed. What do I have to do or change that other users will see the database? If master.jnlp file is ok, might be that i did not prepare shared project since the beginning? Any chance to change this for already existing database?

Thank you for your help,

Agata




 Filename: master.jnlp.pdf    Filesize: 96.38 KB    Downloaded: 104 Time(s)
 Description:  
pzajac
IJC personnel
Joined: 03 Aug 2007
Posts: 93

View user's profile

Back to top
Link to postPosted: Tue Feb 21, 2012 3:17 pmPost subject: Reply with quote

Hi,

license is not correctly specified in master,jnlp. You need to specify license in in <application-desc> tag:

 

<application-desc main-class="com.im.ijc.jnlpinstaller.Main">

<argument>-J-Dchemaxon.license.url="http://our-server.unige.ch/ChemAxon/licenseUnige.cxl</argument>
<argument>--openUrl</argument>
<argument>http://our-server.unige.ch/t5_project.ijp</argument>
</application-desc>

agatakp

Joined: 20 Dec 2010
Posts: 10

View user's profile

Back to top
Link to postPosted: Thu Mar 08, 2012 1:36 pmPost subject: downloding license file failed Reply with quote

I have specified a license file in master.jnlp under desc tag as you suggested but when IJC is launched from the web the first message i get is - Downloading license file failed.

Do I need to save a license file in a specific directory?

I put it in /home/user/Chemaxon directory. System variable in .bashrc is defined as

export CHEMAXON_LICENSE_URL=/home/user/Chemaxon/license.cxl.

Thank you,

Agata

 

pzajac
IJC personnel
Joined: 03 Aug 2007
Posts: 93

View user's profile

Back to top
Link to postPosted: Thu Mar 08, 2012 5:41 pmPost subject: Reply with quote

Can you send me content of ijc log file? Log file file is available  from main menu (View->Instant jchem log file). You can install license manually by copying it to ${HOME}/.chemaxon/license.cxl or in license manager:

http://www.chemaxon.com/instantjchem/ijc_latest/docs/user/help/htmlfiles/licenses.html

agatakp

Joined: 20 Dec 2010
Posts: 10

View user's profile

Back to top
Link to postPosted: Wed Mar 14, 2012 2:18 pmPost subject: Reply with quote

Hi,

I put a new license file directly to .chemaxon. I did not try to install it by a wizard, since on a server seems to be ok.

But when I open an IJC via java web start it gives the same problem: Downloading license file failed.

I attached two ijc log files: the one I get when I open ijc directly at the server and the second one when I open ijc

via java web start.

It seems to me that via java web start the path to a license file on a server is not found. Where can I fix that?

Thank you,

Agata

agatakp

Joined: 20 Dec 2010
Posts: 10

View user's profile

Back to top
Link to postPosted: Wed Mar 14, 2012 2:27 pmPost subject: Reply with quote

I forgot to say that we specified a path to a license file for java web start in master.jnlp as:

<application-desc main-class="com.im.ijc.jnlpinstaller.Main">

<argument>-J-Dchemaxon.license.url=http://our-server/home/ChemAxon/license.cxl</argument>

Agata

fzimandl
IJC personnel
Joined: 23 Jun 2011
Posts: 384

View user's profile

Back to top
Link to postPosted: Thu Mar 15, 2012 12:02 pmPost subject: Reply with quote

The argument seems to be correct and works for me. Have you specified the MIME-TYPE *.cxl on your webserver? Please try to access the address for your license file by using web browser. Is the file accessible? Are you using proxy server for accessing intranet(inetrnet) addresses?

The key thing is to access the license file by web browser. If so and problem in IJC persist, then make sure that the proxy is set(if you use one) on the system level, therefore IJC knows what proxy to use.

Best regards
Filip

jpatthey

Joined: 16 Mar 2012
Posts: 2

View user's profile

Back to top
Link to postPosted: Fri Mar 16, 2012 8:29 pmPost subject: Reply with quote

The licence file is at the correct place now.

We still have trouble to setup a connection to the database, is there a way to setup a connection without configuring mysql to listen on its public interface and accessing it through a webservice or some application running in tomcat (doing the bridge between the ide and mysql) ?

Thanks

fzimandl
IJC personnel
Joined: 23 Jun 2011
Posts: 384

View user's profile

Back to top
Link to postPosted: Tue Mar 20, 2012 11:55 amPost subject: Reply with quote

You can prepare a shared project using MySQL database as described at https://www.chemaxon.com/instantjchem/ijc_latest/docs/admin/ijc_urls.html and https://www.chemaxon.com/instantjchem/ijc_latest/docs/admin/project_deploy.html.

But I believe that correct configuration of a remote MySQL server is the easiest way. Please take into account that MySQL users can be configured in a way that they can connect only from the localhost -this is typical for implicit setting of the root account. Is not this your case? 

jpatthey

Joined: 16 Mar 2012
Posts: 2

View user's profile

Back to top
Link to postPosted: Tue Mar 20, 2012 8:53 pmPost subject: Reply with quote

Yes, this is the case, and I know how to change the "local" only settings in mysql.

So, if we manage to create a shared project, our end-users will access the database through a web service ?

It's just that if we could keep mysql closed to the outside world, we would prefer it.

fzimandl
IJC personnel
Joined: 23 Jun 2011
Posts: 384

View user's profile

Back to top
Link to postPosted: Wed Mar 21, 2012 2:51 pmPost subject: Reply with quote

Yes that is true. Shared project allows you to access the data through a web service and thus, you can keep MySQL accessible only from localhost(or specific IP). It also allows to maintain one project for many users in that way if you update it centraly, all users get updated project(forms, data-trees, etc.).

Reply to topic
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