Changeset 771 for trunk/docs
- Timestamp:
- Jun 10, 2016, 1:40:44 AM (8 years ago)
- Location:
- trunk/docs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/install/windows.rst
r764 r771 24 24 support activated. So, in case you want to use the Java support, 25 25 simply rename the `zoo_loader_jave.cgi` file located in 26 `c:\\inetpub\\cgi-bin` to `zoo_loader.cgi`. 26 `c:\\inetpub\\cgi-bin` to `zoo_loader.cgi` and make sure the 27 `jvm.dll` can be found. 27 28 28 29 … … 58 59 appcmd.exe add vdirs /app.name:"Default Web Site/" /path:/cgi-bin /physicalPath:c:\inetpub\cgi-bin 59 60 appcmd set config /section:handlers /+[name='CGI-exe1',path='*.cgi',verb='*',modules='CgiModule'] 60 61 appcmd.exe set config /section:isapiCgiRestriction /+[path='c:\inetpub\cgi-bin\zoo_loader.cgi',description='ZOO-Project',allowed='True'] 61 62 62 63 -
trunk/docs/services/howtos.rst
r725 r771 202 202 sections to your ``main.cfg`` file: 203 203 204 :[java]: 205 This section is used to pass -D* parameters to the JVM created by the 206 ZOO-Kernel to handle your ZOO-Service (see `ref. 1 207 <http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#BehavioralOptions>`__ 208 or `ref. 2 209 <http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#PerformanceTuning>`__ 210 for sample available). 211 For each map ``a = b`` available in the ``[java]`` section, the 212 option ``-Da=b`` will be passed to the JVM. 213 :[javax]: 214 The section is used to pass -X* options to the JVM (see 215 `ref. <http://docs.oracle.com/cd/E22289_01/html/821-1274/configuring-the-default-jvm-and-java-arguments.html>`__). For 216 each map ``a = b`` available in the ``[javax]`` section, the option 217 ``-Xab`` will be passed to the JVM (ie. set ``mx=2G`` to pass 218 ``-Xmx2G``). 204 219 :[javaxx]: 205 220 This section is used to pass -XX:* parameters to the JVM created by the … … 213 228 minus`` (respectively ``a=plus``) then the option ``-XX:-a`` 214 229 (respectivelly ``-XX:+a``) will be passed. 215 :[javax]:216 The section is used to pass -X* options to the JVM (see217 `ref. <http://docs.oracle.com/cd/E22289_01/html/821-1274/configuring-the-default-jvm-and-java-arguments.html>`__). For218 each map ``a = b`` available in the ``[javax]`` section, the option219 ``-Xab`` will be passed to the JVM (ie. set ``mx=2G`` to pass220 ``-Xmx2G``).221 230 222 231 ZOO-API … … 235 244 cd zoo-api/java 236 245 make 237 cp ZOO.class libZOO.so /usr/lib/cgi-bin238 246 239 247 .. Note:: running the previous commands will require that both 240 248 ``javac`` and ``javah`` are in your PATH. 249 250 You should copy the ``libZOO.so`` in a place Java can find it. In case you 251 have defined the ``java.library.path`` key as ``/usr/lib/cgi-bin`` 252 (in the ``[java]`` section), then you should copy it there. 253 254 .. code-block:: guess 255 256 cp libZOO.so /usr/lib/cgi-bin 257 258 The ZOO-API provides the following functions: 259 260 :String translate(String s): 261 This function call the internal ZOO-Kernel function responsible for 262 searching a translation of ``s`` in the zoo-services dictionary. 263 264 :void updateStatus(Hashmap conf,String pourcent,String message): 265 This function call the updateStatus ZOO-Kernel function responsible 266 for updating the status of the running service (only usefull when 267 the service has been called asynchronously). 268 269 241 270 242 271 Java ZCFG requirements
Note: See TracChangeset
for help on using the changeset viewer.