[opencms-dev] Re: Xerces Hell: cannot Edit Page without error
Steve
steve.welsh at redplanetuk.com
Mon Aug 23 17:24:28 CEST 2004
Hi,
Just read your e-mail and it reminded me of a similar problem we had
with Xerces under tomcat. In addition to providing the jar as an
endorsed library for tomcat, we also had to set the following in our
system environment:-
JAVA_OPTS=-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser
The correct parser class was then used for the job. Also, whilst trying
things out like this, you might find it better to run Tomcat as a
'console' application rather than a Windows Service - when running as a
service, I'm pretty certain that the Tomcat process does NOT read the
environment.
Hope this helps.
Steve,
REDPlanet Technologies Ltd,
Salters House,
Salters Lane Ind. Est.,
Sedgefield,
Stockton-on-Tees,
TS21 3EE
UK
www.redplanetuk.com
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Bill Klintoe
Sent: 23 August 2004 16:00
To: opencms-dev at opencms.org
Subject: [opencms-dev] Re: Xerces Hell: cannot Edit Page without error
I have tried a few more things with no luck. I had
previously used Tomcat 5, but just downgraded to
4.1.30 in case that was the problem. I deleted the
$CATALINA_HOME/common/endorsed/xercesImpl.jar and
replaced it with the WEB-INF/lib version, restarted
Tomcat, and *drum roll*
It's still broken!
When I lock a file and try to edit page, I get the 404
Resource error, and the details say Insufficient
rights.
I'm using the right versions of everything, OpenCMS
installs and works fine, I can create projects, but I
can't get Edit Page to work still.
Is there anyone who can help debug this? It's running
on Debian Linux 2.6 kernel, using MySQL, OpenCMS
5.0.1, the 1.5.0 JDK and Tomcat 4.1.30.
Thanks for any help!
--- Leonardo.Maldonado at corp.terralycos.com escribió:
>
> You must rename the file your xerces-1_4_4.jar to
> $CATALINA_HOME/common/endorsed/xercesImpl.jar, like
> the file deleted.
> Then restart tomcat.
>
------------------------------------------------------------------------
-
> Leonardo Maldonado C.
> Ing. Desarrollo
>
------------------------------------------------------------------------
> Terra Lycos Colombia
> Diagonal 97 # 17-60 Oficina 402 Piso Cuarto.
> Bogotá, Colombia
> Tel. +57 1 6069898 ext. 4033
> Cel. 300 215 10 76
> Fax (571) 606 98 95
> http://www.terra.com.co/
>
------------------------------------------------------------------------
-
> Mercado Continuo: TRR | Nasdaq: TRRA
> Terra Networks Colombia S.A.
> NIT 830.065.651-5
>
------------------------------------------------------------------------
-
>
>
>
>
>
> Bill Klintoe
>
>
> <fourthirtysix at yahoo
> To: opencms-dev at opencms.org
>
> .com>
> cc:
>
> Sent by:
> Subject: [opencms-dev] Xerces Hell: I have replaced
> but still broken
> opencms-dev-bounces@
>
>
> opencms.org
>
>
>
>
>
>
>
>
> 08/18/04 01:37 PM
>
>
> Please respond to
>
>
> fourthirtysix;
>
>
> Please respond to
>
>
> The OpenCms mailing
>
>
> list
>
>
>
>
>
>
>
>
>
>
>
>
> Please help - I desperately want to use OpenCMS but
> am
> in Xerces hell.
>
> I have *REPLACED* meaning, first deleted (not
> renamed)
> the file in $CATALINA_HOME/common/endorsed with the
> xerces-1_4_4.jar from the WEB-INF/lib directory.
>
> I triple checked, and I have only the
> xerces-1_4_4.jar
> in those two directories. The old version
> (xercelImpl.jar) was deleted, so TOMCAT and OPENCMS
> should have the exact same Xerces.
>
> I have also verified the passwords in
> opencms.properties
>
> I restarted tomcat several times.
>
> But I still get the 404 Requested resource is not
> available error, and if I refresh that page I get
> the
> insufficient rights for editing the file
> /system/bodies/release/installation.html
>
> Help! Thanks
>
>
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Información de Estados Unidos y América Latina, en
> Yahoo! Noticias.
> Visítanos en http://noticias.espanol.yahoo.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
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.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
More information about the opencms-dev
mailing list