hi,

i've copied, textual, the simple.xsp example file provided
in cocoon 2.0.1 into a different workspace, for trial.

this workspace processes requests fine (xml, jsp, js, xsl...)
but shows this error when requesting the simple.xsp file:

""The org.apache.cocoon.www.sitemap_xmap notifies that 
org.apache.cocoon.ProcessingException says:

markup-languages: ComponentSelector could not access the Component for hint: xsp 

More precisely:

org.apache.cocoon.ProcessingException: markup-languages: ComponentSelector could not 
access the Component for hint: xsp: 
org.apache.avalon.framework.component.ComponentException: markup-languages: 
ComponentSelector could not access the Component for hint: xsp 

 
extra info 
original message java.lang.Exception: Could not create enough Components to service 
your request. ""


Besides, when i start apache 4.0.3, i get this error in the command line:

"" 

Apache Tomcat/4.0.3
Sitemap location = sitemap.xmap
...
Server 1.6 is running
Press [Ctrol]+[C] to abort
Server.run/init: java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(NativeMethod)
        ...
        at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:147)
        ...
Sitemap location = sitemap.xmap
Checking sitemap reload =true
...
Starting service Tomcat-Apache
Apache Tomcat/4.0.3
""

could it be that these two problems are related?
(i have two application directories hanging from <WEBAPPS>,
one of them is the original cocoon, the other is a test one)

thanks in advance,
Diego

PS: thanks Omar and Konstantin, for their incredibly fast answer

> -----Mensaje original-----
> De: Piroumian Konstantin [mailto:[EMAIL PROTECTED]]
> Enviado el: lunes, 01 de julio de 2002 13:42
> Para: '[EMAIL PROTECTED]'
> Asunto: RE: basic start
> 
> 
> > From: Diego Lluna [mailto:[EMAIL PROTECTED]] 
> > 
> > hi,
> > 
> > i've been trying to test the simplest xsp pages from a local
> > site.
> ...
> 
> > since i copied the example from existing ones, i suspect i 
> > have some kind
> > of config problem, maybe in the sitemap.xmap
> > 
> > anybody can help?
> > 
> > i'm providing more info:
> > 
> > the .xsp file:
> > "<?xml version="1.0"?>
> > 
> > <?cocoon-process type="xsp"?>
> > <?cocoon-process type="xslt"?>
> > <?xml-stylesheet href="stylesheets/default.xsl" type="text/xsl" ?>
> 
> This syntax is not supported in C2. You'd better start with 
> C2 original
> samples: there is a lot of XSP pages. Take a look at your
> <COCOON-WEBAPP>/docs/samples/xsp/'.
> 
> Konstantin
> 
> > 
> > <xsp:page language="java" 
> > xmlns:xsp="http://www.apache.org/1999/XSP/Core";>
> > 
> >   <xsp:logic>
> >     static private int counter=0;
> >     private synchronized int count(){
> >       return counter++;
> >       }
> >   </xsp:logic>
> >  
> >   <page>
> >     <para>
> >       me han llamado
> >       <xsp:expr>count()</xsp:expr>
> >       veces
> >     </para>
> >   </page>
> >  
> > </xsp:page>""
> > 
> > i'm running cocoon 2.0.1
> > on apache 4.0.3
> > 
> > sincere thanks,
> > Diego
> > 
> > 
> ---------------------------------------------------------------------
> > 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]>

Reply via email to