User de28439ce2
17-01-2012 10:59:01
dear all,
I am trying to set up the web version of IJC on /var/www/html/ folder of my server and I have followed the instructions by modifying the corresponding files. However when I navigate to my server and press the "launch instant jchem" button, the java is starting but then I get an error saying "unable to launch the application". The error message is that
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://195.134.80.175/var/www/html/JNLPInstaller.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
but the file JNLPInstaller.jar is in my server /var/www/html/ folder
Any idea on that?
Thanks in advance,
Vassilios
ChemAxon 3b366b17e5
17-01-2012 11:52:19
User de28439ce2
17-01-2012 12:56:27
Hi Petr,
When I open the browser and type my IP address I automatically get
redirected to the /var/www/html/ folder and this is why I had deployed the
IJC JWS files there. To my perception, as long as the index.html points to
the master.jnlp file and the master.jnlp also points to the
JNLPInstaller.jar which is in the same /var/www/html/ folder, everything
should work fine but this error message is about a missing file. I cannot
understand why the JNLPInstaller.jar cannot be located. Do you think it
has to do with some security reasons or permissions?
thanks in advance,
Vassilios
User de28439ce2
17-01-2012 12:56:47
Hi Petr,
When I open the browser and type my IP address I automatically get
redirected to the /var/www/html/ folder and this is why I had deployed the
IJC JWS files there. To my perception, as long as the index.html points to
the master.jnlp file and the master.jnlp also points to the
JNLPInstaller.jar which is in the same /var/www/html/ folder, everything
should work fine but this error message is about a missing file. I cannot
understand why the JNLPInstaller.jar cannot be located. Do you think it
has to do with some security reasons or permissions?
thanks in advance,
Vassilios
ChemAxon 3b366b17e5
17-01-2012 17:04:34
Hi,
It's still not clear for what do you mean automatically get redirected. Can you download http://195.134.80.175/var/www/html/JNLPInstaller.jar from your webbrowser? If not you don't have properly configured webserver on the server machine. What webserver do you use?
ChemAxon 2bdd02d1e5
17-01-2012 18:09:59
ChemAxon fa971619eb
17-01-2012 18:18:46
Do check that the web server has a mime type configured for the files.
Some servers (Microsoft IIS is an example) refuse to serve up files that do not have mime types associated with the extension. You can check this by trying to retreive the files directly in a web browser e.g. as was suggested earlier for the JNLPInstaller.jar file.
Tim
User de28439ce2
18-01-2012 10:31:17
Sorry but I am not very familiar with server setup. I have a simple Apache/2.2.21 server running on linux fedora. Indeed as you suggested the JNLPInstaller file could not be downloaded from the browser. How can we configure the mime types associated with the extension, if this is the problem?
User de28439ce2
18-01-2012 10:33:05
Sorry but I am not very familiar with server setup. I have a simple Apache/2.2.21 server running on linux fedora. Indeed as you suggested the JNLPInstaller file could not be downloaded from the browser. How can we configure the mime types associated with the extension, if this is the problem?
ChemAxon 3b366b17e5
18-01-2012 11:40:38
User de28439ce2
18-01-2012 13:14:59
I see the index.html prompting to press the button to start instant jchem
ChemAxon 3b366b17e5
18-01-2012 14:39:35
User de28439ce2
18-01-2012 14:52:45
Let me ask if I should be able to execute locally the JNLPInstaller.jar? I typed:
java -jar JNLPInstaller.jar
and I also got an error message
Exception in thread "main" javax.jnlp.UnavailableServiceException: service stub not set.
at javax.jnlp.ServiceManager.lookup(ServiceManager.java:17)
at com.im.ijc.jnlpinstaller.Main.getBaseURL(Main.java:135)
at com.im.ijc.jnlpinstaller.Main.main(Main.java:226)
Does this help?
User de28439ce2
18-01-2012 14:58:52
Yes, I am able to download the JNLPInstaller.jar when I type to the browser
http://195.134.80.175/JNLPInstaller.jar
The error comes after that step, when this file is trying to run.
I hope this helps
ChemAxon 3b366b17e5
18-01-2012 15:00:32
You cannot start the JNLPInstaller.jar
java -jar JNLPInstaller.jar
you can start it with downloaded master.jnlp:
javaws master.jnlp
ChemAxon 3b366b17e5
18-01-2012 15:05:25
User de28439ce2
19-01-2012 14:02:47
Well, I just realized that most likely the problem is that I do not have an enterprise license for ijc. Academic license isn t enough? How can one obtain enterprise license?
ChemAxon fa971619eb
19-01-2012 14:47:29
We'll put you in touch with someone to discuss this.
Tim
ChemAxon b124dd5f17
19-01-2012 15:49:38
HI,
Yes enterprise is not included for academic package (it is a personal license) so licensing shared databases is not covered. While sharing databases is obviosly a good idea we think it is quite an industrial use case and likely to be relevant to commercially driven research. Should we get in touch about academic priced commercial provision?
Alex
User de28439ce2
19-01-2012 15:59:12
Hi Alex,
Yes, we might be interested in obtaining such a license depending of course on the price. We definitely are no commercial organization with no commercial income! But please consider the case of scientific consortia trying to set up a common database and the dissemination benefit this might bring. Not to mention the online publicity of your company products!
many thanks,
Vassilios
User de28439ce2
24-01-2012 09:53:52
Hi Tim,
just wanted to remind about the enterprise license offer we were discussing about.
best
Vassilis
ChemAxon fa971619eb
25-01-2012 14:18:17
I think you have now been contacted about this?
Tim
User de28439ce2
25-01-2012 16:06:00
Hi Tim,
No, I didn't have any feedback concerning that.
Vassilios
ChemAxon 9952cd520a
25-01-2012 16:19:55
Hi Vassilios,
I sent you an email yesterday @ 15:48 to vmyriant _at_ pharm.uoa.gr. Is that the correct email address? If not, then could you send an email to Péter Horváth at phorvath _at_ chemaxon.com, he will be happy to discuss licensing options with you.
All the best,
Medzi