Question

2003-03-03 Thread Alejandro Raiczyk
Is there any way to detect when a user closes the browser and that session
is destroyed ?
There was a way under C1 using SessionListener, but I can't find an
implementation or something like that under C2.

Thanks in advance.

Alejandro


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with namespaces working with logicsheets

2002-11-15 Thread Alejandro Raiczyk
Title: RE: Problem with namespaces working with logicsheets





Show us your logicsheets pls.


-Mensaje original-
De: Saul Rodrigo Zarrate Cárdenas [mailto:[EMAIL PROTECTED]] 
Enviado el: Viernes, 15 de Noviembre de 2002 12:15 p.m.
Para: [EMAIL PROTECTED]
Asunto: Problem with namespaces working with logicsheets



Hi everyone


I have a cocoon version number 2.0.3 and a tomcat version number 4.0.1


I have a XSP page where I have logical.  If i load that page with the logical 
and Java source in the same page I not have any problem.  In the xsp page I 
have something like


 
 

   xmlns:xsp="http://apache.org/xsp"
   xmlns:esql="http://apache.org/cocoon/SQL/v2"
>  
   
 
 
  int cod_empresa;
  cod_empresa=1;
 






Here all is ok, but I need to work with logicsheets.  I want to put the logic 
in a logicsheet.  


In my cocoon.xconf file I have this code lines 



   
   http://sgcwebxml.com/xsp/1.0"/>
   
value="resource://sgcwebxml/logicsheets/sgcwebxml.xsl"/>




And in my xsp page, where I want to use the logicsheets (the logicsheet es the 
sgcwebxml.xsl file, and it is in the coocon/WEB- INF/classes/sgcwebxml/logicsheets directory) I have something like that


   xmlns:xsp="http://apache.org/xsp"
   xmlns:esql="http://apache.org/cocoon/SQL/v2"
   xmlns:xsp-request="http://apache.org/xsp/request/2.0"
   xmlns:util="http://apache.org/xsp/util/2.0"
  xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0"
>  






For the moment I am not using any tag for the logicsheet.  I am only doing the 
namespace declaration.


When I tried to load the xsp page I have this error page



Cocoon 2 - Internal server error


---
-


type fatal


message Exception in creating Transform Handler


description org.apache.cocoon.ProcessingException: Exception in creating 
Transform Handler: java.lang.ClassCastException: 
org.apache.xpath.res.XPATHErrorResources_es


sender org.apache.cocoon.servlet.CocoonServlet


source Cocoon servlet


stack-trace


org.apache.cocoon.ProcessingException: Exception in creating Transform 
Handler: java.lang.ClassCastException: 
org.apache.xpath.res.XPATHErrorResources_es
at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:292)
at 
org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandler
(Logicsheet.java:160)
at 
org.apache.cocoon.components.language.markup.Logicsheet.getNamespaceURIs
(Logicsheet.java:142)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogicshe
etToList(AbstractMarkupLanguage.java:466)
at 
org.apache.cocoon.components.language.markup.CocoonMarkupLanguage.addLogicsheet
ToList(CocoonMarkupLanguage.java:157)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage$Transformer
ChainBuilderFilter.startElement(AbstractMarkupLanguage.java:623)
at 
org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$CocoonTransfo
rmerChainBuilderFilter.startElement(CocoonMarkupLanguage.java:430)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source) at 
org.apache.cocoon.components.language.markup.CocoonMarkupLanguage$PreProcessFil
ter.startElement(CocoonMarkupLanguage.java:279)
at 
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage$PreProcessFi
lter.startElement(XSPMarkupLanguage.java:126)
at org.apache.xerces.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:445)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement
(XMLNamespaceBinder.java:832)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement
(XMLNamespaceBinder.java:568)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:808)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:752)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(XMLDocumentFragmentScannerImpl.java:1454)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:525)
at org.apache.xerces.parsers.StandardParserConfiguration.parse
(StandardParserConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1157)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at 
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCo
de(LogicsheetCodeGenerator.java:173)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCod
e(AbstractMarkupLanguage.java:390)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateRe
source(ProgramGeneratorImpl.java:370)
at 
org.apache.cocoon.components.language.generator.Prog

RE: Problem with tag form in a xslt

2002-11-15 Thread Alejandro Raiczyk
Title: RE: Problem with tag form in a xslt





Try with





Remember that the XML must be well formed.


Alejandro


-Mensaje original-
De: Saul Rodrigo Zarrate Cárdenas [mailto:[EMAIL PROTECTED]] 
Enviado el: Viernes, 15 de Noviembre de 2002 12:05 p.m.
Para: [EMAIL PROTECTED]
Asunto: Problem with tag form in a xslt



Hello


I have a stylesheet where I want to make a html transformation


In that page I have the next


  
    
  
  Data 1
   .
   .
  Data N
    
    
  


How you can see, I am using the html tag form, in that tag I have the tag 
SELECT.


When I load the page (the name of the page is borradoDeOpciones.xsp), and the 
transformation is doing (Without the transformation I don't have any problem.  
More especif, I can do the transformation wihout the form tag, and I don't 
have problems) I have the next problem



Cocoon 2 - Internal server error


---
-


type fatal


message Attribute name "SELECT" must be followed by the ' = ' character.


description org.apache.cocoon.ProcessingException: Exception in creating 
Transform Handler: org.xml.sax.SAXParseException: Attribute name "SELECT" must 
be followed by the ' = ' character.


sender org.apache.cocoon.servlet.CocoonServlet


source Cocoon servlet


stack-trace


org.apache.cocoon.ProcessingException: Exception in creating Transform 
Handler: org.xml.sax.SAXParseException: Attribute name "SELECT" must be 
followed by the ' = ' character.
at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:289)
at 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler
(XSLTProcessorImpl.java:239)
at org.apache.cocoon.transformation.TraxTransformer.setup
(TraxTransformer.java:298)
at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:215)
at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup
(CachingEventPipeline.java:278)
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey
(CachingEventPipeline.java:141)
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:317)
at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100B2
(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1019)
at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:472)
at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:385)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at org.apache.cocoon.www.sitemap_xmap.matchN1036A(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:4054)
at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3187)
at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de 
programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www\sitemap_xmap.java:3124)
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
(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
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.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext
(StandardPipeline.java:564)
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:2344)
at org.apache.catalina.core.Standar

Re: Cocoon & Orion

2002-11-02 Thread Alejandro Raiczyk
Thanks a lot Steven!!! It worked.
- Original Message - 
From: "Steven Punte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 02, 2002 2:28 PM
Subject: Re: Cocoon & Orion


> 
> --- Alejandro Raiczyk <[EMAIL PROTECTED]>
> wrote:
> > Hi, I'm trying to run C2 in Orion and I get the
> > following error:
> > 
> > org.apache.cocoon.ProcessingException: Error
> > compiling sitemap:
> > java.lang.NoClassDefFoundError:
> > org/apache/batik/dom/svg/SAXSVGDocumentFactory
> > at
> >
> org.apache.cocoon.sitemap.Handler.run(Handler.java:290)
> > at java.lang.Thread.run(Thread.java:484)
> > java.lang.NoClassDefFoundError:
> > org/apache/batik/dom/svg/SAXSVGDocumentFactory
> 
> File ~cocoon_2.0.3/WEB-INF/lib/batik-all-1.5b2.jar
> seems to be corrupted or just somehow not 
> properly packaged.  That is command:
> 
> jar tvf batik-all-1.5b2.jar
> 
> fail on freshly downloaded binaries.  
> 
> I'll send you a version that I've gotton to
> work by unzipping using winzip and then 
> re-archiving.
> 
> Not sure why this isn't seen on all server?
> 
> Steve Punte
> 
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> -
> 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]>




Cocoon & Orion

2002-11-01 Thread Alejandro Raiczyk
Title: Cocoon & Orion





Hi, I'm trying to run C2 in Orion and I get the following error:


org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory

    at org.apache.cocoon.sitemap.Handler.run(Handler.java:290)
    at java.lang.Thread.run(Thread.java:484)
java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at com.evermind._dz.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at com.evermind._dz.findClass(Unknown Source)
.
.
.


Cocoon 2.0.3
Orion 1.5.2
Java 1.3
Linux and Windows 2000 Advanced Server


Any ideas ?


Thanks.


Alejandro




-Mensaje original-
De: Tony Collen [mailto:[EMAIL PROTECTED]] 
Enviado el: Viernes, 01 de Noviembre de 2002 04:46 p.m.
Para: cocoon-users
Asunto: [ Book ] Thoughts on the "newer" Cocoon book?



Hi everyone, I was just wondering if anyone else has looked at the newer 
of the Cocoon books entitled, "Cocoon 2 Programming: Web Publishing with 
XML and Java" ...  I just picked it up last night and I'm working my way 
through it, and I was wondering what other people thought of it so far.



Tony



-
Please check that your question  has not already been answered in the
FAQ before posting. 


To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





RE: C2 and OC4J

2002-10-31 Thread Alejandro Raiczyk
Title: Mensaje



Please, I have a war running with Tomcat and I have to make it work with 
OC4J, the problem is the parser. How can I tell Cocoon to use the Oracle 
parser, or how can I tell OC4J to user the Cocoon's parser ?
 
Thanks

  
  -Mensaje original-De: Alejandro Raiczyk 
  [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 31 de Octubre 
  de 2002 03:24 p.m.Para: 
  '[EMAIL PROTECTED]'Asunto: C2 and 
  OC4J
  Hi, I'm trying to install C2 under OC4J and I can´t find how 
  to install it. Does anybody knows where can I find the 
  installation instructions ? 
  Thanks. 
  Alejandro 


C2 and OC4J

2002-10-31 Thread Alejandro Raiczyk
Title: C2 and OC4J





Hi, I'm trying to install C2 under OC4J and I can´t find how to install it.
Does anybody knows where can I find the installation instructions ?


Thanks.


Alejandro





RE: How to append a xml string as content

2002-10-18 Thread Alejandro Raiczyk
Title: RE: How to append a xml string as content





Sorry, but I don´t understand.
Wich parser should I use and how should I use it ?


I'm trying this that used to work in Cocoon 1 but it's not working here:






  language="java"
  xmlns:xsp="http://apache.org/xsp"
>


    
        ar.com.technisys.ccm.servidor.Registro
        ar.com.technisys.util.DOMUtils
        org.w3c.dom.Document
    


            
        
            String usuario = request.getParameter("usuario");
            String operador = request.getParameter("operador");
            String texto = null;
            System.err.println("Hola");
            try{
                texto = Registro.getUltimoRegistro(usuario,operador);
            }
            catch (Exception e){
                e.printStackTrace();
            }
        
        
            usuario
            operador
            
            
            System.err.println("Hola2");
            try {
    Document doc = DOMUtils.parse(texto);
    System.err.println("Hola3");
    System.err.println("El doc es "+doc);
    doc.getFirstChild()
    }
    catch (Exception e) {
        e.printStackTrace();
    }
            
            
        
    



Help me please !!


-Mensaje original-
De: J.Pietschmann [mailto:[EMAIL PROTECTED]] 
Enviado el: Jueves, 17 de Octubre de 2002 05:38 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: How to append a xml string as content



Alejandro Raiczyk wrote:
> Registro.getUltimoRegistro returns a xml string like 
> "24354325432523485845", the 
> thing is that I don´t want to treat that string as a string, I want it 
> to form part of the xml content of my page, so I can apply a XSL to 
> it, any ideas ?


If it's well wormed XML as in your example, run it through an XML parser. I'm not sure whether this would work in a XSP, but you can put it in special element and use a custom transformer in the next pipeline stage matching this element. Another possibility is to write a custom generator and aggregate it's output to the rest of the data.

J.Pietschmann



-
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]>





RE: How to append a xml string as content

2002-10-18 Thread Alejandro Raiczyk
Title: RE: How to append a xml string as content





Registro.getUltimoRegistro returns a xml string like "24354325432523485845", the thing is that I don´t want to treat that string as a string, I want it to form part of the xml content of my page, so I can apply a XSL to it, any ideas ?

-Mensaje original-
De: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] 
Enviado el: Jueves, 17 de Octubre de 2002 04:50 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: How to append a xml string as content



You have two options, but all the depends of your porpietary function Registro.getUltimoRegistro. I dont know what registro returns..

1-If returns a string, then your code is fine and you can do something like: 
    
        
            texto
        
    



2- If you can change the function, you can make use of 
org.w3c.dom.DocumentFragment. 
(http://xml.apache.org/xerces2-j/javadocs/api/org/w3c/dom/DocumentFragment.html)


Antonio Gallardo


El Jueves, 17 de Octubre de 2002 12:46, Alejandro Raiczyk escribió:
> Hi people, I have this:
>
> 
>
> 
> 
> 
>
> 
>   language="java"
>   xmlns:xsp="http://apache.org/xsp"
>
>
>   
>
> ar.com.technisys.ccm.servidor.Registro
>   
>
>   
>       
>           String usuario = request.getParameter("usuario");
>           String operador = request.getParameter("operador");
>           String texto = null;
>           try{
>               texto =
> Registro.getUltimoRegistro(usuario,operador);
>           }
>           catch (Exception e){
>               e.printStackTrace();
>           }
>       
>       
>           usuario
>           operador
>           texto
>       
>   
> 
>
> Where texto is a xml string, I don´t want to put it like text but xml 
> content, how can I do this ?
>
> Thanks in advance
>
> Alejandro D. Raiczyk
> Arquitecto de soluciones
> Desarrollo de Proyectos
> Technisys
> www.technisys.net
> "The First Digital Enabler of Latinamerica"
> Soluciones end-to-end a empresas tradicionales y puntocom que desean 
> orientar su estrategia hacia internet
> Tel./Fax: +54(11) 4322-7100 interno 133


-
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]>





How to append a xml string as content

2002-10-18 Thread Alejandro Raiczyk
Title: How to append a xml string as content





Hi people, I have this:











  language="java"
  xmlns:xsp="http://apache.org/xsp"
>


    
        ar.com.technisys.ccm.servidor.Registro
    


            
        
            String usuario = request.getParameter("usuario");
            String operador = request.getParameter("operador");
            String texto = null;
            try{
                texto = Registro.getUltimoRegistro(usuario,operador);
            }
            catch (Exception e){
                e.printStackTrace();
            }
        
        
            usuario
            operador
            texto
        
    



Where texto is a xml string, I don´t want to put it like text but xml content, how can I do this ?


Thanks in advance


Alejandro D. Raiczyk 
Arquitecto de soluciones 
Desarrollo de Proyectos 
Technisys 
www.technisys.net 
"The First Digital Enabler of Latinamerica" 
Soluciones end-to-end a empresas tradicionales y puntocom que desean orientar su estrategia hacia internet 
Tel./Fax: +54(11) 4322-7100 interno 133





RE: Cocoon in multiple webapp

2002-09-17 Thread Alejandro Raiczyk
Title: RE: Cocoon in multiple webapp





Antonio:


I did read what Vadim said, and I did what says in the install docs. That doc says that u have to compile the code if u want to use JDBC, and that´s not my case. Anyway, I downloded the C2 distribution for JDK 1.4.

I´m running about 20 applications.


You can come whenever u want, every day a server exploits here ...


Alejandro


-Mensaje original-
De: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] 
Enviado el: Martes, 17 de Septiembre de 2002 11:06 a.m.
Para: [EMAIL PROTECTED]
Asunto: Re: Cocoon in multiple webapp


Read down, the guru Vadim said::


Ahem... Seems like nobody reading install docs...


http://xml.apache.org/cocoon/installing/index.html
 *"**Java 1.4 configuration"*


Have you tried to download the source code and compile it? Please read the 
link, that Vadim sent to you.


How many application are you using?


BTW, can you invite me to see how a server exploid? ;)


Antonio Gallardo



El Martes, 17 de Septiembre de 2002 07:19, Alejandro Raiczyk escribió:
> Well, I've tried all:
>
> - I put all cocoon jars under $CATALINA_HOME/common/lib
> - I added the extra-classpath in the web.xml of my webapps
> - I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to
> $JAVA_HOME/jre/lib/endorsed
> - I deleted the work dir
>
> and I'm getting the same exception as before ...
>
> If someone knows something else, please help !!!
> I don´t know what to do. I must install a development server for 20 people,
> each one having it´s own context and running cocoon 2. The machine has 256
> mb of RAM and if I put all cocoon´s jar in each webapp, the server will
> exploid!
>
> -Mensaje original-
> De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Enviado el: Martes, 17 de Septiembre de 2002 09:46 a.m.
> Para: [EMAIL PROTECTED]
> Asunto: Re: Cocoon in multiple webapp
>
> Antonio Gallardo Rivera wrote:
> >Try this maybe it helps you:
> >
> >If you are using 1.4 (I am using 1.4.1RC) You must to copy the following
> >libraries to your Java libs:
> >
> >PROBLEM: When you are trying to use sunRise and your plataform is (or
> >similar):
> >
> >    Cocoon 2.0.3
> >    Tomcat 2.1.8 or 2.1.9
> >    Java 1.4 or 1.4.1
> >
> >You get the following error:
> >
> >java.lang.NullPointerException
> >
> >java.lang.NullPointerException at
> >org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
> >at
>
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
>
> >at
>
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
>
> >at
>
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836
>
> >at
> >org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSessi
> >o
>
> n
>
> >Context.java:173)
> >at
>
> org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691
>
> >
> >
> >CAUSE:
> >You have to configure java to work with this libraries:
> >    xalan-2.3.1.jar
> >    xercesImpl-2.0.0.jar
> >    xml-apis.jar
> >
> >SOLUTION:
> >1-Stop Tomcat.
> >2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/
> >3-Copy from Cocoon the following files to the recent created directory:
> >    xalan-2.3.1.jar
> >    xercesImpl-2.0.0.jar
> >    xml-apis.jar
> >4-Restart Tomcat
>
> Ahem... Seems like nobody reading install docs...
>
> http://xml.apache.org/cocoon/installing/index.html
> *"**Java 1.4 configuration"*
>
>
> Vadim
>
> >THANKS:
> >
> >Many thanks to Matthew Langham that provide me the link to:
> >
> >http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102927633032114&w=2
> >
> >Antonio Gallardo
> >
> >
> >CocoonServlet.java
> >
> >El Lunes, 16 de Septiembre de 2002 15:15, Ryan Agler escribió:
> >>Also a lot of times when I'm trying to get things to work with Tomcat
> >>requiring me to stop-and-start it a lot, "catalina.sh stop" wont kill
> >>all the java processes on my system.  Then I get all kinds of errors
> >>when I start it back up.  Make sure there are no rogue processes running
> >>and if there are, kill them.  In the stop section of my catalina.sh file
> >>I added a line to not only kill all processes, but also delete the work
> >>directory:
> >>
> >>rm -rf $CATALINA_HOME/work
> >>killall /jdk/bin/java
> >>
> >>good luck
> >>
> >>-Original Mes

RE: Cocoon in multiple webapp

2002-09-17 Thread Alejandro Raiczyk
Title: RE: Cocoon in multiple webapp





Mauro, I always do that, but I guess (I'm not sure, but watching the mem consume of my linux box I'm almost sure) the jars of each context are loaded in memory although they are links to the same files.

-Mensaje original-
De: Mauro Daniel Ardolino [mailto:[EMAIL PROTECTED]] 
Enviado el: Martes, 17 de Septiembre de 2002 11:41 a.m.
Para: '[EMAIL PROTECTED]'
Asunto: RE: Cocoon in multiple webapp


If you are in a linux machine, you can make a link.


ln -s 


So it will be the same file (only one i-node).


Tell me if it works or any questions if you don't understand.


Mauro



On Tue, 17 Sep 2002, Alejandro Raiczyk wrote:


> Well, I've tried all:
> 
> - I put all cocoon jars under $CATALINA_HOME/common/lib
> - I added the extra-classpath in the web.xml of my webapps
> - I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to
> $JAVA_HOME/jre/lib/endorsed
> - I deleted the work dir
> 
> and I'm getting the same exception as before ...
> 
> If someone knows something else, please help !!!
> I don´t know what to do. I must install a development server for 20 people,
> each one having it´s own context and running cocoon 2. The machine has 256
> mb of RAM and if I put all cocoon´s jar in each webapp, the server will
> exploid!
> 
> -Mensaje original-
> De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
> Enviado el: Martes, 17 de Septiembre de 2002 09:46 a.m.
> Para: [EMAIL PROTECTED]
> Asunto: Re: Cocoon in multiple webapp
> 
> Antonio Gallardo Rivera wrote:
> 
> >Try this maybe it helps you:
> >
> >If you are using 1.4 (I am using 1.4.1RC) You must to copy the following 
> >libraries to your Java libs:
> >
> >PROBLEM: When you are trying to use sunRise and your plataform is (or 
> >similar):
> >
> >    Cocoon 2.0.3
> >    Tomcat 2.1.8 or 2.1.9
> >    Java 1.4 or 1.4.1
> >
> >You get the following error:
> >
> >java.lang.NullPointerException
> >
> >java.lang.NullPointerException at
> >org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
> >at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
> >at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
> >at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836
> >at 
> >org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSessio
> n 
> >Context.java:173)
> >at
> org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691
> >
> >
> >CAUSE:
> >You have to configure java to work with this libraries:
> >    xalan-2.3.1.jar
> >    xercesImpl-2.0.0.jar
> >    xml-apis.jar
> >
> >SOLUTION:
> >1-Stop Tomcat.
> >2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/
> >3-Copy from Cocoon the following files to the recent created directory:
> >    xalan-2.3.1.jar
> >    xercesImpl-2.0.0.jar
> >    xml-apis.jar
> >4-Restart Tomcat
> >
> 
> Ahem... Seems like nobody reading install docs...
> 
> http://xml.apache.org/cocoon/installing/index.html
> *"**Java 1.4 configuration"*
> 
> 
> Vadim
> 
> 
> >THANKS:
> >
> >Many thanks to Matthew Langham that provide me the link to:
> >
> >http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102927633032114&w=2
> >
> >Antonio Gallardo
> >
> >
> >CocoonServlet.java
> >
> >El Lunes, 16 de Septiembre de 2002 15:15, Ryan Agler escribió:
> >  
> >
> >>Also a lot of times when I'm trying to get things to work with Tomcat
> >>requiring me to stop-and-start it a lot, "catalina.sh stop" wont kill
> >>all the java processes on my system.  Then I get all kinds of errors
> >>when I start it back up.  Make sure there are no rogue processes running
> >>and if there are, kill them.  In the stop section of my catalina.sh file
> >>I added a line to not only kill all processes, but also delete the work
> >>directory:
> >>
> >>rm -rf $CATALINA_HOME/work
> >>killall /jdk/bin/java
> >>
> >>good luck
> >>
> >>-Original Message-
> >>From: Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]
> >>Sent: Monday, September 16, 2002 2:38 PM
> >>To: '[EMAIL PROTECTED]'
> >>Subject: RE: Cocoon in multiple webapps
> >>
> >>I´ve tried, but it didn´t work:
> >>type fatal

RE: Cocoon in multiple webapp

2002-09-17 Thread Alejandro Raiczyk
Title: RE: Cocoon in multiple webapp





Well, I've tried all:


- I put all cocoon jars under $CATALINA_HOME/common/lib
- I added the extra-classpath in the web.xml of my webapps
- I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to $JAVA_HOME/jre/lib/endorsed
- I deleted the work dir


and I'm getting the same exception as before ...


If someone knows something else, please help !!!
I don´t know what to do. I must install a development server for 20 people, each one having it´s own context and running cocoon 2. The machine has 256 mb of RAM and if I put all cocoon´s jar in each webapp, the server will exploid!

-Mensaje original-
De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
Enviado el: Martes, 17 de Septiembre de 2002 09:46 a.m.
Para: [EMAIL PROTECTED]
Asunto: Re: Cocoon in multiple webapp


Antonio Gallardo Rivera wrote:


>Try this maybe it helps you:
>
>If you are using 1.4 (I am using 1.4.1RC) You must to copy the following 
>libraries to your Java libs:
>
>PROBLEM: When you are trying to use sunRise and your plataform is (or 
>similar):
>
>    Cocoon 2.0.3
>    Tomcat 2.1.8 or 2.1.9
>    Java 1.4 or 1.4.1
>
>You get the following error:
>
>java.lang.NullPointerException
>
>java.lang.NullPointerException at
>org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
>at org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
>at org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
>at org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836
>at 
>org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSession 
>Context.java:173)
>at org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691
>
>
>CAUSE:
>You have to configure java to work with this libraries:
>    xalan-2.3.1.jar
>    xercesImpl-2.0.0.jar
>    xml-apis.jar
>
>SOLUTION:
>1-Stop Tomcat.
>2-Create a directory named "endorsed" at $JAVA_HOME/jre/lib/
>3-Copy from Cocoon the following files to the recent created directory:
>    xalan-2.3.1.jar
>    xercesImpl-2.0.0.jar
>    xml-apis.jar
>4-Restart Tomcat
>


Ahem... Seems like nobody reading install docs...


http://xml.apache.org/cocoon/installing/index.html
*"**Java 1.4 configuration"*



Vadim



>THANKS:
>
>Many thanks to Matthew Langham that provide me the link to:
>
>http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102927633032114&w=2
>
>Antonio Gallardo
>
>
>CocoonServlet.java
>
>El Lunes, 16 de Septiembre de 2002 15:15, Ryan Agler escribió:
>  
>
>>Also a lot of times when I'm trying to get things to work with Tomcat
>>requiring me to stop-and-start it a lot, "catalina.sh stop" wont kill
>>all the java processes on my system.  Then I get all kinds of errors
>>when I start it back up.  Make sure there are no rogue processes running
>>and if there are, kill them.  In the stop section of my catalina.sh file
>>I added a line to not only kill all processes, but also delete the work
>>directory:
>>
>>rm -rf $CATALINA_HOME/work
>>killall /jdk/bin/java
>>
>>good luck
>>
>>-Original Message-
>>From: Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, September 16, 2002 2:38 PM
>>To: '[EMAIL PROTECTED]'
>>Subject: RE: Cocoon in multiple webapps
>>
>>I´ve tried, but it didn´t work:
>>type fatal
>>message null
>>description java.lang.NullPointerException
>>sender org.apache.cocoon.servlet.CocoonServlet
>>source Cocoon servlet
>>
>>    
>>





-
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]>





RE: iPlanet and Coccon 2

2002-08-12 Thread Alejandro Raiczyk
Title: RE: iPlanet and Coccon 2





yes, look at the web.xml in the cocoon war.


ALejandro


-Mensaje original-
De: Manel Moreno Germès [mailto:[EMAIL PROTECTED]]
Enviado el: Lunes 12 de Agosto de 2002 12:34 PM
Para: [EMAIL PROTECTED]
Asunto: RE: iPlanet and Coccon 2



thanks


and in web.xml i have to add some servlet
configuration??


 --- Alejandro Raiczyk <[EMAIL PROTECTED]>
escribió: 
> I've never used IPlanet but I supose it's like
> others, so, you have to put
> the Cocoon jars under your WEB-INF/lib directory in
> your WAR file (the web
> application).
> 
> Hope it works.
> 
> Alejandro
> 
> -Mensaje original-
> De: Manel Moreno Germès
> [mailto:[EMAIL PROTECTED]]
> Enviado el: Lunes 12 de Agosto de 2002 8:46 AM
> Para: [EMAIL PROTECTED]
> Asunto: iPlanet and Coccon 2
> 
> 
> Hi, 
> 
> it's possible install Cocoon 2 only for one
> aplication, not as framework, including libraries in
> an ear file (j2ee application) for iplanet
> aplication
> server 4 ??
> 
> if its possible where i have to put jar files of
> coccon in my ear file?
> 
> 
> thanks
> 
> 
>
___
> Yahoo! Messenger
> Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
> Descárgalo ya desde http://messenger.yahoo.es
> 
>
-
> 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]>
>  


___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es


-
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]>





RE: iPlanet and Coccon 2

2002-08-12 Thread Alejandro Raiczyk
Title: RE: iPlanet and Coccon 2





I've never used IPlanet but I supose it's like others, so, you have to put the Cocoon jars under your WEB-INF/lib directory in your WAR file (the web application).

Hope it works.


Alejandro


-Mensaje original-
De: Manel Moreno Germès [mailto:[EMAIL PROTECTED]]
Enviado el: Lunes 12 de Agosto de 2002 8:46 AM
Para: [EMAIL PROTECTED]
Asunto: iPlanet and Coccon 2



Hi, 


it's possible install Cocoon 2 only for one
aplication, not as framework, including libraries in
an ear file (j2ee application) for iplanet aplication
server 4 ??


if its possible where i have to put jar files of
coccon in my ear file?



thanks



___
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es


-
Please check that your question  has not already been answered in the
FAQ before posting. 


To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





Uploading files

2002-08-02 Thread Alejandro Raiczyk

Hi,

I want to upload files, and put the uploaded files in a directory other
than the default and with a name other than the original name, how can I do
this ?

Thanks in advance.

Alejandro


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Extrange problem with Cocoon 2.0.2

2002-07-07 Thread Alejandro Raiczyk
Title: Extrange problem with Cocoon 2.0.2





Hi, 


    I'm trying to run cocoon 2.0.2 within my application. I copied the WEB-INF directory from /cocoon/WEB-INF and the only thing I've done is to add a pipeline.

When I try it I get this Exception:


org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: manager
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
    at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NoSuchFieldError: manager
    at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172)
    at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)

    at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:170)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:248)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
    ... 1 more
java.lang.NoSuchFieldError: manager
    at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:347)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172)
    at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)

    at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:170)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:248)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
    at java.lang.Thread.run(Thread.java:536)


I have no idea what is this about and I couldn't find nothing on the web. With cocoon 2.0 I had no problem doing what I described before.

My configuration is:


Tomcat 4.0.1
Cocoon 2.0.2
Java 1.4


Thanks in advance.


Alejandro Raiczyk





Question about WildcardURIMatcher

2002-05-06 Thread Alejandro Raiczyk
Title: Question about WildcardURIMatcher





Hi people, I've got this situation:


When I make a request, for example, of a gif like y/z.gif (where y=y1/y2/../yn, n>=0) from a page p in x/ ({document_root}/x/p.xml, where x=x1/x2/../xn, x>=0) the URI passed to the matcher is x/y/z.gif.

The only part I care from this URI is y/z, I mean, I don't care where the page that is making the request is, because I want z.gif to be taken from {document_root}/img/y/z.gif.

I tried diferent pattern matchings, and couldn't find one that works. The problem is to identify where x ends (or where y begins), so I tried to use a explicit delimiter in the URIs like

    


and then match this with:


    
        
    


but it didn't work also.


Can someone help me with this ?


Thanks in advance.


Alejandro D. Raiczyk
Desarrollo de Proyectos
Technisys Informática S.R.L.
Tel./Fax: +54(11)4322-7100 int 133
[EMAIL PROTECTED]







RE: xsp logicsheet

2002-04-30 Thread Alejandro Raiczyk
Title: RE: xsp logicsheet





I guess it's


 String temp = "";


or


 String temp = new String("");


Alejandro


-Mensaje original-
De: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Enviado el: Martes 30 de Abril de 2002 10:37 AM
Para: [EMAIL PROTECTED]
Asunto: xsp logicsheet



I want to use an XSP logicsheet to process the values submitted by a 
form.  In this page I have the following code (simplified):


   
 
   
   
 String temp = ;
   
 
    temp
   


When I try to run this simple code I get an error saying
org.apache.cocoon.ProcessingException: Exception in creating Transform 
Handler: org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
listCreateQuery_xsp:
Line 263, column -1: incompatible types
Line 0, column 0:
1 error


The code block in the generated java file that throws the error is
 String temp =
 xspAttr.addAttribute(
   "",
   "select",
   "select",
   "CDATA",
   "name"
 );


How can I get the string value out of a node in xsp:logic  Using 
text(name) doesn't work either.
Bert


"My spelling is Wobbly.  It's good spelling but it Wobbles, and the letters
  get in the wrong places." A. A. Milne (1882-1958)



-
Please check that your question has not already been answered in the
FAQ before posting. 


To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>





RE: Howto xsp process in C2 ?

2002-04-29 Thread Alejandro Raiczyk
Title: Howto xsp process in C2 ?



Hi 
Edgar, thanks for your answer. I tried this and it works, but I have another 
problems:
 
1) I 
don't want to define a namespace for this logicsheet, because I have my site 
done and already running under C1 without using a namespace and now I want 
to migrate it to C2. How can I do this ?
 
2) 
Under C1, the logicsheet was applied before compilation time, so the .java 
generated had the logicsheet code in it. I saw that under C2 this doesn't happen 
and it's a problem for me, because I use variables and other stuff declared in 
the logicsheet. Any solutions ?
 
Thanks 
again.

  -Mensaje original-De: Graaf, Edgar de (fin) 
  [mailto:[EMAIL PROTECTED]]Enviado el: Lunes 29 de Abril de 
  2002 4:50 AMPara: '[EMAIL PROTECTED]'Asunto: 
  RE: Howto xsp process in C2 ?
  Yeah 
  cocoon:/cotizacion_xsp.xsl. If I understand you correctly But don't you 
  want to use logicsheets a configured in cocoon.xconf? 
  (builtin-logicsheet)
   
  (the 
  wrong way) You have to make a pipeline:
  
       
    
   
       
  And:
          
   
       
       
            
  The 
  hard part is that when I tried it cocoon:/ could not be used in generate. So 
  if that is still true you have to make a inbetween.xsl that transforms index 
  to what you want.
  (the 
  right way) !!!BUT the best way to do this is to make a builtin-logicsheet. 
  That goes like this:!!!
  1. you 
  have a data file ( a xml)
  2. You 
  insert a tag for example: 
  3. You 
  construct a xsl that replaces this with logic
  4. You 
  add to cocoon.xconf:
     
  5. Add 
  the namespace http://www.holland.nl/queensday/whatever 
  to your data.xml
  6. By 
  the way your data.xml is a XSP page..
  
   -Oorspronkelijk bericht-Van: 
  Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]Verzonden: 
  donderdag 25 april 2002 17:18Aan: 
  '[EMAIL PROTECTED]'Onderwerp: Howto xsp process in C2 
  ?
  
Hi, I'm migrating from C1 to C2, and I guess I've get the 
idea but I still can't make it work. 
How can I do if I want to define a pipeline where I have a 
source file wich is a XSP page, after generating it I have to transform it 
by a logicsheet (XSL), then by the XSP processor and finally a stylesheet 
(XSL).
I did this: 
     
                        
 
but it didn't work. Is there any whay to do shomething 
like     
     
? 
thanks in advance 
Alejandro D. Raiczyk Desarrollo de 
Proyectos Technisys Informática S.R.L. 
Tel./Fax: +54(11)4322-7100 int 133 [EMAIL PROTECTED] 



Howto xsp process in C2 ?

2002-04-26 Thread Alejandro Raiczyk
Title: Howto xsp process in C2 ?





Hi, I'm migrating from C1 to C2, and I guess I've get the idea but I still can't make it work.


How can I do if I want to define a pipeline where I have a source file wich is a XSP page, after generating it I have to transform it by a logicsheet (XSL), then by the XSP processor and finally a stylesheet (XSL).

I did this:


    
    
    
    
    
    


but it didn't work. Is there any whay to do shomething like
    
    


? 


thanks in advance


Alejandro D. Raiczyk
Desarrollo de Proyectos
Technisys Informática S.R.L.
Tel./Fax: +54(11)4322-7100 int 133
[EMAIL PROTECTED]





Problems with Tomcat 4 & Cocoon 2

2001-11-24 Thread Alejandro Raiczyk
Title: Problems with Tomcat 4 & Cocoon 2





Hi, I'm trying to install Cocoon2 under Tomcat 4.0.1 and I did what the Tomcat installation reference says, that is, making the cocoon.war file and deploying it in the Tomcat's webapps directory. When I go to http://mywebserver/cocoon it works fine, but if I try to load and xsp page from my own, it's not working, it just shows me the xml tags in the browser.

I guess that the extension .xml is not asociated with the Cocoon servlet, but I couldn't find nothing about this.
Help me please!


Thanks


Alejandro Raiczyk


-Mensaje original-
De: Tomas Espeleta [mailto:[EMAIL PROTECTED]]
Enviado el: Viernes 23 de Noviembre de 2001 6:46 AM
Para: [EMAIL PROTECTED]
Asunto: Re: Any Publishing Frameworks similar to cocoon?



> No I like Cocoon and Java very much :-)
> but currently I'm writing a dissertaion about Cocoon and therefor
> I'm wondering there are no other products like Cocoon.


I really don't know, but I've heard many medium-sized companies with $$ (and
even bigger ones),
use cocoon mounted on $$$ J2EE App servers... This may be for 2 reason (or
both!):
1) Cocoon is a really good product
2) It doesn't exist some commercial product similar to cocoon...


> For your interest:
> For my dissertation I developt a online Timer based on cocoon2.
> One of the goals of the implementation was to allow any user to
> use this online timer. This means every Browser type (micro or
> desktop-browser)
> can access this application. With the help of CC/PP i read the
> max. resolution of the device and therefore the webpage is customized
> due to the needs of the client. It also allows to generate CSS dynamically
> based on the preferences the user has (stored in a DB).


Really interesting! any ready url to take a look?


-- Tomas.




-
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]>