Hi, There are quite a few things you have to do to make cocoon work on bea.
1. Remove dots from jars filenames of cocoon. (lib\*.jar) 2. Remove manifest files from the above jars or i guess there is a patch available from BEA to resolve this problem. 3. Copy cocoon webapp (not cocoon.war but the cocoon directory) to bea (%BEA_HOME%\wlserver6.1\config\mydomain\applications). 4. Edit %BEA_HOME%\wlserver6.1\config\mydomain\config.xml to include the following lines. <Application Deployed="true" Name="cocoon" Path=".\config\mydomain\applications"> <WebAppComponent Name="cocoon" Targets="myserver" URI="cocoon"/> </Application> 5. Make sure that you have parameter transformer-factory for the xslt-processor in cocoon.xconf---It looks like as follows <xslt-processor class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" logger="core.xslt-processor"> <parameter name="use-store" value="true"/> <parameter name="incremental-processing" value="true"/> <parameter name="transformer-factory" value="org.apache.xalan.processor.TransformerFactoryImpl"/> </xslt-processor> 6. Now start bea. It should work. 7. There is one more hitch. If you want to use sub-sitemaps then the pipeline should be as follows--- <map:pipeline> <map:match pattern="documents/**"> <map:mount uri-prefix="/documents" src="documentation/" check-reload="yes"/> </map:match> </map:pipeline> Note that I have added '/' before the uri-prefix. Otherwise you get an error saying "The current URI doesn't start with given prefix" This way sub-sitemap also works and everything works fine. But now with these modification cocoon application does not run on Tomcat4.0.1 Does anyone know how to make the same cocoon application run on both BEA as well Tomcat. Thanks, Atul From: Konstantin Piroumian <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Cocoon on BEA Weblogic6.1 SP2 Date: Mon, 27 May 2002 15:38:47 +0400 From: "Atul Gulve" <[EMAIL PROTECTED]> > Hi, > > I have deployed cocoon(2.0.1) application on bea WebLogic6.1 SP2. Great! Could you please tell us how you did it? > > The first cocoon welcome page is shown properly. > Now, the problem I am facing is, bea is not loading sub sitemaps. > > I am getting following error on the browser. > > Cocoon 2 - Internal server error > > -------------------------------------------------------------------------- ------ > > type fatal > > message The current URI doesn't start with given prefix > > description java.lang.RuntimeException: The current URI doesn't start with > given prefix > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > request-uri > > /cocoon/documents/doclist.html > > path-info > > /documents/doclist.html > > -------------------------------------------------------- > > > > > If I put all mappings in the main sitemap then it works. But I want to have > different sitemaps for different directories under my webapp. > > > Could anyone tell me what to do? See Cocoon logs to see if this is a Cocoon error. If you give more info on the source of the error then we'll try to help. Konstantin > > Thanks in advance for your help. > > atul > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> _________________________________________________________________ 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>