[Hypercontent-users] Publishing projects via sftp
Brought to you by:
alexvigdor
From: <ke...@la...> - 2005-12-06 14:40:10
|
Hello! What should I write in the project-definition.xml file to publish my proj= ect to the remote server?=20 When I'm trying to use the same definition as was used in the project-definition.xml from HyperContent 1.4( <publish base-url=3D"http://www.lu.lv/"> <filesystem-def name=3D"lu_publish" type=3D"sftp"> <argument index=3D"0" value=3D"www.lu.lv"/> <argument index=3D"1" prompt=3D"username" type=3D"text"/> <argument index=3D"2" prompt=3D"password" type=3D"password"/> <argument index=3D"3" value=3D"/var/www/html/"/> <argument index=3D"4" value=3D"0775"/> </filesystem-def> </publish> ), I'm getting the error in the log file:=20 ERROR 2005-12-06 16:10:48,671 =20 org.hypercontent.project.exceptions.UserInputException: You must enter va= lid responses to the user prompts at org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(File= SystemFactory.java:180) at org.hypercontent.filesystem.FSMount.getManager(FSMount.java:86) at org.hypercontent.workflow.exec.impl.AbstractBatchExecutable.cleanup(Abstr= actBatchExecutable.java:562) at org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:2= 01) at java.lang.Thread.run(Unknown Source) and only after that HyperContent2 asks me to input username and password.= But when I press button "Submit Query" after putting in all necessary data computer's processor becomes busy by tomcat process for 100% for 5-10 min= utes. After that time nothing is published, but H2 asks me to input data again = or sometimes I'm getting other errors with workflow-data. When username and password is shown in the project-definition.xml directly(<argument index=3D"1" value=3D"..."/> <argument index=3D"2" value=3D"..."/>) everything works perfect. Thank you! =20 |