cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Hirasawa" <jackhiras...@hotmail.com>
Subject C2 / WebSphere Installation Instructions
Date Mon, 29 Oct 2001 04:51:47 GMT
Finally....

I finally got Cocoon 2 to work on WebSphere 3.5.4

Here's the skinny...

1) build it as per instructions
2) convert WAR file (deploy on WebSphere)
3) Add all the jar files in Cocoon\lib to the classpath in the Server 
Command line arguments (I put Xerces in front just in case)
4) Also add the cocoon jar file to the server command line arguments
5) Also add to the server command line arguments the following:
       
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
6) Add the following Init parameters to the Cocoon2 Servlet:
	Init Parm Name                              Init Parm Value
	org.apache.cocoon.component.parser.Parser   
org.apache.cocoon.components.parser.XercesParser
      force-load                                  
com.ibm.servlet.classloader.Handler
	classpath-attribute                         
com.ibm.websphere.servlet.application.classpath
7) In the document root, edit cocoon.xconf and activate XercesParser by 
moving the following line out of the comment block:
      <parser class="org.apache.cocoon.components.parser.XercesParser"/>
8) Copy the the WEB-INF directory from the web directory to the servlets 
directory (WTF IBM?)
9) Add an entry with an '*' after the web application path name to the 
Servlet Web Path List in the Servlet configuration
      e.g. default_host/cocoon/
	     default_host/cocoon/*
10) Meditate on the impermanence of life (to invoke virtuous karma)
11) Say 3 Hail Marys (can't hurt)
12) Call your broker and place a "BUY" order on NYSE ticker symbol "IBM" 
(this step is very important)
13) Start up the Server (this step helps)
14) Open a browser and go to http://localhost/cocoon/
15) Say "Wow - it works!" or "Damn - I forgot something"
16) Call your broker to cancel the "BUY" order and place a "SHORT SELL" 
order on NYSE ticker symbol "IBM"
17) Have a dram of Lagavulin...perhaps have many drams...
18) Dream of one day working on a REAL J2EE app server.

Oh, almost forgot, make sure your server is in full 2.2 compliance mode.

How does one contribute this to the Cocoon 2 installation page?  I'm sure 
there are a lot of frustrated WebSphere users out there.

Jack

>From: Michael Zehrer <zehrer@zepan.org>
>To: Jack Hirasawa <jackhirasawa@hotmail.com>
>Subject: Re: C2 - No Welcome Page
>Date: 28 Oct 2001 09:59:41 +0100
>MIME-Version: 1.0
>Received: from [217.5.88.211] by hotmail.com (3.2) with ESMTP id 
>MHotMailBDA514030080400438E2D90558D307EF0; Sun, 28 Oct 2001 01:59:49 -0700
>Received: from micha.zepan.net ([192.168.0.1])by router.zepan.net with 
>esmtp (Exim 3.32 #1 (Debian))id 15xmjG-0000sj-00for 
><jackhirasawa@hotmail.com>; Sun, 28 Oct 2001 10:59:42 +0100
>>From zehrer@zepan.org Sun, 28 Oct 2001 01:01:04 -0700
>In-Reply-To: <F150lB2RYF4IZ46ucoi00015a15@hotmail.com>
>References: <F150lB2RYF4IZ46ucoi00015a15@hotmail.com>
>X-Mailer: Evolution/0.15 (Preview Release)
>Message-Id: <1004259582.3965.3.camel@micha>
>
>Hi Jack,
>
>can you give me instructions how you get C2 to work so far with
>Websphere? Maybe I can help you then with the mapping. I have
>successfully installed C1 with WS 3.54/Solaris, but have no luck with
>C2, there are lots of exceptions.
>
>
>thanks,
>
>Michael
>
>
>Am Fre, 2001-10-26 um 21.25 schrieb Jack Hirasawa:
>
>Hi C2 users!
>
>I finally got C2 installed on WebSphere 3.5.2 (not very straightforward)
>but
>unfortuneately I can't get the welcome page.
>
>In the log I see the sitemap redirecting to 'welcome' but no joy at the
>browser.
>
>I'm sooo close to getting it running...
>
>Has anyone seen this problem and what might be causing it?
>
>thanks,
>
>Jack
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message