It doesn't appear that you followed the instructions in section "4.5.3
HTTP Service Loader Service (STAFHTTPSLS)" in the STAF User's Guide at
http://staf.sourceforge.net/current/STAFUG.htm#HDRSERVICELOADERCFCG. It
says that you have to register the HTTP Service Loader Service in your
STAF.cfg file and specify in its parameters a CONFIGFILE option that
specifies the location of the configuration file (that you create) that
the HTTP service loader service should use. The contents of this file
must follow the syntax specified in section "HTTPSLS Configuration File"
or the HTTP Service Loader Service registration will fail.
For example:
# Add HTTP Service Loader Service on Windows using local HTTPSLS config
file
SERVICELOADER LIBRARY JSTAF EXECUTE
{STAF/Config/STAFRoot}/bin/STAFHTTPSLS.jar \
PARMS "CONFIGFILE {STAF/Config/STAFRoot}/bin/httpsls.cfg"
You have to create the configuration file that this HTTP service loader
service uses. Each service that you want the HTTP service loader service
to load must have a SERVICE entry in the HTTPSLS configuration file. The
syntax for each service is similar to the SERVICE syntax used when
registering a STAF service in the STAF configuration file.
So, it's this HTTPSLS Configuration File (not the STAF.cfg file) that
should contain an entry to register the Email service specifying a url for
the EXECUTE option.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: George <softworx...@gmail.com>
To: staf-users@lists.sourceforge.net,
Date: 08/26/2011 03:14 PM
Subject: [staf-users] Proxy server for loading service
All,
I am trying to centralize my staf services within a central web server.
Yet when staf attempts to load the service it fails with:
C:\STAF\bin>STAFProc.exe
Error on Service definition line:
SERVICE EMAIL LIBRARY JSTAF EXECUTE
http://smasvn.co.com:9595/staf/STAFEmail.ja
r PARMS "MAILSERVERmailhost.co.comNORESOLVEMESSAGE"
Error code: 38
Reason : Error constructing service, JSTAF, Result: Unable to open jar
file:
http://smasvn.co.com:9595/staf/STAFEmail.jar
Error in configuration file: C:\STAF\bin\STAF.cfg
Where my entry of the service in STAF.cfg is:
SERVICE EMAIL LIBRARY JSTAF \
EXECUTEhttp://smasvn.co.com:9595/staf/STAFEmail.jar \
PARMS "MAILSERVERmailhost.co.comNORESOLVEMESSAGE"
I think staf is unable to see the jar due to a proxy server. Is there a
way I can configure a proxy server and port
within the STAF.cfg such that I can load/execute these services via
http://?
Thanks
-george
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users