|
|
|
I guess you have a class loading collision between Javax
and Xalan. Are you loading Xalan jar library explicitly?
Maybe you want to override the javax.xml.transform.TransformerFactory custom property such as: javax.xml.transform.TransformerFactory=javax.transform.sax.SAXTransformerFactory?
This are just guesses 
Olivier
Olivier
CHIROUZE I&0 Infrastructure Volvo Information Technology
Hi Oliver,
I followed your steps and now I have different
exceptions.
After installing
OpenCms, when I first open the main page of OpenCms (before login), Somo
elements of the css are not well resolved and the page is not correctly
displayed. The error log is the next one (see log_0.txt)
java.lang.ClassCastException:
org.apache.xalan.processor.TransformerFactoryImpl incompatible with
javax.xml.transform.TransformerFactory (...) javax.servlet.ServletException: VFS target resource
"/system/modules/org.opencms.frontend.templatetwo/resources/css/style.css"
was already included earlier (...)
-----------------------------------------------------------------
After that, I tried to open de demo and a
error page appeared with this errors (see log_1.txt):
java.lang.ClassCastException:
org.apache.xalan.processor.TransformerFactoryImpl incompatible with
javax.xml.transform.TransformerFactory (...) java.lang.NullPointerException (...)
-----------------------------------------------------------------
If after seeing that error page, I
refresh it, a empy blank page is shown with this error (see log_2.txt):
javax.servlet.ServletException: VFS
target resource "/demo_de/start.html" was already included
earlier (...)
-----------------------------------------------------------------
I've looking at this thread:
http://www.opencms-forum.de/opencms-forum/viewthread?thread=1141#5797
Should I do somethig of these
instructions?
Have you any idea of
what kind of problem I have?
Thanks a lot
Chirouze Olivier
<olivier.chirouze <at> volvo.com> Sent by: opencms-dev-bounces <at> opencms.org
01/08/2008 09:39
|
Please respond
to The OpenCms mailing list
<opencms-dev <at> opencms.org>
|
|
|
To
|
"The OpenCms mailing list"
<opencms-dev <at> opencms.org>
|
|
cc
|
|
|
Subject
|
Re: [opencms-dev] Problems with
WebSphere 6.1 and OpenCms 7.0.4 |
|
Hi Raul, I haven't had such problems, but I had some
others when installing OpenCms on WebSphere. First, use OpenCms 7.0.5 if you can. You will be sure to
have a proper "upload" functionality.
Then, sometimes I had a lot of strange
problems, but it was due to an unproper setup process. So I suggest you
uninstall the application completely, and then re-install it. Now, I will
probably propose a documentation I wrote for WebSphere 6.0 to the community
but untill it is ready, I can share this with you. Following these steps, I
could always have working OpenCms
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1.4. Install with IBM Console Login
to the IBM console, go to Enterprise Applications and click install. Choose
the war file. Set the context root to /opencms. Leave default values for
the rest of the installation. For installation options, choose your
application name, for instance OPENCMS. Don't forget to map the application
to an application server & IHS. 1.5. Configure the application server
& application In IBM console, add the following custom properties to
the application server: Name Value java.awt.headless
true client.encoding.override UTF-8 Locate OpenCms application and
change the following properties: WebModule (find opencms.war module)
=> set Classloader Mode: PARENT_LAST (on WAS 6.1: "Classes loaded with
application class loader first") set WAR Classloader Policy: Application
(on WAS 6.1: Class loading and update detection / WAR class loader policy:
change to "Single class loader for application") 1.6. Run
Setup Start the application server. Access OpenCms setup. Example:
http://myhost/opencms/setup The import of modules takes a lot of time
but you
should end up with such a message: 1.7. Run the application
At the end of setup, stop the
application server and restart. Then access the application, for example
at: http://myhost/opencms/opencms/system/login/ You should finally be prompted with the login
page! -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This
does not seem to be directly linked to your problem, but hopefully, if you
restart the installation process from scratch and follow these steps, you will
be up and running These instructions should work on 6.0 or 6.1.
Olivier
Olivier CHIROUZE I&0 Infrastructure
Volvo Information
Technology
From: opencms-dev-bounces <at> opencms.org
[mailto:opencms-dev-bounces <at> opencms.org] On Behalf Of
Raul.Juanes.Pascual <at> everis.com Sent: 01 August 2008
09:25 To: opencms-dev <at> opencms.org Subject: [opencms-dev]
Problems with WebSphere 6.1 and OpenCms 7.0.4
Hi.
I'm trying to run OpenCms 7.0.4
undar WebSphere 6.1 and I'm having some problemas.
First of all, I noticed that, at
the Welcome page (http://localhost:9080/opencms/opencms/demo_en/intro.html ) I
can't see the "red boxes". I'm refering to the elements that you can put
everywhere. The only things I can see is the main text, and the left menu. If
I have a look to the source code, and I compare it with the one generated
using the same version of OpenCms with JBOSS, I notice that some elements are
not "traslated" and that "red boxes" will never appear. I tried to edit some
jsp that a I thought they were the ones that must use, and by deleting a
catch, I finally saw a trace of the error
| "com.ibm.ws.webcontainer.webapp.WebAppErrorReport:
javax.servlet.jsp.el.ELException: No function is mapped to the name
"cms:vfs"" |
Othe problem related to this one is when openning
some demo pages, the ones refered to the dictionary, OpenCms shows me a page
with the text above "No function is mapped to the name cms:vfs". I don't know
how to fix it. I've been searching for info for 3 days and I'm stuck at the
same place.
I've tried to deploy the webapp with java5, java6, java 1.4 (and
adding the related opencms java 1.4 compatibility). I've tried to config
websphere classloader polices (parent_first, parent_last), ading some argument
to the WebSphere JVM initialization... I've looked to the .tld to see the
cms:vfs was correctly mapped, and also I've added some externar jars (but I
don't know if I did it in a correct way) to try to fix el EL exception... I
don't know what more I can do.
I also have a secondary problem with de fck editor,
while trying to ad an image in a free text page, when I click on the Explote
button, some xml parsing errors appear. Maybe they are related with the libs I
need to run correctly OpenCms under WebSphere, I don't know...
If there is anyone that
has correctly installed that version of OpenCms under WebSphere, or anyone has
an idea that can help me, please let me know.
Thanks everybody!
AVISO DE
CONFIDENCIALIDAD. Este correo y la información contenida o adjunta al
mismo es privada y confidencial y va dirigida exclusivamente a su
destinatario. everis informa a quien pueda haber recibido este correo por
error que contiene información confidencial cuyo uso, copia, reproducción o
distribución está expresamente prohibida. Si no es Vd. el destinatario del
mismo y recibe este correo por error, le rogamos lo ponga en conocimiento del
emisor y proceda a su eliminación sin copiarlo, imprimirlo o utilizarlo de
ningún modo.
CONFIDENTIALITY WARNING.This message and the
information contained in or attached to it are private and confidential and
intended exclusively for the addressee. everis informs to whom it may receive
it in error that it contains privileged information and its use, copy,
reproduction or distribution is prohibited. If you are not an intended
recipient of this E-mail, please notify the sender, delete it and do not read,
act upon, print, disclose, copy, retain or redistribute any portion of this
E-mail. _______________________________________________ This mail is
sent to you from the opencms-dev mailing list To change your list options,
or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
AVISO DE
CONFIDENCIALIDAD. Este correo y la información contenida o adjunta al
mismo es privada y confidencial y va dirigida exclusivamente a su
destinatario. everis informa a quien pueda haber recibido este correo por
error que contiene información confidencial cuyo uso, copia, reproducción o
distribución está expresamente prohibida. Si no es Vd. el destinatario del
mismo y recibe este correo por error, le rogamos lo ponga en conocimiento del
emisor y proceda a su eliminación sin copiarlo, imprimirlo o utilizarlo de
ningún modo.
CONFIDENTIALITY WARNING.This message and the
information contained in or attached to it are private and confidential and
intended exclusively for the addressee. everis informs to whom it may receive
it in error that it contains privileged information and its use, copy,
reproduction or distribution is prohibited. If you are not an intended
recipient of this E-mail, please notify the sender, delete it and do not read,
act upon, print, disclose, copy, retain or redistribute any portion of this
E-mail.

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