Hi Reto, Thanks for your reply.
I want to deploy this application on Windows 2000. So I suppose I dont have to do step 4(PJA X-Window server). Rest of the steps, I have already done. I have added two patches from bea in my classpath. I have the welcome page of cocoon (Cocoon 2.0.1 default application) but not Docs,Tutorial,List of Docs, Search under Documentation on the welcome page. Other links are working because those are defined in the main sitemap. For the above mentioned links different sitemaps have been defined. I have observed that bea is generating the sitemaps but not able to load(I may not be using proper term here) them. Thanks in advance. Atul From: "Peter, Reto" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: AW: Cocoon on BEA Weblogic6.1 SP2 Date: Mon, 27 May 2002 13:50:42 +0200 I'he succesfully deployed Cocoon on BEA WebLogic 6.1 SP2 on SUN Solaris 7/8 You have to do different things in the configuration of Cocoon and BEA: (first shutdown BEA WebLogic) 1. The cocoon Libraries consists of '.' in the names. Eliminated them. 2. Mostly cocoon Libraries consists the file Manifest.mf in the META-INF directory. Eliminate them. --> for these 2 steps, there's a patch or two from BEA which fixes it 3. Deploy your application in the file structure form, not as a war file 4. use the PJA X-window server in the form: java $JAVA_OPTIONS -classpath $CLASSPATH -Xbootclasspath/a:/export/users/sagcpe/bea/pja/lib/pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava.awt.fonts=/appl/bea/jdk131/jre/lib/fonts/ -Dweblogic.Domain=sagcsun -Dweblogic.Name=wls61sp2 -Dbea.home=/export/users/sagcpe/bea -Dweblogic.management.password=$WLS_PW -Dweblogic.ProductionModeEnabled=$STARTMODE -Djava.security.policy==/export/users/sagcpe/bea/wlserver6.1/lib/weblogic.po licy weblogic.Server Be sure to copy the PJA-files in the appropriate directory of your choice 5. Maybe, you have to change the file cocoon.xconf as follows <xslt-processor class="org.apache.cocoon.components.xslt.XSLTProcessorImpl" logger="root.xslt"> <parameter name="use-store" value="true"/> <parameter name="incremental-processing" value="true"/> <parameter name="transformer-factory" value="org.apache.xalan.processor.TransformerFactoryImpl"/> </xslt-processor> instead of the normal 'xslt-processor' tag. In my env, this was needed! 6. Manually change the file config.xml from BEA as follows: <Application Deployed="true" Name="myCocoon" Path="./config/sagcsun/applications"> <WebAppComponent Name="myCocoon" Targets="wls61sp2" URI="myCocoon"/> </Application> --> myCocoon is the directory, where the Cocoon application resides! Based on my experience, the Cocoon installation steps from the website is not ok. The file xml-apis.jar and xerces-1.x.x.jar are not necessary to include in the classpath! I hope this helps. Reto Peter > -----Ursprungliche Nachricht----- > Von: Atul Gulve [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 27. Mai 2002 13:34 > An: [EMAIL PROTECTED] > Betreff: Cocoon on BEA Weblogic6.1 SP2 > > > Hi, > > I have deployed cocoon(2.0.1) application on bea WebLogic6.1 SP2. > > 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? > > 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]> _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --------------------------------------------------------------------- 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]>