I still think you have a classpath problem; not a sitemap problem. ----- Original Message ----- From: "tom.troonbeeckx" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 6:21 AM Subject: RE: integrating php with cocoon 2.0.3
> I have put the servlet in the webapps libarea. But still no go... > In the sitemap.xmap i have defined the following. > > <map:match pattern="phptest"> > <map:read mime-type="text/html" > src="woonconsulent/content/php/test.php" type="php"/> > </map:match> > > Im a newbie in the cocoonworld. Maybe i just configured it wrong. > > Has anybody an idea how to configure the sitemap.xmap for php-pages. > > Thanx in advance.... > > > -----Original Message----- > From: Roger I Martin PhD [mailto:[EMAIL PROTECTED]] > Sent: maandag 18 november 2002 12:09 > To: [EMAIL PROTECTED] > Subject: Re: integrating php with cocoon 2.0.3 > > > Put the phpsrvlt.jar in you webapps lib area. > ----- Original Message ----- > From: "tom.troonbeeckx" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 18, 2002 5:57 AM > Subject: integrating php with cocoon 2.0.3 > > > > Dear sir, madam, > > > > > > I have compiled cocoon-2.0.3 as described in the HOWTO in order to work > with > > PHP-files. > > I'm running a j2sdk-1.4.1 and a tomcat 4.0.6 in a Redhat 7.1 Linuxbox. > > > > The compilation went fluently. I have put the cocoon.war in the > > WEBAPPS-folder and the phpsrvlt.jar into the $TOMCAT/common/libs folder. > > > > Referring into the documentation i should be able to execute PHP-code. > > However when i try to access a php-file i get the errormessage as > described > > below. > > > > Do i have to configure something in the sitemap.xmap. or do i something > else > > wrong? > > > > Thanks in advance > > > > > > type fatal > > > > message UnnamedSelector: ComponentSelector could not find the component > for > > hint: php > > > > description org.apache.avalon.framework.component.ComponentException: > > UnnamedSelector: ComponentSelector could not find the component for hint: > > php > > > > sender org.apache.cocoon.servlet.CocoonServlet > > > > source Cocoon servlet > > > > stack-trace > > > > org.apache.avalon.framework.component.ComponentException: UnnamedSelector: > > ComponentSelector could not find the component for hint: php > > at > > > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca > > liburComponentSelector.java:270) > > at > > > org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite > > mapComponentSelector.java:101) > > at > > > org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite > > mapComponentSelector.java:104) > > at > > > org.apache.cocoon.components.pipeline.AbstractStreamPipeline.setReader(Abstr > > actStreamPipeline.java:140) > > at > > > org.apache.cocoon.components.pipeline.CachingStreamPipeline.setReader(Cachin > > gStreamPipeline.java:123) > > at > > > org.apache.cocoon.www.sitemap_xmap.matchN10341(/sites/SOURCES/jakarta-tomcat > > -4.0.6/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www > /s > > itemap_xmap.java:3887) > > at > > > org.apache.cocoon.www.sitemap_xmap.process(/sites/SOURCES/jakarta-tomcat-4.0 > > > .6/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitem > > ap_xmap.java:2701) > > at > > > org.apache.cocoon.www.sitemap_xmap.process(/sites/SOURCES/jakarta-tomcat-4.0 > > > .6/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitem > > ap_xmap.java:2538) > > at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) > > at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) > > at > > org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) > > at org.apache.cocoon.Cocoon.process(Cocoon.java:575) > > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > > FilterChain.java:247) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > > ain.java:193) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > > va:243) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > > va:190) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > at > > > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 > > 46) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) > > at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > > ) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > at > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > > java:170) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > at > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > > ) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > at > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > > :174) > > at > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: > > 1027) > > at > > > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 > > ) > > > > Ideaxis nv > > -facing the internet- > > > > Flanders Multimedia Valley > > Wetenschapspark 1 > > B-3590 DIEPENBEEK > > > > Tel : +32 11 26 89 20 > > Fax : +32 11 23 22 17 > > Mobile: +32 479 13 14 81 > > > > E-Mail: [EMAIL PROTECTED] > > URL: http://www.ideaxis.com/ > > > > Ideaxis nv legal disclaimer > > The information contained in this e-mail is confidential and may be > > privileged. It may be read, copied and used only by the intended > recipient. > > If you have received it in error, please contact the sender immediately by > > returning this e-mail. Please delete this e-mail and do not disclose its > > contents to any person. Ideaxis nv does not accept liability for any > > errors, omissions, delays of receipt or viruses in the contents of this > > message which arise as a result of e-mail transmission. > > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>