HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 4
Using HP Web Services for Output Server
Managing the JBoss server
The JBoss installer uses param name=MaxBackupIndex parameter with a default value of 5. If the maximum
number of files exceeds the default value, the oldest file gets removed.
You can set the MaxBackupIndex parameter to 20 and the default file size to 10 MB.
You can view the settings in the JBoss_HOME/server/default/conf/jboss-log4j.xml file as follows:
<appender name="WSG"
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/sod_wsg.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] %c
%m%n"/>
</layout>
</appender>
Define the level of logging that you would require for Web Services for Output Server as follows:
<category name="com.hp.om.hpos.wsg" >
<priority value="INFO"/>
<appender-ref ref="WSG"/>
</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.
Redeploying .war file
Redeploying .war file as follows:
1. Copy the hposwsg.war file to the current location from the $DAZEL_HOME/etc/wcf/deploy directory.
2. Copy $DAZEL_HOME/etc/wcf/deploy/hposwsg.war to the
$DAZEL_HOME/share/jboss/server/default/deploy directory.
NOTE: If you need to configure clusters with HP Smart Office Delivery, you need to manually
remove the hposwsg.war file from the
jboss_home/server/default/deploy directory. Manually copy the
hposmodel.jar file to the jboss_home/server/<cluster_node>/lib
directory, where cluster node is the newly created node for clusters.
Managing the JBoss server
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: