Re: [Hypercontent-users] Publishing projects via sftp
Brought to you by:
alexvigdor
From: <ke...@la...> - 2005-12-06 18:48:38
|
I can see the form to put in the username and password, but when I submit= this form computer goes down for few minutes. Wich class is processing this fo= rm after submit? Cit=E7ju Alex Vigdor <av...@co...>: > Hi, > I probably should reclassify that error as a debug message: the =3D > =3D20 > UserInputException is how the filesystem communicates to the 2.0 =3D20 > framework that a login is required to access it. So it is a useful =3D= 20 > exception; it triggers the username and password prompts to appear on =3D= 20=3D >=20 > the Publish workflow screen. This may take a few seconds, so you may =3D= 20=3D >=20 > not see the login box initially, but it will show up once the =3D20 > asynchronous batch processor kicks off the publishing process. You =3D= 20 > don't need to make any changes to the project definition. >=20 > I've posted a screenshot of how the login box will appear on the 2.0 =3D= 20 > help site >=20 > http://hypercontent.sourceforge.net/help/project/filesystems/login.html >=20 > Cheers, > Alex >=20 > On Dec 6, 2005, at 8:15 AM, ke...@la... wrote: >=20 > > Hello! > > > > What should I write in the project-definition.xml file to publish my = =3D20=3D >=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=3D3D"http://www.lu.lv/"> > > <filesystem-def name=3D3D"lu_publish" type=3D3D"sftp"> > > <argument index=3D3D"0" value=3D3D"www.lu.lv"/> > > <argument index=3D3D"1" prompt=3D3D"username" =3D > type=3D3D"text"/> > > <argument index=3D3D"2" prompt=3D3D"password" =3D > type=3D3D"password"/> > > <argument index=3D3D"3" value=3D3D"/var/www/html/"/> > > <argument index=3D3D"4" value=3D3D"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 ente= r =3D > =3D20 > > valid > > responses to the user prompts > > at > > =3D > org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(Fi= =3D20=3D >=20 > > leSystemFactory.java:180) > > at =3D > org.hypercontent.filesystem.FSMount.getManager(FSMount.java:86) > > at > > =3D > org.hypercontent.workflow.exec.impl.AbstractBatchExecutable.cleanup(Abs= =3D20=3D >=20 > > tractBatchExecutable.java:562) > > at =3D20 > > org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:=3D= 20=3D >=20 > > 201) > > at java.lang.Thread.run(Unknown Source) > > > > and only after that HyperContent2 asks me to input username and =3D20 > > password. But > > when I press button "Submit Query" after putting in all necessary dat= a > > computer's processor becomes busy by tomcat process for 100% for 5-10= =3D20=3D >=20 > > minutes. > > After that time nothing is published, but H2 asks me to input data =3D= 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=3D3D"1" value=3D3D"..."/> > > <argument index=3D3D"2" value=3D3D"..."/>) everything works perfect. > > > > Thank you! > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through lo= g =3D > =3D20 > > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD =3D > SPLUNK! > > http://ads.osdn.com/?ad_idv37&alloc_id=3D16865&op=3D3Dclick > > _______________________________________________ > > Hypercontent-users mailing list > > Hyp...@li... > > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > 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_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >=20 >=20 |