|
Subject: Re: Problems with WebSphere 6.1 and OpenCms 7.0.4 Newsgroups: gmane.comp.cms.opencms.devel Date: 2008-08-01 11:27:07 GMT (5 weeks, 2 days, 12 hours and 28 minutes ago)
I'm going to reinstall WebSphere because when I was desperated I copied all the JBOSS jars on the classpath of the WebSphere... ;) It will be better if I follow your steps with a clean installation of WebSphere (thanks God that's a testing enviroment) I'll let you know. Thanks!
I don't know about that error, but a little googling points to this: http://mail.opencms.org/pipermail/opencms-dev/2005q4/020154.html. 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
Sent: 01 August 2008 11:55 To: The OpenCms mailing list Subject: Re: [opencms-dev] Problems with WebSphere 6.1 and OpenCms 7.0.4 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
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
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
_______________________________________________ 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 |
|
||||||||||||||||||||||||