You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Xiaowen Zhou <xi...@us.ibm.com> on 2000/12/11 21:22:52 UTC
install cocoon1.8 with Webphere 3.5 but failed, need help.
Dear Sir,
I met some problem while installing cocoon 1.8
My env. is:
1) AIX 4.3.3
2) IBM HTTP Server 1.3.12.0
3) Websphere Application Server 3.5 ptf 2
Based on above, I,
1) Download cocoon 1.8.tar.gz
2) ungzip and do tar -xvf, the final path is /usr/cocoon
3) add classpaths to WAS/bin/admin.config
4) start WAS
5) add cocoon web application
6) add cocoon servlet
code=org.apache.cocoon.Cocoon
InitParams=properties /usr/cocoon/conf/cocoon.properties
7) Use my browser, try 'http://hostname/cocoon/index.xml'
Now I got an error page:
Unable to open resource: /usr/cocoon/conf/cocoon.properties
java.net.MalformedURLException: unknown protocol: classloader
Then, I tried the following as InitParams for cocoon servlet:
1) file://usr/cocoon/conf/cocoon.properties
2)//use/cocoon/conf/cocoon.properties
Fail again.
Since WAS 3.5 need Java1.2, I don't know if it cause the problem. But from
xml.apache.com/cocoon/install.html, I know I can use WAS 3.5 as my
application server.
I tried 1.7.4, failed with the same reason.
I tried 1.7, failed with another reason: cannot find method .... (That
means 1.7 can open cocoon.properties. ?! )
Any mistake I made while installing? Please help me.
Best Regards
zxw
2000.12.11
Re: install cocoon1.8 with Webphere 3.5 but failed, need help.
Posted by Berin Loritsch <bl...@infoplanning.com>.
Xiaowen Zhou wrote:
>
> Dear Sir,
>
> I met some problem while installing cocoon 1.8
>
> My env. is:
> 1) AIX 4.3.3
> 2) IBM HTTP Server 1.3.12.0
> 3) Websphere Application Server 3.5 ptf 2
>
> Based on above, I,
> 1) Download cocoon 1.8.tar.gz
> 2) ungzip and do tar -xvf, the final path is /usr/cocoon
> 3) add classpaths to WAS/bin/admin.config
> 4) start WAS
> 5) add cocoon web application
> 6) add cocoon servlet
> code=org.apache.cocoon.Cocoon
> InitParams=properties /usr/cocoon/conf/cocoon.properties
> 7) Use my browser, try 'http://hostname/cocoon/index.xml'
>
> Now I got an error page:
>
> Unable to open resource: /usr/cocoon/conf/cocoon.properties
> java.net.MalformedURLException: unknown protocol: classloader
>
> Then, I tried the following as InitParams for cocoon servlet:
> 1) file://usr/cocoon/conf/cocoon.properties
> 2)//use/cocoon/conf/cocoon.properties
>
> Fail again.
>
> Since WAS 3.5 need Java1.2, I don't know if it cause the problem. But from
> xml.apache.com/cocoon/install.html, I know I can use WAS 3.5 as my
> application server.
>
> I tried 1.7.4, failed with the same reason.
> I tried 1.7, failed with another reason: cannot find method .... (That
> means 1.7 can open cocoon.properties. ?! )
>
> Any mistake I made while installing? Please help me.
No mistake this is due to a bug that the folks on the JetSpeed project uncovered.
Basically you need to force Cocoon to load specific URL Handler class. This
is a workaround for a bug in WebSphere BTW--not Cocoon. The latest CVS version
of Cocoon should be OK.
____________NetZero Free Internet Access and Email_________
Download Now http://www.netzero.net/download/index.html
Request a CDROM 1-800-333-3633
___________________________________________________________