[opencms-dev] missing flex.jsp.repository directory setting in 6.0

Denham, Martin Martin.Denham at edfenergy.com
Thu Feb 24 15:58:09 CET 2005


Hi Alex,

Thanks for that information.  Setting 
	<loader class="org.opencms.loader.CmsJspLoader">
		<param name="jsp.folder">/jsp/</param>
	</loader>
moved the jsp folder up one level, which was what I wanted to do.

The application is not far from running smoothly on Weblogic, but there are still a few noticeable problems which are probably due to the software being in beta.  I am also using Oracle 9i which had problems under OpenCms 5 and I am aware is not your prefered database.

Here are some of the problems I have noticed so far:

1. The header toolbar on the Administration Workplace is garbled because the frame does not appear to be high enough.  I can just make out the combo boxes, text, and icons.

2. The 404 error page is not accessible:
<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101305> <[ServletContext(id=32219102,name=opencms,context-path=/opencms)] Error-page location: "/opencms/handle404" for the error-code: "404" causes an infinite loop condition as it throws the same code for which it has been mapped.> 

3. Initially the logo_opencms_large.gif was not visible on the home page although I could see it in the workplace.  Touching and publishing the file did not help, but it appeared after restarting weblogic.  In fact a lot of unusual problems appeared to be fixed by restarting weblogic after the initial setup.

4. Setup went quite smoothly except for a pdf indexing problem:
7449:	( 515 ) Indexing file OpenCms6_Alkacon_Business.pdf ...
7450:	   !!!  failed : Timeout while indexing file /sites/default/demopages/search-demo/OpenCms6_Alkacon_Business.pdf, abandoning thread
7451:	( 516 ) Indexing file TN_0027_OpenCms_Workplace_structure.pdf ...
7452:	   !!!  failed : Timeout while indexing file /sites/default/demopages/search-demo/TN_0027_OpenCms_Workplace_structure.pdf, abandoning thread

5. The result screen which appears after publishing does not appear to be layed out correctly.  Everything is pushed over to the left and there are 2 rows of Ok, Cancel, Details buttons.  The Cancel button on the second row is never enabled.

I have not spent a lot of time testing it but apart from those little issues the system is looking really good.  I like all the new documentation and features.

thanks

Martin


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]On Behalf Of Alexander Kandzior
Sent: 23 February 2005 22:52
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] missing flex.jsp.repository directory setting
in 6.0


Martin

That configuration option is now located in the file opencms-vfs.xml. There
is a set of parameters you can pass to the CmsJspLoader, which handles the
JSP generation.

In opencms-vfs.xml locate the line:

<loader class="org.opencms.loader.CmsJspLoader" />

And replace it with something like this:

<loader class="org.opencms.loader.CmsJspLoader">
	<param
name="jsp.repository">/ust/local/tomcat/webapps/opencms/</param>
	<param name="jsp.folder">/WEB-INF/jsp/</param>
</loader>

The default for the "jsp.repository" (in Tomcat) is the web application
folder of OpenCms. The default for hte jsp.folder (inside the application
folder) is "/WEB-INF/jsp/". The folder where the JSPs are stored in the end
is jsp.repository + jsp.folder. So you also could initialize on of them with
the empty String and just give the full path where you want the JSPs written
with the other one. 

That init process is done in class
org.opencms.loader.CmsJspLoader#initConfiguration() [starts line 284].

Can you please mail me if you have success installing OpenCms 6.0 with BEA,
and if so what kind of configuration tweaks where required? 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Denham, Martin
> Sent: Wednesday, February 23, 2005 6:21 PM
> To: The OpenCms mailing list
> Subject: [opencms-dev] missing flex.jsp.repository directory 
> setting in 6.0
> 
> Hi,
> 
> To run OpenCms 5.0.1 on Weblogic we had to change 
> flex.jsp.repository from /WEB-INF/jsp to /jsp because 
> Weblogic cannot access jsps in WEB-INF.
> 
> Is there any equivalent to the flex.jsp.repository setting in 
> OpenCms 6.0?  I have searched for flex.jsp.repository but it 
> appears to have been removed.
> 
> thanks
> 
> Martin
> 
> 
> **************************************************************
> *********************
> EDF Energy plc internet e-mail disclaimer This e-mail and any 
> files transmitted with it are confidential and may be 
> protected by legal privilege.
> If you are not the intended recipient, please notify the 
> sender and delete the e-mail from your system.
> This e-mail has been scanned for malicious content but the 
> internet is inherently insecure and EDF Energy plc cannot 
> accept any liability for the integrity of this message or its 
> attachments. No employee or agent of EDF Energy plc or any 
> related company is authorised to conclude any binding 
> agreement on behalf of EDF Energy plc or any related company 
> by e-mail. All e-mails sent and received by EDF Energy plc 
> are monitored to ensure compliance with the company's 
> information security policy.
> **************************************************************
> *********************
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list