Article delegate-en/2862 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Delegate settings
21 Mar 2005 17:46:25 GMT MEIRA Sandro <pfyfqbdyi-omp2wg25calr.ml@ml.delegate.org>
Renault do Brasil S.A.


Good morning Mr. Sato,

May name is Sandro Meira, and I work in Renault Brazil like system analyst.
We are starting to utilize delegate to make the security communication between dealer and Renault server.
We installed delegate in the PC on dealer, and we schedule the sends from Dealer by the other software (WinCron - http://ryerson.ca/~sgray). The dealer utilizes PCs with Windows 98.

First we start the proxy, by the file stproxy.bat:

*********	stproxy.bat	********
@echo off

SET PATH=

echo Proxy delegate for TDFA connexion is starting
SET TMPDIR=c:\TDFA\DELEGATE\TMP
SET DGROOT=c:\TDFA\DELEGATE
SET ACTDIR=c:\TDFA\DELEGATE\TMP
SET ADMIN=ricardo.z.biermeier@renault..
SET COUNTRY=br
C:\tdfa\bin\delegate.exe -vd -P8081 "ACTDIR=%ACTDIR%" ADMIN="%ADMIN%" FSV="c:\tdfa\bin\sslway.exe -co -cert c:\tdfa\cert\07600205.pem -client_auth" SERVER=http RELIABLE="." MOUNT="/* https://www-dcs.%COUNTRY%.renault.com:1443/*"
*********	stproxy.bat	********

We start the port 8081 for the 07600205.pem certificate.
After, we send the files by others files batchs. First, the cr1tdf1.bat:

*********	cr1tdf1.bat	********
@echo off
REM Process TDFA with TDFA log rotation
CD C:\
REM cronlog file cronlog1.txt will be deleted 
REM the previous cronlog file will be saved in cronlog1s.txt
COPY C:\dcs-repository\cronlog1.txt C:\dcs-repository\cronlog1s.txt
DEL C:\dcs-repository\cronlog1.txt
SET PASTDFA=PROCESS TDFA 1
SET FICTRAC=C:\dcs-repository\cronlog1.txt
CALL C:\tdfa\appli\applitdf1.bat 1
*********	cr1tdf1.bat	********

This batch calls the applitdf1.bat. It's really sends the files for the 07600205.pem.

*********	applitdf1.bat	********
@echo off
REM File Transfer Execution using JAVA Application
CD C:\
TYPE C:\TDFA\APPLI\VERSION.TXT >> %FICTRAC%
C:\TDFA\BIN\LOGHEURE.exe >> %FICTRAC%
ECHO %PASTDFA% >> %FICTRAC%
ECHO "Searching files list from directory OUT ..."
ECHO "Content of directory OUT " >> %FICTRAC%
DIR /b c:\dcs-repository\out >> %FICTRAC%
ECHO "Content of directory IN " >> %FICTRAC%
DIR /b c:\dcs-repository\in >> %FICTRAC%
ECHO "TDFA JAVA Application is starting"
c:\tdfa\jdk\bin\java -classpath c:\tdfa\jdk\lib\classes.zip;c:\tdfa\appli\tdfapplication.jar;. dcs.tdf.applet.TDFAuto -f c:\tdfa\config\tdfa1_%1%.props
ECHO File Transfer done
ECHO Waiting for 20 seconds
C:\tdfa\bin\sleep 2
ECHO "Searching files list from directory OUT ..."
ECHO "Content of directory OUT " >> %FICTRAC%
DIR /b c:\dcs-repository\out >> %FICTRAC%
ECHO "Content of directory IN " >> %FICTRAC%
DIR /b c:\dcs-repository\in >> %FICTRAC%
C:\TDFA\BIN\LOGHEURE.exe >> %FICTRAC%
ECHO "End of TDFA" >> %FICTRAC%
DEL C:\dcs-repository\out\*.tmp
DEL C:\dcs-repository\in\*.tmp
ECHO TDFA process ended
*********	applitdf1.bat	********

We need to make this settings for six certificates, to tour on in the same PC.
Then, we setting six files stproxyX.bat, like: stproxy1.bat, stproxy2.bat, stproxy3.bat, stproxy4.bat, stproxy5.bat and stproxy6.bat. In each file stproxy we open one different port. For stproxy1, we open the port 8081. For stproxy2, port 8082. For stproxy3, port 8083. For stproxy4, port 8084. For stproxy5, port 8085. For stproxy6, port 8086.

Problem:

We start stproxy1.bat, to open the port 8081. The result is ok.
	-P8081 READY

After that, the files are transferred.

We start stproxy2.bat, to open the port 8082. The result is ok.
	-P8082 READY

After that, the files are transferred.

We start stproxy3.bat, to open the port 8083. The result is ok.
	-P8083 READY

But, after that, the files are not transferred.

We start stproxy4.bat, to open the port 8084. The result is ok.
	Cannot open server port 8084

The same happen to the strproxy5 and 6.

I made same tests, and I verify that we can keep two ports opened in the same time. So, if I close the port 8081 before open the port 8083, then the port is opened and the files are sends.
We need that the files are sent with the six ports opened in the same time.
Could you help us to make this settings tour on in Renault?

Thanks a lot.


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V