uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

12.6.1 Creating an option definition file for Java applications

You create an option definition file (usrconf.cfg) for Java applications required for executing Web Services.

The following example describes how to create an option definition file for Java applications:

add.class.path= Cosminexus-installation-directory\jaxrs\lib\cjjaxws.jar
add.class.path=.\classes
ejb.client.log.directory=logs
add.jvm.arg=-Dcosminexus.home=Cosminexus-installation-directory
add.jvm.arg=-Dejbserver.server.prf.PRFID=PRF ID

In the Cosminexus-installation-directory part, you specify the absolute path of the location where you have installed Cosminexus. In the PRF ID part, specify the identifier of the PRF daemon.

You save the created option definition file for Java applications in the c:\temp\jaxrs\works\tutorial\client\ directory. For details on the option definition file for Java applications, see 14.2 usrconf.cfg (Option definition file for Java applications) in the uCosminexus Application Server Definition Reference Guide.