You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Roy, Ansuman" <an...@logicacmg.com> on 2006/01/23 08:36:46 UTC

problem in publishing

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=showscreen


An Error Occurred


org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP"

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://scheduler/default/authoring/index.html.xsl?pipelinehash=2097476346120093920: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler

cause: org.apache.commons.httpclient.HttpRecoverableException: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP"

full exception chain stacktrace[show] 

org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://scheduler/default/authoring/index.html.xsl?pipelinehash=2097476346120093920: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler


regards, 
Roy


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: problem in publishing

Posted by Bob Harner <bo...@gmail.com>.
On 1/23/06, Henrik Kramshøj <hl...@kramse.dk> 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 user@server
> 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: hlk@security6.net, 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/user@lenya.apache.org/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/%3Ca81bf3880511151350u3c6d58abv66cb43ff1cced37c@mail.gmail.com%3E
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: problem in publishing

Posted by Henrik Kramshøj <hl...@kramse.dk>.
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 user@server
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: hlk@security6.net, tlf: 2026 6000
www.security6.net - IPv6, sikkerhed, netværk
Follower of the Great Way of Unix


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org