2015-11-30 0:56 GMT+03:00 Martijn Slouter <martijnslou...@gmail.com>: > Hello John, > as far as I know, all processes are equivalent, although the one with > rank 0 is usually used for logging unless each process has to > contribute its own logging messages. > > I am using the openmpi MPI software as basis with business logic > written in C and a JNI interface to make it available in java. Each > java process owns part of the data, does some sort of presentation > logic on this part of data, and is then supposed to pass the final > presentation to the web through tomcat. As you mentioned, the MPI > hosts all run in one single server rack with Gigabit ethernet > interconnection. > > My impression is that my question can only be answered by somebody who > is familiar with both MPI and tomcat. If there is no solution, I will > probably write my own, very limited servlet container, which is > compatible with MPI but not as powerful as tomcat. >
You may want to look at how an embedded Tomcat is started. The test/ directory in the source tree has many examples. Look for "Tomcat.addServlet()" calls. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org