On 1/23/06, Henrik Kramshøj <[EMAIL PROTECTED]> wrote: > > On 23/01/2006, at 8.36, Roy, Ansuman wrote: > > > Hi, > > > > I am currently deploying my Lenya1.2 build using tomcat and apache > > but getting the following exception when i try to publish any > > document. > > > > the url when i publish is : > > > > https://ufi-wa02-sg.groupinfra.com/lenya/default/authoring/ > > index.html?uris=/lenya/default/live/index.html&sources=index/ > > index_en.xml&task- > > id=publish&lenya.event=publish&lenya.usecase=publish&lenya.step=showsc > > reen > > > > > > An Error Occurred > This is a known problem in version 1.2 and needs a proxy-generator > patch to > cope with publishing from HTTPS. > - I dont remember the patch or url, sorry > > I would bet that you can publish fine from HTTP, I can > > I have tried patching my lenya but still have problems - something along > the lines og JAVA 1.5 and certificate stores etc. > > I have decided to just ssh to the server and forward my ports > > ssh -L 8123:127.0.0.1:8080 [EMAIL PROTECTED] > and then use the browser on http://127.0.0.1:8123 > > Then I can at least update my website when outside my own network > > Best regards > > Henrik > > -- > Henrik Lund Kramshøj, cand.scient, CISSP > e-mail: [EMAIL PROTECTED], tlf: 2026 6000 > www.security6.net - IPv6, sikkerhed, netværk > Follower of the Great Way of Unix >
Generally this means that the scheduler is unable to make an https connection to your site. If you set your log level to debug you'll see the URL that the scheduler is trying to connect to when you publish a document. Even if your authoring and live environment are on the same web server (which is usually the case), a network connection is made during the publishing process. This problem has been reported several times before (e.g. http://www.mail-archive.com/[email protected]/msg02046.html), but I don't think a complete answer has been given. There are several things that can cause the connectivity problem. To narrow it down: 1) Verify that your authoring server can connect to your live server, even if they are the same, using the live site's URL. If your authoring server has a windowing environment such as MS Windows or X-window, use your web browser from that machine; otherwise use the wget program, or the "GET" program that installs with Perl, or the lynx browser or equivalent. If you're using SSL on your live site, be sure that any command-line tool you use, such as wget, is set up to be able to make an SSL connection. If you can't connect, you'll need to solve that problem first (/etc/hosts.allow?) 2) If you're using SSL on your live site, make sure your SSL certificate is from a certificate authority that is in the trust store of your Java runtime. See http://mail-archives.apache.org/mod_mbox/lenya-user/200511.mbox/[EMAIL PROTECTED] for what I did. 3) If you're using SSL on your live site, apply the patch http://issues.apache.org/bugzilla/show_bug.cgi?id=36244 (I think this is the patch Henrik Kramshøj is referring to). Hope this helps... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
