FireDaemon Forums
Go Back   FireDaemon Forums > Support > HOWTOs: Application Tutorials > Java Servlet, JSP and XML Engines

Java Servlet, JSP and XML Engines HOWTOs and Tutorials regarding integrating FireDaemon with various Java Servlet, JSP and XML Engines.


Reply
 
Thread Tools Display Modes
  James Bourne's time 22nd August 2005, 07:38 PM    #1  
Old 22nd August 2005, 09:38 AM
James Bourne's Avatar
James Bourne James Bourne is offline
FireDaemon Tech Supp
 
Join Date: Jun 2005
Location: Sydney, AU
Posts: 604
Send a message via Skype™ to James Bourne
Default Camtech Merchant Server (Java)



How To Run The Camtech Merchant Server as a FireDaemon Service

The Camtech Merchant Server is a Java application that acts as a secure payment gateway. This is how you set it up to run as a service under FireDaemon.

1. Install J2SE v1.4.1 or v1.4.2 JRE. You can obtain the downloadable executable from here.

2. Install The Camtech Merchant Server software (v6.2.x). You can obtain the downloadable executable from here.

3. Obtain you merchantserver.config file from Camtech and drop it in your Merchant Server installation directory (eg. C:\Program Files\MerchantServer).

3. Install FireDaemon. FireDaemon can be downloaded here.

4. Start the FireDaemon GUI:



5. Click the New Service Definition button.



Fill out the fields as per below (adjust paths to suit your installation):

Code:
Short Name: Camtech
Display Name: Camtech
Description: Camtech Merchant Server
Console Application: Checked
Executable: C:\Program Files\Java\j2re1.4.2_09\bin\java.exe
Working Directory: C:\Program Files\MerchantServer\bin
Parameters: -Xrs -verbose -Xnoclassgc -Dinstall.root="%INSTALL_ROOT%" -DMerchantServer.log="%LOG_FILE%" -cp "%CLASSPATH%" "%JARFILE%" %PORT%
6. Click on the Dependencies tab.



Add lanmanworkstation (the Workstation service) to the section This service depends on the following Services. Introducing this dependency ensures the Camtech Merchant Server starts after TCP/IP and CIFS/SMB has been initialised (assuming you have not disabled the Workstation service!).

7. Click on the Environment tab.



Append the following environment variables in the order below (adjust paths and values to suit your installation):

Code:
JAVA_HOME: C:\Program Files\Java\j2re1.4.2_09
INSTALL_ROOT: C:\Program Files\MerchantServer
LOG_FILE: %INSTALL_ROOT%\tcpdaemon.log
CLASSPATH: %INSTALL_ROOT%\jars\iaik_jce.jar;%INSTALL_ROOT%\jars\MerchantServer.jar;%INSTALL_ROOT%\jars\activation.jar;%INSTALL_ROOT%\jars\mail.jar
JARFILE: au.com.camtech.ec.wrappers.tcpdaemon.TcpDaemon
PORT: 1000
8. Click the Install button.



The service will have installed and FireDaemon will have started java.exe (check for the process in Task Manager). Camtech Merchant Server will write a debug log file called tcpdaemon.log to the %INSTALL_ROOT%. Ensure this file is being created (if not then Java is not starting correctly due to a bad parameter or path) and examine the file for any startup errors.

The Camtech / FireDaemon alliance reference can be found here:

http://www.camtech.com.au/support/faqs/firedaemon.htm
Reply With Quote
Reply

Bookmarks

Tags
camtech, java, merchant, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

 
Free 30 Day Trial

Join our Newsletter
Once a month we poke the right people on product releases and promos.



Connect with us



Latest HOWTOs



All times are GMT. The time now is 03:20 AM.


Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
Copyright © 2009 FireDaemon Technologies Limited

[Close]