[opencms-dev] OpenCms 5.3.5 - Oracle 9 and Weblogic 8.1

Alexander Kandzior alex at opencms.org
Mon Aug 2 09:55:01 CEST 2004


I have applied these fixes to the CVS version.

Please let me know how you do with the BEA installation, even though I know
OpenCms works with BEA it's not one of the environments we regulary use for
our projects. Nevertheless I would like to have BEA installation as smooth
as possible.

Best Regards,
Alex.

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

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of 
> mmihaili at csc.com.au
> Sent: Monday, August 02, 2004 1:54 AM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] OpenCms 5.3.5 - Oracle 9 and Weblogic 8.1
> 
> 
> FYI
> 
> I had to make some changes to some java classes 
> org.opencms.setup.CmsSetupBean.java and 
> org.opencms.setup.CmsSetupTests.java (see below), issues 
> running under weblogic. From the directory where you 
> build.xml resides, you need /lib/ojdbc14.jar for building 
> opencms.jar with oracle, otherwise it is excluded.
> 
>     /**
>      * Sets the path to the OpenCms home directory.<p>
>      *
>      * @param webInfRfsPath path to OpenCms home directory
>      */
>     private void setWebAppRfsPath(String webInfRfsPath) {
>         m_webAppRfsPath = webInfRfsPath;
>         if ("".equals(webInfRfsPath)) {
>             // required for test cases
>             m_configRfsPath = "";
>             return;
>         }
>         if (!m_webAppRfsPath.endsWith(File.separator)) {
>             // make sure that Path always ends with a 
> separator, not always the case in different
>             // environments since 
> getServletContext().getRealPath("/") does not end with a "/" in
>             // all servlet runtimes
>             m_webAppRfsPath += File.separator;
>         }
>         // MTM - 01AUG2004 start
>         //m_configRfsPath = webInfRfsPath + "WEB-INF" + 
> File.separator + "config" + File.separator;
>         m_configRfsPath = m_webAppRfsPath + "WEB-INF" + 
> File.separator + "config" + File.separator;
>         // MTM - 01AUG2004 end
>     }
> 
>     /**
>      * Tests if the OpenCms WAR file is unpacked.<p>
>      */
>     public void testWarFileUnpacked() {
>         CmsSetupTestResult testResult = new CmsSetupTestResult();
> 
>         try {
>             testResult.setName("Unpacked WAR file");
> 
>             // MTM - 01AUG2004 start
>             //File file = new File(m_pageContext.getServletConfig
> ().getServletContext().getRealPath("/") + "WEB-INF" + 
> File.separator + "config" + File.separator + "opencms.properties");
>             String basePath = m_pageContext.getServletConfig
> ().getServletContext().getRealPath("/");
>             if (!basePath.endsWith(File.separator)) {
>                   basePath += File.separator;
>             }
>             File file = new File(basePath + "WEB-INF" + 
> File.separator + "config" + File.separator + "opencms.properties");
>             // MTM - 01AUG2004 end
> 
>             if (file.exists() && file.canRead() && file.canWrite()) {
>                 testResult.setGreen();
>                 testResult.setResult("yes");
>             } else {
>                 testResult.setRed();
>                 testResult.setInfo("OpenCms cannot be 
> installed unless the OpenCms WAR file is unpacked! "
>                                     + "Please check the 
> settings of your servlet container or unpack the WAR file manually.");
>                 testResult.setHelp(testResult.getInfo());
>                 testResult.setResult("WAR file NOT unpacked");
>             }
>         } catch (Exception e) {
>             testResult.setRed();
>             testResult.setResult("Unable to test if the 
> OpenCms WAR file is
> unpacked!");
>             testResult.setInfo(e.toString());
>         } finally {
>             m_testResults.add(testResult);
>         }
>     }
> 
> Moris Mihailidis __________________________________________________
> Computer Sciences Corporation
> EBS-BSS Web Services e-Business South
> 58 Queensbridge St, Southbank, VIC 3006, Australia
> Ph: +61-3-8695-1527    Fax:+61-3-8695-1540
> Email: mmihaili at csc.com.au
> --------------------------------------------------------------
> --------------------------
> 
> This is a PRIVATE message. If you are not the intended 
> recipient, please delete without copying and kindly advise us 
> by e-mail of the mistake in delivery. NOTE: Regardless of 
> content, this e-mail shall not operate to bind CSC to any 
> order or other contract unless pursuant to explicit written 
> agreement or government initiative expressly permitting the 
> use of e-mail for such purpose.
> --------------------------------------------------------------
> --------------------------
> 
> 
> 
> 
>                                                               
>                                                               
>              
>                       "SIMON DUTIL"                           
>                                                               
>              
>                       <simon.dutil at msp.g         To:      
> <opencms-dev at opencms.org>                                     
>                  
>                       ouv.qc.ca>                 cc:          
>                                                               
>              
>                       Sent by:                   Subject: 
> [opencms-dev] OpenCms 5.3.5                                   
>                  
>                       opencms-dev-admin@                      
>                                                               
>              
>                       opencms.org                             
>                                                               
>              
>                                                               
>                                                               
>              
>                                                               
>                                                               
>              
>                       31/07/2004 03:56                        
>                                                               
>              
>                       AM                                      
>                                                               
>              
>                       Please respond to                       
>                                                               
>              
>                       opencms-dev                             
>                                                               
>              
>                                                               
>                                                               
>              
>                                                               
>                                                               
>              
> 
> 
> 
> 
> 
> Hi Darin,
> 
> >
> >The version that I posted to the list a couple of weeks ago didn't
> have an
> >optional oracle lib... (I had the required jar in the wrong 
> place). In
> any
> >case, I recompiled it and placed a fresh copy here:
> >
> 
> I have looked in library "opencms.jar" of your newly created 
> archive and there is no class in oracle folder under 
> \org\opencms\db\oracle\ so the installation crash on the last step...
> 
> But thanks anyway for the file, it have been very helpfull to 
> take a first look at 5.3.5...
> 
> Simon
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> 




More information about the opencms-dev mailing list