[opencms-dev] Re: getResource from CmsJspNavElement
Bruce Norman
bnorman at tibco.com
Fri Feb 13 15:45:02 CET 2004
Thank you!
-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Armen Markarian
Sent: Friday, February 13, 2004 1:45 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Re: getResource from CmsJspNavElement
CmsJspActionElement cms = new
CmsJspActionElement(pageContext, request, response);
CmsObject cmsObj = cms.getCmsObject();
ArrayList SitemapTree = null;
SitemapTree =
cms.getNavigation().getNavigationForFolder("/somefolder/");
Iterator iter = SitemapTree.iterator();
while (iter.hasNext()) {
com.opencms.flex.jsp.CmsJspNavElement ne =
(com.opencms.flex.jsp.CmsJspNavElement)iter.next();
CmsResource res = cmsObj.readFileHeader(ne.getResourceName());
// now you have your required CmsResource Object
}
Regards
Armen Markarian
-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von
opencms-dev-request at opencms.org
Gesendet: Freitag, 13. Februar 2004 04:31
An: opencms-dev at opencms.org
Betreff: opencms-dev digest, Vol 1 #833 - 5 msgs
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.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-admin 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. problems with handling special character using utf-8
(Harish.Chakravarthy at sjsu.edu)
2. getResource from CmsJspNavElement (Bruce Norman)
3. Re: getResource from CmsJspNavElement (M Butcher)
4. RE: Installation error (Balazs Wellisch)
5. file permissions on synchronized files
(=?ISO-8859-1?Q?Thomas_Gagn=E9?=)
--__--__--
Message: 1
To: opencms-dev at opencms.org
Cc: Harish.Chakravarthy at sjsu.edu
From: Harish.Chakravarthy at sjsu.edu
Date: Thu, 12 Feb 2004 15:00:48 -0800
Subject: [opencms-dev] problems with handling special character using
utf-8
Reply-To: opencms-dev at opencms.org
This is a multipart message in MIME format.
--=_alternative 007E752788256E38_=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Everyone,
I am having problems with handling special characters like ´
and=20 ’s
Here is any problem, any help will be appreciated.
Step 1:
I have a form with method=3Dpost
name : San Jos=E9 // Note accent mark
In my Java code, I print the value recieved -
My code: java.getParameter("name")
name : San Jos=C3=A9 // accent mark has
changed
Write this value to Mysql DB (name field is of type varchar) name field
in table has value: San Jos=E9 // Same as input, works !
---------------------------
Step 2:
In edit mode (EditBackoffice)
name : San Jos[]=20
// Accent is replaced by a new special character [](looks like a
square)=20 on IE // and looks like ? on Firebird
In my Java code, I print the value recieved -
name : San Jos=EF=BF=BD // [] is replace by another special character
Write this value to Mysql DB
name field in table has value: San Jos=FD // Different from the
initial=20 input value
opencms 5final,tomcat and templates have utf-8 encoding.
Any idea what is going on ?
Thanks
Harish
--=_alternative 007E752788256E38_=
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<br><font size=3D2 face=3D"sans-serif"><br>
</font><font size=3D2 face=3D"Courier New">Hi Everyone,</font> <br>
<br><font size=3D2 face=3D"Courier New">I am having problems with
handling = special characters like ´ and ’s</font>
<br> <br><font size=3D2 face=3D"Courier New">Here is any problem, any
help will = be appreciated.</font> <br> <br><font size=3D2
face=3D"Courier New">Step 1:</font> <br><font size=3D2 face=3D"Courier
New">I have a form with method=3Dpost</f=
ont>
<br><font size=3D2 face=3D"Courier New">name : San Jos=E9
&nb=
sp; // Note
accent = mark</font> <br> <br><font size=3D2 face=3D"Courier New">In my
Java code, I print the value = recieved -</font> <br><font size=3D2
face=3D"Courier New">My code: java.getParameter("na=
me")</font> <br><font size=3D2 face=3D"Courier New">name : San
Jos=C3=A9 =
 =
; // accent mark has changed</font>
<br>
<br><font size=3D2 face=3D"Courier New">Write this value to Mysql DB
(name = field is of type varchar)</font> <br><font size=3D2
face=3D"Courier New">name field in table has value: &nbs= p;San Jos=E9
// Same as input, works !</font> <br> <br><font size=3D2
face=3D"Courier New">---------------------------</font>
<br>
<br><font size=3D2 face=3D"Courier New">Step 2:</font> <br><font
size=3D2 face=3D"Courier New">In edit mode (EditBackoffice)</font>
<br><font size=3D2 face=3D"Courier New">name : San Jos[] </font>
<br><font size=3D2 face=3D"Courier New">// Accent is replaced by a
ne= w special character [](looks like a square) on IE</font> <br><font
size=3D2 face=3D"Courier New">// and looks like ? on Firebird</fo=
nt>
<br>
<br><font size=3D2 face=3D"Courier New">In my Java code, I print the
value = recieved -</font> <br><font size=3D2 face=3D"Courier New">name :
San Jos=EF=BF=BD // &= nbsp;[] is replace by another special
character</font> <br> <br><font size=3D2 face=3D"Courier New">Write this
value to Mysql DB</font> <br><font size=3D2 face=3D"Courier New">name
field in table has value: San = Jos=FD // Different from the
initial input value</font> <br> <br> <br><font size=3D2 face=3D"Courier
New">opencms 5final,tomcat and templates= have utf-8 encoding.</font>
<br> <br><font size=3D2 face=3D"Courier New">Any idea what is going on
?</font> <br> <br> <br><font size=3D2 face=3D"Courier New">Thanks</font>
<br><font size=3D2 face=3D"Courier New">Harish</font> --=_alternative
007E752788256E38_=--
--__--__--
Message: 2
Date: Thu, 12 Feb 2004 16:10:18 -0700
From: Bruce Norman <bnorman at tibco.com>
To: opencms-dev at opencms.org
Subject: [opencms-dev] getResource from CmsJspNavElement
Reply-To: opencms-dev at opencms.org
This is a multi-part message in MIME format.
--Boundary_(ID_i9Int+nJRRf986xqC6XK3g)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
I need to access last modified info. Can use
CmsResource.getDateLastModified() but I don't know how to getResource
from NavElement (tho I can get Resource Name??
Can someone fill in the missing piece - I assume this is probably pretty
easy.
Thx
Bruce Norman
--Boundary_(ID_i9Int+nJRRf986xqC6XK3g)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'>I need to access last
modified info. Can use CmsResource.getDateLastModified() but I
don’t know how to getResource from NavElement (tho I can get
Resource Name??</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'>Can someone fill in the
missing piece – I assume this is probably pretty
easy.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'>Thx</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt; font-family:Arial'>Bruce
Norman</span></font></p>
</div>
</body>
</html>
--Boundary_(ID_i9Int+nJRRf986xqC6XK3g)--
--__--__--
Message: 3
Date: Thu, 12 Feb 2004 17:06:38 -0700
From: M Butcher <mbutcher at grcomputing.net>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] getResource from CmsJspNavElement
Reply-To: opencms-dev at opencms.org
Use the resource name to get the resource from the CmsObject (which you
can get from the CmsJspActionElement).
Matt
Bruce Norman wrote:
> I need to access last modified info. Can use
> CmsResource.getDateLastModified() but I dont know how to getResource
> from NavElement (tho I can get Resource Name??
>
>
>
> Can someone fill in the missing piece I assume this is probably
> pretty
> easy.
>
>
>
> Thx
>
>
>
> Bruce Norman
>
--__--__--
Message: 4
From: "Balazs Wellisch" <balazs at neusolutions.com>
To: <opencms-dev at opencms.org>
Subject: RE: [opencms-dev] Installation error
Date: Thu, 12 Feb 2004 18:50:25 -0800
Reply-To: opencms-dev at opencms.org
Uwe,
I tried as you suggested and removed the mysql-jdbc rpm, but I'm still
getting the same error. Thank you for your suggestion. Any other ideas?
Balazs
-----Original Message-----
From: opencms-dev-admin at opencms.org =
[mailto:opencms-dev-admin at opencms.org]
On Behalf Of Uwe K=F6nig
Sent: Thursday, February 12, 2004 2:08 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Installation error
Hi,=20
Opencms ships with a different version of the MySQL-JDBC-driver.
Maybe=20 the one of your RPM is used and causes the error? I'd remove
the RPM one =
and try again. Best regards,=20
Uwe K=F6nig
On 12 Feb 2004 at 10:40, Balazs Wellisch wrote:
> Petr,
>=20
> Thank you for your help. Yes, I verified that MySQL is running and I
>specified a valid username and password. I know this because I can
>connect to the machine using that login both through mysqladmin and
>mysql. =20
> Any other ideas? I'm guessing the problem is the MySQL JDBC driver. Is
> there any way to verify my assumption?
>=20
> Thanks,
>=20
> Balazs
>=20
>=20
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Petr Hollay=20
Sent:
> Thursday, February 12, 2004 1:37 AM To: opencms-dev at opencms.org
> Subject: AW: [opencms-dev] Installation error
>=20
> Hi,
>=20
> com.mysql.jdbc.MysqlIO exception is related to MySQL.
>=20
> Check that:
> 1) MySQL server is running on your PC,
> 2) you've specified valid username and password in OpenCms wizard=20
when
> creating databases.
>=20
>=20
> Regards
> Petr
>=20
>=20
> -----Urspr=FCngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
>[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Balazs=20
Wellisch
> Gesendet: Donnerstag, 12. Februar 2004 00:25 An:
>opencms-dev at opencms.org Betreff: [opencms-dev] Installation error =20
> Hello,
>=20
> I tried to install OpenCms without success. I get what looks like a
> JDBC error during the install procedure. I get the error after I click
> continue on the database setup screen. (See below for exact error.) My
> database is up and running and I can connect to it fine. I would
> appreciate any assistance in solving this problem. Please see details
> below.
>=20
> Please keep in mind that I can't change the configuration and I have
> limited experience with Tomcat.
>=20
> Software:
>=20
> RedHat Enterprise Linux ES
> Apache 2.0.46-26=20
> Tomcat 4.1.27-8=20
> mod_jk2 4.1.27-8=20
> MySQL 3.23.58-1
> MySQL jdbc driver 3.0.8-1
>=20
> Packages used from standard CDROM and from RedHat Netword:
>=20
> httpd-2.0.46-26.ent.rpm=20
> IBMJava2-JRE-1.4.1-8.i386.rpm (RHES Application Server Beta)
> IBMJava2-SDK-1.4.1-9.i386.rpm (RHES Application Server Beta)
> tomcat-4.1.27-8.i386.rpm (RHES Application Server Beta)
> tomcat-libs-4.1.27-8.i386.rpm (RHES Application Server Beta)
> mod_jk2-4.1.27-8.i386.rpm (RHES Application Server Beta)
> mysql-server-3.23.58-1.i386.rpm (RHES Application Server Beta)
> mysql-jdbc-3.0.8-1.noarch.rpm (RHES Application Server Beta)
>=20
> Hardware:
>=20
> Dell PowerEdge 1650
> 1 Processor, 80530, 1.4GHZ, 512K, Tualatin, B1
> 2 Dual In-Line Memory Module, 512, 133M, 64X72, 8K, 168, Registered
> DIMM S 1 Hard Drive, 36GB, SCSI, U320, 10K, 80P, FJT
>=20
> Error (in ocsetup/create_database.jsp):
>=20
> org.apache.jasper.JasperException: com.mysql.jdbc.MysqlIO
> at
> org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse,
> java.lang.String, java.lang.Throwable, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
> org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpSe
> rvletR equest, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
> javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
> ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax
> .servl et.ServletRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet
> .Servl etRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardContextValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardContext.invoke(org.apache.catalina.Re
> quest, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.
> Reques t, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(org.apache.cata
> lina.R equest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina
> .Reque st, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalin
> a.Requ est, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.coyote.tomcat4.CoyoteAdapter.service(org.apache.coyote.Requ
> est, org.apache.coyote.Response)
> (/usr/lib/lib-org-apache-coyote-4.1.27.so)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
> org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
> org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
>=20
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.c
or
> e.MsgC ontext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
> (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> (/usr/lib/lib-org-apache-tomcat-util-4.1.27.so)
> at java.lang.Thread.run() (/lib/ssa/libgcj.so.4.0.0)
> at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0)
> at GC_start_routine (/lib/ssa/libgcj.so.4.0.0)
> at __clone (/lib/tls/libc-2.3.2.so)
>=20
>=20
> root cause=20
>=20
> javax.servlet.ServletException: com.mysql.jdbc.MysqlIO
> at
>=20
org.apache.jasper.runtime.PageContextImpl.handlePageException(java.lan
> g.Thro wable) (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
>org.apache.jsp.create_database_jsp._jspService(javax.servlet.http.Http
> Servle tRequest, javax.servlet.http.HttpServletResponse) (Unknown
> Source)
> at
>org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpS
> ervlet Request, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
> javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
> ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
> at
>org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http
> .HttpS ervletRequest, javax.servlet.http.HttpServletResponse,
> java.lang.String, java.lang.Throwable, boolean)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
>org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpSe
> rvletR equest, javax.servlet.http.HttpServletResponse)
> (/usr/lib/lib-org-apache-jasper-4.1.27.so)
> at
> javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
> ,
> javax.servlet.ServletResponse) (/usr/lib/lib-javax-servlet-4.1.7.so)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax
> .servl et.ServletRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet
> .Servl etRequest, javax.servlet.ServletResponse)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardContextValve.invoke(org.apache.catali
> na.Req uest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardContext.invoke(org.apache.catalina.Re
> quest, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.
> Reques t, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(org.apache.cata
> lina.R equest, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina
> .Reque st, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalin
> a.Requ est, org.apache.catalina.Response,
> org.apache.catalina.ValveContext)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext
> .invok eNext(org.apache.catalina.Request,
> org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.R
> equest , org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Requ
> est, org.apache.catalina.Response)
> (/usr/lib/lib-org-apache-catalina-4.1.27.so)
> at
>=20
org.apache.coyote.tomcat4.CoyoteAdapter.service(org.apache.coyote.Requ
> est, org.apache.coyote.Response)
> (/usr/lib/lib-org-apache-coyote-4.1.27.so)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
> org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
> org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
> org.apache.jk.core.MsgContext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at
>=20
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.c
or
> e.MsgC ontext) (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
> (/usr/lib/lib-org-apache-jk-4.1.27.so)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
> (/usr/lib/lib-org-apache-tomcat-util-4.1.27.so)
> at java.lang.Thread.run() (/lib/ssa/libgcj.so.4.0.0)
> at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0)
> at GC_start_routine (/lib/ssa/libgcj.so.4.0.0)
> at __clone (/lib/tls/libc-2.3.2.so)
>=20
>=20
> Any help would be greatly appreciated.
>=20
> Thanks in advance,
>=20
> Balazs Wellisch
>=20
>=20
>=20
>=20
> _______________________________________________
> 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
>=20
> _______________________________________________
> 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
>=20
>=20
> _______________________________________________
> 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
>=20
_______________________________________________
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: 5
Date: Thu, 12 Feb 2004 22:29:43 -0500
From: =?ISO-8859-1?Q?Thomas_Gagn=E9?= <tgagne at wideopenwest.com>
To: opencms-dev at opencms.org
Subject: [opencms-dev] file permissions on synchronized files
Reply-To: opencms-dev at opencms.org
Files created by the synchronization process are created like:
tgagne:/home/tgagne/work/opencms-5.0.1/system/modules/gagne.tgagne ls -l
total 40
4 drwxr-xr-x 3 tomcat4 tomcat4 4096 Feb 12 10:34 classes
4 drwxr-xr-x 2 tomcat4 tomcat4 4096 Feb 12 10:34
default_bodies
4 -rw-r--r-- 1 tomcat4 tomcat4 394 Feb 12 22:16 first.html
4 drwxr-xr-x 2 tomcat4 tomcat4 4096 Feb 12 22:17
jsptemplates
4 drwxr-xr-x 2 tomcat4 tomcat4 4096 Feb 12 10:34 lib
4 -rw-r--r-- 1 tomcat4 tomcat4 393 Feb 12 22:16 main.html
4 -rw-r--r-- 1 tomcat4 tomcat4 283 Feb 12 22:16 main.jsp
4 -rw-r--r-- 1 tomcat4 tomcat4 801 Feb 12 22:16 nav.html
4 drwxr-xr-x 2 tomcat4 tomcat4 4096 Feb 12 22:09 resources
4 drwxr-xr-x 2 tomcat4 tomcat4 4096 Feb 12 22:09 templates
which makes them difficult to edit as a user without first changing the
file permissions. Is that deliberate? Even if the user were a member
of the tomcat4 group they wouldn't be able to edit the file without
adding group write permissions. It's my box so I can be root, but I was
just wondering.
--__--__--
_______________________________________________
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
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list