I have an issue with my ATG store application.
Content of the jsp is written to the browser instead of rendering it.
http://localhost:7001/ourbusiness/b?N=129&Ept=acc
<!-- Result in Browser -->
<dsp:page>
<dsp:include page="/global/endeca-helper-component.jsp" />
</dsp:page>
<!-- Result in Browser ENDS -->
AdminServer.Log is below
odel.Record@7ad68151, com.endeca.infront.cartridge.model.Record@18c42bd8, com.endeca.infront.cartridge.model.Record@771a7e9b, com.endeca.infront.cartridge.model.Record@6c6e2f33, com.endeca.
tridge.model.Record@35dcf4e2, com.endeca.infront.cartridge.model.Record@3d513d0e], precomputedSorts=[]}]}]}]}
**** debug Tue Oct 21 16:28:27 CDT 2014 1413926907491 /atg/endeca/assembler/AssemblerPipelineServlet No site base URL found, initializing dispatcher with path: /cartridges/PageSl
.jsp
<Oct 21, 2014 4:28:43 PM CDT> <Info> <Health> <BEA-310002> <176176670f the total memory in the server is free>
Can you please throw some lights to this issue?
Solution :
The below block has been missing in eBiz-CE1‘s Config.xml -Weblogic server and highlighted is a key for an issue as missing .
<web-app-container>
<relogin-enabled>false</relogin-enabled>
<allow-all-roles>false</allow-all-roles>
<filter-dispatched-requests-enabled>false</filter-dispatched-requests-enabled>
<overload-protection-enabled>false</overload-protection-enabled>
<x-powered-by-header-level>SHORT</x-powered-by-header-level>
<mime-mapping-file>./config/mimemappings.properties</mime-mapping-file>
<optimistic-serialization>false</optimistic-serialization>
<rtexprvalue-jsp-param-name>false</rtexprvalue-jsp-param-name>
<client-cert-proxy-enabled>false</client-cert-proxy-enabled>
<http-trace-support-enabled>false</http-trace-support-enabled>
<weblogic-plugin-enabled>true</weblogic-plugin-enabled>
<auth-cookie-enabled>true</auth-cookie-enabled>
<wap-enabled>false</wap-enabled>
<post-timeout-secs>30</post-timeout-secs>
<max-post-time-secs>-1</max-post-time-secs>
<max-post-size>-1</max-post-size>
<work-context-propagation-enabled>true</work-context-propagation-enabled>
<jsp-compiler-backwards-compatible>false</jsp-compiler-backwards-compatible>
<show-archived-real-path-enabled>false</show-archived-real-path-enabled>
<change-session-id-on-authentication>true</change-session-id-on-authentication>
</web-app-container>
Thanks to Robert Sebastian for the fix:
Content of the jsp is written to the browser instead of rendering it.
http://localhost:7001/ourbusiness/b?N=129&Ept=acc
<!-- Result in Browser -->
<dsp:page>
<dsp:include page="/global/endeca-helper-component.jsp" />
</dsp:page>
<!-- Result in Browser ENDS -->
AdminServer.Log is below
odel.Record@7ad68151, com.endeca.infront.cartridge.model.Record@18c42bd8, com.endeca.infront.cartridge.model.Record@771a7e9b, com.endeca.infront.cartridge.model.Record@6c6e2f33, com.endeca.
tridge.model.Record@35dcf4e2, com.endeca.infront.cartridge.model.Record@3d513d0e], precomputedSorts=[]}]}]}]}
**** debug Tue Oct 21 16:28:27 CDT 2014 1413926907491 /atg/endeca/assembler/AssemblerPipelineServlet No site base URL found, initializing dispatcher with path: /cartridges/PageSl
.jsp
<Oct 21, 2014 4:28:43 PM CDT> <Info> <Health> <BEA-310002> <176176670f the total memory in the server is free>
Can you please throw some lights to this issue?
Solution :
The below block has been missing in eBiz-CE1‘s Config.xml -Weblogic server and highlighted is a key for an issue as missing .
<web-app-container>
<relogin-enabled>false</relogin-enabled>
<allow-all-roles>false</allow-all-roles>
<filter-dispatched-requests-enabled>false</filter-dispatched-requests-enabled>
<overload-protection-enabled>false</overload-protection-enabled>
<x-powered-by-header-level>SHORT</x-powered-by-header-level>
<mime-mapping-file>./config/mimemappings.properties</mime-mapping-file>
<optimistic-serialization>false</optimistic-serialization>
<rtexprvalue-jsp-param-name>false</rtexprvalue-jsp-param-name>
<client-cert-proxy-enabled>false</client-cert-proxy-enabled>
<http-trace-support-enabled>false</http-trace-support-enabled>
<weblogic-plugin-enabled>true</weblogic-plugin-enabled>
<auth-cookie-enabled>true</auth-cookie-enabled>
<wap-enabled>false</wap-enabled>
<post-timeout-secs>30</post-timeout-secs>
<max-post-time-secs>-1</max-post-time-secs>
<max-post-size>-1</max-post-size>
<work-context-propagation-enabled>true</work-context-propagation-enabled>
<jsp-compiler-backwards-compatible>false</jsp-compiler-backwards-compatible>
<show-archived-real-path-enabled>false</show-archived-real-path-enabled>
<change-session-id-on-authentication>true</change-session-id-on-authentication>
</web-app-container>
Thanks to Robert Sebastian for the fix:
This comment has been removed by a blog administrator.
ReplyDeleteSorry Prabhat, I accidently got your post deleted.
ReplyDelete##############
Prabhat Mishra has left a new comment on your post "JSP content redering as it is - Weblogic + ATG 10....":
Hi,
I tried this solution but it did not work. Is there anything else I need to verify?
Thanks
##############
In windows, make this config change explicityly in the file.
\STORE\j2ee-apps\Store\###WEB-INF\weblogic.xml
see the contents here - http://expressinterest.in/blog/Capture.PNG
Also, ensure that your changes are reflected in the file system after you deploy.