HPOS 4.0 technical note 3

HP Web Services for Output Server 4
Using HP Web Services for Output Server
Managing the JBoss server
You can view the settings in the JBoss_HOME/server/default/conf/jboss-log4j.xml file as follows:
<appender name="HPOMWS"
class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Append" value="true"/>
<param name="File"
value="${jboss.server.log.dir}/../../../../../var/log/hpomws.log"/>
<param name="MaxFileSize" value="5000KB"/>
<param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{EEE MMM dd HH:mm:ss} %t: [%p]
%m%n"/>
</layout>
</appender>
Define the level of logging that you would require for HP Web Services for Output Server as follows:
<category name="com.hp.om.hpos.wsg" >
<priority value="INFO"/>
<appender-ref ref="HPOMWS"/>
</category>
NOTE: You must mention the fully qualified host name in the Web Service Definition Language
(WSDL) URL. For example, http://fully qualified host
name/HPOSGateway/HPOSGateway?wsdl or the short name should be resolvable
from the client.
Managing the JBoss server
To manage the JBoss server, perform the following steps:
1. Source your environment variables by typing one of the following commands, depending on your shell:
2. Prior to uninstalling, or applying a service pack or hot-fix to HP Output Server, you must stop the JBoss server.
To stop the JBoss server, execute the following command:
stop_server -t jboss
3. To enable HP Web Services for Output Server, you must restart the JBoss server. To restart the JBoss server,
execute the following commands:
stop_server -t jboss
start_server -t jboss
Job management functions
All job management functions take a HP Web Services for Output Server request as input and return a HP Web
Services for Output Server response. The request has a set of operation attributes and a set of request attributes.
Operation attributes hold the object values on which the operations have to be invoked.
Shell Command
C source installDir/etc/setup_env.csh
Bourne or Korn . installDir/etc/setup_env.sh