Re: [Hypercontent-users] Publishing projects via sftp
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-12-06 14:51:52
|
Hi What version of HyperContent 2 are you running? There was a ftp bug in RC1 that has now been fixed in the final version. Carl ke...@la... wrote: >Hello! > >What should I write in the project-definition.xml file to publish my project to >the remote server? > >When I'm trying to use the same definition as was used in the >project-definition.xml from HyperContent 1.4( ><publish base-url="http://www.lu.lv/"> > <filesystem-def name="lu_publish" type="sftp"> > <argument index="0" value="www.lu.lv"/> > <argument index="1" prompt="username" type="text"/> > <argument index="2" prompt="password" type="password"/> > <argument index="3" value="/var/www/html/"/> > <argument index="4" value="0775"/> > </filesystem-def> > </publish> >), I'm getting the error in the log file: > >ERROR 2005-12-06 16:10:48,671 >org.hypercontent.project.exceptions.UserInputException: You must enter valid >responses to the user prompts > at >org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(FileSystemFactory.java:180) > at org.hypercontent.filesystem.FSMount.getManager(FSMount.java:86) > at >org.hypercontent.workflow.exec.impl.AbstractBatchExecutable.cleanup(AbstractBatchExecutable.java:562) > at org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:201) > 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 minutes. >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="1" value="..."/> ><argument index="2" value="..."/>) everything works perfect. > >Thank you! > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Hypercontent-users mailing list >Hyp...@li... >https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |