Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have been working in Mathematica 9.0 for last 6 months. Now in our organization we got webMathematica. We don't know how to install webMathematica initially, with the help of this link and other links we manage to install java(JDK 1.7) and tomcat (apache-tomcat-6.0.37).I had webMathematica in archive format. I have Unpacked the webMathematica web application archives into the webapps directory located in the Tomcat directory. The location where I copied webMathematica is C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps according to the guide from above given link.

After that as per guide I tried to set the kernalExecutable and KernelLaunchFlags in MSPConfiguration.xml file which is found in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\webMathematica\WEB-INF directory, But I faced two problems

  1. Can't save the MSPConfiguration.xml after modify even though login as administrator.
  2. I don't know how to save the licence of webMathematica whether in separate file or not. If it is separate file then which format it should be store.

I tried like this to modify xml file

    <KernelExecutable>C:\Program Files\Wolfram Research\Mathematica\9.0\MathKernel.exe</KernelExecutable>
    <KernelLaunchFlags>-pwfile C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\webMathematica\WEB-INF</KernelLaunchFlags>

but when I tried to save MSPConfiguration.xml file with above said modification, I was not allow to save the xml file. I have checked the property of the file also, It says that administrator is have access of full control of read, write and all. I am login in as administrator as well. But I can't able to save the modification. Help to resolve this problem.

share|improve this question

closed as off-topic by Oleksandr R., m_goldberg, ilian, MarcoB, Michael E2 Sep 26 at 23:48

  • The question does not concern the technical computing software Mathematica by Wolfram Research. Please see the help center to find out about the topics that can be asked here.
If this question can be reworded to fit the rules in the help center, please edit the question.

Did you stop Tomcat before editing the file? –  Rolf Mertig May 27 '13 at 8:40
No I didn't stop. Now I have stopped and try to modify the xml file but no use. It said the the file might be open by another program, but I sure no file has open. –  niren May 27 '13 at 9:26
Strange. On Windows: if in doubt: reboot. Actually, I would advise to use Linux for webMathematica. Trying to do more advanced things (like adding Apache in front of Tomcat) it gets quite troublesome to do all this on Windows. Also there are all this permission problems on different types of Windows OS's. It will eventually all work, but I gave up on it and moved to Linux - based webMathematica for serious work. –  Rolf Mertig May 27 '13 at 9:31
@RolfMertig Yes I can edit the xml file outside the c: drive means I can copy the MSPConfiguration.xml in another drive and modify whatever I want. Copy the modified file and replace it in c: drive. Now I can modify whatever I want in MSPConfiguration.xml. But another problem is I don't know how to have Licence details in special file. –  niren May 27 '13 at 11:42
I'm voting to close this question as off-topic because it is too localized; i.e, it applies only to the local situation and needs of its poster and answers will not benefit others. –  m_goldberg Sep 26 at 18:03

Browse other questions tagged or ask your own question.