[ 
https://issues.apache.org/jira/browse/OFBIZ-13067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841256#comment-17841256
 ] 

Jacques Le Roux edited comment on OFBIZ-13067 at 4/27/24 6:52 AM:
------------------------------------------------------------------

Like for OFBIZ-13071, it's again a spider bot issue.

Using R18.12, you can't get to cmssite/cms/APACHE_OFBIZ_HTML and this error 
appears.

 
{noformat}
3.134.81.206 - - [26/Apr/2024:05:21:25 +0000] "GET 
/cmssite/cms/APACHE_OFBIZ_HTML HTTP/1.1" 200 34508 "-" "Mozilla/5.0 
AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; 
+claude...@anthropic.com)"
2024-04-26 05:21:25,007 |-0.0.0.0-8009-exec-8 |RequestHandler                
|E| Request cms caused an error with the following message: Error calling 
event: org.apache.ofbiz.webapp.event.EventHandlerException: Problems processing 
event: org.apache.ofbiz.base.util.GeneralRuntimeException: Error in the 
response writer/output stream while rendering content [APACHE_OFBIZ_HTML] with 
path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such 
file or directory)) (Error in the response writer/output stream while rendering 
content [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] 
(/ofbiz/runtime/tempfiles/docbook.css (No such file or directory)))
{noformat}
Same in trunk, though there you get a "cmsSite : 404 Not Found", and you get 
this in log:
{noformat}
|CmsEvents                     |W| Could not verify contentId 
[APACHE_OFBIZ_HTM] to webSiteId [CmsSite], returning code: 404{noformat}
I guess only a missed backport.

BTW, in both, even not signed in, you can get to cmssite/cms?APACHE_OFBIZ_HTML. 
It's OK, this URI does not need auth. It's only static.


was (Author: jacques.le.roux):
Like for OFBIZ-13071, it's again a spider bot issue.

Using R18.12, if you are not signed in, you can't get to 
cmssite/cms/APACHE_OFBIZ_HTML and this error appears.

 
{noformat}
3.134.81.206 - - [26/Apr/2024:05:21:25 +0000] "GET 
/cmssite/cms/APACHE_OFBIZ_HTML HTTP/1.1" 200 34508 "-" "Mozilla/5.0 
AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; 
+claude...@anthropic.com)"
2024-04-26 05:21:25,007 |-0.0.0.0-8009-exec-8 |RequestHandler                
|E| Request cms caused an error with the following message: Error calling 
event: org.apache.ofbiz.webapp.event.EventHandlerException: Problems processing 
event: org.apache.ofbiz.base.util.GeneralRuntimeException: Error in the 
response writer/output stream while rendering content [APACHE_OFBIZ_HTML] with 
path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such 
file or directory)) (Error in the response writer/output stream while rendering 
content [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] 
(/ofbiz/runtime/tempfiles/docbook.css (No such file or directory)))
{noformat}
Same in trunk, though there you get a "cmsSite : 404 Not Found", and you get 
this in log:
{noformat}
|CmsEvents                     |W| Could not verify contentId 
[APACHE_OFBIZ_HTM] to webSiteId [CmsSite], returning code: 404{noformat}
I guess only a missed backport.

BTW, in both, even not signed in, you can get to cmssite/cms?APACHE_OFBIZ_HTML. 
It's OK, this URI does not need auth. It's only static.

> Error while rendering content [APACHE_OFBIZ_HTML]
> -------------------------------------------------
>
>                 Key: OFBIZ-13067
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13067
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: 18.12.12
>            Reporter: Jacques Le Roux
>            Priority: Minor
>              Labels: docbook.css
>             Fix For: 18.12.13
>
>
> This error exists only in R18.12 and it clutters the logs a bit. 
> I have yet no idea how to reproduce it.
> It seems related to CmsEvents.java and a "XSLT" template. It's the only place 
> where "runtime/tempfiles/docbook.css" is created:
> {code:java}
>             } else if ("XSLT".equals(dataTemplateTypeId)) {
>                 File targetFileLocation = new 
> File(System.getProperty("ofbiz.home")+"/runtime/tempfiles/docbook.css");
> {code}
> That's in DataResourceWorker.java[725]
>  
> But the error appears elsewhere (see end of log below):
>  
> {noformat}
> (No such file or directory))
> at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:327) 
> ~[ofbiz.jar:?]
> {noformat}
>  
>  Here the complete log error:
> {noformat}
> 2024-04-24 10:25:31,020 |0.0.0.0-8009-exec-20 |RequestHandler |E| Request cms 
> caused an error with the following message: Erreur lors de l'appel de 
> l'événement: org.apache.ofbiz.webapp.event.EventHandlerException: Problems 
> processing event: org.apache.ofbiz.base.util.GeneralRuntimeException: Error 
> in the response writer/output stream while rendering content 
> [APACHE_OFBIZ_HTML] with path alias [APACHE_OFBIZ_HTML] 
> (/ofbiz/runtime/tempfiles/docbook.css (No such file or directory)) (Error in 
> the response writer/output stream while rendering content [APACHE_OFBIZ_HTML] 
> with path alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No 
> such file or directory)))
> 2024-04-24 10:25:31,025 |0.0.0.0-8009-exec-20 |JavaEventHandler |E| Problems 
> Processing Event
> org.apache.ofbiz.base.util.GeneralRuntimeException: Error in the response 
> writer/output stream while rendering content [APACHE_OFBIZ_HTML] with path 
> alias [APACHE_OFBIZ_HTML] (/ofbiz/runtime/tempfiles/docbook.css (No such file 
> or directory))
> at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:327) 
> ~[ofbiz.jar:?]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to