[opencms-dev] Deploy to weblogic8.1 sp2 problem

Celia Khuk kfuivoon at yahoo.com.sg
Tue Dec 13 08:59:59 CET 2005


Hi Jason,
  Thanks for your help.  Manage to deploy OpenCms as an exploded WAR file.  
   
  Is there anyway to deploy as war file?  For my other web applications, I can deploy war file without the need to know where my server unpacks it.
   
  Regards,
  Celia

Jason Trump <jason.trump at brulant.com> wrote:
  Hi Celia,

The OpenCmsHome parameter should point to the WEB-INF directory of the unpacked WAR file.

You must either deploy OpenCms as an exploded WAR file (in unzipped format), or you have to figure out where your server is unpacking the war file, and set the OpenCmsHome parameter to point there. I would suggest deploying it in unzipped form for simplicity. So, for example,

> mkdir /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms #create directory for unzipped archive
> cd /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms #change into directory
> jar xvf /PATH/TO/opencms.war #unzip archive

now, edit /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms/WEB-INF/web.xml and set the OpenCmsHome parameter to /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms/WEB-INF.

then do the handle404.jsp step as described in the email you found, placing the JSP file in /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms/system/handler/.

finally, in the WebLogic admin console deploy the opencms application from the directory /bea/user_projects/applications/YOUR_DOMAIN_NAME/opencms.

if you need to deploy the opencms war to a cluster, you will may need to perform extra steps to make sure the opencms app can find all of its configuration files.

-jason

-----Original Message-----
From: opencms-dev-bounces at opencms.org on behalf of Celia Khuk
Sent: Mon 12/12/2005 8:45 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Deploy to weblogic8.1 sp2 problem

Hi,
Have anyone deployed opencms successfully in weblogic? I cannot use tomcat because the deployment environment in my company is only Weblogic8.1 sp2. I have decided to use opencms for my project because it is stated that it can be deployed in BEA weblogic. Pls tell me how to solve the problems as stated below in the mail. I need to resolve the issues urgently. Otherwise, my supervisor may want me to look for other cms tool. 

Thanks.

Regards,
Celia

Celia Khuk wrote:
Hi,
I try to deploy opencms.war into Weblogic server and I have error message "The OpenCms WEB-INF folder cannot be determined, please set the parameter "OpenCmsHome" in "web.xml"."

I check the mail list archive and one suggests changing opencms.war to ROOT.war to deploy. I tried and still got the same error. Next, I try putting in the OpenCmsHome into web.xml with value ROOT. It gives me another error "Unable to read the configuration filte \ROOT\config\opencms.properties".

However I manage to deploy an unzip war file. But after doing opencms setup, my browser doesn't display the pages properly. I check the mail list archive and found need to modify web.xml for the 404 error page and it indicates to create a jsp file under opencms.war/system/handler/handle404.jsp. But I can't find the directory.

Can anyone pls tell me how to configure the web.xml for deploying war file and also where to put the handle404.jsp?

Thanks.

Regards,
Celia



---------------------------------
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather 

_______________________________________________
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 



---------------------------------
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather 



_______________________________________________
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  


		
---------------------------------
Do you Yahoo!?
 New and Improved Yahoo! Mail - 1GB free storage!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051213/bc8bc347/attachment.html>


More information about the opencms-dev mailing list