[opencms-dev] Getting Java script error after successful login

Tapas Kumar Choudhury N. tapas.c at sonata-software.com
Tue Mar 2 06:31:02 CET 2004


Hi All,

            After login to OpenCMS (after successful validation of username
and password)I am getting JavaScript error of "vars_index" undefined
repeatedly.Beause of this error, explorer list is not coming up.Can anybody
guide me in this regard by explaining the reason behind this error?

Regards,
Tapas

-----Original Message-----
From: opencms-dev-request at opencms.org
[mailto:opencms-dev-request at opencms.org]
Sent: Tuesday, March 02, 2004 1:06 AM
To: opencms-dev at opencms.org
Subject: opencms-dev digest, Vol 1 #909 - 11 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. Installation Problem: Server configuration denies access to data
       source (Rafael Diaz Valdes)
   2. PDF and Word files indexation with Lucene module 1.5 (Federico Grilli)
   3. AW: [opencms-dev] Installation Problem: Server configuration denies
access to data source (Petr Hollay)
   4. Re: PDF and Word files indexation with Lucene module 1.5 (Ernesto De
Santis)
   5. Re: PDF and Word files indexation with Lucene module 1.5 (Federico
Grilli)
   6. Re: opencms5.3.3 and mod_proxy (WAS:opencms5.0.1 and
       tomcat5.0.19) (Guillermo Castro)
   7. Re: lucene external registry file not found error (Alex !)
   8. RE: Installation Problem: Server configuration denies access to data
source (Rafael Diaz Valdes)
   9. RE: opencms5.3.3 and mod_proxy (Alexander Kandzior)

--__--__--

Message: 1
Date: Mon, 01 Mar 2004 10:39:59 -0500
From: "Rafael Diaz Valdes" <rdiaz at ceaden.edu.cu>
To: opencms-dev at opencms.org
Subject: [opencms-dev] Installation Problem: Server configuration denies
access to data
 source
Reply-To: opencms-dev at opencms.org

Hi,
I am trying to configure Open CMS
5.0.0 with mysql. But while Database and and table creation I am getting
following error.
 
Could no connect to database via: jdbc:mysql://localhost:3306/
java.sql.SQLException: Server configuration denies access to data source
-------------------------------------------
java.lang.NullPointerException

I tested mysql with the root password I assigned using mysqladmin -u
root -p, so it looks like mysql is setup correctly.However when trying
to create the database in opencms I get that message.
 Best  Regards,
Rafael



                          \|||/   
                          (o o)
-----------------------oo0-(_)-0oo------------------------------- 
MSc.Rafael Díaz Valdes                                           
Dpto. Física
Centro de Aplicaciones Tecnológicas y Desarrollo Nuclear (CEADEN)
P.O. Box 6122, Cuba.
Tel: 2093920
E-Mail: rdiaz at ceaden.edu.cu
Fax:(537)2021518
-----------------------------------------------------------------


--__--__--

Message: 2
From: "Federico Grilli" <federicog at gruppoinit.it>
To: <opencms-dev at opencms.org>
Date: Mon, 1 Mar 2004 17:31:00 +0100
Subject: [opencms-dev] PDF and Word files indexation with Lucene module 1.5
Reply-To: opencms-dev at opencms.org

This is a multi-part message in MIME format.

------=_NextPart_000_0086_01C3FFB2.F6C7B2D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,

I have successfully installed Lucene module 1.5. Everything works fine =
with txt and html files, while I cannot figure out how to index pdf and =
word documents. Could somebody please tell me which entries I need to =
add to the registry.xml to get it work?=20

Thanks in advance,

Federico Grilli
------=_NextPart_000_0086_01C3FFB2.F6C7B2D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hello everybody,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have successfully installed Lucene =
module 1.5.=20
Everything works fine with txt and html files, while I cannot figure out =
how to=20
index pdf and word documents. Could somebody please tell me which =
entries I need=20
to add to the registry.xml to get it work? </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Federico=20
Grilli</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0086_01C3FFB2.F6C7B2D0--


--__--__--

Message: 3
From: "Petr Hollay" <ph at ethikom.de>
To: <opencms-dev at opencms.org>
Subject: AW: [opencms-dev] Installation Problem: Server configuration denies
access to data source
Date: Mon, 1 Mar 2004 17:43:54 +0100
Reply-To: opencms-dev at opencms.org

Hi,

1) do you have configured access for root user in MySQL for localhost?
2) what is the complete stack trace?

Best regards
Petr



-----Urspr=FCngliche Nachricht-----
Von: opencms-dev-admin at opencms.org =
[mailto:opencms-dev-admin at opencms.org] Im
Auftrag von Rafael Diaz Valdes
Gesendet: Montag, 1. M=E4rz 2004 16:40
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Installation Problem: Server configuration denies
access to data source

Hi,
I am trying to configure Open CMS
5.0.0 with mysql. But while Database and and table creation I am getting
following error.
=20
Could no connect to database via: jdbc:mysql://localhost:3306/
java.sql.SQLException: Server configuration denies access to data source
-------------------------------------------
java.lang.NullPointerException

I tested mysql with the root password I assigned using mysqladmin -u
root -p, so it looks like mysql is setup correctly.However when trying
to create the database in opencms I get that message.
 Best  Regards,
Rafael



                          \|||/  =20
                          (o o)
-----------------------oo0-(_)-0oo-------------------------------=20
MSc.Rafael D=EDaz Valdes                                          =20
Dpto. F=EDsica
Centro de Aplicaciones Tecnol=F3gicas y Desarrollo Nuclear (CEADEN)
P.O. Box 6122, Cuba.
Tel: 2093920
E-Mail: rdiaz at ceaden.edu.cu
Fax:(537)2021518
-----------------------------------------------------------------

_______________________________________________
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: 4
From: "Ernesto De Santis" <ernesto.desantis at colaborativa.net>
To: <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] PDF and Word files indexation with Lucene module
1.5
Date: Mon, 1 Mar 2004 13:49:23 -0300
Reply-To: opencms-dev at opencms.org

Hi Federico

                <docFactory enabled="true" type="binary">
                    <fileType name="pdftext">
                        <extension>.pdf</extension>

<class>net.grcomputing.opencms.search.lucene.PDFDocument</class>
                    </fileType>
                    <fileType name="wordtext">
                        <extension>.doc</extension>

<class>net.grcomputing.opencms.search.lucene.WordDocument</class>
                    </fileType>
                </docFactory>

Good luck
Ernesto.


----- Original Message ----- 
From: "Federico Grilli" <federicog at gruppoinit.it>
To: <opencms-dev at opencms.org>
Sent: Monday, March 01, 2004 1:31 PM
Subject: [opencms-dev] PDF and Word files indexation with Lucene module 1.5


Hello everybody,

I have successfully installed Lucene module 1.5. Everything works fine with
txt and html files, while I cannot figure out how to index pdf and word
documents. Could somebody please tell me which entries I need to add to the
registry.xml to get it work?

Thanks in advance,

Federico Grilli


--__--__--

Message: 5
From: "Federico Grilli" <federicog at gruppoinit.it>
To: <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] PDF and Word files indexation with Lucene module
1.5
Date: Mon, 1 Mar 2004 18:08:25 +0100
Reply-To: opencms-dev at opencms.org

It works. Thanks a lot!

----- Original Message ----- 
From: "Ernesto De Santis" <ernesto.desantis at colaborativa.net>
To: <opencms-dev at opencms.org>
Sent: Monday, March 01, 2004 5:49 PM
Subject: Re: [opencms-dev] PDF and Word files indexation with Lucene module
1.5


> Hi Federico
>
>                 <docFactory enabled="true" type="binary">
>                     <fileType name="pdftext">
>                         <extension>.pdf</extension>
>
> <class>net.grcomputing.opencms.search.lucene.PDFDocument</class>
>                     </fileType>
>                     <fileType name="wordtext">
>                         <extension>.doc</extension>
>
> <class>net.grcomputing.opencms.search.lucene.WordDocument</class>
>                     </fileType>
>                 </docFactory>
>
> Good luck
> Ernesto.
>
>
> ----- Original Message ----- 
> From: "Federico Grilli" <federicog at gruppoinit.it>
> To: <opencms-dev at opencms.org>
> Sent: Monday, March 01, 2004 1:31 PM
> Subject: [opencms-dev] PDF and Word files indexation with Lucene module
1.5
>
>
> Hello everybody,
>
> I have successfully installed Lucene module 1.5. Everything works fine
with
> txt and html files, while I cannot figure out how to index pdf and word
> documents. Could somebody please tell me which entries I need to add to
the
> registry.xml to get it work?
>
> Thanks in advance,
>
> Federico Grilli
>
> _______________________________________________
> 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: 6
Date: Mon, 1 Mar 2004 12:47:51 -0600 (CST)
Subject: Re: [opencms-dev] opencms5.3.3 and mod_proxy (WAS:opencms5.0.1 and 
     tomcat5.0.19)
From: "Guillermo Castro" <gcastro at javageekonline.com>
To: opencms-dev at opencms.org
Reply-To: opencms-dev at opencms.org

Well, I've decided that since I'm testing opencms, I would get the latest
version from cvs, compile it and install it on my server. Sure enough,
everything seems to be working out so far.

Now my problem is that I can't make it work with the example documentation
that explained how to integrate apache + tomcat + mod_proxy. It seems
there's no longer any option in the opencms.properties to determine the
root of the webapp, which I changed from opencms to ROOT.

Does anyone have any pointers on this? thanks.


Joachim Arrasz said:
> Hi,
>
>> Now, do you have an idea on when will opencms support tomcat 5? since
>> that's the latest release for tomcat, and since the solution seems
>> simple, I don't see why you can't upgrade opencms to xerces2.
>
> try the solution where the xerxersimpl.jar in /tomcat/endorsed/ will be
> replaced with xerxes1_4_.jar from Opencms.
> This worked not everytime but most of the times i think!
>
> I think in the next major release from Opencms this issue is resolved!
> This will be in 3.rd or 4.th quarter this year.
>
> Hope this helps
>
> Kind Regards
>
> Joachim Arrasz
>
> Synyx oHG Karlsruhe, Germany
>
>
> _______________________________________________
> 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
>


-- 
Guillermo Castro            Monterrey NL, Mexico
gcastro at javageekonline.com  http://www.javageek.org/

--__--__--

Message: 7
From: "Alex !" <kingofkingston at hotmail.com>
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] lucene external registry file not found error
Date: Mon, 01 Mar 2004 18:35:42 +0000
Reply-To: opencms-dev at opencms.org

yep tried em' they dont work either. system thinks it is trying to read a 
network path and complains that "network path does not exist".

Alex

>From: "Hartmann, Waehrisch & Feykes GmbH" <hartmann at waehrisch-feykes.de>
>Reply-To: opencms-dev at opencms.org
>To: <opencms-dev at opencms.org>
>Subject: Re: [opencms-dev] lucene external registry file not found error
>Date: Mon, 1 Mar 2004 09:30:14 +0100
>
>did you try double backslashes?
>
>----- Original Message -----
>From: "Alex !" <kingofkingston at hotmail.com>
>To: <opencms-dev at opencms.org>
>Sent: Monday, March 01, 2004 12:36 AM
>Subject: [opencms-dev] lucene external registry file not found error
>
>
> > Hi,
> >
> > I've got lucene up and running as far as the cmscron, and then it fails 
>as
> > the external registry file I specified can not be found. I have tried a
> > combination of forward slashes "/", backslashes "\", absolute paths, and
> > relative paths - but othing works :(
> >
> > I read that Matt, Ernesto and Ben had some posts in early feb 2004, but
> > couldnt work out how they fixed their problem.
> >
> > I need external registry files as I'll have more than one site running 
>off
> > the same installation, and in more than one language with entirely
>different
> > content.
> >
> > here is what i am putting into the task schedular/cronmanager:
> >
> > 15 17 * * * admin Administrators
> > net.grcomputing.opencms.search.lucene.CronIndexManager
> >
>"createIndex=true,registry=C:\tomcat-4.1.27\webapps\opencms\WEB-INF\config\
l
>ucene_registry_uk_en.xml"
> >
> > Can someone please help out here?
> >
> > Thanks
> >
> > Alex
> >
> >
> > tomcat 4.1.27
> > jdk 1.4.1_01
> > win xp (dont laugh :D)
> > opencms 5.0.1
> > lucene 1.5
> >
> > _________________________________________________________________
> > It's fast, it's easy and it's free. Get MSN Messenger today!
> > http://www.msn.co.uk/messenger
> >
> > _______________________________________________
> > 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

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger


--__--__--

Message: 8
Subject: RE: [opencms-dev] Installation Problem: Server configuration denies
access to data source
Date: Mon, 1 Mar 2004 20:03:42 +0100
From: "Rafael Diaz Valdes" <Rafael.Diaz.Valdes at cern.ch>
To: <opencms-dev at opencms.org>
Reply-To: opencms-dev at opencms.org

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3FFBF.E9B1F53A
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


 Hi, Petr
 Thanks for your replay Petr, I'll be so glad if you can help me.
I haven't configured access for root user. I have only assigned a =
password to root accounts using:

shell> mysqladmin -u root password "newpwd"
shell> mysqladmin -u root -h host_name password "newpwd"

Also I check the root grants doing:

[root at pcepaip30 local]# mysql -u root -h localhost -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 20 to server version: =
4.1.1-alpha-standard-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SHOW GRANTS FOR root at localhost;
+------------------------------------------------------------------------=
---------------------------------------+
| Grants for root at localhost                                              =
                                       |
+------------------------------------------------------------------------=
---------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY =
PASSWORD '3dcfe44136403ab8' WITH GRANT OPTION |
+------------------------------------------------------------------------=
---------------------------------------+
1 row in set (0.10 sec)



Should I put a my.cnf into the /etc directory or not?

Thanks in advance

 Rafael


-----Original Message-----
From:	opencms-dev-admin at opencms.org on behalf of Petr Hollay
Sent:	Mon 3/1/2004 5:43 PM
To:	opencms-dev at opencms.org
Cc:=09
Subject:	AW: [opencms-dev] Installation Problem: Server configuration
=
denies access to data source

Hi,

1) do you have configured access for root user in MySQL for localhost?
2) what is the complete stack trace?

Best regards
Petr



-----Urspr=FCngliche Nachricht-----
Von: opencms-dev-admin at opencms.org =
[mailto:opencms-dev-admin at opencms.org] Im
Auftrag von Rafael Diaz Valdes
Gesendet: Montag, 1. M=E4rz 2004 16:40
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Installation Problem: Server configuration denies
access to data source

Hi,
I am trying to configure Open CMS
5.0.0 with mysql. But while Database and and table creation I am getting
following error.
=20
Could no connect to database via: jdbc:mysql://localhost:3306/
java.sql.SQLException: Server configuration denies access to data source
-------------------------------------------
java.lang.NullPointerException

I tested mysql with the root password I assigned using mysqladmin -u
root -p, so it looks like mysql is setup correctly.However when trying
to create the database in opencms I get that message.
 Best  Regards,
Rafael



                          \|||/  =20
                          (o o)
-----------------------oo0-(_)-0oo-------------------------------=20
MSc.Rafael D=EDaz Valdes                                          =20
Dpto. F=EDsica
Centro de Aplicaciones Tecnol=F3gicas y Desarrollo Nuclear (CEADEN)
P.O. Box 6122, Cuba.
Tel: 2093920
E-Mail: rdiaz at ceaden.edu.cu
Fax:(537)2021518
-----------------------------------------------------------------

_______________________________________________
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




------_=_NextPart_001_01C3FFBF.E9B1F53A
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64

eJ8+IhATAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAWgAAAFJFOiBbb3BlbmNtcy1kZXZd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ACkAAAAAAAsAIwAAAAAA
AwAGEKQSsvEDAAcQcQoAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABISSxQRVRSVEhBTktT
Rk9SWU9VUlJFUExBWVBFVFIsSUxMQkVTT0dMQURJRllPVUNBTkhFTFBNRUlIQVZFTlRDT05GSUdV
UkVEQUNDRVNTRk9SUk9PVFVTRVJJSEFWRU9OTFlBAAAAAAIBfwABAAAAPAAAADwzRkM3RkVFNUE5
MDE2NjQxOTM0NjhFOEY2M0FGRTFFQTc1Q0I2REBjZXJueGNoZzE1LmNlcm4uY2g+ANDG

------_=_NextPart_001_01C3FFBF.E9B1F53A--

--__--__--

Message: 9
From: "Alexander Kandzior" <alex at opencms.org>
To: <opencms-dev at opencms.org>
Subject: RE: [opencms-dev] opencms5.3.3 and mod_proxy
Date: Mon, 1 Mar 2004 20:35:14 +0100
Organization: Alexander Kandzior
Reply-To: opencms-dev at opencms.org

Guillermo,

configuration is almost identical to OpenCms 5.0 for this, so the
documentation module about mod_proxy is still mostly valid. The multiple
site configuration in OpenCms is now much more powerful so this part of =
the
documentation is different in OpenCms 6.0.

In general, configure httpd and Tomcat as described in the Document.

In opencms.properties, replace the following keys:

# The rfs prefix is used when writing the static resources to the "real"
file system
# The vfs prefix defines the context prefix for the OpenCms VFS
staticexport.prefix_rfs=3D${CONTEXT_NAME}/export
staticexport.prefix_vfs=3D${CONTEXT_NAME}${SERVLET_NAME}

with=20

# The rfs prefix is used when writing the static resources to the "real"
file system
# The vfs prefix defines the context prefix for the OpenCms VFS
staticexport.prefix_rfs=3D${CONTEXT_NAME}/export
staticexport.prefix_vfs=3D${CONTEXT_NAME}

The ${CONTEXT_NAME} will be expanded to your web application name, but =
if
this is identical to the root context ROOT, then is will be expanded to =
the
empty String.

Also make sure the following is set correctly (change localhost/port to
comply with your configuration):

# The workplace site
site.workplace=3Dhttp://localhost:8080

# List of configured site roots
# The format of the list entries is: (server url)|(vfs folder)
# e.g. http://localhost:8081|/sites/default/
site.root.list=3Dhttp://localhost:8080|/sites/default/

Keep in mind that in the mod_proxy configuration, the local Tomcat is =
the
agent that actually accesses OpenCms (ie. localhost is usually fine). If =
you
want to add another site, do the following:

1. create a new folder in OpenCms, e.g. /sites/site2/ and publish
2. modify site configuration in opencms.properties, e.g.
site.root.list=3D\
http://localhost:8080|/sites/default/, \
http://localhost:8081|/sites/site2/
3. configure Tomcat/httpd accordingly to serve site2

Make sure you access the workplace only through the configured workplace
site, at least if you want to work on several OpenCms managed websites =
at
once.

With this configuration and the mod_proxy settings, contents in the =
default
site will be accessible through port 8080 and contents of the site2 site
will be accessible through port 8081. Of course with the mod_proxy
configuration you can have any other hostname(s) in front (ie. =
httpd.conf),
the 8080/8081 only goes in the Tomcat server.xml configuration. With the
mod_proxy setting as described, you can directly access the "root" =
folder of
your 2 sites, no servlet name or context name will be in the path.

Best Regards,
Alex.

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

> -----Original Message-----
> From: opencms-dev-admin at opencms.org=20
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Guillermo Castro
> Sent: Monday, March 01, 2004 7:48 PM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] opencms5.3.3 and mod_proxy=20
> (WAS:opencms5.0.1 and tomcat5.0.19)
>=20
>=20
> Well, I've decided that since I'm testing opencms, I would=20
> get the latest version from cvs, compile it and install it on=20
> my server. Sure enough, everything seems to be working out so far.
>=20
> Now my problem is that I can't make it work with the example=20
> documentation that explained how to integrate apache + tomcat=20
> + mod_proxy. It seems there's no longer any option in the=20
> opencms.properties to determine the root of the webapp, which=20
> I changed from opencms to ROOT.
>=20
> Does anyone have any pointers on this? thanks.
>=20
>=20
> Joachim Arrasz said:
> > Hi,
> >
> >> Now, do you have an idea on when will opencms support=20
> tomcat 5? since=20
> >> that's the latest release for tomcat, and since the solution seems=20
> >> simple, I don't see why you can't upgrade opencms to xerces2.
> >
> > try the solution where the xerxersimpl.jar in=20
> /tomcat/endorsed/ will=20
> > be replaced with xerxes1_4_.jar from Opencms. This worked not=20
> > everytime but most of the times i think!
> >
> > I think in the next major release from Opencms this issue=20
> is resolved!=20
> > This will be in 3.rd or 4.th quarter this year.
> >
> > Hope this helps
> >
> > Kind Regards
> >
> > Joachim Arrasz
> >
> > Synyx oHG Karlsruhe, Germany
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the=20
> list, please=20
> > visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
>=20
>=20
> --=20
> Guillermo Castro            Monterrey NL, Mexico
> gcastro at javageekonline.com  http://www.javageek.org/=20
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,=20
> 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

End of opencms-dev Digest
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************



More information about the opencms-dev mailing list