[opencms-dev] Antwort: Re: Antwort: Re: Antwort: OpenCms and Oracle 12c

Filip Kratochvil filip.kratochvil at nelasoft.cz
Tue Jun 23 08:22:03 CEST 2015


Hi Martin,

I'm so sorry, but we have another "problem".

After the deploy and try to request some page (e.g. homepage
/opencms/opencms/overview/), we got this message:

weblogic.servlet.jsp.CompilationException: Failed to compile JSP
/WEB-INF/jsp/online/system/modules/com.alkacon.bootstrap.formatters/template
s/bootstrap-grid-page.jsp bootstrap-grid-page.jsp:1:71: The attribute
"trimDirectiveWhitespaces" is supported by JSP 2.1 or higher version. <%@
page pageEncoding="UTF-8" %><%@page buffer="none" session="false"
trimDirectiveWhitespaces="true" %><%-- ^----------------------^
bootstrap-grid-page.jsp:1:71: The attribute "trimDirectiveWhitespaces" is
supported by JSP 2.1 or higher version. <%@ page pageEncoding="UTF-8"
%><%@page buffer="none" session="false" trimDirectiveWhitespaces="true"
%><%-- ^----------------------^

It looks like trimDirectiveWhitespaces needs JSP 2.1, but OpenCms is written
(?) in JSP 2.0 (in the web.xml is servlet version 2.4 = JSP 2.0). Did you
meet this problem?

This deploy is a nightmare for us:) After the successful installation, i
would like to write some step-by-step guide on wiki.

Thank you very much for your time!

--
S pozdravem / Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
Twitter: @NELASOFT


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
martin.rosenthal at oerag.de
Sent: Monday, June 22, 2015 11:13 AM
To: The OpenCms mailing list
Subject: [opencms-dev] Antwort: Re: Antwort: Re: Antwort: OpenCms and Oracle
12c

Hello Filip,

in the web.xml file you must uncomment

    <context-param>
        <param-name>WebApplicationContext</param-name>
        <param-value>...</param-value>
    </context-param>

In  <param-value> you must set the name of your context e.g. 'opencms'.

Then you must put in the same dierctory of the web.xml (i.e. <opencms
install-dir.> -> WEB-INF) a file with the name "weblogic.xml"
This file must have the following content:

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app
xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <container-descriptor>
        <prefer-application-packages>
            <package-name>com.google.common</package-name>
        </prefer-application-packages>
    </container-descriptor>
</weblogic-web-app>

Otherwise Weblogic is loading his own classes and the GWT of OpenCMS isn't
working.
Depending of your custom modules and installation you can add more files
/packes in this XML-file.

You can make this changes after the installation of OpenCMS.

Regards,
Martin Rosenthal
_______________________________
IT-Anwendungen

Tel.: 0211 529 5775
Fax: 0211 529 59775
Email: Martin.Rosenthal at oerag.de
Internet: www.oerag.de

ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Klaus R. Hartung, Andreas Heinsen
Aufsichtsratsvorsitzender: Ulrich Rüther Sitz der Gesellschaft: Düsseldorf,
Registergericht Düsseldorf HRB 12073

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten
diese


                                                                           
             "Filip                                                        
             Kratochvil"                                                   
             <filip.kratochvil                                          An 
             @nelasoft.cz>              "'The OpenCms mailing list'"       
             Gesendet von:              <opencms-dev at opencms.org>,         
             opencms-dev-bounc                                       Kopie 
             es at opencms.org                                                
                                                                     Thema 
                                        Re: [opencms-dev] Antwort: Re:     
             22.06.2015 11:02           Antwort:  OpenCms and Oracle 12c   
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                     
                The OpenCms                                                
               mailing list                                                
             <opencms-dev at open                                             
                 cms.org>                                                  
                                                                           
                                                                           




Hello Martin,

thank you for the hint! It helps! Than we had to add JDBC
(mysql-connector-java-5.1.26-bin.jar) in to the weblogic classpath.

Installation was succesful, but when we try to request OpenCms:

www.domain.cz:port/opencms/opencms/

We got 403 message:
Error 403--Forbidden...

Is it necessary to modify some web.xml, plan.xml, weblogic.xml config files
before the deployment? Thank you very much.

--
S pozdravem / Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
Twitter: @NELASOFT

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
martin.rosenthal at oerag.de
Sent: Thursday, June 18, 2015 10:26 AM
To: The OpenCms mailing list
Subject: [opencms-dev] Antwort: Re: Antwort: OpenCms and Oracle 12c

Hello Filip,

we've got the same problem.

OpenCMS 9 is has two persistence.xml files. I don't know why. On
persistence.xml is in the (unpacked) folder WEB-INF\classes\META-INF\ the
other in the opencms-setup.jar in \WEB-INF\lib\.
We've deleted the persistence.xml in the jar-file (opencms-setup.jar
\META-INF\) and the installation was working fine.

Regards,
Martin Rosenthal
_______________________________
IT-Anwendungen

Tel.: 0211 529 5775
Fax: 0211 529 59775
Email: Martin.Rosenthal at oerag.de
Internet: www.oerag.de

ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Klaus R. Hartung, Andreas Heinsen
Aufsichtsratsvorsitzender: Ulrich Rüther Sitz der Gesellschaft: Düsseldorf,
Registergericht Düsseldorf HRB 12073

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten
diese



             "Filip
             Kratochvil"
             <filip.kratochvil                                          An
             @nelasoft.cz>              "'The OpenCms mailing list'"
             Gesendet von:              <opencms-dev at opencms.org>,
             opencms-dev-bounc                                       Kopie
             es at opencms.org
                                                                     Thema
                                        Re: [opencms-dev] Antwort:
             18.06.2015 10:10           OpenCms and Oracle 12c


              Bitte antworten
                    an
                The OpenCms
               mailing list
             <opencms-dev at open
                 cms.org>






Hi, thank you for the answer!

We did it same as you described. Deploy looks OK, but setup wizard shows
error message:/ We use Linux as OS and trying to install OpenCms 9.5 (+ JDK
1.7).

Did you solved conflict with persistence units during the deploy?
--
Message

Caused By: weblogic.application.naming.EnvironmentException: duplicate
persistence units with name OpenCmsJPAPool in scope opencms.
First PU location:
file:.../domains/nelasoft/servers/opencms/stage/opencms/opencms/WEB-INF/clas


ses/
Second PU location: file:...
/domains/nelasoft/servers/opencms/stage/opencms/opencms/WEB-INF/lib/opencms-


setup.jar
--
We had to remove /WEB-INF/classes/META-INF/persistence.xml file (from
extracted WAR), otherwise deploy process  can't continue.

Thank you.

--
S pozdravem / Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
Twitter: @NELASOFT

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
martin.rosenthal at oerag.de
Sent: Thursday, June 18, 2015 9:51 AM
To: The OpenCms mailing list
Subject: [opencms-dev] Antwort: OpenCms and Oracle 12c

Hello Filip,

we are using Weblogic 12.

Before you can install OpenCMS you must unpack the war into an directory.
You can rename the opencms.war into opencms.zip and then you can extract it
into an optional folder.
In OpenCMS navigate under deployments to this folder, where META-INF, setup
and WEB-INF are located. Select this folder and start installation.

Regards,
Martin
_______________________________
IT-Anwendungen

Tel.: 0211 529 5775
Fax: 0211 529 59775
Email: Martin.Rosenthal at oerag.de
Internet: www.oerag.de

ÖRAG Rechtsschutzversicherungs-AG
Hansaallee 199, 40549 Düsseldorf
Vorstand: Klaus R. Hartung, Andreas Heinsen
Aufsichtsratsvorsitzender: Ulrich Rüther Sitz der Gesellschaft: Düsseldorf,
Registergericht Düsseldorf HRB 12073

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten
diese



             "Filip
             Kratochvil"
             <filip.kratochvil                                          An
             @nelasoft.cz>              <opencms-dev at opencms.org>,
             Gesendet von:                                           Kopie
             opencms-dev-bounc
             es at opencms.org                                          Thema
                                        [opencms-dev] OpenCms and Oracle
                                        12c
             18.06.2015 09:17


              Bitte antworten
                    an
                The OpenCms
               mailing list
             <opencms-dev at open
                 cms.org>






Hi guys,

We are trying to run OpenCms at Oracle 12c (Weblogic and Database).

Have you some experience with this environment? We deployed application
(after few problems), but setup wizard returns error:
--
Error starting Alkacon OpenCms setup wizard.
It appears that your servlet container did not unpack the Alkacon OpenCms
WAR file. Alkacon OpenCms requires that it's WAR file is unpacked.

Please unpack the Alkacon OpenCms WAR file and try again.

Check out the documentation of your Servlet container to learn how to unpack
the WAR file, or do it manually with some kind of unzip - tool.
--
But WAR looks  unpacked correctly.

Have you some similar experience? We created server, deployed application
(using Exploded Archive Directories + install via Weblogic console). During
the installation we had problems with duplicate persistence units
(persistence.xml for JPA configuration).

Thank you.

--
S pozdravem / Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
Twitter: @NELASOFT
 _______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev





_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev




_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev





_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev




_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev





_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev







More information about the opencms-dev mailing list