Home
TeamSite
OD 6.0 - Full FTP Example
Gregg Faus
Could someone post a full example of a deployment config and FTP adapter config that works? I'm been beating myself all day trying to get this thing working. Here is what I've done.
1) Set up FTP site on a target server (pidev02) that already has OD installed.
2) Created deployment config (see attachment ftp_test.xml)
3) Created FTP adapter config (see ftp_config.cfg) and placed in c:\temp as specified in parameter attribute
4) Ran deployment and it failed. I've tried stopping the OD service on the target server just to make sure FTP connection is being attempted.
To me, the deployment still tries to use the OD service even though the config uses the FTP adapter. The relevant portions of the logs are listed below:
OD Service Started
LIB: 2004-07-08 22:10:19 ERROR: prepare-failed.
LIB: 2004-07-08 22:10:19 Receiver-ERROR: ERROR: [\] is not an allowed deployment path.
LIB: 2004-07-08 22:10:19 ERROR: Failed to deploy local_directory[.\web] of area[Y:\default\main\projects\project_name_here\EDITION\INITIAL]
LIB: 2004-07-08 22:10:19 ERROR: Failed 1 of 1 local_directories
OD Service Stopped
ENG: 2004-07-08 23:26:09 BST GMT+01:00 Thread-28 ***ERROR - Job ID=m14Deployment=ftp_test_rideshare511
Base: Exceeded all 3 retries to get a connection with the target OpenDeploy host.
Failed creating socket.
So based on my configs, why isn't the adapter being used?
Thanks.
Find more posts tagged with
Comments
Migrateduser
I think the problem is that the OD and FTP targets are the same in your configs ("pidev02").
Think of a deployment with a delivery adapter as a multi-tiered deployment:
Source Base Server --> Target Base Server --> FTP target
The source and target Base Servers can be the same physical instance (loopback deployment). The target Base Server will then spin up the adapter and FTP the manifest of files it received. No OD software needs to be installed on the FTP target host.
Todd Scallan
Director of Product Management
Interwoven
t: 408-530-7167
e:
tscallan@interwoven.com
anthonyl
Is there any logging at all for the ftp adapter? I am getting a sucessful loopback deployment, but no files are appearing on the remote FTP machine... OD logs all say the (initial) deployment was successful, but no files appear on the remote host.
Cheers,
Anthony
Gregg Faus
There is a separate FTP log file in your ODHOME\log directory. The file should be similar to the following:
servername_ftpadapter.log
.
The logging is very verbose so you should be able to diagnose the problem.
anthonyl
Thanks for your help! After tracking the lack of that logfile down to jndi problems and reinstalling OpenDeploy, we were able to troubleshoot the ftp problem succesfully.
Cheers,
Anthony.