We have been using shared projects and URLs for a while now but I have broken something in our config.
I just want to clarify something...
In the URL deployment documentation, step 4 says:
"If you forward all http request from other webserver (e.g. Apache, IIS, Lighttpd) to java webserver with the deployed
UrlWebApp.war then you need to update the locations of the web pages from the other web server in the file
For example the location of the IJC URL demo web application on Chemaxon web site is http://www.chemaxon.com/urldemo/ style="color: #333333; font-family: arial, verdana; line-height: 19px; font-size: small;">, so the content of
extra.properties file is
It says a bit later " A prepared shared project (e.g. prj.ijp and prj.zip ) should be copied to
So here is our setup:
I have copied the shared projects into
I have a web page at <servername>/var/ww/html/ijc which has links to each project so a user can click the link and it deploys the project for them (and installs IJC jws if not currently installed).
Do I set extra.properties to "<servername>/var/ww/html/ijc" ?
So do I need copies of jchem JWS files (eg projects, license, info.properties) anywhere but
What is unclear is that your example doesn't actually say which files are in the http://www.chemaxon.com/urldemo/ directory. Just html files or the ijp/zip files as well?
Ok, have just done some tests.
It seems the projects etc must be copied to wherever the extra.properties is pointing.
Is that the case? If so, the documentation is very unclear.
So let me ask this another way - if I set extra.properties to
What needs to be copied into http://servername/urldemo/?
The project .ijp and .zip files and license file?
Does it also need the files from the tomcat jws directory ie info.properties, instantjchem.zip, JNLPinstaller.jar, master.jnlp?
It's not clear for me how your configuration looks like. The license.cxl, *.ijp and *.zip, html files has to be copied to home of folder user who runs the java webserver:
If the folder doesn't contain index.html file it will show default index.html. The default index page contains information about UrlWebApp configuration and list with deployed shared projects.
The extra.properties file is used in case that you forward url from a webserver to java webserver with UrlWebApp. For example the UrlWeApp is installed to:
Your apache server forward request from
http://myapacheserver/urldemo/$1 to http://javaserver:8080/UrlWebApp/
User types to web browser
In this case you have to put to
This is the part that was not clear to me - specifically how the apache request is forwarded to the tomcat webserver. What you have written is much clearer and should be enough for me to sort it out.
What should extra.properties contain if you are not forwarding - can it just be set to
This is what I current have configured and it works fine. If I don't set it to anything, the codebase is not set in master.jnlp, which means nothing can be located.
Good catch. It's working fine only when you run the server on localhost. We will improve documentation.