B2B PostOffice - Server Install

The server software for the B2B PostOffice is proprietary. All rights reserved. The instructions below cover installation of a number of prerequisite server components like Tomcat and Axis. Once that is complete, the actual build or install of the Post Office components involves a number of Ant build scripts ( Command line expressions for the builds can be entered in a DOS window or at a Linux prompt. ) At several points throughout the process, you need to bounce Tomcat in order to get Auto-deployment to occur.

Install Instructions

Description Comment (Build Target Names)
installJ2SE v 1.5 SDKis the one to select from the list
install apache-ant-1.6.1-bin.zip is the ANT binary download
install xalan-j-current-bin.zip is latest 2.5.2 release of Xalan
install Sun JWSDP do NOT select install option "TomCat bundle"
install jakarta-tomcat-5.0${most_recent}Choose the binary download of choice from the list of distro types
downloadjava editor j-0.20.2-binary.tar.gz
downloadAxis axis-1_2RC3 Select download distro from most recent library release
SET Environment values for JAVA_HOME and ANT_HOME
download dist.zip file or have it emailed to you. This is the source directory for the builds below.
unzip dist.zip file into a PO_HOMEdirectory that you create
Verify Keysfile ./DIST/TC.properties is a build properties file containing values that need to match the install locations of components above.
CD into the dist directory from PO_HOME. This is the home path for all the build commands below.
command ant -f tc_bld.xml init cp-tomcat-endorsed cp-tomcat-shared cp-axis-webapp
StartTomcat with command bin\catalina start in Tomcat's Home directory
Verify http://127.0.0.1:8080/axis is one of the links used for Axis installation Verification
STOP Tomcat with command bin\catalina stop
command ant -f tc_bld.xml init cp-tomcat-prop cp-tomcat-conf-data cp-axis-jars

build cmd installs the PostOffice WebApp, copying WAR file and some config data along with normal application jar files which must be copied to axis webapp
Start Tomcat to auto deploy the WebApp, War file gets exploded to WebApp directory matching the file name
StopTomcat
manual edit 2 properties files located in the dist\config directory. ftp.properties , log4j.propertiesare the files with Property values that need to match the variables from component installations in the first 6 install steps.
commandant -f tc_bld.xml init properties.jar
Start Tomcat
command ant -f tc_bld.xml init wsdd is the target to run the Axis Admin tool to deploy the WebServices found in several .wsdd deployment files
Verify Once again with new Tomcat port numbers if you changed them http://127.0.0.1:80/axis is used for Axis installation Verification. Also clik on the view link in order to verify the PostOffice Web service was deployed OK. Does urn:EchoAttachmentsService exist in the list of deployed web services? Find this service and clik on it's WSDL link to view the wsdl signature.
Client App Instructions for the client install are on the web site. Install client. Use the command line below the end of the table for running the client.
Browser Access the setup forms http://localhost/ftp-examples/create_b2bpo_demo.jsp lets you create an interface. When challenged by the app. for credentials, see Create New Topic for login information.
    bin/b2bpo data.source.sourcedirectory=/data/outbnd 
    data.source.filename=tm1102a.txt