Re: integrating php with cocoon 2.0.3
Hello, To use PHP for XML/XSL content publishing, you should try Krysalis, it's an open source platform built for this goal. It already has a stable core, an powerful IDE, etc. See more details at http://www.interakt.ro/products/Krysalis/ Alexandru On Mon, 2002-11-18 at 12:57, tom.troonbeeckx wrote: > 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(Acce
Re: integrating php with cocoon 2.0.3
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. > > > src="woonconsulent/content/php/test.php" type="php"/> > > > 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.StandardP
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. 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
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) > a