Re: [Hypercontent-users] Publishing projects via sftp
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-12-06 17:26:15
|
Hi, I probably should reclassify that error as a debug message: the = =20 UserInputException is how the filesystem communicates to the 2.0 =20 framework that a login is required to access it. So it is a useful =20 exception; it triggers the username and password prompts to appear on =20= the Publish workflow screen. This may take a few seconds, so you may =20= not see the login box initially, but it will show up once the =20 asynchronous batch processor kicks off the publishing process. You =20 don't need to make any changes to the project definition. I've posted a screenshot of how the login box will appear on the 2.0 =20 help site http://hypercontent.sourceforge.net/help/project/filesystems/login.html Cheers, Alex On Dec 6, 2005, at 8:15 AM, ke...@la... wrote: > Hello! > > What should I write in the project-definition.xml file to publish my =20= > 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=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: > > ERROR 2005-12-06 16:10:48,671 > org.hypercontent.project.exceptions.UserInputException: You must enter = =20 > valid > responses to the user prompts > at > = org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(Fi=20= > leSystemFactory.java:180) > at = org.hypercontent.filesystem.FSMount.getManager(FSMount.java:86) > at > = org.hypercontent.workflow.exec.impl.AbstractBatchExecutable.cleanup(Abs=20= > tractBatchExecutable.java:562) > at =20 > org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:=20= > 201) > at java.lang.Thread.run(Unknown Source) > > and only after that HyperContent2 asks me to input username and =20 > 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 =20= > minutes. > After that time nothing is published, but H2 asks me to input data =20 > 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! > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log = =20 > 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_id=16865&op=3Dclick > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |