Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is it possible to put the webMathematica folder outside the usual Tomcat webapps folder and still have webMathematica work?

webMathematica does work OK if its whole folder is placed inside webapps.

(This is with Tomcat 7 under OS X 10.8.3.)

Configuration details would be greatly appreciated!

In asking this I have two aims:

  1. Granularize things so that I can just back up the webMathematica folder, along with other documents of mine, separately from backing up Tomcat's own files such as those in its distributed webapps folder.

  2. Be able to access webMathematica (and, eventually, some specific apps using it) on localhost by means of a simple URL "alias", such as webmathematica, rather than the usual complete URL localhost:8080/webmathematica -- just as I can now access Tomcat's webapps by entering the URL tomcat.local.

share|improve this question
    
Did you try a symbolic link? –  Rolf Mertig May 6 '13 at 21:00
    
@Rolf Mertig: Yes, a symlink works, with URL http://localhost:8080/webMathematica! But what I'd actually like to do is use a simpler URL such as webmathematica.local, and for that obviously some kind of additional configuration of tomcat and/or apache is required. (In apache I'm passing calls to tomcat via ajp.) –  murray May 6 '13 at 21:24
    
For the URL part I think this and no.4 in this should get you started... –  Albert Retey May 7 '13 at 6:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.