[opencms-dev] RE: #12. openCMS installation exception? (Gaworski, Priemyslaw S)
Gaworski, Priemyslaw S
sgaworsk at email.uky.edu
Thu Oct 28 15:55:21 CEST 2004
Thanks to Steve (message 13) and Mike (message 14) for posting about my "openCMS installation exception" problems.
I am very ignorant of controlling installation and environment through commands so I am still "learning" what you have advice me.
However, even before I read your comments, I found solution on my own on one of my PC.
Windows.
First, I made sure I had only one JDSK (j2sdk1.4.2_05) installed and nothing else (I had like 2 or 3 of them at one point JRE, etc.)
I also uninstalled Been Jave or something like that .... A program I had form the past not really sure why on my PC. Not sure if this had any effect on the whole thing.
Second, I found on line about manually coping "tools.jar" from Java location to Tomcat location ... and that took care of the exception error. Then I run into an encoding error.
Based only on my experience, I think Mike that the encoding problem is not fixed as Java virtual machine has different encoding than what's required for OpenCMS.
Here is how I resolved this ... by typing this long thing in the command prompt. As long as I start Tomcat server this way, I can finished the openCMS installation and start using it (the last part I am about to do today aas I finally installed that yesterday)
C:\j2sdk1.4.2_05\bin\java.exe -jar -Dfile.encoding=ISO-8859-1 -Duser.dir="C:\Porgrams Files\Apache Software Foundation\Tomcat 5.0" "C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar" start
>From Mike message that quoted the below, I take that his way is just a more permanent and nicer way of accomplishing the same.
-----------------
startup.bat
-----------------
rem STARTUP.bat Tomcat start - 29 October 2003
c:
cd \progs\jakarta-tomcat-5.0.19
set JAVA_HOME=\java\j2sdk1.4.2_02
set JSEE_HOME=\java\j2eesdk1.4_beta2
set CATALINA_HOME=\progs\jakarta-tomcat-5.0.19
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
rem Start Tomcat
bin\startup
-------------------
shutdown.bat
-------------------
rem SHUTDOWN.bat Tomcat shutdown - 29 October 2003
c:
cd \progs\jakarta-tomcat-5.0.19
set JAVA_HOME=\java\j2sdk1.4.2_02
set JSEE_HOME=\java\j2eesdk1.4_beta2
set CATALINA_HOME=\progs\jakarta-tomcat-5.0.19
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
rem Shutdown Tomcat
bin\shutdown
Thanks Shamick
-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of opencms-dev-request at opencms.org
Sent: Thursday, October 28, 2004 6:00 AM
To: opencms-dev at opencms.org
Subject: opencms-dev Digest, Vol 12, Issue 4
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."
Today's Topics:
1. including external content without frames and iframes
(Kai Schliemann)
2. Re: including external content without frames and iframes
(Joachim Arrasz)
3. Re: OpenCms 6.0 alpha 2 released (Martin Kuba)
4. RE: including external content without frames andiframes
(Olli Aro)
5. Re: Include file html in JSP problem in Opencms6.0 (cdg3472)
6. Re: including external content without frames andiframes
(Joachim Arrasz)
7. Login as WebUser in OCMS6 ...other concepts instead of
webusers (Joachim Arrasz)
8. Re: Include file html in JSP problem in Opencms6.0 alpha 1
and alph a2 (cdg3472)
9. Re: empty workspace (was: OpenCms 6.0 alpha 2 released)
(Martin Kuba)
10. few functional questions (walter.de.wit at syntegra.com)
11. Problem Installing 6.0 alpha 1&2 on WinXP (Andreas Lemke)
13. RE: openCMS installation exception? (Steve)
14. RE: openCMS installation exception? (Mike Bachrynowski)
15. RE: [SPAM] - [opencms-dev] OpenCms 6.0 alpha 2 released -
Bayesian Filter detected spam (Fievet Marc)
16. xmlcontent blank page + siteroot empty error (Nicholas Hemley)
17. login without popup (George Karr)
18. xml document for default_bodies!? (Stephan L?ffler)
19. RE: Problem Installing 6.0 alpha 1&2 on WinXP (Alexander Kandzior)
20. RE: OpenCms 6.0 alpha 2 released - BayesianFilter detected
spam (Alexander Kandzior)
21. RE: xmlcontent blank page + siteroot empty error
(Alexander Kandzior)
22. RE: empty workspace (was: OpenCms 6.0 alpha 2 released)
(Alexander Kandzior)
23. Re: xmlcontent blank page + siteroot empty error (Thomas Maerz)
24. Re: login without popup (Thomas Maerz)
25. RE: xmlcontent blank page + siteroot empty error
(Alexander Kandzior)
26. missing /opencms/opencms/index.jsp ? (Kellen Dye)
27. RE: missing /opencms/opencms/index.jsp ? (Alexander Kandzior)
28. Re: missing /opencms/opencms/index.jsp ? (Thomas Maerz)
29. Re: missing /opencms/opencms/index.jsp ? (Kellen Dye)
30. Re: missing /opencms/opencms/index.jsp ? (Kellen Dye)
31. Inclusion loop error while going through the HowTos
(Marc Davenport)
32. Changing Admin user password (Kellen Dye)
33. OpenCMS Alpha 2 on Windows XP (Olli Aro)
34. Re: Two Body Elements under Opencms6 Alpha (mmihaili at csc.com.au)
35. Re: xml document for default_bodies!? (mmihaili at csc.com.au)
36. locale mechanism not working anymore in alpha 1 (Mariano Barcia)
37. RE: locale mechanism not working anymore in alpha 1
(Mariano Barcia)
38. RE: xmlcontent blank page + siteroot empty error
(mmihaili at csc.com.au)
39. RE: OpenCMS Alpha 2 on Windows XP (Alexander Kandzior)
40. RE: xmlcontent blank page + siteroot empty error
(Alexander Kandzior)
41. RE: xmlcontent blank page + siteroot empty error (Olli Aro)
42. Re: Does Opencms 6 alpha1 support Oracle8i? (cdg3472)
43. RE: Urgent Opencms hangs Oracle 9IAS 9.0.3 (Maurizio Barucco)
----------------------------------------------------------------------
Message: 1
Date: Wed, 27 Oct 2004 12:23:55 +0200
From: "Kai Schliemann" <k.schliemann at comundus.com>
Subject: [opencms-dev] including external content without frames and
iframes
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <NMEPKOOENMNGDKBHNMGOAEGKIGAA.k.schliemann at comundus.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi list,
does anyone know a solution how to show external content (e.g. from another
domain) as content in an opencms body-element.
I can't use frames or iframes.
I think of a solution where I have a html-page no matter what page. It can
be any page in the web. I want to show this page as a body-element of a
opencms-page. Surrounded by header, footer, navigation etc.
Is there a possibility to do this? Probably parsing this page and stripping
everything but the "<body>body content</body>" of this page?
Thanks a lot in advance
Kai
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Joachim Arrasz
> Gesendet: Mittwoch, 27. Oktober 2004 11:42
> An: The OpenCms mailing list
> Betreff: Re: [opencms-dev] Including HTML Element into OCMS6 JSP
>
>
> Hi Alexander,
>
> ><cms:include file="temp_jsp.html" element="body1" />
> >
> >
> >
> thanks a lot , i´m so stupid, in the last post it was same .. i didn´t
> got the link :-(
>
> Now surely it works ..
>
> Bye Achim
>
> --
> /**
> * @author Joachim Arrasz
> * --> head of technology research <--
> * @phone +49/(0)721/66487932
> * @mobile 0160/8021351
> * @mail arrasz at synyx.de
> * @url http://www.synyx.de
> */
>
>
>
>
> _______________________________________________
> 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
------------------------------
Message: 2
Date: Wed, 27 Oct 2004 12:48:57 +0200
From: Joachim Arrasz <info at arrasz.de>
Subject: Re: [opencms-dev] including external content without frames
and iframes
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <417F7D19.6060604 at arrasz.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
>Is there a possibility to do this? Probably parsing this page and stripping
>everything but the "<body>body content</body>" of this page?
>
>
>
we did something like this with just using the Commons-HttpClient and
then included this response into the JSP ...
Is this what you need?
Snippet fpr HttpClient-Usage:
// Create an instance of HttpClient.
HttpClient client = new HttpClient();
String url = "http://www.synyx.de";
// Create a method instance.
GetMethod method = new GetMethod(url);
// Provide custom retry handler is necessary
DefaultMethodRetryHandler retryhandler = new
DefaultMethodRetryHandler();
retryhandler.setRequestSentRetryEnabled(false);
retryhandler.setRetryCount(3);
method.setMethodRetryHandler(retryhandler);
try {
// Execute the method.
int statusCode = client.executeMethod(method);
if (statusCode != HttpStatus.SC_OK) {
System.err.println("Method failed: " +
method.getStatusLine());
}
// Read the response body.
byte[] responseBody = method.getResponseBody();
// Deal with the response.
// Use caution: ensure correct character encoding and is not
binary data
System.out.println(new String(responseBody));
} finally {
// Release the connection.
method.releaseConnection();
}
Hope this helps ...
Bye Joachim Arrasz
Synyx oHG
--
/**
* @author Joachim Arrasz
* --> head of technology research <--
* @phone +49/(0)721/66487932
* @mobile 0160/8021351
* @mail arrasz at synyx.de
* @url http://www.synyx.de
*/
------------------------------
Message: 3
Date: Wed, 27 Oct 2004 12:56:37 +0200
From: Martin Kuba <makub at ics.muni.cz>
Subject: Re: [opencms-dev] OpenCms 6.0 alpha 2 released
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <417F7EE5.6010005 at ics.muni.cz>
Content-Type: text/plain; charset="us-ascii"
Alexander Kandzior wrote:
> Hi all,
>
> OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available for
> download from the http://www.opencms.org website.
Hi, I tried it , but I have the same problem as before, the
workplace is empty and my Mozilla's JavaScript console shows:
Error: uncaught exception: [Exception... "Index or size is negative or greater
than the allowed amount" code: "1" nsresult: "0x80530001
(NS_ERROR_DOM_INDEX_SIZE_ERR)" location:
"http://localhost:8080/cms/opencms/system/workplace/views/top_head.jsp Line: 13"]
My browser is:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803
The same thing happens in MSIE:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
The only things which I have nonstandard is the webapp name "cms"
instead of "opencms" and the database name is also not "opencms".
Is this hardcoded somewhere or what ?
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2847 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.opencms.org/pipermail/opencms-dev/attachments/20041027/d5f8cf1a/smime-0001.bin
------------------------------
Message: 4
Date: Wed, 27 Oct 2004 11:58:53 +0100
From: "Olli Aro" <olli_aro at yahoo.co.uk>
Subject: RE: [opencms-dev] including external content without frames
andiframes
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.0.1098957601.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
With that approach you need to make sure that you don't have any relative
links or image paths as part of the content, since these would point to your
server. Also - if your source site relies on any session information that
would not work correctly.
Such a shame that there is no library available, which would allow you to do
this (a bit like portlets)... Or does someone know one?
Regards,
Olli
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Joachim Arrasz
Sent: 27 October 2004 11:49
To: The OpenCms mailing list
Subject: Re: [opencms-dev] including external content without frames
andiframes
Hi,
>Is there a possibility to do this? Probably parsing this page and stripping
>everything but the "<body>body content</body>" of this page?
>
>
>
we did something like this with just using the Commons-HttpClient and
then included this response into the JSP ...
Is this what you need?
Snippet fpr HttpClient-Usage:
// Create an instance of HttpClient.
HttpClient client = new HttpClient();
String url = "http://www.synyx.de";
// Create a method instance.
GetMethod method = new GetMethod(url);
// Provide custom retry handler is necessary
DefaultMethodRetryHandler retryhandler = new
DefaultMethodRetryHandler();
retryhandler.setRequestSentRetryEnabled(false);
retryhandler.setRetryCount(3);
method.setMethodRetryHandler(retryhandler);
try {
// Execute the method.
int statusCode = client.executeMethod(method);
if (statusCode != HttpStatus.SC_OK) {
System.err.println("Method failed: " +
method.getStatusLine());
}
// Read the response body.
byte[] responseBody = method.getResponseBody();
// Deal with the response.
// Use caution: ensure correct character encoding and is not
binary data
System.out.println(new String(responseBody));
} finally {
// Release the connection.
method.releaseConnection();
}
Hope this helps ...
Bye Joachim Arrasz
Synyx oHG
--
/**
* @author Joachim Arrasz
* --> head of technology research <--
* @phone +49/(0)721/66487932
* @mobile 0160/8021351
* @mail arrasz at synyx.de
* @url http://www.synyx.de
*/
_______________________________________________
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
------------------------------
Message: 5
Date: Wed, 27 Oct 2004 18:05:52 +0700
From: cdg3472 <kosol.t at g-able.com>
Subject: [opencms-dev] Re: Include file html in JSP problem in
Opencms6.0
To: opencms-dev at opencms.org
Message-ID: <417F8110.5020800 at g-able.com>
Content-Type: text/plain; charset=windows-874; format=flowed
Dear all
Hi Hans, I didn't got any solution for "Include file HTML in JSP
problem", and i demo it to my customer
by definded new property that contain content of file (some simple
content) and use include plain text instead
and got same problem as your.
I still finding out solution for this problem as now opencms6 alpha
2 is released. I think i will try alpha2 and, if it's
work i will told you. This feature is a usefully feature then i think
all developers will solve it's soon. :)
Best regards,
Tar
----------------------------------
Kosol Tuanveeradej
kosol.t at g-able.com
Date: Wed, 27 Oct 2004 10:27:17 +0200
From: "Hans van der Linden" <hans at iblinden.nl>
Subject: RE: [opencms-dev] Include file html in JSP problem in
Opencms6.0 alpha
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <JPEGKMJOPONBFECHELOOOELKJLAA.hans at iblinden.nl>
Content-Type: text/plain; charset="windows-874"
Hi Kosol,
Any solutions received? I got the same problem and solved it by changing from html to jsp but now my end user can't edit the
included file.
(this response is to keep the thread alive and hopefully someone will have a solution)
Regards
Hans
------------------------------
Message: 6
Date: Wed, 27 Oct 2004 13:10:32 +0200
From: Joachim Arrasz <info at arrasz.de>
Subject: Re: [opencms-dev] including external content without frames
andiframes
To: olli_aro at yahoo.co.uk, The OpenCms mailing list
<opencms-dev at opencms.org>
Message-ID: <417F8228.8080005 at arrasz.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
>With that approach you need to make sure that you don't have any relative
>links or image paths as part of the content, since these would point to your
>server. Also - if your source site relies on any session information that
>would not work correctly.
>
>
sure, you´re right, we just fetched the content, no styles no images ...
just the content.
>Such a shame that there is no library available, which would allow you to do
>this (a bit like portlets)... Or does someone know one?
>
>
>
no not at all .. i know no lib which ca do thing like this. But in
Swing there is such functionality integrated ... i´m not sure how
encapsulated this is, maybe it´s possible to use this, never tried this.
Bye Achim
--
/**
* @author Joachim Arrasz
* --> head of technology research <--
* @phone +49/(0)721/66487932
* @mobile 0160/8021351
* @mail arrasz at synyx.de
* @url http://www.synyx.de
*/
------------------------------
Message: 7
Date: Wed, 27 Oct 2004 14:04:21 +0200
From: Joachim Arrasz <info at arrasz.de>
Subject: [opencms-dev] Login as WebUser in OCMS6 ...other concepts
instead of webusers
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <417F8EC5.5060306 at arrasz.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hello List,
next point in OCMS6 i found is that when i log in a User as webUser via
CmsObject ... the name of the user is always export instead of the
origin Username ...
Can anyone approve this?
Is it better to use a Guest dependend (inherited) Group to get all
former called WebUsers together?
Has anyone experiences with thousands of users in one Group which is a
Guest group?
In one of my projects we have thousands and thousands of users ... is
there any way to sort them better actually?
Bye Achim
--
/**
* @author Joachim Arrasz
* --> head of technology research <--
* @phone +49/(0)721/66487932
* @mobile 0160/8021351
* @mail arrasz at synyx.de
* @url http://www.synyx.de
*/
------------------------------
Message: 8
Date: Wed, 27 Oct 2004 19:14:52 +0700
From: cdg3472 <kosol.t at g-able.com>
Subject: [opencms-dev] Re: Include file html in JSP problem in
Opencms6.0 alpha 1 and alph a2
To: opencms-dev at opencms.org
Message-ID: <417F913C.1070100 at g-able.com>
Content-Type: text/plain; charset=windows-874; format=flowed
Dear all
Problem about include file HTML in JSP is still in alpha2 release.
my question is
- where i can download source code of opencms 6.
and Thanks alot for every suggestion about Thai and Chinese language.
I move to use Opencms6 instead Opencms5 ,but i meet some Bugs ( coz in
opencms5
include file html is work) when in clude page HTML in JSP as I had posted.
I thinks Hans have same problem with me.
Best regards,
Tar
---------------------------------
Kosol Tuanveeradej
kosol.t at g-able.com
opencms-dev-request at opencms.org wrote:
>Send opencms-dev mailing list submissions to
> opencms-dev at opencms.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>or, via email, send a message with subject or body 'help' to
> opencms-dev-request at opencms.org
>
>You can reach the person managing the list at
> opencms-dev-owner at opencms.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of opencms-dev digest..."
>
>
>Today's Topics:
>
> 1. Include file html in JSP problem in Opencms6.0 alpha (cdg3472)
> 2. OpenCms 6.0 Alpha-1 - status of CmsJspTagContentItem
> (Mike Bachrynowski)
> 3. Re: Two Body Elements under Opencms6 Alpha (Thomas Maerz)
> 4. OpenCMS 5.0.1 is not responding (Schmidt, Helmut)
> 5. Re: Two Body Elements under Opencms6 Alpha (Joachim Arrasz)
> 6. RE: OpenCMS 5.0.1 is not responding (Markus Strickler)
> 7. opencms and mysql (Cherif)
> 8. Re: Two Body Elements under Opencms6 Alpha (Thomas Maerz)
> 9. Re: Two Body Elements under Opencms6 Alpha (Sebastian Himberger)
> 10. Inclusion loop error while working on HowTo's (Marc Davenport)
> 11. Re: Urgent Opencms hangs Oracle 9IAS 9.0.3 (Farnaz Fotrousi)
> 12. Version 6, class names (Jonathan)
> 13. RE: Two Body Elements under Opencms6 Alpha (Alexander Kandzior)
> 14. Re: Two Body Elements under Opencms6 Alpha (Sebastian Himberger)
> 15. Re: Two Body Elements under Opencms6 Alpha (Sebastian Himberger)
> 16. Re: Two Body Elements under Opencms6 Alpha (Joachim Arrasz)
> 17. Re: Version 6, class names (Joachim Arrasz)
> 18. OpenCms 6.0 alpha 2 released (Alexander Kandzior)
> 19. Re: OpenCms 6.0 alpha 2 released (Daniel Wiesner)
> 20. Re: Installation struggle (Ivan Garcia Sainz-Aja)
> 21. alpha2 install problem (Andy Kriger)
> 22. metadata in open cms (Eric Hein)
> 23. RE: metadata in open cms (Olli Aro)
> 24. Re: OpenCms 6.0 alpha 2 released (Joachim Arrasz)
> 25. Re: Urgent Opencms hangs Oracle 9IAS 9.0.3 (Dariush)
> 26. RE: Include file html in JSP problem in Opencms6.0 alpha
> (Hans van der Linden)
> 27. Including HTML Element into OCMS6 JSP (Joachim Arrasz)
> 28. RE: Including HTML Element into OCMS6 JSP (Alexander Kandzior)
> 29. Re: Including HTML Element into OCMS6 JSP (Joachim Arrasz)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 26 Oct 2004 18:57:51 +0700
>From: cdg3472 <kosol.t at g-able.com>
>Subject: [opencms-dev] Include file html in JSP problem in Opencms6.0
> alpha
>To: opencms-dev at opencms.org
>Message-ID: <417E3BBF.9020508 at g-able.com>
>Content-Type: text/plain; charset=windows-874; format=flowed
>
>Dear All
> I have some problem in Including HTML file in JSP. When i use JSP
>scriptlet
>
> <% cms.include("boardtitle.html"); %>
>
>to include "boardtitle.html" in my JSP page the part (in
>boardtitle.html) not show
>but when i use
>
> <% cms.include(template,"head"); %>
>
>the included part display properly.
>in opencms5 this including is work but I have problem with Thai and
>Chinese language.
>When i move to opencms6 language problem is gone, but got include HTML
>problem
>my question is
>
>- in opencms6 how we can include HTML page in jsp (Scriptlet)?
>- I know that there have some change in opencms6 package was changed some.
> Is there have some API document of opencms ?
>
>
>Thank for advandce
>Kosol
>
>
>
>Kosol Tuanveeradej
>kosol.t at g-able.com
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 26 Oct 2004 13:09:02 +0100
>From: "Mike Bachrynowski" <mikeb at tableau.co.uk>
>Subject: [opencms-dev] OpenCms 6.0 Alpha-1 - status of
> CmsJspTagContentItem
>To: "The OpenCms mailing list" <opencms-dev at opencms.org>
>Message-ID: <58434C5CD38056429BEAB71E1A2AA93422E859 at sbs.tableau.co.uk>
>Content-Type: text/plain; charset="us-ascii"
>
>Hi
>
>I installed the opencms_6.0_alpha_1.zip distribution (this contains
>CmsJspTagContentItem and the tag contentitem). I am testing the
>xmlcontent approach. I am using Docbook XML fragments and have set up a
>opencms Schema to process my Docbook fragments. I can edit, store and
>publish the fragments. Very impressed. Now I would like to view the
>results in a jsp page (as in the xmlpage approach)....and then use the
>OpenCMS module / template approach similar to that used with xmlpage
>content.
>
>CVS checkout of the complete OpenCms source code no longer includes the
>source for the CmsJspTagContentItem class. The class is replaced by 4
>new classes.
>- org.cms.jsp.CmsjspTagContentCheck
>- org.cms.jsp.CmsjspTagContentLoad
>- org.cms.jsp.CmsjspTagContentLoop
>- org.cms.jsp.CmsjspTagContentShow
>
>The cvs / javadoc documentation defines 4 new cms tags in the taglib
><cms:contentcheck ... />
><cms:contentload ... />
><cms:contentloop ... />
><cms:contentshow ... />
>
>My questions.
>1. Is CmsJspTagContentItem no longer to be used?
>2. When will opencms_6.0_alpha_x.zip be available to replace
>opencms_6.0_alpha_1.zip with a version that has the four above classes
>and the new taglib?
>3. In the meantime should I compile the current cvs version and run with
>that?
>4. Any chance of JSP code snippet examples that shows how the developers
>expect the new tags to be used to view xmlcontent documents?
>
>Thanks in anticipation.
>
>Install information on the logon page is as follows
>------------------------
>OpenCms version is: 6.0 alpha 1 Caladan
>Running on Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.4.2_02-b03
>mixed mode with Windows XP 5.1 (x86)
>------------------------
>
>Regards
>
>Mike Bachrynowski
>
>
>
>
>------------------------------
>
>Message: 3
>Date: Tue, 26 Oct 2004 14:31:26 +0200
>From: Thomas Maerz <thomasmaerz at gmx.de>
>Subject: Re: [opencms-dev] Two Body Elements under Opencms6 Alpha
>To: The OpenCms mailing list <opencms-dev at opencms.org>
>Message-ID: <84654x8xup.fsf at gmx.de>
>Content-Type: text/plain; charset=us-ascii
>
>Joachim Arrasz <info at arrasz.de> writes:
>
>
>
>>i tried using the same default_bodies than under OCMS5 to create two
>>bodies into a mastertemplate ...
>>
>>Has this changed in OCMS6 ?
>>
>>
>
>You can use the content of a page's controlcode as a default body.
>
>Also you can create a sibling of a page in the default_bodies folder and
>select this sibling as body when creating a new page.
>Or you use a page as default_body.
>
>Just tested with CVS HEAD.
>
>Regards,
>Thomas
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 26 Oct 2004 14:55:28 +0200
>From: "Schmidt, Helmut" <Helmut.Schmidt2 at axa.de>
>Subject: [opencms-dev] OpenCMS 5.0.1 is not responding
>To: "'opencms-dev at opencms.org'" <opencms-dev at opencms.org>
>Message-ID:
> <86ADCFE0183C19449D3056D1F3328A1705BB25C5 at holmes03.axa-de.intraxa>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi there!
>
>Since a few days a have a problem with my OpenCMS (5.0.1) installation.
>
>When I try to start /opencms/opencms/system/login I don't get any response
>for my request.
>In the opencms.log I can see that after logging information about the
>encoding the logging just stops. The next line concerning ethernet-settings
>will not occur.
>
>I have tried to take a view at the sources. The problem seems to occur in
>the "OpenCms" constructor:
>
> ...
> setDefaultEncoding(defaultEncoding);
> if(C_LOGGING && isLogging(C_OPENCMS_INIT)) log(C_OPENCMS_INIT, ".
>Encoding set to : " + defaultEncoding);
>
> // Read server ethernet address (MAC) and init UUID generator
> String ethernetAddress = conf.getString("server.ethernet.address",
>CmsUUID.getDummyEthernetAddress());
>
> if(C_LOGGING && isLogging(C_OPENCMS_INIT)) log(C_OPENCMS_INIT, ".
>Ethernet address used: " + ethernetAddress);
> CmsUUID.init(ethernetAddress);
>
>Does anybody have an idea??????
>
>Thank You
>
>Helmut
>
>
>------------------------------------------------------------------------------
>Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
>----------------------------
>For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately.
>
>==============================================================================
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 26 Oct 2004 15:37:12 +0200
>From: Joachim Arrasz <info at arrasz.de>
>Subject: Re: [opencms-dev] Two Body Elements under Opencms6 Alpha
>To: The OpenCms mailing list <opencms-dev at opencms.org>
>Message-ID: <417E5308.2050208 at arrasz.de>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi Thomas,
>
>
>
>>Also you can create a sibling of a page in the default_bodies folder and
>>select this sibling as body when creating a new page.
>>Or you use a page as default_body.
>>
>>
>>
>>
>sorry, i wrote absolutely bulls...t what i meant was, how can i use two
>body sections in OCMS6 within one page?
>The new editor has this body-selector as OCMS5 also had. So i tried the
>old way to do this via a defaultbody where i configured 2 bodies into one
>defaaultBody and made bodySelector = true...
>
>This i tried in OCMS6 but it didn´t work ...
>
>
>Sorry for the other stupid question ...
>
>Bye Achim
>
>
>
>
------------------------------
Message: 9
Date: Wed, 27 Oct 2004 14:45:13 +0200
From: Martin Kuba <makub at ics.muni.cz>
Subject: Re: [opencms-dev] empty workspace (was: OpenCms 6.0 alpha 2
released)
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <417F9859.3030400 at ics.muni.cz>
Content-Type: text/plain; charset=us-ascii; format=flowed
Martin Kuba wrote:
> Alexander Kandzior wrote:
>
>> Hi all,
>>
>> OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available for
>> download from the http://www.opencms.org website.
>
>
> Hi, I tried it , but I have the same problem as before, the
> workplace is empty and my Mozilla's JavaScript console shows:
>
> Error: uncaught exception: [Exception... "Index or size is negative or
> greater than the allowed amount" code: "1" nsresult: "0x80530001
> (NS_ERROR_DOM_INDEX_SIZE_ERR)" location:
> "http://localhost:8080/cms/opencms/system/workplace/views/top_head.jsp
> Line: 13"]
On further investigation, I used webappname "opencms" and database
name "opencms", but the problem persists. It si caused by
JavaScript code in top_head.jsp which is:
12 function loadBody() {
13 var link =
document.forms.wpViewSelect.wpView.options[document.forms.wpViewSelect.wpView.selectedIndex].value;
14 window.top.body.location.href = link;
15 }
i.e it tries to get the selected option from form "wpViewSelect",
but it is empty:
<form name="wpViewSelect" method="post"
action="/opencms/opencms/system/workplace/views/top_head.jsp">
<td><select name="wpView" style="width:150px"
onchange="document.forms.wpViewSelect.submit()">
</select>
</td>
</form>
In the top_head.jsp the code generating the selection is:
wp.getViewSelect("name=\"wpView\" style=\"width:150px\"
onchange=\"document.forms.wpViewSelect.submit()\"")
I wonder why nobody else has this problem ? My setup is pretty
standard:
Date: 27.10.2004 14:01:16
Used JDK: 1.4.2_04
Used Servlet Engine: Apache Tomcat/5.0.25
MySQL is 4.0.16
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
------------------------------
Message: 10
Date: Wed, 27 Oct 2004 13:59:13 +0100
From: <walter.de.wit at syntegra.com>
Subject: [opencms-dev] few functional questions
To: <opencms-dev at opencms.org>
Message-ID:
<BD5644D745814D41ACD66701D49724FA01062798 at fl-exchange-12.uk.intra.syntegra.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
I'm investigating opencms and have some unanswered questions.
1. Which editor plugins exist which implement the new opencms editor API ?
2. Are there problems with WindowsXP service pack 2 ?
3. Is it possible to show only a set of folders per user instead of the whole
tree ?
4. Does opencms keeps versions of documents ? Is it possible to go back to a
specific version ?
Please reply if you know the answer to one of these questions.
The questions are related to the version 6 of opencms.
many thanks in advance
Walter De Wit
********************************************************************
This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person
Thank you
Check us out at http://www.bt.com/consulting
********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041027/4669133a/attachment-0001.html
------------------------------
Message: 11
Date: Wed, 27 Oct 2004 15:04:51 +0200
From: "Andreas Lemke" <lemke at dialog.uni-oldenburg.de>
Subject: [opencms-dev] Problem Installing 6.0 alpha 1&2 on WinXP
To: opencms-dev at opencms.org
Message-ID:
<OF27D5F54E.84E3CA6C-ONC1256F3A.00443C63 at dialog.uni-oldenburg.de>
Content-Type: text/plain; charset=us-ascii
Hello,
I am currently evaluation OpenCMS. I can install/use OpenCMS 5 on Linux and
WinXP
and OpenCMS 6 (both Alphas) on Linux. However, I do not manage to
successfully install 6.0
on my WinXP machine, while a colleague has no problems with it.
Symptom is as follows: After installation which runs without problems I can
log in to the workplace.
There, however, I have no views. I can choose between Online and Offline
project. Both show only
the folder "/sites/default/" with no files below. The site combo box lets
me choose between
"/" and "/sites/default/".
My guess is something went wrong during the setup of the vfs. I logged the
SQL queries done by OpenCMS
and found a line
SELECT ...
FROM CMS_ONLINE_STRUCTURE,CMS_ONLINE_RESOURCES
WHERE CMS_ONLINE_STRUCTURE.RESOURCE_PATH LIKE '/system/workplace/views/_%'
AND NOT (CMS_ONLINE_STRUCTURE.RESOURCE_PATH LIKE
'/system/workplace/views/_%/_%')
AND CMS_ONLINE_STRUCTURE.RESOURCE_ID=CMS_ONLINE_RESOURCES.RESOURCE_ID
AND CMS_ONLINE_RESOURCES.RESOURCE_TYPE=0
ORDER BY CMS_ONLINE_STRUCTURE.RESOURCE_PATH
which seems to look after VFS-entries for /system/workplace/views but finds
none.
On the other side, some files are present in
{tomcat-home}\webapps\opencms\WEB-INF\setupdata\vfs\system\workplace\views
so these seem not to have been imported during setup.
Most tables are filled with data so I think it's not a general MySQL
problem.
My setup is:
WinXP Pro SP1 (512 MB)
Internet Explorer 6.0 (with latest patches)
Tomcat 5.0.19
Java HotSpot Client VM 1.4.2_05-b04 (with -Xmx256M)
MySQL 4.0.17-nt-log
best regards,
Andreas Lemke
------------------------------
Message: 12
Date: Wed, 27 Oct 2004 09:38:41 -0400
From: "Gaworski, Priemyslaw S" <sgaworsk at email.uky.edu>
Subject: [opencms-dev] openCMS installation exception?
To: <opencms-dev at opencms.org>
Message-ID: <511822543AEEFB4AA020F1E9DDEA94713F170F at e2kbe4.ad.uky.edu>
Content-Type: text/plain; charset="us-ascii"
Dear OpenCms and Java specialists,
I tried installation of OpenCMS 5.0 on two PC. I got the Java, I got the
Tomcat 5.0 and I have SQL.
The last part of unzipping the opencms.war also worked fine ...except
when one wants to proceed with the last part by accessing
http://localhost:8080/opencms/ocsetup/
<BLOCKED::http://localhost:8080/opencms/ocsetup/>
here is what happens ... and that's there regardless of reinstalling
Java, reinstalling Tomcat.
Now, the only thing I did not try yet is to uninstall MySQL ... which I
had on my machine before the rest of it.
General advice, I think the server installation is not detail enough and
while I am sure it works on new box, my two old boxes that had different
versions of Java and Tomcat before plus other things do not seem to like
it.
I explored already Zope and Mango and tell you that if it was not
because at work I was assigned to make the webcam work, I would toss it
in the corner and never look at it again.
Here is the mistake I get,
I would appreciate a lot any help anyone can give me with this
Thanks,
Shamick Gaworski
Lexington, Ky
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompil
er(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
_____
Apache Tomcat/5.0.28
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041027/6dd2bfa9/attachment-0001.html
------------------------------
Message: 13
Date: Wed, 27 Oct 2004 14:46:24 +0100
From: "Steve" <steve.welsh at redplanetuk.com>
Subject: RE: [opencms-dev] openCMS installation exception?
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <002601c4bc2b$5cff3020$64d0a8c0 at REDPLANET5>
Content-Type: text/plain; charset="us-ascii"
>From first inspection it looks like you haven't set a JAVA_HOME
environment variable on your system to point to the base directory of
where you installed java. This means that when Tomcat wants to compile
your jsp into a servlet it can't find the java compiler (javac) to do
the job.
Steve,
REDPlanet Technologies Ltd,
Salters House, Salters Lane Ind. Est., Sedgefield, Stockton-on-Tees,
TS21 3EE
www.redplanetuk.com
Tel +44 (1740) 625222
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Gaworski,
Priemyslaw S
Sent: 27 October 2004 14:39
To: opencms-dev at opencms.org
Subject: [opencms-dev] openCMS installation exception?
Dear OpenCms and Java specialists,
I tried installation of OpenCMS 5.0 on two PC. I got the Java, I got the
Tomcat 5.0 and I have SQL.
The last part of unzipping the opencms.war also worked fine ...except
when one wants to proceed with the last part by accessing
http://localhost:8080/opencms/ocsetup/
<BLOCKED::http://localhost:8080/opencms/ocsetup/>
here is what happens ... and that's there regardless of reinstalling
Java, reinstalling Tomcat.
Now, the only thing I did not try yet is to uninstall MySQL ... which I
had on my machine before the rest of it.
General advice, I think the server installation is not detail enough and
while I am sure it works on new box, my two old boxes that had different
versions of Java and Tomcat before plus other things do not seem to like
it.
I explored already Zope and Mango and tell you that if it was not
because at work I was assigned to make the webcam work, I would toss it
in the corner and never look at it again.
Here is the mistake I get,
I would appreciate a lot any help anyone can give me with this
Thanks,
Shamick Gaworski
Lexington, Ky
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompil
er(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
_____
Apache Tomcat/5.0.28
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041027/908a07ee/attachment-0001.html
------------------------------
Message: 14
Date: Wed, 27 Oct 2004 15:11:56 +0100
From: "Mike Bachrynowski" <mikeb at tableau.co.uk>
Subject: RE: [opencms-dev] openCMS installation exception?
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <58434C5CD38056429BEAB71E1A2AA93422E882 at sbs.tableau.co.uk>
Content-Type: text/plain; charset="us-ascii"
Assuming Windows:-
In development I have installed Apache as a service but I like to choose
which Tomcat JK2 connects to. But I usually test on Tomcat standalone
first. For the Tomcat side of the Apache/Tomcat on my Windows XP
workstation. I set up variants of the following:-
-----------------
startup.bat
-----------------
rem STARTUP.bat Tomcat start - 29 October 2003
c:
cd \progs\jakarta-tomcat-5.0.19
set JAVA_HOME=\java\j2sdk1.4.2_02
set JSEE_HOME=\java\j2eesdk1.4_beta2
set CATALINA_HOME=\progs\jakarta-tomcat-5.0.19
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
rem Start Tomcat
bin\startup
-------------------
shutdown.bat
-------------------
rem SHUTDOWN.bat Tomcat shutdown - 29 October 2003
c:
cd \progs\jakarta-tomcat-5.0.19
set JAVA_HOME=\java\j2sdk1.4.2_02
set JSEE_HOME=\java\j2eesdk1.4_beta2
set CATALINA_HOME=\progs\jakarta-tomcat-5.0.19
set CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
rem Shutdown Tomcat
bin\shutdown
---------------------
I think the -Dfile.encoding is now fixed to be UTF-8 and so I don't
think I need the CATALINA_OPTS overide any more.
I dropped opencms.war in %CATALINE_HOME%/webapps started Tomcat then
connected to http://localhost:8080/opencms/setup/. ... All fine.
The OpenCMS "install.html" instructions has worked for me on various
Windows servers and various versions of mySQL and Tomcat.
I would check that your Windows environment variables; echo %PATH%; echo
%CLASSPATH% are set OK.
You do need administrator privileges for this work.
Regards
Mike
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Steve
Sent: 27 October 2004 14:46
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] openCMS installation exception?
>From first inspection it looks like you haven't set a JAVA_HOME
environment variable on your system to point to the base directory of
where you installed java. This means that when Tomcat wants to compile
your jsp into a servlet it can't find the java compiler (javac) to do
the job.
Steve,
REDPlanet Technologies Ltd,
Salters House, Salters Lane Ind. Est., Sedgefield, Stockton-on-Tees,
TS21 3EE
www.redplanetuk.com
Tel +44 (1740) 625222
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Gaworski,
Priemyslaw S
Sent: 27 October 2004 14:39
To: opencms-dev at opencms.org
Subject: [opencms-dev] openCMS installation exception?
Dear OpenCms and Java specialists,
I tried installation of OpenCMS 5.0 on two PC. I got the Java, I got the
Tomcat 5.0 and I have SQL.
The last part of unzipping the opencms.war also worked fine ...except
when one wants to proceed with the last part by accessing
http://localhost:8080/opencms/ocsetup/
<BLOCKED::http://localhost:8080/opencms/ocsetup/>
here is what happens ... and that's there regardless of reinstalling
Java, reinstalling Tomcat.
Now, the only thing I did not try yet is to uninstall MySQL ... which I
had on my machine before the rest of it.
General advice, I think the server installation is not detail enough and
while I am sure it works on new box, my two old boxes that had different
versions of Java and Tomcat before plus other things do not seem to like
it.
I explored already Zope and Mango and tell you that if it was not
because at work I was assigned to make the webcam work, I would toss it
in the corner and never look at it again.
Here is the mistake I get,
I would appreciate a lot any help anyone can give me with this
Thanks,
Shamick Gaworski
Lexington, Ky
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa
ndler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja
va:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompil
er(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.28 logs.
________________________________
Apache Tomcat/5.0.28
------------------------------
Message: 15
Date: Wed, 27 Oct 2004 16:16:34 +0200
From: "Fievet Marc" <Marc.Fievet at winterthur.be>
Subject: RE: [SPAM] - [opencms-dev] OpenCms 6.0 alpha 2 released -
Bayesian Filter detected spam
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID:
<A549B668111ED611A5AE0002559C518A02FF2B0A at ex0002.winterthur.be>
Content-Type: text/plain; charset="iso-8859-1"
Hello,
I try to test it but OpenCMS is loaded I have the following message:
PLEASE NOTE: The required classes for the OpenCms 'templateone' demo could
not be loaded!
In case you just did a setup, you must now restart your servlet engine.
If you intentionally did not install the 'templateone' demo, please
disregard this message.
Accordind to the message,I restart tomcat but I have the same message.
An idea?
Regards,
MARC
MARC FIEVET
----------------------
riginal Message-----
From: Alexander Kandzior [mailto:alex at opencms.org]
Sent: mardi 26 octobre 2004 20:17
To: 'The OpenCms mailing list'
Subject: [SPAM] - [opencms-dev] OpenCms 6.0 alpha 2 released - Bayesian
Filter detected spam
Hi all,
OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available for
download from the http://www.opencms.org website.
This release includes the 'templateone' module, a ready-made and highly
configurable template with countless options. It also includes an extended
demonstration for the XML content feature of OpenCms 6.0.
In case you try out this 6.0 alpha 2 release, please provide feedback
regarding the 'templateone' and the XML content feature.
For a full list of features and open issue in this release, please check out
the release notes that come with the download, or have a look at the OpenCms
homepage at http://www.opencms.org.
Any help in developing the OpenCms 6.0 "final" version is greatly
appreciated. The more help we get the sooner we can expect a stable release.
If you want to contribute, please contact me directly, or send a mail to
this mailing list.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
_______________________________________________
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
________________________________________________________________________________
Disclaimer - Winterthur Europe Assurances - Avenue des Arts/Kunstlaan 56 - 1000 Brussels (BEL)
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk.
The integrity and security of this message cannot be guaranteed on the Internet.
------------------------------
Message: 16
Date: Wed, 27 Oct 2004 15:33:17 +0100
From: "Nicholas Hemley" <Nicholas.Hemley at lhb.scot.nhs.uk>
Subject: [opencms-dev] xmlcontent blank page + siteroot empty error
To: <opencms-dev at opencms.org>
Message-ID: <s17fbfd4.088 at lhb.scot.nhs.uk>
Content-Type: text/plain; charset="us-ascii"
Hello,
I have 6 alpha 2 installed ok with no problems but the xmlcontent demo
page (linked from templateone to
http://localhost:8080/opencms/xmlcontent) is an empty page - despite
making sure the checkbox is checked on install....
Having looked in the module list, i notice that the xmlcontent module
is missing - do i therefore need to manually install it?
Also, when trying to create a new project i get the following error:
java.lang.RuntimeException: Saved siteroot empty!
at
org.opencms.file.CmsRequestContext.restoreSiteRoot(CmsRequestContext.java:392)
at
com.opencms.workplace.CmsAdminProjectNew.getContent(CmsAdminProjectNew.java:358)
at
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:136),
etc.
hmmm, is this a bug or am I doing something wrong?
JDK 1.4.2_06
Tomcat 5.0.28
OpenCMS6a2
Cheerio,
Nic.
**********************************************************************
The information contained in this message may be confidential or legally privileged and is intended for the addressee only, If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden.
**********************************************************************
------------------------------
Message: 17
Date: Wed, 27 Oct 2004 10:47:10 -0500
From: "George Karr" <gk5186 at hotmail.com>
Subject: [opencms-dev] login without popup
To: opencms-dev at opencms.org
Message-ID: <BAY9-F20JQ873Tlm70r000036f7 at hotmail.com>
Content-Type: text/plain; format=flowed
We are using opencms 5.0.1 Kaitan.
When a user logs into opencms, it closes the login browser and opens a new
browser. I would like to modify our installation so that when a user logs
in, the next page is served in the same browser window. I have tried
modifying the function "openwin" in vfs/system/login/index so that after
login, it doesn't pop up the new browser, but my modified code is never
served. It keeps serving the old login page with the popup. I tried flushing
all the caches I could find.
Someone showed me where I can just have the user go directly to:
http://localhost:8080/opencms/opencms/system/workplace/action/index.html
Which does bring up the workplace in the same browser under the guest
account, but I still need for the users to log in to other accounts besides
guest.
How can I modify our install to change this behavior? Do I have to rebuild
all of opencms?
------------------------------
Message: 18
Date: Wed, 27 Oct 2004 18:09:40 +0200 (MEST)
From: "Stephan L?ffler" <stephanloeffler at gmx.de>
Subject: [opencms-dev] xml document for default_bodies!?
To: opencms-dev at opencms.org
Message-ID: <21743.1098893380 at www19.gmx.net>
Content-Type: text/plain; charset="us-ascii"
Hi there,
hope someone can help me. I created a default body, but I get an exception,
telling me, that the XML-document is not wellformed.
I found an older thread about that prob, where there is a statement that one
needs a XML-File like in /system/body/...
http://mail.opencms.org/pipermail/opencms-dev/2003q2/005495.html
However, there is no such folder on my instance of OpenCMS and I didn't find
any other XML-File, whose structure would seem appropriate.
Could please someone tell me the right structure for the document.
Tanks a lot,
Stephan
--
--------------------------------
Stephan Loeffler
Heinrich v. Kleist Str. 38
95447 Bayreuth
Tel.: 0921-5072665
Cell.:0179-6994085
-------------------------------
Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++
------------------------------
Message: 19
Date: Wed, 27 Oct 2004 18:54:24 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] Problem Installing 6.0 alpha 1&2 on WinXP
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.1.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
Check out the file "setup.log" located in your WEB-INF/config folder. Maybe
there's more / better information about what happend during the import of
the workplace.
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 Andreas Lemke
> Sent: Wednesday, October 27, 2004 3:05 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Problem Installing 6.0 alpha 1&2 on WinXP
>
> Hello,
>
> I am currently evaluation OpenCMS. I can install/use OpenCMS
> 5 on Linux and WinXP and OpenCMS 6 (both Alphas) on Linux.
> However, I do not manage to successfully install 6.0 on my
> WinXP machine, while a colleague has no problems with it.
>
> Symptom is as follows: After installation which runs without
> problems I can log in to the workplace.
> There, however, I have no views. I can choose between Online
> and Offline project. Both show only the folder
> "/sites/default/" with no files below. The site combo box
> lets me choose between "/" and "/sites/default/".
>
> My guess is something went wrong during the setup of the vfs.
> I logged the SQL queries done by OpenCMS and found a line
>
> SELECT ...
> FROM CMS_ONLINE_STRUCTURE,CMS_ONLINE_RESOURCES
> WHERE CMS_ONLINE_STRUCTURE.RESOURCE_PATH LIKE
> '/system/workplace/views/_%'
> AND NOT (CMS_ONLINE_STRUCTURE.RESOURCE_PATH LIKE
> '/system/workplace/views/_%/_%')
> AND CMS_ONLINE_STRUCTURE.RESOURCE_ID=CMS_ONLINE_RESOURCES.RESOURCE_ID
> AND CMS_ONLINE_RESOURCES.RESOURCE_TYPE=0
> ORDER BY CMS_ONLINE_STRUCTURE.RESOURCE_PATH
>
> which seems to look after VFS-entries for
> /system/workplace/views but finds none.
>
> On the other side, some files are present in
>
> {tomcat-home}\webapps\opencms\WEB-INF\setupdata\vfs\system\wor
kplace\views
>
> so these seem not to have been imported during setup.
>
> Most tables are filled with data so I think it's not a
> general MySQL problem.
>
> My setup is:
>
> WinXP Pro SP1 (512 MB)
> Internet Explorer 6.0 (with latest patches) Tomcat 5.0.19
> Java HotSpot Client VM 1.4.2_05-b04 (with -Xmx256M) MySQL
> 4.0.17-nt-log
>
> best regards,
> Andreas Lemke
>
>
>
>
>
> _______________________________________________
> 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
>
>
------------------------------
Message: 20
Date: Wed, 27 Oct 2004 18:57:36 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: [opencms-dev] RE: OpenCms 6.0 alpha 2 released -
BayesianFilter detected spam
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.2.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
Check out if the file "opencms-templateone.jar" exists in WEB-INF/lib of
your OpenCms installation. If not, check our WEB-INF/config/setup.log to see
if there where any issues during setup.
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 Fievet Marc
> Sent: Wednesday, October 27, 2004 4:17 PM
> To: 'The OpenCms mailing list'
> Subject: RE: [SPAM] - [opencms-dev] OpenCms 6.0 alpha 2
> released - BayesianFilter detected spam
>
> Hello,
>
> I try to test it but OpenCMS is loaded I have the following message:
>
> PLEASE NOTE: The required classes for the OpenCms
> 'templateone' demo could not be loaded!
> In case you just did a setup, you must now restart your
> servlet engine.
>
> If you intentionally did not install the 'templateone' demo,
> please disregard this message.
>
> Accordind to the message,I restart tomcat but I have the same message.
>
> An idea?
>
> Regards,
>
> MARC
>
> MARC FIEVET
> ----------------------
> riginal Message-----
> From: Alexander Kandzior [mailto:alex at opencms.org]
> Sent: mardi 26 octobre 2004 20:17
> To: 'The OpenCms mailing list'
> Subject: [SPAM] - [opencms-dev] OpenCms 6.0 alpha 2 released
> - Bayesian Filter detected spam
>
>
> Hi all,
>
> OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available for
> download from the http://www.opencms.org website.
>
> This release includes the 'templateone' module, a ready-made
> and highly
> configurable template with countless options. It also
> includes an extended
> demonstration for the XML content feature of OpenCms 6.0.
>
> In case you try out this 6.0 alpha 2 release, please provide feedback
> regarding the 'templateone' and the XML content feature.
>
> For a full list of features and open issue in this release,
> please check out
> the release notes that come with the download, or have a look
> at the OpenCms
> homepage at http://www.opencms.org.
>
> Any help in developing the OpenCms 6.0 "final" version is greatly
> appreciated. The more help we get the sooner we can expect a
> stable release.
> If you want to contribute, please contact me directly, or
> send a mail to
> this mailing list.
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
>
>
>
> _______________________________________________
> 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
>
> ______________________________________________________________
> __________________
> Disclaimer - Winterthur Europe Assurances - Avenue des
> Arts/Kunstlaan 56 - 1000 Brussels (BEL)
> This message may contain confidential, proprietary or legally
> privileged information and is intended only for the use of
> the addressee named above. No confidentiality or privilege is
> waived or lost by any mistransmission. If you are not the
> intended recipient of this message you are hereby notified
> that you must not use, disseminate, copy it in any form or
> take any action in reliance on it. If you have received this
> message in error please delete it and any copies of it and
> notify Winterthur immediately.This e-mail message and any
> attached files have been scanned for the presence of computer
> viruses. However, you are advised that you open any
> attachments at your own risk.
> The integrity and security of this message cannot be
> guaranteed on the Internet.
>
>
>
>
> _______________________________________________
> 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
>
>
------------------------------
Message: 21
Date: Wed, 27 Oct 2004 18:59:36 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.3.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
> I have 6 alpha 2 installed ok with no problems but the
> xmlcontent demo page (linked from templateone to
> http://localhost:8080/opencms/xmlcontent) is an empty page -
> despite making sure the checkbox is checked on install....
>
> Having looked in the module list, i notice that the
> xmlcontent module is missing - do i therefore need to
> manually install it?
You could at last try to see if it works.
> Also, when trying to create a new project i get the following error:
> java.lang.RuntimeException: Saved siteroot empty!
> at
> org.opencms.file.CmsRequestContext.restoreSiteRoot(CmsRequestC
> ontext.java:392)
> at
> com.opencms.workplace.CmsAdminProjectNew.getContent(CmsAdminPr
> ojectNew.java:358)
> at
> com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.
> java:136),
> etc.
Depends if someone else can confirm this behaviour.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
------------------------------
Message: 22
Date: Wed, 27 Oct 2004 19:04:16 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] empty workspace (was: OpenCms 6.0 alpha 2
released)
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.4.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
> >> OpenCms 6.0 alpha 2 (aka 5.5.3) has been released and is available
> >> for download from the http://www.opencms.org website.
> >
> >
> > Hi, I tried it , but I have the same problem as before, the
> workplace
> > is empty and my Mozilla's JavaScript console shows:
> >
> > Error: uncaught exception: [Exception... "Index or size is
> negative or
> > greater than the allowed amount" code: "1" nsresult: "0x80530001
> > (NS_ERROR_DOM_INDEX_SIZE_ERR)" location:
> >
> "http://localhost:8080/cms/opencms/system/workplace/views/top_head.jsp
> > Line: 13"]
>
> On further investigation, I used webappname "opencms" and
> database name "opencms", but the problem persists. It si
> caused by JavaScript code in top_head.jsp which is:
>
> 12 function loadBody() {
> 13 var link =
> document.forms.wpViewSelect.wpView.options[document.forms.wpVi
> ewSelect.wpView.selectedIndex].value;
> 14 window.top.body.location.href = link;
> 15 }
>
> i.e it tries to get the selected option from form
> "wpViewSelect", but it is empty:
>
> <form name="wpViewSelect" method="post"
> action="/opencms/opencms/system/workplace/views/top_head.jsp">
> <td><select name="wpView" style="width:150px"
> onchange="document.forms.wpViewSelect.submit()">
> </select>
> </td>
> </form>
>
> In the top_head.jsp the code generating the selection is:
>
> wp.getViewSelect("name=\"wpView\" style=\"width:150px\"
> onchange=\"document.forms.wpViewSelect.submit()\"")
Maybe there is a confict of libaries, e.g. Xerces or Digester, that causes a
file not to be imported? Check ouf WEB-INF/config/setup.log to see if there
are any issues reported during setup. This is a fairly uncommon issue. The
wpViewSelect is filled from the folders in (VFS) /system/workplace/views/...
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
------------------------------
Message: 23
Date: Wed, 27 Oct 2004 19:15:15 +0200
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <84hdogdqvw.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii
"Alexander Kandzior" <alex at opencms.org> writes:
>> I have 6 alpha 2 installed ok with no problems but the
>> xmlcontent demo page (linked from templateone to
>> http://localhost:8080/opencms/xmlcontent) is an empty page -
>> despite making sure the checkbox is checked on install....
>>
>> Having looked in the module list, i notice that the
>> xmlcontent module is missing - do i therefore need to
>> manually install it?
>
> You could at last try to see if it works.
Manual installation worked for me.
But it was not installed after setup either.
Although someone else installed Alpha 2 on the
same machine without any problems.
The only difference was he used IE and I used Firefox PR1.
>> Also, when trying to create a new project i get the following error:
>> java.lang.RuntimeException: Saved siteroot empty!
>> at
>> org.opencms.file.CmsRequestContext.restoreSiteRoot(CmsRequestC
>> ontext.java:392)
>> at
>> com.opencms.workplace.CmsAdminProjectNew.getContent(CmsAdminPr
>> ojectNew.java:358)
>> at
>> com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.
>> java:136),
>> etc.
>
> Depends if someone else can confirm this behaviour.
I can't. Tested creation with site roots "/" and "/sites/default".
Regards,
Thomas
------------------------------
Message: 24
Date: Wed, 27 Oct 2004 19:21:38 +0200
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] login without popup
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <84d5z4dql9.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii
"George Karr" <gk5186 at hotmail.com> writes:
> modified code is never served. It keeps serving the old login page
> with the popup. I tried flushing all the caches I could find.
Did you publish the file?
> Someone showed me where I can just have the user go directly to:
> http://localhost:8080/opencms/opencms/system/workplace/action/index.html
>
> Which does bring up the workplace in the same browser under the guest
> account,
Are you sure a Guest user can use the workplace?
> How can I modify our install to change this behavior? Do I have to
> rebuild all of opencms?
I think your doing right with your approach.
Regards,
Thomas
------------------------------
Message: 25
Date: Wed, 27 Oct 2004 19:26:11 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.5.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
> >> I have 6 alpha 2 installed ok with no problems but the xmlcontent
> >> demo page (linked from templateone to
> >> http://localhost:8080/opencms/xmlcontent) is an empty page
> - despite
> >> making sure the checkbox is checked on install....
> >>
> >> Having looked in the module list, i notice that the
> xmlcontent module
> >> is missing - do i therefore need to manually install it?
> >
> > You could at last try to see if it works.
>
> Manual installation worked for me.
> But it was not installed after setup either.
>
> Although someone else installed Alpha 2 on the same machine
> without any problems.
>
> The only difference was he used IE and I used Firefox PR1.
AFAIK there _may_ be an issue with the module selection (in the setup
wizard) and JavaScript compatibility in Moz/Firefox. May be related to the
automatic dependency check JavaScript. I'll check this and make sure we
remove this issue (if it exists) for the next release...
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
------------------------------
Message: 26
Date: Wed, 27 Oct 2004 11:52:39 -0700
From: "Kellen Dye" <kdye at library.ucsd.edu>
Subject: [opencms-dev] missing /opencms/opencms/index.jsp ?
To: <opencms-dev at opencms.org>
Message-ID: <s17f8c17.004 at LIBRARY.ucsd.edu>
Content-Type: text/plain; charset=US-ASCII
Setup:
Tomcat 5.0.28
Debian Linux
Java 1.4.1
Firefox PR1
After a successful install, I am on step 10, in step_10_finished.jsp, where a link is presented to:
request.getContextPath() + "/opencms/index.jsp" (which is /opencms/opencms/index.jsp)
When I go to that URL i get nothing (an empty page).
looking in the DB, i do:
mysql> SELECT RESOURCE_PATH FROM CMS_ONLINE_STRUCTURE WHERE RESOURCE_PATH like '%index.jsp';
Empty set (0.01 sec)
I am able to get to the workspace and log in, etc, by going to:
/opencms/opencms/system/login/
Am I missing something here? or is the link wrong?
Kellen
------------------------------
Message: 27
Date: Wed, 27 Oct 2004 21:22:21 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] missing /opencms/opencms/index.jsp ?
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.6.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="US-ASCII"
Did you install 6.0 alpha 2? If so, the welcome module may not have been
imported because of a bug in the setup wizard. Try to install it manually
from the Administration -> Module management.
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 Kellen Dye
> Sent: Wednesday, October 27, 2004 8:53 PM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] missing /opencms/opencms/index.jsp ?
>
> Setup:
> Tomcat 5.0.28
> Debian Linux
> Java 1.4.1
> Firefox PR1
>
> After a successful install, I am on step 10, in
> step_10_finished.jsp, where a link is presented to:
> request.getContextPath() + "/opencms/index.jsp" (which is
> /opencms/opencms/index.jsp)
>
> When I go to that URL i get nothing (an empty page).
>
> looking in the DB, i do:
> mysql> SELECT RESOURCE_PATH FROM CMS_ONLINE_STRUCTURE WHERE
> mysql> RESOURCE_PATH like '%index.jsp';
> Empty set (0.01 sec)
>
> I am able to get to the workspace and log in, etc, by going to:
> /opencms/opencms/system/login/
>
> Am I missing something here? or is the link wrong?
>
> Kellen
>
>
> _______________________________________________
> 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
>
>
------------------------------
Message: 28
Date: Wed, 27 Oct 2004 21:33:09 +0200
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] missing /opencms/opencms/index.jsp ?
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <848y9sdki2.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii
"Kellen Dye" <kdye at library.ucsd.edu> writes:
> Am I missing something here? or is the link wrong?
You did not import the module "OpenCms 6.0 Welcome page and release notes"?
Regards,
Thomas
------------------------------
Message: 29
Date: Wed, 27 Oct 2004 12:50:31 -0700
From: "Kellen Dye" <kdye at library.ucsd.edu>
Subject: Re: [opencms-dev] missing /opencms/opencms/index.jsp ?
To: <opencms-dev at opencms.org>
Message-ID: <s17f99a8.072 at LIBRARY.ucsd.edu>
Content-Type: text/plain; charset=US-ASCII
During the installation, I had everything checked to install, including iirc the Welcome Page, etc. I will purge everything and do the install again, to see if I can reproduce this.
Kellen
>>> thomasmaerz at gmx.de 10/27/04 12:34 PM >>>
"Kellen Dye" <kdye at library.ucsd.edu> writes:
> Am I missing something here? or is the link wrong?
You did not import the module "OpenCms 6.0 Welcome page and release notes"?
Regards,
Thomas
_______________________________________________
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
------------------------------
Message: 30
Date: Wed, 27 Oct 2004 13:13:03 -0700
From: "Kellen Dye" <kdye at library.ucsd.edu>
Subject: Re: [opencms-dev] missing /opencms/opencms/index.jsp ?
To: <opencms-dev at opencms.org>
Message-ID: <s17f9ef0.018 at LIBRARY.ucsd.edu>
Content-Type: text/plain; charset=US-ASCII
After purging the webapp and the DB, I installed again and the page was there. Horray.
My previous installation had been interrupted and restarted; perhaps this caused the problem.
Kellen
>>> kdye at library.ucsd.edu 10/27/04 12:51 PM >>>
During the installation, I had everything checked to install, including iirc the Welcome Page, etc. I will purge everything and do the install again, to see if I can reproduce this.
Kellen
>>> thomasmaerz at gmx.de 10/27/04 12:34 PM >>>
"Kellen Dye" <kdye at library.ucsd.edu> writes:
> Am I missing something here? or is the link wrong?
You did not import the module "OpenCms 6.0 Welcome page and release notes"?
Regards,
Thomas
_______________________________________________
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
------------------------------
Message: 31
Date: Wed, 27 Oct 2004 16:41:57 -0400
From: Marc Davenport <mdavenport at endeca.com>
Subject: [opencms-dev] Inclusion loop error while going through the
HowTos
To: "'opencms-dev at opencms.org'" <opencms-dev at opencms.org>
Message-ID:
<D99914D9109BD411823800508BD9571806D82090 at exch01.ops.endeca.com>
Content-Type: text/plain; charset="iso-8859-1"
Greetings everybody,
I'm pretty new to using OpenCMS. I'm using version 5.0 because the site will
go live in about a month. I know everyone is having fun and more interested
in version 6.0 but I could use a few pointers. I've been working my way
through the Howto documents. I cannot get the basic jsp hot to to work. I
am getting a Resource loader error. The description is Dected inclusion
loop for target '........./form1.jsp'. Here are my very simple pages.
Could someone please glance at them and let me know what I'm doing wrong.
there are people in the archives with similar problems, but I couldnt find a
resolution. Any help would be much appreciated.
Marc Davenport
Truncated Error message
=============================
javax.servlet.ServletException: Resource loader error in file
'/system/modules/com.opencms.endeca/form1.jsp'
Root cause:
javax.servlet.ServletException: javax.servlet.jsp.JspException:
FlexDispatcher: Dectected inclusion loop for target
/system/modules/com.opencms.endeca/form1.jsp
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:821)
{root}/templates/main.xml
===========================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- This links the XMLTemplate mechanism with the JSP templates.
So far it is required because the WYSIWYG editor still is
completly based on the XMLTemplates. -->
<xmltemplate>
<!-- Define the stylesheet for the WYSIWYG editor -->
<stylesheet> /system/modules/com.opencms.endeca/resources/main.css
</stylesheet>
<!-- Template description, pretty short for a JSP template -->
<template>
<element name="jsptemplate" />
</template>
<!-- This describes the "jsptemplate" element used above.
Important: The element must NOT be called "frametemplate",
because in that case the stylesheet does not work. -->
<elementdef name="jsptemplate">
<!-- Always use this class tag when inserting a JSP element in your
page: -->
<class>com.opencms.flex.CmsJspTemplate</class>
<!-- Just add the path to your JSP here: -->
<template>../jsptemplates/main.jsp</template>
</elementdef>
</xmltemplate>
{root}/jsptemplates/main.jsp
===================================
<%@ page import="com.opencms.flex.jsp.*" %>
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:template element="head">
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><cms:property name="title" escapeHtml="true" /></title>
<link type="text/css" rel="stylesheet"
href="<cms:link>../resources/main.css</cms:link>">
</head>
<body>
<h2>My first template head</h2>
<!-- Main page body starts here -->
</cms:template>
<cms:template element="body">
<cms:include element="body" />
</cms:template>
<cms:template element="foot">
<!-- Main page body ends here -->
<h2>My first template foot</h2>
</body>
</html>
</cms:template>
Lastly, {root} form1.jsp
===================================
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" element="head" />
<%
String name = request.getParameter("name");
if (name != null) {
%>
<h2>Your name is: <%= name %></h2>
<% } %>
<form name="test" method="get" action="form1.jsp">
<p>Enter your name: <input name="name" size="20" value=""> <input
type="submit" value="OK"></p>
</form>
<cms:include property="template" element="foot" />
This email message and any attachments are confidential to Endeca. If you
are not the intended recipient, please notify Endeca immediately -- by
replying to this message or by sending an email to: legal at endeca.com -- and
destroy all copies of this message and any attachments. Thank you.
------------------------------
Message: 32
Date: Wed, 27 Oct 2004 14:23:33 -0700
From: "Kellen Dye" <kdye at library.ucsd.edu>
Subject: [opencms-dev] Changing Admin user password
To: <opencms-dev at opencms.org>
Message-ID: <s17faf7a.089 at LIBRARY.ucsd.edu>
Content-Type: text/plain; charset="us-ascii"
Upon initial installation, OpenCMS suggests that one change the Admin password.
When one goes to Administration > Edit Users > Select "Admin", click "Edit"
and just enters a new password, an error is thrown:
org.opencms.main.CmsException: user data missing
Which comes from:
CmsAdminUsers.java:446
Which is:
if(email.equals("") || userLastname.equals("") || user.equals("")) {
throw new CmsException("user data missing", CmsException.C_NO_USER); }
Which is somewhat silly since there is no default lastname or email for the admin. I suggest either the lastname or email not be required, or a default one for the admin be supplied.
Also better error messages (distinct ones for each of email, lastname, and usernmae) should exist so that a user entering info here can figure out what they did wrong.
Next, once I have supplied a lastname and email, I see two password fields: "Password" and "Confirm Password". This setup makes me assume that I am entering in the _new_ password in both fields, which I do and get:
org.opencms.main.CmsException: [org.opencms.db.CmsDriverManager] Error resetting password for user 'Admin'
Looking at the code at:
CmsDriverManager.java:6707
I see that this actually wants the first password to be the _old_ password and the new password to be entered into "Confirm Password".
This is very confusing. It seems like the "change password" area should be redesigned (relabeled at least). A good setup might be:
Old Password: ______
New Password: ______
Confirm New Password: _____
I have attatched a patch to give more descriptive error messages for the user data problem. It defines a new error code, C_USER_DATA. I also added two error code descriptions which were absent for C_GROUP_ALREADY_EXISTS and C_USER_ALREADY_EXISTS.
Should I open a bug report to submit this patch, or is over the list okay?
Kellen
-------------- next part --------------
Index: src/com/opencms/workplace/CmsAdminUsers.java
===================================================================
RCS file: /usr/local/cvs/opencms/src/com/opencms/workplace/CmsAdminUsers.java,v
retrieving revision 1.49
diff -u -r1.49 CmsAdminUsers.java
--- src/com/opencms/workplace/CmsAdminUsers.java 15 Oct 2004 15:05:50 -0000 1.49
+++ src/com/opencms/workplace/CmsAdminUsers.java 27 Oct 2004 21:11:25 -0000
@@ -441,11 +441,18 @@
// form submitted, try to change the user data
try {
- if(email.equals("") || userLastname.equals("")
- || user.equals("")) {
- throw new CmsException("user data missing",
- CmsException.C_NO_USER);
+ if(user.equals("")) {
+ throw new CmsException("username missing",
+ CmsException.C_NO_USER);
+ }
+ if(email.equals("")) {
+ throw new CmsException("user email missing",
+ CmsException.C_USER_DATA);
}
+ if(userLastname.equals("")) {
+ throw new CmsException("user last name missing",
+ CmsException.C_USER_DATA);
+ }
if(!pwd.equals(pwd2)) {
throw new CmsException("unequal passwords",
CmsSecurityException.C_SECURITY_INVALID_PASSWORD);
Index: src/org/opencms/main/CmsException.java
===================================================================
RCS file: /usr/local/cvs/opencms/src/org/opencms/main/CmsException.java,v
retrieving revision 1.10
diff -u -r1.10 CmsException.java
--- src/org/opencms/main/CmsException.java 22 Oct 2004 14:37:40 -0000 1.10
+++ src/org/opencms/main/CmsException.java 27 Oct 2004 21:11:25 -0000
@@ -97,7 +97,10 @@
"Wrong scheme for http resource",
"Wrong scheme for https resource",
"Error in Flex cache",
- "Error in Flex loader" };
+ "Error in Flex loader"
+ "Group already exists"
+ "User already exists"
+ "User data error" };
/** Error code for file exists exception. */
public static final int C_FILE_EXISTS = 12;
@@ -143,6 +146,9 @@
/** Error code for no user exception. */
public static final int C_NO_USER = 10;
+
+ /** Error code for user data exception. */
+ public static final int C_USER_DATA = 43;
/** Error code for no admin exception. */
public static final int C_NOT_ADMIN = 6;
------------------------------
Message: 33
Date: Wed, 27 Oct 2004 23:11:22 +0100
From: "Olli Aro" <olli_aro at yahoo.co.uk>
Subject: [opencms-dev] OpenCMS Alpha 2 on Windows XP
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <200410272211.CVN89310 at msgdirector3.onetel.net.uk>
Content-Type: text/plain; charset="windows-1252"
Hi all,
Has anyone managed to install Alpha 2 on Windows XP? My attempts keep
failing and I am starting to think that it must be because Windows XP still
have 255 characters limitation for path length (HYPERLINK
"http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-u
s/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_
fil_rbrx.asp"http://www.microsoft.com/resources/documentation/Windows/XP/all
/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit
/en-us/prkc_fil_rbrx.asp). My installation fails with the modules, but gets
always further shorter I set by tomcat path. However, my tomcat is now in
root directory and called 't', so cannot shorten the path any more than
that...
Regards,
Olli
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041027/02779639/attachment-0001.html
------------------------------
Message: 34
Date: Thu, 28 Oct 2004 09:58:32 +1000
From: mmihaili at csc.com.au
Subject: Re: [opencms-dev] Two Body Elements under Opencms6 Alpha
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID:
<OF045DA8DB.EF5492AF-ONCA256F3A.00838C3B-CA256F3A.0083B3DD at int.csc.com.au>
Content-Type: text/plain; charset=us-ascii
I'm not sure I have understood this. Does this mean we should not use
default_bodies?
I have something like the following that works:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page SYSTEM "/system/shared/page.dtd">
<page>
<elements>
<element name="featuretitle" language="en" enabled="true">
<links/>
<content><![CDATA[]]></content>
</element>
<element name="hotspottitle" language="en" enabled="true">
<links/>
<content><![CDATA[]]></content>
</element>
<element name="hotspot1" language="en" enabled="true">
<links/>
<content><![CDATA[]]></content>
</element>
<element name="hotspot2" language="en" enabled="true">
<links/>
<content><![CDATA[]]></content>
</element>
<element name="hotspot3" language="en" enabled="true">
<links/>
<content><![CDATA[]]></content>
</element>
</elements>
</page>
Moris Mihailidis
__________________________________________________
Computer Sciences Corporation
EBS-BSS Web Services e-Business South
58 Queensbridge St, Southbank, VIC 3006, Australia
Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
Email: mmihaili at csc.com.au
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
Joachim Arrasz
<info at arrasz.de> To: The OpenCms mailing list <opencms-dev at opencms.org>
Sent by: cc:
opencms-dev-bounces@ Subject: Re: [opencms-dev] Two Body Elements under Opencms6 Alpha
opencms.org
27/10/2004 01:29 AM
Please respond to
The OpenCms mailing
list
Hi Sebastian,
>> template-elements:body*|Body,body2*|Body2
>
>
this is exactly what i searched for ... then it just works ... :-)
Thanks a lot for this!
Bye Achim
--
/**
* @author Joachim Arrasz
* --> head of technology research <--
* @phone +49/(0)721/66487932
* @mobile 0160/8021351
* @mail arrasz at synyx.de
* @url http://www.synyx.de
*/
_______________________________________________
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
------------------------------
Message: 35
Date: Thu, 28 Oct 2004 10:20:29 +1000
From: mmihaili at csc.com.au
Subject: Re: [opencms-dev] xml document for default_bodies!?
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID:
<OFB3402BCD.8E26AA46-ONCA256F3B.0001DCF4-CA256F3B.0001E030 at int.csc.com.au>
Content-Type: text/plain; charset=iso-8859-1
what version of opencms?
Moris Mihailidis
__________________________________________________
Computer Sciences Corporation
EBS-BSS Web Services e-Business South
58 Queensbridge St, Southbank, VIC 3006, Australia
Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
Email: mmihaili at csc.com.au
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"Stephan Löffler"
<stephanloeffler at gmx To: opencms-dev at opencms.org
.de> cc:
Sent by: Subject: [opencms-dev] xml document for default_bodies!?
opencms-dev-bounces@
opencms.org
28/10/2004 02:09 AM
Please respond to
The OpenCms mailing
list
Hi there,
hope someone can help me. I created a default body, but I get an exception,
telling me, that the XML-document is not wellformed.
I found an older thread about that prob, where there is a statement that
one
needs a XML-File like in /system/body/...
http://mail.opencms.org/pipermail/opencms-dev/2003q2/005495.html
However, there is no such folder on my instance of OpenCMS and I didn't
find
any other XML-File, whose structure would seem appropriate.
Could please someone tell me the right structure for the document.
Tanks a lot,
Stephan
--
--------------------------------
Stephan Loeffler
Heinrich v. Kleist Str. 38
95447 Bayreuth
Tel.: 0921-5072665
Cell.:0179-6994085
-------------------------------
Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++
_______________________________________________
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
------------------------------
Message: 36
Date: Wed, 27 Oct 2004 21:46:45 -0300
From: "Mariano Barcia" <opencms at colaborativa.net>
Subject: [opencms-dev] locale mechanism not working anymore in alpha 1
To: <opencms-dev at opencms.org>
Message-ID: <000a01c4bc87$9a929100$0100a8c0 at colaborativa.net>
Content-Type: text/plain; charset="us-ascii"
Hi all,
Different locales for a website were working in v 5.3.5. After
exporting, and importing into a fresh install of alpha 1, they don't
work anymore. Has this been solved in apha 2? or the mechanism has
changed and we should change our config?
TIA,
--mariano
------------------------------
Message: 37
Date: Wed, 27 Oct 2004 22:24:53 -0300
From: "Mariano Barcia" <opencms at colaborativa.net>
Subject: RE: [opencms-dev] locale mechanism not working anymore in
alpha 1
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <000b01c4bc8c$ee4eee10$0100a8c0 at colaborativa.net>
Content-Type: text/plain; charset="iso-8859-1"
Sorry, please disregard this message.
Forgot to setup the proper locale configuration in config/system.xml
--mariano
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] En nombre de Mariano Barcia
Enviado el: Miércoles, 27 de Octubre de 2004 09:47 p.m.
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] locale mechanism not working anymore in alpha 1
Hi all,
Different locales for a website were working in v 5.3.5. After
exporting, and importing into a fresh install of alpha 1, they don't
work anymore. Has this been solved in apha 2? or the mechanism has
changed and we should change our config?
TIA,
--mariano
_______________________________________________
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
------------------------------
Message: 38
Date: Thu, 28 Oct 2004 15:23:44 +1000
From: mmihaili at csc.com.au
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID:
<OF37A9F204.4EB323DB-ONCA256F3B.001C4926-CA256F3B.001DA3BF at int.csc.com.au>
Content-Type: text/plain; charset=us-ascii
I have successfully installed OpenCMS v6 a2 on Windows XP sp1, MySQL
4.0.18, Tomcat 5.0.28 using IE6 and again with Firefox.
I can open resources and the demos work fine.
There were a couple of issues during setup (I can look into fixing if
required);
As Olli Aro found out, there is a Windows XP limitation on filename length,
so when I attempted to extract the opencms.war to my existing webapp
directory, it failed. I resolved this by moving my webapp directory to the
root, thus shortening the overall pathname.
The Setup Wizard has an issue while importing the
org.opencms.frontend.templateone modules.
Following the resolution is the relevant part of my setup.log
I recommend not importing these 3 modules during the Setup Wizard, but
after, manually via the workplace, until the issue is resolved.
Now to checkout the demos more closely...
2931: Admin at Offline># Import the modules that have been selected in the
setup wizard
2932: Admin at Offline>importModulesFromSetupBean
2933: ------ Importing module ...------ org.opencms.editors.htmlarea
2934: org.opencms.configuration.CmsConfigurationException: Error in the
OpenCms configuration. [Code 300 - Error in the OpenCms configuration.]
2935: at
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:420)
2936: at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:302)
2937: at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:401)
2938: at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1264)
2939: at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:749)
2940: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2941: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2942: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2943: at java.lang.reflect.Method.invoke(Method.java:324)
2944: at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:237)
2945: at org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
2946: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
2947: at org.opencms.main.CmsShell.start(CmsShell.java:491)
2948: at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
2949:
2950: ------ Importing module ...------ org.opencms.frontend.templateone
2951: org.opencms.configuration.CmsConfigurationException: Error in the
OpenCms configuration. [Code 300 - Error in the OpenCms configuration.]
2952: at
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:420)
2953: at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:302)
2954: at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:401)
2955: at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1264)
2956: at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:749)
2957: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2958: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2959: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2960: at java.lang.reflect.Method.invoke(Method.java:324)
2961: at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:237)
2962: at org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
2963: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
2964: at org.opencms.main.CmsShell.start(CmsShell.java:491)
2965: at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
2966:
2967: ------ Importing module ...------
org.opencms.frontend.templateone.democontent
2968: org.opencms.configuration.CmsConfigurationException: Error in the
OpenCms configuration. [Code 300 - Error in the OpenCms configuration.]
2969: at
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:420)
2970: at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:302)
2971: at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:401)
2972: at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1264)
2973: at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:749)
2974: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2975: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2976: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2977: at java.lang.reflect.Method.invoke(Method.java:324)
2978: at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:237)
2979: at org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
2980: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
2981: at org.opencms.main.CmsShell.start(CmsShell.java:491)
2982: at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
2983:
2984: ------ Importing module ...------
org.opencms.frontend.templateone.xmlcontentdemo
2985: org.opencms.configuration.CmsConfigurationException: Error in the
OpenCms configuration. [Code 300 - Error in the OpenCms configuration.]
2986: at
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:420)
2987: at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:302)
2988: at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:401)
2989: at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1264)
2990: at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:749)
2991: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2992: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2993: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2994: at java.lang.reflect.Method.invoke(Method.java:324)
2995: at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:237)
2996: at org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
2997: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
2998: at org.opencms.main.CmsShell.start(CmsShell.java:491)
2999: at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
3000:
3001: ------ Importing module ...------ org.opencms.legacy.compatibility
Moris Mihailidis
__________________________________________________
Computer Sciences Corporation
EBS-BSS Web Services e-Business South
58 Queensbridge St, Southbank, VIC 3006, Australia
Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
Email: mmihaili at csc.com.au
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------
"Alexander Kandzior"
<alex at opencms.org> To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Sent by: cc:
opencms-dev-bounces@ Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty error
opencms.org
28/10/2004 03:26 AM
Please respond to
The OpenCms mailing
list
> >> I have 6 alpha 2 installed ok with no problems but the xmlcontent
> >> demo page (linked from templateone to
> >> http://localhost:8080/opencms/xmlcontent) is an empty page
> - despite
> >> making sure the checkbox is checked on install....
> >>
> >> Having looked in the module list, i notice that the
> xmlcontent module
> >> is missing - do i therefore need to manually install it?
> >
> > You could at last try to see if it works.
>
> Manual installation worked for me.
> But it was not installed after setup either.
>
> Although someone else installed Alpha 2 on the same machine
> without any problems.
>
> The only difference was he used IE and I used Firefox PR1.
AFAIK there _may_ be an issue with the module selection (in the setup
wizard) and JavaScript compatibility in Moz/Firefox. May be related to the
automatic dependency check JavaScript. I'll check this and make sure we
remove this issue (if it exists) for the next release...
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
_______________________________________________
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
------------------------------
Message: 39
Date: Thu, 28 Oct 2004 09:16:21 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] OpenCMS Alpha 2 on Windows XP
To: <olli_aro at yahoo.co.uk>, "'The OpenCms mailing list'"
<opencms-dev at opencms.org>
Message-ID: <mailman.7.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"
Yes, we do install on XP regularly. We have NTFS and e.g. my path is
C:\Java\Tmpcat_5_18\.
A workarounf may be zipping the modules (each module folder, individually)
before starting the setup. Zipped modules are still supported, of course,
it's just easier to keep them in CVS zipped.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
<http://www.alkacon.com/> http://www.alkacon.com
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
Sent: Thursday, October 28, 2004 12:11 AM
To: 'The OpenCms mailing list'
Subject: [opencms-dev] OpenCMS Alpha 2 on Windows XP
Hi all,
Has anyone managed to install Alpha 2 on Windows XP? My attempts keep
failing and I am starting to think that it must be because Windows XP still
have 255 characters limitation for path length
(http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-u
s/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prkc_
fil_rbrx.asp). My installation fails with the modules, but gets always
further shorter I set by tomcat path. However, my tomcat is now in root
directory and called 't', so cannot shorten the path any more than that.
Regards,
Olli
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20041028/e253c0d8/attachment.html
------------------------------
Message: 40
Date: Thu, 28 Oct 2004 09:20:38 +0200
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.8.1098957602.23735.opencms-dev at opencms.org>
Content-Type: text/plain; charset="US-ASCII"
I assume the issues you encounter are related to the XP path length problem,
which is really new to me. Are you using FAT32 as file system? We have XP on
6 machines (all NTFS) and never had any path length limit problem.
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
> mmihaili at csc.com.au
> Sent: Thursday, October 28, 2004 7:24 AM
> To: The OpenCms mailing list
> Subject: RE: [opencms-dev] xmlcontent blank page + siteroot
> empty error
>
> I have successfully installed OpenCMS v6 a2 on Windows XP
> sp1, MySQL 4.0.18, Tomcat 5.0.28 using IE6 and again with Firefox.
> I can open resources and the demos work fine.
>
> There were a couple of issues during setup (I can look into
> fixing if required);
>
> As Olli Aro found out, there is a Windows XP limitation on
> filename length, so when I attempted to extract the
> opencms.war to my existing webapp directory, it failed. I
> resolved this by moving my webapp directory to the root, thus
> shortening the overall pathname.
>
> The Setup Wizard has an issue while importing the
> org.opencms.frontend.templateone modules.
> Following the resolution is the relevant part of my setup.log
> I recommend not importing these 3 modules during the Setup
> Wizard, but after, manually via the workplace, until the
> issue is resolved.
> Now to checkout the demos more closely...
>
> 2931: Admin at Offline># Import the modules that have been
> selected in the setup wizard
> 2932: Admin at Offline>importModulesFromSetupBean
> 2933: ------ Importing module ...------ org.opencms.editors.htmlarea
> 2934: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2935: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2936: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2937: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2938: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2939: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2940: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2941: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2942: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2943: at java.lang.reflect.Method.invoke(Method.java:324)
> 2944: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2945: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2946: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2947: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2948: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2949:
> 2950: ------ Importing module ...------
> org.opencms.frontend.templateone
> 2951: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2952: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2953: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2954: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2955: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2956: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2957: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2958: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2959: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2960: at java.lang.reflect.Method.invoke(Method.java:324)
> 2961: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2962: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2963: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2964: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2965: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2966:
> 2967: ------ Importing module ...------
> org.opencms.frontend.templateone.democontent
> 2968: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2969: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2970: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2971: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2972: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2973: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2974: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2975: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2976: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2977: at java.lang.reflect.Method.invoke(Method.java:324)
> 2978: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2979: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2980: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2981: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2982: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2983:
> 2984: ------ Importing module ...------
> org.opencms.frontend.templateone.xmlcontentdemo
> 2985: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2986: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2987: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2988: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2989: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2990: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2991: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2992: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2993: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2994: at java.lang.reflect.Method.invoke(Method.java:324)
> 2995: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2996: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2997: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2998: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2999: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 3000:
> 3001: ------ Importing module ...------
> org.opencms.legacy.compatibility
>
>
> Moris Mihailidis
> __________________________________________________
> Computer Sciences Corporation
> EBS-BSS Web Services e-Business South
> 58 Queensbridge St, Southbank, VIC 3006, Australia
> Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
> Email: mmihaili at csc.com.au
> --------------------------------------------------------------
> --------------------------
>
> This is a PRIVATE message. If you are not the intended
> recipient, please delete without copying and kindly advise us
> by e-mail of the mistake in delivery. NOTE: Regardless of
> content, this e-mail shall not operate to bind CSC to any
> order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the
> use of e-mail for such purpose.
> --------------------------------------------------------------
> --------------------------
>
>
>
>
>
>
>
> "Alexander Kandzior"
>
>
> <alex at opencms.org> To:
> "'The OpenCms mailing list'" <opencms-dev at opencms.org>
>
> Sent by: cc:
>
>
> opencms-dev-bounces@ Subject:
> RE: [opencms-dev] xmlcontent blank page + siteroot empty
> error
> opencms.org
>
>
>
>
>
>
>
>
> 28/10/2004 03:26 AM
>
>
> Please respond to
>
>
> The OpenCms mailing
>
>
> list
>
>
>
>
>
>
>
>
>
>
>
>
> > >> I have 6 alpha 2 installed ok with no problems but the
> xmlcontent
> > >> demo page (linked from templateone to
> > >> http://localhost:8080/opencms/xmlcontent) is an empty page
> > - despite
> > >> making sure the checkbox is checked on install....
> > >>
> > >> Having looked in the module list, i notice that the
> > xmlcontent module
> > >> is missing - do i therefore need to manually install it?
> > >
> > > You could at last try to see if it works.
> >
> > Manual installation worked for me.
> > But it was not installed after setup either.
> >
> > Although someone else installed Alpha 2 on the same machine without
> > any problems.
> >
> > The only difference was he used IE and I used Firefox PR1.
>
> AFAIK there _may_ be an issue with the module selection (in the setup
> wizard) and JavaScript compatibility in Moz/Firefox. May be
> related to the automatic dependency check JavaScript. I'll
> check this and make sure we remove this issue (if it exists)
> for the next release...
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
>
>
> _______________________________________________
> 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
>
>
------------------------------
Message: 41
Date: Thu, 28 Oct 2004 08:35:10 +0100
From: "Olli Aro" <olli_aro at yahoo.co.uk>
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty
error
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <200410280735.CJF98603 at msgdirector4.onetel.net.uk>
Content-Type: text/plain; charset="Windows-1252"
Yes - my error is exactly this and the hard disc is configured FAT32.
Olli
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alexander Kandzior
Sent: 28 October 2004 08:21
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] xmlcontent blank page + siteroot empty error
I assume the issues you encounter are related to the XP path length problem,
which is really new to me. Are you using FAT32 as file system? We have XP on
6 machines (all NTFS) and never had any path length limit problem.
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
> mmihaili at csc.com.au
> Sent: Thursday, October 28, 2004 7:24 AM
> To: The OpenCms mailing list
> Subject: RE: [opencms-dev] xmlcontent blank page + siteroot
> empty error
>
> I have successfully installed OpenCMS v6 a2 on Windows XP
> sp1, MySQL 4.0.18, Tomcat 5.0.28 using IE6 and again with Firefox.
> I can open resources and the demos work fine.
>
> There were a couple of issues during setup (I can look into
> fixing if required);
>
> As Olli Aro found out, there is a Windows XP limitation on
> filename length, so when I attempted to extract the
> opencms.war to my existing webapp directory, it failed. I
> resolved this by moving my webapp directory to the root, thus
> shortening the overall pathname.
>
> The Setup Wizard has an issue while importing the
> org.opencms.frontend.templateone modules.
> Following the resolution is the relevant part of my setup.log
> I recommend not importing these 3 modules during the Setup
> Wizard, but after, manually via the workplace, until the
> issue is resolved.
> Now to checkout the demos more closely...
>
> 2931: Admin at Offline># Import the modules that have been
> selected in the setup wizard
> 2932: Admin at Offline>importModulesFromSetupBean
> 2933: ------ Importing module ...------ org.opencms.editors.htmlarea
> 2934: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2935: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2936: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2937: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2938: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2939: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2940: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2941: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2942: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2943: at java.lang.reflect.Method.invoke(Method.java:324)
> 2944: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2945: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2946: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2947: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2948: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2949:
> 2950: ------ Importing module ...------
> org.opencms.frontend.templateone
> 2951: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2952: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2953: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2954: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2955: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2956: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2957: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2958: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2959: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2960: at java.lang.reflect.Method.invoke(Method.java:324)
> 2961: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2962: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2963: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2964: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2965: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2966:
> 2967: ------ Importing module ...------
> org.opencms.frontend.templateone.democontent
> 2968: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2969: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2970: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2971: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2972: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2973: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2974: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2975: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2976: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2977: at java.lang.reflect.Method.invoke(Method.java:324)
> 2978: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2979: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2980: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2981: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2982: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 2983:
> 2984: ------ Importing module ...------
> org.opencms.frontend.templateone.xmlcontentdemo
> 2985: org.opencms.configuration.CmsConfigurationException:
> Error in the OpenCms configuration. [Code 300 - Error in the
> OpenCms configuration.]
> 2986: at
> org.opencms.module.CmsModuleImportExportHandler.importModule(C
> msModuleImportExportHandler.java:420)
> 2987: at
> org.opencms.module.CmsModuleImportExportHandler.importData(Cms
> ModuleImportExportHandler.java:302)
> 2988: at
> org.opencms.importexport.CmsImportExportManager.importData(Cms
> ImportExportManager.java:401)
> 2989: at
> org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetu
> pBean.java:1264)
> 2990: at
> org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsS
> etupBean.java:749)
> 2991: at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 2992: at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> 2993: at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> 2994: at java.lang.reflect.Method.invoke(Method.java:324)
> 2995: at
> org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsSh
> ell.java:237)
> 2996: at
> org.opencms.main.CmsShell.executeCommand(CmsShell.java:637)
> 2997: at
> org.opencms.main.CmsShell.executeCommands(CmsShell.java:707)
> 2998: at org.opencms.main.CmsShell.start(CmsShell.java:491)
> 2999: at
> org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWo
> rkplaceImportThread.java:148)
> 3000:
> 3001: ------ Importing module ...------
> org.opencms.legacy.compatibility
>
>
> Moris Mihailidis
> __________________________________________________
> Computer Sciences Corporation
> EBS-BSS Web Services e-Business South
> 58 Queensbridge St, Southbank, VIC 3006, Australia
> Ph: +61-3-8695-1527 Fax:+61-3-8695-1540
> Email: mmihaili at csc.com.au
> --------------------------------------------------------------
> --------------------------
>
> This is a PRIVATE message. If you are not the intended
> recipient, please delete without copying and kindly advise us
> by e-mail of the mistake in delivery. NOTE: Regardless of
> content, this e-mail shall not operate to bind CSC to any
> order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the
> use of e-mail for such purpose.
> --------------------------------------------------------------
> --------------------------
>
>
>
>
>
>
>
> "Alexander Kandzior"
>
>
> <alex at opencms.org> To:
> "'The OpenCms mailing list'" <opencms-dev at opencms.org>
>
> Sent by: cc:
>
>
> opencms-dev-bounces@ Subject:
> RE: [opencms-dev] xmlcontent blank page + siteroot empty
> error
> opencms.org
>
>
>
>
>
>
>
>
> 28/10/2004 03:26 AM
>
>
> Please respond to
>
>
> The OpenCms mailing
>
>
> list
>
>
>
>
>
>
>
>
>
>
>
>
> > >> I have 6 alpha 2 installed ok with no problems but the
> xmlcontent
> > >> demo page (linked from templateone to
> > >> http://localhost:8080/opencms/xmlcontent) is an empty page
> > - despite
> > >> making sure the checkbox is checked on install....
> > >>
> > >> Having looked in the module list, i notice that the
> > xmlcontent module
> > >> is missing - do i therefore need to manually install it?
> > >
> > > You could at last try to see if it works.
> >
> > Manual installation worked for me.
> > But it was not installed after setup either.
> >
> > Although someone else installed Alpha 2 on the same machine without
> > any problems.
> >
> > The only difference was he used IE and I used Firefox PR1.
>
> AFAIK there _may_ be an issue with the module selection (in the setup
> wizard) and JavaScript compatibility in Moz/Firefox. May be
> related to the automatic dependency check JavaScript. I'll
> check this and make sure we remove this issue (if it exists)
> for the next release...
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004
------------------------------
Message: 42
Date: Thu, 28 Oct 2004 14:51:11 +0700
From: cdg3472 <kosol.t at g-able.com>
Subject: [opencms-dev] Re: Does Opencms 6 alpha1 support Oracle8i?
To: opencms-dev at opencms.org
Message-ID: <4180A4EF.7000102 at g-able.com>
Content-Type: text/plain; charset=windows-874; format=flowed
Dear all
I have some short and stupid question.
- Does Opencms6 alpha1,2 support Oracle 8i??
- How to?
Best regard,
Kosol
-------------------------
Kosol Tuanveeradej
kosol.t at g-able.com
------------------------------
Message: 43
Date: Thu, 28 Oct 2004 11:44:52 +0200
From: "Maurizio Barucco" <maurizio at domino.it>
Subject: RE: [opencms-dev] Urgent Opencms hangs Oracle 9IAS 9.0.3
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <20041028094449.C959B56D at emailnew.domino.it>
Content-Type: text/plain; charset="iso-8859-1"
Hi Dariush,
I'm trying to use your pool implementation with datasources.
I have noticed that the datasource configuration for oracleOci and
oracleOcionline is the same for location and xa-location parameters.
Is this correct?
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dariush
Sent: giovedì 21 ottobre 2004 12.31
To: The OpenCms mailing list
Subject: RE: [opencms-dev] Urgent Opencms hangs Oracle 9IAS 9.0.3
Hi Alex,
my datasource implementation doesn't substitute at all the default connpool,
but it's an alternative.
Simply, you can decide to use it or not (setting useDataSource=true/false).
If you decide to use DataSource, OpenCms instantiates DataSourceDriver
instead of CmsDriver.
If you want the default connPool, you set useDataSource=false.
Moreover, like the default connPool, U need 3 different datasources and
their name is the same of orig connPool (for example oracleOci,
oracleOcionline, oracleOcibackup).
- For the shell, it can be forced to use connPool even if useDataSource=true
in opencms.properties
- For setup, simply I think that you should mantain the actual one and give
the opportunity, in production env, to make it possibile to switch to an
external datasource, especially using Oracle, modifying the
opencms.properties directly.
Dariush.
---------- Original Message -----------
From: "Alexander Kandzior" <alex at opencms.org>
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Sent: Thu, 21 Oct 2004 11:13:36 +0200
Subject: RE: [opencms-dev] Urgent Opencms hangs Oracle 9IAS 9.0.3
> Especially as all servlet engines nowadays provide Connection Pools,
> I find it a bit odd that OpenCMS needs to manage connections on its own.
>
> Alex ? Any plans on this ?
>
> For 6 we did replace the self-developed pool with the DBCP from
> Apache Jarkarta, which also Tomcat uses for it's own pool (i.e. we
> use the same pool that the Tomcat uses for it's datasources).
>
> There are 2 issues to take into consideration before replacing the current
> implementation:
>
> 1) The OpenCms shell runs outside the servlet container. I don't
> want to loose this functionality. How do we run the shell if the DB
> configuration is only available in the servlet container?
>
> 2) The setup wizard. Currently the DB configuration is written by
> the setup wizard. AFAIK there's no standard way to write a
> datasource configuration during servlet container runtime. I don't
> want to have the configuration done manually by default, since
> apparently even in the current state the setup is an issue for many
> people. How do we do the setup wizard with datasources?
>
> A way to go (for 6.0) could be to have an alternative pool implementation
> that relys on datasources. This could be configured manually after
> (or before?) the setup wizard runs. The pool itself can already be
> configured in
> 6.0, maybe we would require some slight changes.
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com/>
>
> _______________________________________________
> 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
------- End of Original Message -------
_______________________________________________
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
End of opencms-dev Digest, Vol 12, Issue 4
******************************************
More information about the opencms-dev
mailing list