uCosminexus Application Server, Web Service Development Guide

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

9.6.1 Creating option definition files for Java applications

Create option definition files for Java applications (usrconf.cfg) required for executing Web Services.

The following is an example of creating option definition files for Java applications:

add.class.path=Cosminexus-installation-directory\jaxws\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

For Cosminexus-installation-directory, use an absolute path to specify the path where Cosminexus is installed. For PRF-ID, specify an identifier of the PRF daemon.

The created option definition file for the Java application is saved in the c:\temp\jaxws\works\dispatch_provider\client\ directory. For the option definition files for Java applications, see 14.2 usrconf.cfg (Option definition file for Java applications) in the uCosminexus Application Server Definition Reference Guide.