I can't say I've seen anyone try what you're doing, but I can think of a couple things to watch for.
The CPAM server you build will be a redhat AS version 4 server. VSOM is used to redhat 4.2 so you'll want to see what changed there.
VSOM has historically be very sensitive to the version of java running. The version of java running on CPAM is jdk1.6.0_20, VSOM (as of 6.3) runs jre1.6.0_17.
The webserver setup will be very tricky. VSOM runs out of /usr/BWhttpd and implements it's own version of apache. CPAM runs its version of apache from the /opt/cisco/cpam directory.
To give you an idea, here are the server.xml file locations:
/usr/BWhttpd/tomcat/conf/server.xml
/opt/cisco/cpam/properties/server.xml
/opt/cisco/cpam/apache-tomcat/conf/server.xml
From a performance standpoint most of the work of supporting the 40 cameras will be on the media server. You could run into trouble if you set up a large number of events though.
It will be interesting to see if you can get it working.