RE: [HELP]

2002-06-29 Thread Vadim Gritsenko

> From: Mellado, Rafael [mailto:[EMAIL PROTECTED]]
> 
> I got the following exception in my sitemap I have the following:
>  src="org.apache.cocoon.generation.ServerPagesGenerator"/>
> and
> 
>   
>   
> 
> 
>   
> I am using version 2.1-dev
> Description:org.apache.cocoon.ProcessingException:
> java.lang.NullPointerException
> 
> full exception chain stacktrace
> 
> Original exception : java.lang.NullPointerException
> at
>
net.sf.pizzacompiler.compiler.Namer.findMethod(C:\pizza\main\src\net\sf\
pizz
> acompiler\compiler\Namer.pizza:306)

Seems that pizza compiler really does not like your XSP. You could try
javac instead of pizza.

Easiest way to do this is get Cocoon source distribution, remove file
lib/optional/pizza-1.1.jar, remove everything in build directory, and
rebuild Cocoon.

Also, you could try to compile Java file generated from the XSP to
compile from the command line using pizza and if it fails in similar
way, contact pizza developers (project hosted at sourceforge).


Vadim


> at
>
net.sf.pizzacompiler.compiler.Namer.resolveSelectFromType(C:\pizza\main\
src\
> net\sf\pizzacompiler\compiler\Namer.pizza:648)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribSelect(C:\pizza\main\src\net\sf
\piz
> zacompiler\compiler\Attr.pizza:1572)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribExpr(C:\pizza\main\src\net\sf\p
izza
> compiler\compiler\Attr.pizza:1359)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribExpr(C:\pizza\main\src\net\sf\p
izza
> compiler\compiler\Attr.pizza:1113)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribStat(C:\pizza\main\src\net\sf\p
izza
> compiler\compiler\Attr.pizza:692)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribStats(C:\pizza\main\src\net\sf\
pizz
> acompiler\compiler\Attr.pizza:750)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribDef(C:\pizza\main\src\net\sf\pi
zzac
> ompiler\compiler\Attr.pizza:472)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribDef(C:\pizza\main\src\net\sf\pi
zzac
> ompiler\compiler\Attr.pizza:424)
> at
>
net.sf.pizzacompiler.compiler.Attr.attribute(C:\pizza\main\src\net\sf\pi
zzac
> ompiler\compiler\Attr.pizza:355)
> at
>
net.sf.pizzacompiler.compiler.Main.process(C:\pizza\main\src\net\sf\pizz
acom
> piler\compiler\Main.pizza:228)
> at
>
net.sf.pizzacompiler.compiler.Main.compile(C:\pizza\main\src\net\sf\pizz
acom
> piler\compiler\Main.pizza:309)
> at
>
org.apache.cocoon.components.language.programming.java.Pizza.compile(Piz
za.j
> ava:114)
> at
>
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(
> JavaLanguage.java:225)
> at
>
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guag
> e.load(CompiledProgrammingLanguage.java:207)
> at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
dPro
> gram(ProgramGeneratorImpl.java:398)
> at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Pr
> ogramGeneratorImpl.java:287)
> at
>
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener
ator
> .java:203)
> at
>
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPi
peli
> ne(AbstractProcessingPipeline.java:370)
> at
>
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline.set
upPi
> peline(CachingProcessingPipeline.java:287)
> at
>
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(Abs
> tractProcessingPipeline.java:493)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
Seri
> alizeNode.java:142)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invo
> keNodes(AbstractParentProcessingNode.java:83)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvok
> e(PreparableMatchNode.java:157)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invo
> keNodes(AbstractParentProcessingNode.java:107)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipel
> ineNode.java:158)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invo
> keNodes(AbstractParentProcessingNode.java:107)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipel
> ineNode.java:158)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invo
> keNodes(AbstractParentProcessingNode.java:107)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
Pipe
> linesNode.java:152)
> at
>
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cess
> or.java:327)
> at
>
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cess
> or.java:309)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:587)
> 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(Applica
tion
> Filte

Re: Help with

2002-12-26 Thread Antonio Gallardo
Hi:

I was checking the code behind esql. I think the problem is related to the
new LIMT OFFSET in the Query:

If we set the limit of returned rows the database will return in the
recordset only the numbers of rows that we requested with the LIMIT
keyword. That means that we cannot know if there are more rows. XSP does
not know it too and then the  do nothing.

I thinked that we can change this because one of the use of the
 tag is pagination. If we cannot know if there are more
rows then we cannot make use of the "previous page" and "next page"
approach.

I hope you will resolve this issue or please tell us how to resolve this.

Thanks in advance,

Antonio Gallardo



Antonio Gallardo dijo:
> Hi!
>
> I am trying to make use of  in a simple PostgreSQL
> database page using XSP. I am using Cocoon 2.1 CVS (today - 25-Dic-02 at
> night CST). My problem is that the  is not working. I
> know already there are more than 50 registers of the database that can
> be retrieved.
>
> 
> 
>   
> 
> 1
> 10
> 
>   
> 
>   previous rows
> more rows
>   
> 
>   
> 
>   
> 
>
> The point is: everything works well but the more-results is not working
> no matter if you put it as descendant of  or
> 
>
> My database is PostgreSQL 7.2 on Red Hat Linux 7.2
>
> Please help me.
>
> Regards,
>
> Antonio Gallardo
>
>
>
> -
> 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]>




-
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: Help me....

2002-01-09 Thread Ivan Rubin Ayma

Check out the site map, sitemap.xmap, and the documentation for it.

You have to specify there the structure for your application.

An improvment (!) on cocoon 2. A headache, but an improvment, I assure
you. Centralization.

-Mensaje original-
De: Malathi Rao [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 09 de enero de 2002 7:58
Para: [EMAIL PROTECTED]
Asunto: Help me


Hi ,

 I have installed Cocoon 2.0 on Tomcat 4.0 i.e Catalina. I am able to
get
the required page when I give:
  http://localhost:8080/cocoon/

But one thing I could not understand is, Where to put the applications
that
we have developed i.e I have a set of XML ,XSL's . In which folder
should I
put them in order to view them in the browser ?
   I have created a folder called 'wap' in 
  %Tomcat%webapps/cocoon/wap and put them in that folder. When I give
the
url :
  http://localhost:8080/cocoon/wap/stock.xml 
  I am getting the error ..." The page can not be found " .

My doubts are:
 The way I have followed is correct or not ?
 Do I need to put them in Cocoon  and give  path to that
folder
 in Tomcat server.xml?
 If so where should I put them in Cocoon.? 
>From where can I get the examples using Cocoon and how to run them with
Tomcat 4.0 ?
  
Please help me in this matter.

  Thanks in advance..

regards
Malathi

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


-
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: Help me....

2002-01-09 Thread Luca Morandini

Malathi,

did you mount your sub-sitmap in the cocoon sitemap.xmap file ?

You can search the samples or this mailing list for examples of sitemp
mounting.

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Malathi Rao [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 11:58 AM
> To: [EMAIL PROTECTED]
> Subject: Help me
>
>
> Hi ,
>
>  I have installed Cocoon 2.0 on Tomcat 4.0 i.e Catalina. I am able to get
> the required page when I give:
>   http://localhost:8080/cocoon/
>
> But one thing I could not understand is, Where to put the
> applications that
> we have developed i.e I have a set of XML ,XSL's . In which
> folder should I
> put them in order to view them in the browser ?
>I have created a folder called 'wap' in
>   %Tomcat%webapps/cocoon/wap and put them in that folder. When I give the
> url :
>   http://localhost:8080/cocoon/wap/stock.xml
>   I am getting the error ..." The page can not be found " .
>
> My doubts are:
>  The way I have followed is correct or not ?
>  Do I need to put them in Cocoon  and give  path to that folder
>  in Tomcat server.xml?
>  If so where should I put them in Cocoon.?
> From where can I get the examples using Cocoon and how to run them with
> Tomcat 4.0 ?
>
> Please help me in this matter.
>
>   Thanks in advance..
>
> regards
> Malathi
>
> -
> 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]>
>


-
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: Help me....

2002-01-09 Thread Sidharth

There is one sitemap in cocon main folder. Open it and search for pipelines.
Create a new folder in cocoon and register it in sitemap. Then only u will
be able to see the things
- Original Message -
From: "Malathi Rao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 09, 2002 4:28 PM
Subject: Help me


> Hi ,
>
>  I have installed Cocoon 2.0 on Tomcat 4.0 i.e Catalina. I am able to get
> the required page when I give:
>   http://localhost:8080/cocoon/
>
> But one thing I could not understand is, Where to put the applications
that
> we have developed i.e I have a set of XML ,XSL's . In which folder should
I
> put them in order to view them in the browser ?
>I have created a folder called 'wap' in
>   %Tomcat%webapps/cocoon/wap and put them in that folder. When I give the
> url :
>   http://localhost:8080/cocoon/wap/stock.xml
>   I am getting the error ..." The page can not be found " .
>
> My doubts are:
>  The way I have followed is correct or not ?
>  Do I need to put them in Cocoon  and give  path to that folder
>  in Tomcat server.xml?
>  If so where should I put them in Cocoon.?
> >From where can I get the examples using Cocoon and how to run them with
> Tomcat 4.0 ?
>
> Please help me in this matter.
>
>   Thanks in advance..
>
> regards
> Malathi
>
> -
> 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]>


-
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: Help building

2002-02-11 Thread Donald Ball

On Mon, 11 Feb 2002, Tim Brown wrote:

> Just downloaded cocoon1.8.2.  I have also tried 2.0.  I get the
> following with *both* versions when I attempt to run build.sh:
> 
> [tbrown@ctg0483 cocoon-1.8.2]$ ./build.sh
>
> Cocoon Build System
> ---
>
> Building with classpath
> 
>lib/ant_1_1.jar:lib/bsfengines.jar:lib/bsf.jar:lib/fesi.jar:lib/fop_0_15_0.jar:lib/sax-bugfix.jar:lib/servlet_2_2.jar:lib/stylebook-1.0-b2.jar:lib/turbine-pool.jar:lib/w3c.jar:lib/xalan_1_2_D02.jar:lib/xerces_1_2.jar:lib/xml.jar:lib/xt.jar:/usr/local/jdk/lib/tools.jar:
>
> Starting Ant...
> Buildfile: build.xml
> ./build.sh: line 40: 25185 Segmentation fault  $JAVA_HOME/bin/java
> -Dant.home=$ANT_HOME -mx64m -classpath $LOCALCLASSPATH
> org.apache.tools.ant.Main $*
> =
> I am running Tomcat 3.2.3 and Java 1.3.  I get the same error with
> cocoon 2.0 on another linux system with 3.2 Tomcat.

problem isn't with c2 specifically, java is segfaulting when it tries to
run ant. i suppose you try a different jvm.

- donald


-
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: Help building

2002-02-11 Thread Vadim Gritsenko

> From: Donald Ball [mailto:[EMAIL PROTECTED]]
> 
> On Mon, 11 Feb 2002, Tim Brown wrote:
> 
> > Just downloaded cocoon1.8.2.  I have also tried 2.0.  I get the
> > following with *both* versions when I attempt to run build.sh:
> > 
> > [tbrown@ctg0483 cocoon-1.8.2]$ ./build.sh
> >
> > Cocoon Build System
> > ---
> >
> > Building with classpath
> >
>
lib/ant_1_1.jar:lib/bsfengines.jar:lib/bsf.jar:lib/fesi.jar:lib/fop_0_15
_0.jar
>
:lib/sax-bugfix.jar:lib/servlet_2_2.jar:lib/stylebook-1.0-b2.jar:lib/tur
bine-
>
pool.jar:lib/w3c.jar:lib/xalan_1_2_D02.jar:lib/xerces_1_2.jar:lib/xml.ja
r:lib/
> xt.jar:/usr/local/jdk/lib/tools.jar:
> >
> > Starting Ant...
> > Buildfile: build.xml
> > ./build.sh: line 40: 25185 Segmentation fault
$JAVA_HOME/bin/java
> > -Dant.home=$ANT_HOME -mx64m -classpath $LOCALCLASSPATH
> > org.apache.tools.ant.Main $*
> > =
> > I am running Tomcat 3.2.3 and Java 1.3.  I get the same error with
> > cocoon 2.0 on another linux system with 3.2 Tomcat.

Search archives.

 
> problem isn't with c2 specifically, java is segfaulting when it tries
to
> run ant. i suppose you try a different jvm.

This was asked and answered 10-15 times already... Solution is something
like "ulimit -s 2048" - don't remember correctly 'cause I'm on windows.

Vadim


-
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: Help building

2002-02-11 Thread Tim Brown

Vadim Gritsenko wrote:

> Search archives.
>
>
> > problem isn't with c2 specifically, java is segfaulting when it tries
> to
> > run ant. i suppose you try a different jvm.
>
> This was asked and answered 10-15 times already... Solution is something
> like "ulimit -s 2048" - don't remember correctly 'cause I'm on windows.
>
> Vadim
>

I *did* search the archives and via the list search admin command.  Didn't
hit anything.  Thanks for the clue anyway.

--
Tim Brown
URL: http://www.incenter.org




-
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: Help building

2002-02-12 Thread Brian Blakeley

Tim,

It is around somewhere but if I remember correctly you need to add a line to
your /etc/profile which reads

ulimit -s 2048

You can read all about it in O'Reilly's Linux in a Nutshell on page 495-496.

I have mine set in as follows:   ulimit -S -c 100   and while it really
looks wrong I have not had problems.

Brian


- Original Message -
From: "Tim Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 1:20 AM
Subject: Re: Help building


> Vadim Gritsenko wrote:
>
> > Search archives.
> >
> >
> > > problem isn't with c2 specifically, java is segfaulting when it tries
> > to
> > > run ant. i suppose you try a different jvm.
> >
> > This was asked and answered 10-15 times already... Solution is something
> > like "ulimit -s 2048" - don't remember correctly 'cause I'm on windows.
> >
> > Vadim
> >
>
> I *did* search the archives and via the list search admin command.  Didn't
> hit anything.  Thanks for the clue anyway.
>
> --
> Tim Brown
> URL: http://www.incenter.org
>
>
>
>
> -
> 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]>




RE: Help building

2002-02-12 Thread Vadim Gritsenko

That's strange! Try archive at http://marc.theaimsgroup.com/. It works
like a charm:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=segmentation+
fault&q=b

Vadim

> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> Vadim Gritsenko wrote:
> 
> > Search archives.
> >
> >
> > > problem isn't with c2 specifically, java is segfaulting when it
tries
> > to
> > > run ant. i suppose you try a different jvm.
> >
> > This was asked and answered 10-15 times already... Solution is
something
> > like "ulimit -s 2048" - don't remember correctly 'cause I'm on
windows.
> >
> > Vadim
> >
> 
> I *did* search the archives and via the list search admin command.
Didn't
> hit anything.  Thanks for the clue anyway.
> 
> --
> Tim Brown
> URL: http://www.incenter.org


-
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: Help building

2002-02-12 Thread Tim Brown


Thanks!  I wasn't even aware of that site.  I just downloaded
Cocoon last weekend, still getting my head around it.
Vadim Gritsenko wrote:
That's strange! Try archive at http://marc.theaimsgroup.com/.
It works
like a charm:
http://marc.theaimsgroup.com/?l=xml-cocoon-users&w=2&r=1&s=segmentation+
fault&q=b
Vadim
 



RE: Help Please

2002-03-06 Thread Vadim Gritsenko

Either use JDK1.3.1 or set JAVA_HOME to the jdk1.4. This should fix the
issue.

Vadim

-Original Message-
From: Mariano [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 06, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: Help Please

Hi , I am a First Time user of coccon and i have somre problmes
installing it. (still can't install) . when I run build following the
rules at the site i have this errror
Compiling with Java 1.4, debug on, optimize off, deprecation off
Compiling 381 source files to /root/cocoon-2.0.1/build/cocoon/classes
/root/cocoon-2.0.1/build/cocoon/src/org/apache/cocoon/components/languag
e/markup/xsp/EsqlConnection.java:22: class
org.apache.cocoon.components.language.markup.xsp.EsqlConnection must be
declared abstract. It does not define java.sql.CallableStatement
prepareCall(java.lang.String, int, int, int) from interface
java.sql.Connection.
public class EsqlConnection implements Connection {
 
How I can work it out?? Any helps is welcome
Mariano
 


-
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: Help Please

2002-03-06 Thread Mariano

yes. i have JDK 1.4
My JAVA_HOME set a /usr/java/j2sdk1.4.0/ is it ok?
or i should anithing else?
thanks
mariano


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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: Help Please

2002-03-06 Thread Mariano

hi. i finally got the cocoon.war . I have replaced all the files tutorials
says but when i try http://myhost/cocoon i got 404..
whta it could be? i have apahe and tomcat running
thsnk in advance
mariano


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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: Help Please

2002-03-06 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Help Please





Unless I'm missing something


It depends on what servelet container you are using (Tomcat/Jrun/whatever).


Tomcat defaults to port 8080 (unless you are using RPM's which default to 8180)


http://myhost:8080/cocoon


-T


> -Original Message-
> From: Mariano [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help Please
> 
> 
> hi. i finally got the cocoon.war . I have replaced all the 
> files tutorials
> says but when i try http://myhost/cocoon i got 404..
> whta it could be? i have apahe and tomcat running
> thsnk in advance
> mariano
> 
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.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]>
> 





Re: Help Please

2002-03-06 Thread Carlos

Did you try restarting apache and tomcat?

On 03/06/02 10:39, "Mariano" <[EMAIL PROTECTED]> wrote:

> hi. i finally got the cocoon.war . I have replaced all the files tutorials
> says but when i try http://myhost/cocoon i got 404..
> whta it could be? i have apahe and tomcat running
> thsnk in advance
> mariano
> 
> 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Paradoxically, a refusal to 'put a monetary value on life' means that life
is often undervalued.
-- Artificial Intelligence: A Modern Approach



-
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: Help Please

2002-03-06 Thread Mariano

Hi!!
i finally make it owrks. but i have one tiny problem
when i point at the brwser http://myhost/cocoon i got the list of all the
files.
and also I can't see a page as nomarl . Insetd of it I see the XML at the
screen.
like this
  
  
- 
- 
  
  
  
  
  
  
what should i do now?
thanks
mariano


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-
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: Help Please

2002-03-06 Thread Carlos

Something's not cool here. This is what explorer does when it views an XML
document without a stylesheet. More than that I don't know what the provlem
is. Do you have a URL to see?

Carlos

On 03/06/02 13:59, "Mariano" <[EMAIL PROTECTED]> wrote:

> Hi!!
> i finally make it owrks. but i have one tiny problem
> when i point at the brwser http://myhost/cocoon i got the list of all the
> files.
> and also I can't see a page as nomarl . Insetd of it I see the XML at the
> screen.
> like this
> 
> 
> - 
> - 
> 
> 
> 
> 
> 
> 
> what should i do now?
> thanks
> mariano
> 
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> -
> 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]>
> 

-- 
Carlos E. Araya
---+ WebCT Administrator/Trainer
 P | California Virtual Campus
 - | C/O De Anza College
 G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014

email   [EMAIL PROTECTED]
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone   408 257 0420 (work)
PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756

Hey! It compiles! Ship it!


-
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: Help Please

2002-03-06 Thread yuryx

Mariano wrote:

>hi. i finally got the cocoon.war . I have replaced all the files tutorials
>says but when i try http://myhost/cocoon i got 404..
>whta it could be? i have apahe and tomcat running
>thsnk in advance
>mariano
>
>
>_
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>-
>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]>
>
If you don't configure apache for create Tomcat link (uses mod_webapp) ,
then just  to use http://myhost:8080/cocoon
^--
(8080 is the default Tomcat port)

Regards.
Yury.





-
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: Help Requested!!!!

2002-04-17 Thread Marty McClelland

I have seen this error when there is an error in the table name.  Check
the spelling of the table name in the database and make sure it matches
the name in the query including upper/lower case. 

marty

> -Original Message-
> From: Muhammad Irfan [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, April 17, 2002 12:14 PM
> To: [EMAIL PROTECTED]
> Subject: Help Requested
> 
> 
> 
>   Dear All,
> 
> I am trying a simple process to execute the sql query that 
> should give me the output in xml, but It seems to me that I 
> am stuckup with this. Below is the detailed description of 
> what I have done:- I have created a file named sql-test.xml 
> under "test" folder within tomcat/cocoon that just consist of 
> a single query:-   xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
> Hello
> 
> This is SQL Test
> 
> 
>   select * from employee
> 
> 
> 
> 
> 
> I have updated the entries for driver and db within the 
> web.xml and cocoon.xconf file to use with MS Access database. 
> Having done that, I have inserted the following lines within 
> the main sitemap:-  
> 
> 
> 
> 
> 
> 
> 
> 
> I am getting the following errors:-
> 
> " System can't find the specified resource"
> " java.sql.SQLException: [Microsoft][ODBC Microsoft Access 
> Driver]Invalid use of null pointer "
> 
> I will be grateful for your kind help
> 
> Regards
> 
> Irfan.
> 
> 
> 
> 
> 
> 
> _
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp.
> 
> 
> 
> -
> 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]>


-
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: [HELP] Description:org.apache.cocoon.ProcessingException:java.lang.NullPointerException

2002-05-03 Thread Vadim Gritsenko

> From: Deepak Mehta [mailto:[EMAIL PROTECTED]]
> 
> Description:org.apache.cocoon.ProcessingException:
> java.lang.NullPointerException
> 
> I am running Tomcat 4.0.3 and Cocoon 2.0.2 and JDK 1.3.1 on a MacOS X
10.1.4
> 
> All the xsp samples give me this error except the Javascript XSP
Samples.
> Also some other samples using java give this error
> 
> Help?

Stacktrace? Log files? Have you read your error screen? These are the
required pieces of info.

 
> Dp

Vadim 

--
Resistance is futile.


-
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: [HELP]Description:org.apache.cocoon.ProcessingException:java.lang.NullPointerException

2002-05-03 Thread Deepak Mehta

Don't worry seems to have been an old Xerces jar file lying around in the
classpath


On 3/5/02 16:04, "Vadim Gritsenko" <[EMAIL PROTECTED]> wrote:

>> From: Deepak Mehta [mailto:[EMAIL PROTECTED]]
>> 
>> Description:org.apache.cocoon.ProcessingException:
>> java.lang.NullPointerException
>> 
>> I am running Tomcat 4.0.3 and Cocoon 2.0.2 and JDK 1.3.1 on a MacOS X
> 10.1.4
>> 
>> All the xsp samples give me this error except the Javascript XSP
> Samples.
>> Also some other samples using java give this error
>> 
>> Help?
> 
> Stacktrace? Log files? Have you read your error screen? These are the
> required pieces of info.
> 
> 
>> Dp
> 
> Vadim 
> 
> --
> Resistance is futile.
> 
> 
> -
> 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]>

-- 
---
Deepak 'Deep' Mehta
E-mail: [EMAIL PROTECTED]
URL: http://www.dp.com/

PGP Fingerprint: 837E B8E6 6AF4 6675 2730  0848 7731 09F5 3445 00A5

Money-making is a wonderful thing (Maxin & Skin in Carmen Queasy)
---


-
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: Help, please

2002-08-21 Thread Barbara Post

from a previous post I read I guess it is a memory problem ? when do you get
this ?
- Original Message -
From: "KOZLOV Roman" <[EMAIL PROTECTED]>
To: "Cocoon users mail list" <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 4:49 PM
Subject: Help, please


> Please, help.
> Anybody knows what does the exception "The Sitemap is null, this should
> never be!" mean and what are reasons of it?
>
> Thank you in advance,
> Roman
>
>
> -
> 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]>
>


-
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: help me!!

2002-10-07 Thread Mauro Daniel Ardolino

Can you see the cocoon presentation page?:
http://localhost:/cocoon

On Sat, 5 Oct 2002, Collado T Luis E wrote:

> Hi, how are you?, I have a problem:
> 
> I am trying to installing cocoon1.8.2 with tomcat3.3a, using 
> http://xml.apache.org/cocoon1/install.html installation notes.
> Tomcat is working well, but when i am trying to run the follow URL: 
> http://localhost:/cocoon/Cocoon.xml, i get the follow error:
> 
> Ctx(/cocoon) Class not found: org.apache.cocoon.Cocoon
> Ctx(/cocoon) Status code:404 request: R2002-10-05 14:51:45 - Ctx(/cocoon) 
> : Class not found: org.apache.cocoon.Cocoon
> 2002-10-05 14:51:45 - Ctx(/cocoon) : Status code:404 request:R( /cocoon + 
> /Cocoon.xml + null) msg:null
> 
> can you help me?
> 
> Thanks.
> 
> 
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: [EMAIL PROTECTED]
website: http://www.altersoft.com.ar


-
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: help me!!

2002-10-07 Thread Collado T Luis E

Yes, i can see that page: It has a folder named samples/

A question: do you speak spanish?if your answer is afirmative we can talk 
spanish.


On Mon, 7 Oct 2002, Mauro Daniel Ardolino wrote:

> Can you see the cocoon presentation page?:
> http://localhost:/cocoon
> 
> On Sat, 5 Oct 2002, Collado T Luis E wrote:
> 
> > Hi, how are you?, I have a problem:
> > 
> > I am trying to installing cocoon1.8.2 with tomcat3.3a, using 
> > http://xml.apache.org/cocoon1/install.html installation notes.
> > Tomcat is working well, but when i am trying to run the follow URL: 
> > http://localhost:/cocoon/Cocoon.xml, i get the follow error:
> > 
> > Ctx(/cocoon) Class not found: org.apache.cocoon.Cocoon
> > Ctx(/cocoon) Status code:404 request: R2002-10-05 14:51:45 - Ctx(/cocoon) 
> > : Class not found: org.apache.cocoon.Cocoon
> > 2002-10-05 14:51:45 - Ctx(/cocoon) : Status code:404 request:R( /cocoon + 
> > /Cocoon.xml + null) msg:null
> > 
> > can you help me?
> > 
> > Thanks.
> > 
> > 
> > 
> > 
> 
> 

-- 
***
*   Luis Eduardo Collado Tovar *
*  Estudiante de Lic. Computación  *
*  Facultad de Ciencias*
* Universidad Central de Venezuela *
*   Caracas.- Venezuela*
 


-
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: Help me!

2001-09-17 Thread giacomo

On Sun, 16 Sep 2001, Jarek Kijowski wrote:

> I have done as described in Install.
>
> I have downloaded cocoon2 , installed Tomcat 3.2.3 and installed cocoon using :
>
>  build.bat -Dinclude.webapp.libs=yes -Dinstall.war=c:\Tomcat\webapps install
>
> but Cocoon does not work!  (Tomcat works properly)
>
> after http://obelix:8080/cocoon I get
>
> Error: 500
> Location: /cocoon
> Internal Servlet Error:
>
>
> java.lang.NullPointerException
>   at 
>org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:471)
>   at 
>org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:174)
>   at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
>   at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
>   at org.apache.tomcat.core.Handler.service(Handler.java:254)
>   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at 
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
>   at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>   at 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
>   at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
>
> Tomcat info:
>
> cannot load servlet name: jsp: C:\Tomcat\webapps\cocoon\WEB-INF\lib\.new.bsf.jar is 
>not a directory or zip/jar file or if it's a zip/jar file then it is corrupted.

Try to remove this .new.bsf.jar file mentioned in the above message.

Giacomo

> cannot load servlet name: Cocoon2: null
>
>
> 
>
>
> What can I do ? Thanks... jk
>


-
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: Help! Help!

2001-09-26 Thread Liam Morley

It would be most helpful to see the exception that takes place in the
log file as well as the few lines immediately preceding it so it's
easier to tell what Cocoon was trying to do at the time. I'll be trying
Cocoon out with JRun 3.0 sometime in the near future, so if I don't run
into this I'll be sure to let you know.

Best of luck,
Liam Morley

-Original Message-
From: JAYAGANESH LAKSHMINARAYANAN [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 26, 2001 7:39 PM
To: [EMAIL PROTECTED]
Subject: Help! Help!

Hi,

I have been trying out Cocoon 2.

I did the following:

1. I was able to succesfully do build and create  cocoon.war file.

2. I deployed the cocoon.war file in JRun3.1. The deployment was
successful.

Issue:

When tried to access the appllication with the URL 
http://localhost:8100/cocoo2/

I get the following Internal server error Message. Please help me fixing
it.


500 Internal Server Error
/cocoo2/:

null
java.lang.NoSuchMethodError
at 
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.(DefaultConfigurationBuilder.java:38)
at 
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:37
5)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)
at 
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
unServletLoader.java:203)
at 
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
unServletLoader.java:161)
at 
allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServle
tLoader.java:149)
at 
allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1
705)
at
allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1231)
at 
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunReques
tDispatcher.java:89)
at
allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
at
allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
at
allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)



Thanks in advance

Ganesh



_
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp


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


-
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: Help! Help!

2001-09-26 Thread Marc J. Driftmeyer



Liam Morley wrote:
000801c1471c$354930d0$3ae2d782@IMOTIC">
  It would be most helpful to see the exception that takes place in thelog file as well as the few lines immediately preceding it so it'seasier to tell what Cocoon was trying to do at the time. I'll be tryingCocoon out with JRun 3.0 sometime in the near future, so if I don't runinto this I'll be sure to let you know.Best of luck,Liam Morley-Original Message-From: JAYAGANESH LAKSHMINARAYANAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 7:39 PMTo: [EMAIL PROTECTED]Subject: Help! Help!Hi,I have been trying out Cocoon 2.I did the following:1. I was able to succesfully do build and create  cocoon.war file.2. I deployed the cocoon.war file in JRun3.1. The deployment wassuccessfu
l.Issue:When tried to access the appllication with the URL http://localhost:8100/cocoo2/I get the following Internal server error Message. Please help me fixingit.500 Internal Server Error/cocoo2/:nulljava.lang.NoSuchMethodError	at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.nit>(DefaultConfigurationBuilder.java:38)	at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:375)	atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)	at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunServletLoader.java:203)	at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunServletLoader.java:161)	at allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServletLoader.ja
va:149)	at allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1705)	atallaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1231)	at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)	atallaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)	atallaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)	atallaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)	atallaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)Thanks in advanceGanesh_Get your FREE download of MSN Explorer athttp://explorer.msn.com/int
l.asp-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>-Please check that your question has not already been answered in theFAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
  
Since Cocoon defaults to Tomcat's config of Port 8080 I think you might want
to modify the App Server's port address configuration to 8100 to get it to
work.  Not to mention I hope the cocoo2 was a typo and is really http://localhost:8100/cocoon/
in your case.
  
Check out Tomcat's server.xml file as follows:
  
    
    
   port="8080" minProcessors="5" maxProcessors="75"
   enableLookups="true" redirectPort="8443"
   acceptCount="10" debug="0" connectionTimeout="6"/>
    
  
Duplicate and then comment it out and change the port="8100" and see if this
fixes your problem.
  
Sincerely Yours,
  
Marc J. Driftmeyer
  
  -- 
  
   Marc J. Driftmeyer
  [EMAIL PROTECTED]
  
  uggh!  yeah like does this thingy like work and stuff?
  yeahh that'd be like cool and stuff.  it rulez!
  
  
  
  
  
  


RE: Help! Help!

2001-09-26 Thread Liam Morley
Title: RE: Help! Help!






As he’s using JRun, not Tomcat, I don’t think that applies… I assume that 8100 is the default JRun port, or is the port he decided to use. I don’t think that’s the problem.

Liam Morley

-Original Message-
From: Marc J. Driftmeyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 2:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Help! Help!

Liam Morley wrote:


It would be most helpful to see the exception that takes place in the
log file as well as the few lines immediately preceding it so it's
easier to tell what Cocoon was trying to do at the time. I'll be trying
Cocoon out with JRun 3.0 sometime in the near future, so if I don't run
into this I'll be sure to let you know.

Best of luck,
Liam Morley

-Original Message-
From: JAYAGANESH LAKSHMINARAYANAN [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 7:39 PM
To: [EMAIL PROTECTED]
Subject: Help! Help!

Hi,

I have been trying out Cocoon 2.

I did the following:

1. I was able to succesfully do build and create  cocoon.war file.

2. I deployed the cocoon.war file in JRun3.1. The deployment was
successfu

l.

Issue:

When tried to access the appllication with the URL
http://localhost:8100/cocoo2/

I get the following Internal server error Message. Please help me fixing
it.


500 Internal Server Error
/cocoo2/:

null
java.lang.NoSuchMethodError
    at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.
nit>(DefaultConfigurationBuilder.java:38)
    at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:37
5)
    at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)
    at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
unServletLoader.java:203)
    at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
unServletLoader.java:161)
    at
allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServle
tLoader.ja

va:149)
    at
allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1
705)
    at
allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1231)
    at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunReques
tDispatcher.java:89)
    at
allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
    at
allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
    at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
    at
allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
    at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
    at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)



Thanks in advance

Ganesh



_
Get your FREE download of MSN Explorer at
http://explorer.msn.com/int

l.asp


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


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

Since Cocoon defaults to Tomcat's config of Port 8080 I think you might want to modify the App Server's port address configuration to 8100 to get it to work.  Not to mention I hope the cocoo2 was a typo and is really http://localhost:8100/cocoon/ in your case.

Check out Tomcat's server.xml file as follows:

    
    
   port="8080" minProcessors="5" maxProcessors="75"
   enableLookups="true" redirectPort="8443"
   acceptCount="10" debug="0" connectionTimeout="6"/>
    

Duplicate and then comment it out and change the port="8100" and see if this fixes your problem.

Sincerely Yours,

Marc J. Driftmeyer

-- 

Marc J. Driftmeyer
[EMAIL PROTECTED]
uggh! yeah like does this thingy like work and stuff?
yeahh that'd be like cool and stuff. it rulez!






Re: Help! Help!

2001-09-26 Thread Marc J. Driftmeyer
Title: RE: Help! Help!



Liam Morley wrote:
001701c1471f$d4e4d790$3ae2d782@IMOTIC">
  
  

  
As he
’
s using JRun,
not Tomcat,
I don
’
t think that applies
…
 I assume that 8100 is the default JRun port, or is the port he decided to
use. I
don’t
 think that
’
s the problem.
  
Liam Morley
  

  -Original
Message-
  
From:
 Marc J. Driftmeyer [mailto:[EMAIL PROTECTED]
]
  
Sent:
 Thursday, September 27, 2001 2:41 AM
  
To:
 [EMAIL PROTECTED]
  
Subject:
 Re: Help! Help!
  Liam Morley wrote:
  
  
It would be most helpful to see the exception that takes place in the
 log file as well as the few lines immediately preceding it so it's
 easier to tell what Cocoon was trying to do at the time. I'll be trying
 Cocoon out with JRun 3.0 sometime in the near future, so if I don't run
 into this I'll be sure to let you know.
  
 Best of luck,
 Liam Morley
  
 -Original Message-
 From: JAYAGANESH LAKSHMINARAYANAN [
mailto:[EMAIL PROTECTED]
  ]
 Sent: Wednesday, September 26, 2001 7:39 PM
 To:
[EMAIL PROTECTED]
  
  Subject: Help! Help!
  
 Hi,
  
 I have been trying out Cocoon 2.
  
 I did the following:
  
 1. I was able to succesfully do build and create  cocoon.war file.
  
 2. I deployed the cocoon.war file in JRun3.1. The deployment was
 successfu
  
l.
  
 Issue:
  
 When tried to access the appllication with the URL
  
http://localhost:8100/cocoo2/
  
  
  I get the following Internal server
error Message. Please help me fixing
 it.
  
  
 500 Internal Server Error
 /cocoo2/:
  
 null
 java.lang.NoSuchMethodError
     at
 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.
 nit>(DefaultConfigurationBuilder.java:38)
     at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:37
 5)
     at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)
     at
 allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
 unServletLoader.java:203)
     at
 allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JR
 unServletLoader.java:161)
     at
 allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServle
 tLoader.ja
  
va:149)
     at
 allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1
 705)
     at
 allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1231)
     at
 allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunReques
 tDispatcher.java:89)
     at
 allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
     at
 allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
     at
 allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
     at
 allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
     at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
     at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
  
  
  
 Thanks in advance
  
 Ganesh
  
  
  
 _
 Get your FREE download of MSN Explorer at
  
http://explorer.msn.com/int
  
  
l.asp
  
  
  -
 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]>
  
  
  
  -
 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]>
  
  Since Cocoon defaults to Tomcat's
config of Port 8080 I think you might want to modify the App Server's port
address configuration to 8100 to get it to work.  Not to mention I hope the
cocoo2 was a typo and is really 
http://localhost:8100/cocoon/
   in your case.
  
 Check out Tomcat's server.xml file as follows:
  
     
     
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="6"/>
     
  
 Duplicate and then comment it out and change the port="8100" and see if
this fixes your problem.
  
 Sincerely Yours,
  
 Marc J. Driftmeyer
  -- 
  Marc J. Driftmeyer
  
[EMAIL PROTECTED]
  
  uggh! yeah like does this thingy like work and stuff?
 yeahh that'd be like cool and stuff. it rulez!

  
  
Sorry your right

Re: HELP With docs...

2001-12-20 Thread Mauricio Souza Lima

I think you forgot to put the map:match for the .doc files to us.


"Aguirre, Carlos (C.)" wrote:
> 
> Hi,
> how can i make reference to a .doc file
> i have
> webapps/deptos/sales
> inside of sales
> i have the xml file and two .doc files
> in the xml file i make a reference to de doc files
> like this
> 
> in the sitemap i have this for the gifs and it works fine
> 
> 
> 
> 
> but for the the .doc files it does not work..
> 
> how can i declare them in the map:match???
> 
> regards...
> 
> Carlos Aguirre
> 
> -
> 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]>

-- 
Mauricio Souza Lima
Rational Consulting
[EMAIL PROTECTED]
Rua Helena, 140 / cj. 82
São Paulo - SP - Brazil
Fone / Direct: +55 11 3842-7138

-
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: help management system?

2002-01-22 Thread Robert Koberg

Do you just need a pre-generated html site?  I assume the 'help' is not
dynamic. If so, then you would do best if you pre-generated the html from
xml+xslt using a simple java app. You can almost use the sample code that
comes with xsl processor or xml parsers.

There are a few ways you can handle this:
- use cocoon (which , imho adds unnecessary complexity and overkill to the
task, but you can scale to ~any~ task that lay ahead)
- use xalan or saxon's built extensions to pre-generate your site from xml
site-config files (very simple, no need to compile)
- use xerces (sax) to run through xml site-config files and call cached
templates to transform (using saxon) to disk (probably faster? if important)

You can set these up as servlets and give your lead-client a button to push
to generate the site for the next promotion stage. easy :)



- Original Message -
From: "Tibi DONDERA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 11:19 AM
Subject: help management system?


> This might be a litte OT, but I really have no other place to go...
>
> I have a Java application. Pretty big, actually, and still work in
progress.
> And I'm required to build the help for it.
>
> The requirements:
>   - modular: very easy to update/create the help files.
>   - preferably web-based (viewable in a browser)
>   - callable from the application (the usual F1 key)
>
> As this is clearly content/presentation separation, is Cocoon suited for
> this kind of application?
> Or if not, could you please point me to a product that can do this?
>
> Thank you in advance,
> Tibi Dondera
>
> -
> 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]>


-
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: help management system?

2002-01-22 Thread David BERNARD

> This might be a litte OT, but I really have no other place to go...
> 
> I have a Java application. Pretty big, actually, and still work in progress.
> And I'm required to build the help for it.
> 
> The requirements:
>   - modular: very easy to update/create the help files.
>   - preferably web-based (viewable in a browser)
>   - callable from the application (the usual F1 key)

JavaHelp is a good tool for help management system (help file can be local or on 
remote server).
JavaHelp provide standard GUI with topic or index (if defined)

> As this is clearly content/presentation separation, is Cocoon suited for
> this kind of application?

Yes and No. JavaHelp use xml files to define topic, aggregation... and html 3.2 for 
contents.
So you can write doc directly in html or you can use cocoon to provide dynamicly 
thoses files (xml + html). You can also use cocoon to generate staticly JavaHelp files 
(best choose depends of update time rate).

If you use cocoon you need to define your content language.


-- 
--
David "Dwayne" Bernard Freelance Developer (Java)
   mailto:[EMAIL PROTECTED]
  \|/  http://dwayne.java-fan.com
--o0O @.@ O0o-

-
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: Help with i18n

2002-02-01 Thread Piroumian, Konstantin

Hi!

For locale selection use LocaleAction like this:


...





  
  


  
  
  


You can use this action at the top level to allow locale selection for all
requests. See:

Currently, the locale for the translation is selected internaly, using the
same LocaleAction.getLocaleAttribute() method. There were a little
discussion on this subject, so maybe something will be changed. I've
proposed to specify the locale for the i18n transformer externally as a
parameter. In this case you use matchers like this:








  
  
  


This is not yet supported, but you are free to implement it yourself - it's
Open Source.

Regards,
Konstantin

- Original Message -
From: Chitharanjan Das
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 1:10 AM
Subject: Help with i18n

Hello Konstantin,

The following is the match description in site-map..


  
  



  
  
  



The XML to be translated is

http://apache.org/cocoon/i18n/2.0";>
  
Text to be translated
  


Where and how do I specify the locale for the translation?

Regds,
Chiths


accordia, inc
34347 Maybird Circle
Fremont, CA 94555
650 279 1137
[EMAIL PROTECTED]

The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify us
immediately by responding to this email and then delete it from your system.
Accordia Inc. is neither liable for the proper and incomplete transmission
of the information contained in this communication nor for any delay in its
receipt


-
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: Help on sitemap

2002-03-13 Thread yuryx

ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà wrote:

> Hello All,
> I hava a question for sitemap
> how can i write a sitmap:
> if i request http://site/test.xml
> it will transform by default.xsl
> if i request http://site/test.xml?sytle=test.xsl
> it will transform by test.xsl
>
> Thanks
>
Try define sitemap parameter in action from request
Like:
public class MyAction extends AbstractAction {
  public Map act (Redirector redirector,
  SourceResolver resolver,
  Map objectModel,
  String source,
  Parameters params) {

Map sitemapParams = new HashMap();
Request request = (Request) 
objectModel.get(Constants.REQUEST_OBJECT);   
String mStyle=request.getParameter("style");
sitemapParams.put("style", mStyle);

return sitemapParams;
  }
}

in sitemap:

   







  
   

 Regards.
Yury.




-
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: Help on sitemap

2002-03-13 Thread KOZLOV Roman


Hi,
You can try this
 
   
    
 
 
 
    
    
    
   
or
   
   
   
   

   



   

   

   

   
   
   
Best regards
    Roman
 
yuryx wrote:
ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà
wrote:
> Hello All,
> I hava a question
for sitemap
> how can i write a
sitmap:
>
if i request http://site/test.xml
>
it will transform by default.xsl
>
if i request http://site/test.xml?sytle=test.xsl
>
it will transform by test.xsl
>
> Thanks
>
Try define sitemap parameter in action from request
Like:
public class MyAction extends AbstractAction {
  public Map act (Redirector redirector,
 
SourceResolver resolver,
 
Map objectModel,
 
String source,
 
Parameters params) {
    Map sitemapParams = new HashMap();
    Request request = (Request)
objectModel.get(Constants.REQUEST_OBJECT);
    String mStyle=request.getParameter("style");
    sitemapParams.put("style", mStyle);
    return sitemapParams;
  }
}
in sitemap:
   
    
    
    
    
    
   
 Regards.
Yury.
-
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]>


begin:vcard 
n:KOZLOV;Roman
tel;work:+783 12 65 85 91, +783 12 62 27 76
x-mozilla-html:FALSE
org:DATAVISION CIS;PDM
adr:;;Gagarina Prospect 25b;Nizhny Novgorod;;;RUSSIA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Programmer
fn:Roman KOZLOV
end:vcard



-
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: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Title: Help on sitemap



 
Hi,
*** REPLY SEPARATOR 
***On 14.03.2002 at 14:10 ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà 
wrote:

  Hello All,     I hava a question for 
  sitemap     how 
  can i write a sitmap:     
  if i request http://site/test.xml     
  it will transform by default.xsl     
  if i request http://site/test.xml?sytle=test.xsl 
  it will transform by test.xsl 
Have a look athttp://www.cocooncenter.org/cc/documents/resources/request-params/requestselector.html ,
I think this is exactly what you want.
Greetings,Andreas
 



Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann



Hi Yury,


>ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ
²¿/×ܼà wrote:
>
>> Hello All,
>> I hava a question for sitemap
>> how can i write a sitmap:
>> if i request http://site/test.xml
>> it will transform by default.xsl
>> if i request http://site/test.xml?sytle=test.xsl
>> it will transform by test.xsl
>>
>> Thanks
>>
>Try define sitemap parameter in action from request

What about using a RequestParamAction?

Greetings,
Andreas

>Like:
>public class MyAction extends AbstractAction {
>  public Map act (Redirector redirector,
>  SourceResolver resolver,
>  Map objectModel,
>  String source,
>  Parameters params) {
>
>Map sitemapParams = new HashMap();
>Request request = (Request)
>objectModel.get(Constants.REQUEST_OBJECT);
>String mStyle=request.getParameter("style");
>sitemapParams.put("style", mStyle);
>
>return sitemapParams;
>  }
>}
>
>in sitemap:
>
>   
>
>
>
>
>
>
>
>
>   
>
> Regards.
>Yury.
>
>
>
>
>-
>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]>




-
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: Help on sitemap

2002-03-14 Thread yuryx

Andreas Hartmann wrote:

>
>Hi Yury,
>
>
>>ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ
>>
>²¿/×ܼà wrote:
>
>>>Hello All,
>>>I hava a question for sitemap
>>>how can i write a sitmap:
>>>if i request http://site/test.xml
>>>it will transform by default.xsl
>>>if i request http://site/test.xml?sytle=test.xsl
>>>it will transform by test.xsl
>>>
>>>Thanks
>>>
>>Try define sitemap parameter in action from request
>>
>
>What about using a RequestParamAction?
>
>Greetings,
>Andreas
>
2Andreas:
My example just more for undestand of cocoons action's work. (May be :) )

Regards.
Yury.

>
>>Like:
>>public class MyAction extends AbstractAction {
>> public Map act (Redirector redirector,
>> SourceResolver resolver,
>> Map objectModel,
>> String source,
>> Parameters params) {
>>
>>   Map sitemapParams = new HashMap();
>>   Request request = (Request) 
>>objectModel.get(Constants.REQUEST_OBJECT);   
>>   String mStyle=request.getParameter("style");
>>   sitemapParams.put("style", mStyle);
>>
>>   return sitemapParams;
>> }
>>}
>>
>>in sitemap:
>>
>>  
>>   
>>   
>>
>>   
>>
>>   
>>   
>> 
>>  
>>
>>Regards.
>>Yury.
>>
>>
>>
>>
>>-
>>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]>
>>
>
>
>
>
>-
>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]>
>




-
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: Help on sitemap

2002-03-14 Thread Andreas Hartmann

Hi Yury,

>
>>What about using a RequestParamAction?
>>
>>Greetings,
>>Andreas
>>
>2Andreas:
>My example just more for undestand of cocoons action's work. (May be :) )
>

OK, this can't be bad :)

Greetings,
Andreas


-
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: Help Error Catalina

2002-03-16 Thread Vadim Gritsenko

> From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]] 
> 
> Hi all,
> 
> My system win2000, TOMCAT 4.0 Cocoon2 , with following
> JDK version ...
> Java(TM) 2 Runtime Environment, Standard Edition 1.3.1
> 
> ** Initially when i start TOMCAT, it start 
> without any problem
> and i can access it from http://localhost:8080/. Below is the start up
> message shown **
> 
> ** Once again, i start the TOMCAT again . the 
> result shown
> from command prompt is same as above ... no problem show . 
> But when i check
> the catalina.out ... i seen these message **
> 
> Catalina.start: LifecycleException:  Error creating server socket:
> java.net.BindException: Address already in use
> LifecycleException:  Error creating server socket:  
> java.net.BindException:
> Address already in use
> at
> org.apache.catalina.connector.warp.WarpConnector.initialize(Wa
rpConnector.ja
> va:483)

As subject says: Catalina error. Better you to ask Tomcat guys 
about it. Or just reboot the machine. Or find out process binding to 
the address and kill it.

Vadim


-
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: [HELP]Exception JspGenerator.generate()

2002-03-19 Thread Piroumian, Konstantin

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, March 19, 2002 7:54 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [HELP]Exception JspGenerator.generate()
> 
> 
> Description:org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate(): java.lang.ClassNotFoundException: 
> org.apache.jasper.servlet.JspServlet

Try to copy jasper.jar to cocoon/WEB-INF/lib. This usually helps.

--
Konstantin Piroumian 
[EMAIL PROTECTED]

> 
> Hi,
> 
> I am trying to produce XML out of using JSP with Cocoon 2 and 
> JspGenerator. It works with tomcat 3.2 but when i try to do 
> this with visual age, i have the following error : 
> Original exception : java.lang.ClassNotFoundException: 
> org.apache.jasper.servlet.JspServlet 
> java.lang.Throwable(java.lang.String) 
> java.lang.Exception(java.lang.String) 
> java.lang.ClassNotFoundException(java.lang.String) 
> java.lang.Class java.net.URLClassLoader.findClass(java.lang.String) 
> java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String,
> boolean) 
> java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) 
> byte [] 
> org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(java
> .lang.Stri
> ng, javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext) 
> void org.apache.cocoon.generation.JspGenerator.generate() 
> boolean 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.pro
> cess(org.a
> pache.cocoon.environment.Environment) 
> boolean 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(org.
> apache.cocoon.environment.Environment) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.matchN10452(org.apache.coco
> on.sitemap
> .SitemapRedirector, org.apache.cocoon.environment.Environment,
> org.apache.cocoon.components.pipeline.StreamPipeline,
> org.apache.cocoon.components.pipeline.EventPipeline, boolean,
> java.util.List) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.process(org.apache.cocoon.e
> nvironment
> .Environment, org.apache.cocoon.components.pipeline.StreamPipeline,
> org.apache.cocoon.components.pipeline.EventPipeline, boolean) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.process(org.apache.cocoon.e
> nvironment
> .Environment) 
> boolean 
> org.apache.cocoon.sitemap.Handler.process(org.apache.cocoon.en
> vironment.
> Environment) 
> boolean 
> org.apache.cocoon.sitemap.Manager.invoke(org.apache.avalon.fra
> mework.com
> ponent.ComponentManager, org.apache.cocoon.environment.Environment,
> java.lang.String, java.lang.String, boolean, boolean) 
> boolean 
> org.apache.cocoon.sitemap.SitemapManager.process(org.apache.co
> coon.envir
> onment.Environment) 
> boolean 
> org.apache.cocoon.Cocoon.process(org.apache.cocoon.environment
> .Environme
> nt) 
> void 
> org.apache.cocoon.servlet.CocoonServlet.service(javax.servlet.
> http.HttpS
> ervletRequest, javax.servlet.http.HttpServletResponse) 
> void 
> javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
> javax.servlet.ServletResponse) 
> void 
> org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache
> .tomcat.co
> re.Request, org.apache.tomcat.core.Response) 
> void 
> org.apache.tomcat.core.ContextManager.service(org.apache.tomca
> t.core.Req
> uest, org.apache.tomcat.core.Response) 
> void 
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(o
> rg.apache.tomcat.service.TcpConnection, java.lang.Object []) 
> void org.apache.tomcat.service.TcpConnectionThread.run() 
> void java.lang.Thread.run() 
> 
> after a hard  work, i installed the library in Visual age 
> without success. Now i just the servlet.jar, webserver.jar, 
> xml.jar, xml-apis.jar, jasper.jar in the library of tomcat 
> 3.2 and the other jar are in the webapps of cocoon (Cf. cocoon.war 2)
> 
> Thanks in advance for any advice!
> Loic Gourmelon 
> 
> 
>  
> __
> 
> ifrance.com, l'email gratuit le plus complet de l'Internet ! 
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le 
> WAP... http://www.ifrance.com/_reloc/email.emailif
> 
> 
> 
> -
> 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]>

-
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: [HELP]Language Exception

2002-08-03 Thread Vadim Gritsenko

> From: c [mailto:[EMAIL PROTECTED]]
> 
> Description:org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Could not
load
> class for program 'org\apache\cocoon\www\mysample3\greeting_xsp' due
to a
> java.lang.ClassNotFoundException:
> org.apache.cocoon.www.mysample3.greeting_xsp
> 
> hello, I'm michio mailing from Japan.
> I'm in trouble abou LnaguageException.
> I try logicsheet sample of
> http://xml.apache.org/cocoon/userdocs/xsp/logicsheet.html.
> I changed the java code in xsl file.
> and when it returns all,I encountered LanguageException.
> 
> I use Cocoon2.0.3 ,JDK1.4.

Try the following:

1. Check your logicsheet that it is valid XSLT.

2. Check file org\apache\cocoon\www\mysample3\greeting_xsp.java for Java
errors. This file usually will be somewhere under tomcat/work directory.

3. Check log files for other errors preceding LanguageException. Log
files are (usually) in WEB-INF/logs.

4. Turn off incremental processing mode of Xalan: In cocoon.xconf, find

and change value to false. This should give better error reporting.


Vadim


> I'm sorry for writing wrong English.


-
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: help reg...sqltranformer

2001-06-27 Thread Beauprez Sven

Hi,

check the namespace in sql-page.xml, it should be
"http://apache.org/cocoon/SQL/2.0"; and check if following line appears in
SQLTransformer.java: 
public static final String my_uri = "http://apache.org/cocoon/SQL/2.0";;

if not, you probably don't have the latest version (inclusive the examples)

Sven

-Original Message-
From: java guru [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 7:01 PM
To: [EMAIL PROTECTED]
Subject: help reg...sqltranformer


Hi.,
  I am trying the sql tranformer example ...and
nothing ever show up..i actually see my query as it is
"select *" on to the screen..

The connection pool is properly defined and the esql
example works but not the sql example...

Please help..
Thanks


Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

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

-
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: Help with Generators

2001-11-15 Thread David Rosenstrauch

At 06:50 AM 11/15/01 -0800, you wrote:
>Hi,
>
>A couple of quick questions.
>
>When I include java files inside a
>, where should I put the jar
>files?  I know that they are discovered if place them in ${TOMCAT_HOME}/lib,
>but I am having problems with name collisions.  Specifically, a 3rd party
>app's API jar file I'm using includes DOM stuff that doesn't seem to work
>with Cocoon's code, and the 3rd party apps API doesn't work with Cocoon's
>DOM stuff.


I put my jars in:

$TOMCAT_HOME/webapps/cocoon/web-inf/lib


>Second, I've looked at examples and documentation and am still fuzzy on how
>to write my own Generator (perhaps I still don't have my head around the
>Avalon architecture).  Could this help?


Look at the source code that comes with cocoon.  Location:  
src/org/apache/cocoon/generation

Take a look at DirectoryGenerator, StatusGenerator, etc.  You can probably copy half 
of what they've done in one of these classes.

Basically, what you're trying to do is call methods on the ContentHandler.  I haven't 
tried to write one, but it doesn't look too tough.

I'm going to need to write one soon for a project, so I'll be able to provide more 
info then.


DR


-
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: HELP-blank pages

2001-11-22 Thread Tom Klaasen (TeleRelay)

Have a look at  (example at the bottom of the default
sitemap)

hth,
tomK

-Original Message-
From: Beat De Martin [mailto:[EMAIL PROTECTED]] 
Sent: donderdag 22 november 2001 17:01
To: [EMAIL PROTECTED]
Subject: HELP-blank pages


Hi folks
...



...
If the pdf file cannot be found, how do I redirect to an error page ??

I always get a blank page !

Thanks
Beat De Martin



Get your FREE download of MSN Explorer at http://explorer.msn.com
-
Please check that your question has not already been answered in the FAQ
before posting. To unsubscribe, e-mail: For additional commands, e-mail:


-
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: HELP-blank pages

2001-11-26 Thread Beat De Martin

I did it with the Resource-Exist Action. It works !
Thanks for your help
                    

>From: "Tom Klaasen (TeleRelay)" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: <[EMAIL PROTECTED]>
>Subject: RE: HELP-blank pages 
>Date: Thu, 22 Nov 2001 17:28:24 +0100 
> 
>Have a look at (example at the bottom of the default 
>sitemap) 
> 
>hth, 
>tomK 
> 
>-Original Message- 
>From: Beat De Martin [mailto:[EMAIL PROTECTED]] 
>Sent: donderdag 22 november 2001 17:01 
>To: [EMAIL PROTECTED] 
>Subject: HELP-blank pages 
> 
> 
>Hi folks 
>... 
> 
> 
> 
>... 
>If the pdf file cannot be found, how do I redirect to an error page ?? 
> 
>I always get a blank page ! 
> 
>Thanks 
>Beat De Martin 
> 
> 
> 
>Get your FREE download of MSN Explorer at http://explorer.msn.com 
>- 
>Please check that your question has not already been answered in the FAQ 
>before posting. To unsubscribe, e-mail: For additional commands, e-mail: 
> 
> 
>- 
>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]>
> 
Get your FREE download of MSN Explorer at http://explorer.msn.com

-
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: [Help] Session manager errors.

2002-12-03 Thread Antonio Gallardo
Hi.

I have another question.

I changed all the headers of the "inside" XSP pages from:

xmlns:xsp-session="http://apache.org/xsp/session/2.0";>

to:

xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="false">

Can this help?

Thanks in advance,

Antonio Gallardo.



Antonio Gallardo dijo:
> Hi.
>
> I am still having problem in a production environment with the session
> manager. There are 35 registered users. Of course the users sometimes
> does not close sessions.
>
> All the day everything works fine. But at the end of the day I was
> starting to get the following errors:
>
> 1-Message: Handler information not found
>   Description: org.apache.cocoon.ProcessingException: Handler
> information
> not found.
>
> 2-Message: Exception in ServerPagesGenerator.generate()
>   Description: org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.IllegalArgument:
> SessionManager.getContextFragment Context 'authentication' not found.
>
> 3-Also I saw after that another error related with the ComponentManager
> lookup.
>
>
> Currently I was updated in the cocoon.xconf to:
>
>  pool-max="100" pool-min="8"/>
>
>  pool-grow="4" pool-max="100" pool-min="8">
> 
> 
> 
> 
> 
> 
>
> Please note that I changed the value of attribute "pool-max" from "32"
> to "100" in both elements:
>
> 
> 
>
> I will try tomorrow what will happends with this new config of
> cocoon.xconf
>
> Please note that the Squid proxy is now turned off. This let
> users'request go directly to the Cocoon server.
>
> Another problem is that still there are some problems with the session
> mixing. If I request a page from one user
>
> I forgotted: I am using Tomcat 4.1.12, Java 1.4.1_01, Cocoon 2.1 from
> 25-Nov-2002 on Red Hat Linux 8.0.
>
> The computer is a PIII 600 with 384 MB of RAM.
>
> Please helpme.
>
> Antonio Gallardo
>
>
>
>
>
>
> -
> 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]>




-
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: [Help] Session manager errors.

2002-12-03 Thread Antonio Gallardo
Another question:

This issue can be generated by a bad release of some components?

xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="false">

I am using the  tag, but I am suspecting that this tag
is not working good.

Here the original code:


public static DocumentFragment getXML(ComponentManager cm, String context,
String path) throws ProcessingException {

 DocumentFragment df = null;
 SessionManager sm = null;

 try {
 // Start looking up the manager
 sm = (SessionManager)cm.lookup(SessionManager.ROLE);
 // Make our work
 df = sm.getContextFragment(context, path);
 if (sm != null) {
 cm.release(sm);
 }
 } catch (ComponentException ce) {
throw new ProcessingException("Error during lookup of
SessionManager component.", ce);
 }
 // End releasing the sessionmanager
return df;
 }
}

**
But now I was rewriting this to:
**

public static DocumentFragment getXML(ComponentManager cm, String
context, String path) throws ProcessingException {

   DocumentFragment df = null;
   SessionManager sm = null;

   // First check if there is a valid ComponentManager
   if (cm != null) {
  try {
// Check if SessionManager is avaliable into the ComponentManager
if (cm.hasComponent(SessionManager.ROLE)) {
  // Looking up the SessionManager
sm = (SessionManager)cm.lookup(SessionManager.ROLE);
// Check if the requested context is avaliable
if (sm.existsContext(context)) {
   // The context exist
   df = sm.getContextFragment(context, path);
}
else { // Context does not exist
;
}
if (sm!=null)
  cm.release(sm);
}
else
   ;
 } catch (ComponentException ce) {
throw new ProcessingException("ags: Unknown Error using
SessionManager component.", ce);
 }
   }
   return df;
}
**

Antonio Gallardo


Antonio Gallardo dijo:
> Hi.
>
> I am still having problem in a production environment with the session
> manager. There are 35 registered users. Of course the users sometimes
> does not close sessions.
>
> All the day everything works fine. But at the end of the day I was
> starting to get the following errors:
>
> 1-Message: Handler information not found
>   Description: org.apache.cocoon.ProcessingException: Handler
> information
> not found.
>
> 2-Message: Exception in ServerPagesGenerator.generate()
>   Description: org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.IllegalArgument:
> SessionManager.getContextFragment Context 'authentication' not found.
>
> 3-Also I saw after that another error related with the ComponentManager
> lookup.
>
>
> Currently I was updated in the cocoon.xconf to:
>
>  pool-max="100" pool-min="8"/>
>
>  pool-grow="4" pool-max="100" pool-min="8">
> 
> 
> 
> 
> 
> 
>
> Please note that I changed the value of attribute "pool-max" from "32"
> to "100" in both elements:
>
> 
> 
>
> I will try tomorrow what will happends with this new config of
> cocoon.xconf
>
> Please note that the Squid proxy is now turned off. This let
> users'request go directly to the Cocoon server.
>
> Another problem is that still there are some problems with the session
> mixing. If I request a page from one user
>
> I forgotted: I am using Tomcat 4.1.12, Java 1.4.1_01, Cocoon 2.1 from
> 25-Nov-2002 on Red Hat Linux 8.0.
>
> The computer is a PIII 600 with 384 MB of RAM.
>
> Please helpme.
>
> Antonio Gallardo
>
>
>
>
>
>
> -
> 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]>




-
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: [HELP]Exception in ServerPagesGenerator.generate()

2002-12-10 Thread Antonio Gallardo
What Database are you using?

Antonio Gallardo
Lars Müller dijo:
>
> Description:org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not
> get the datasource
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
> valid JdbcConnection class available
>
> Please help me! I've made everything but it doesn't work. I have an JDBC
> Driver in the JDK1.4, but I don't know if this is the right one. Please
> let me know why I get this Exception
>
> Best Regards
>
> Lars




-
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: [HELP]Exception in ServerPagesGenerator.generate()

2002-12-11 Thread Geoff Howard
You need to have the driver in /cocoon/WEB-INF/lib, declared in web.xml
under classes to load at runtime, and you need to set up the datasource in
cocoon.xconf.  Sounds like you got step one wrong.  See:
http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection

Geoff Howard

-Original Message-
From: Lars Müller [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 5:48 PM
To: [EMAIL PROTECTED]
Subject: [HELP]Exception in ServerPagesGenerator.generate()

Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get
the datasource
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid
JdbcConnection class available

Please help me! I've made everything but it doesn't work. I have an JDBC
Driver in the JDK1.4, but I don't know if this is the right one. Please let
me know why I get this Exception

Best Regards

Lars


-
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: help with presentation wanted

2003-02-03 Thread Luca Morandini
> -Original Message-
> From: Argyn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 04, 2003 2:26 AM
> To: [EMAIL PROTECTED]
> Subject: help with presentation wanted

might I suggest to touch the subjects of re-usability and information hiding ?

If you have a pipeline producing an XML document, you can re-use it in different 
pipelines; moreover, you could change that pipeline
(keeping the same XML format, of course) from a static XML (for prototyping), to one 
produced by a DBMS, to one served by a
web-service without changing the consumer pipelines.

Regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


>
>
> Hello
>
> I'm preparing a presentation/speech on Cocoon. The audience is IT pros and
> managers. I tend to talk about technical aspects of Cocoon projects when
> speaking to strangers :), but this time, the main focus must be the
> features/functionality.
>
> I've been thinking about this:
> to explain how Cocoon would be usefull in building portals. So the
> advantages would be:
> - configurability and management with sitemaps
> - extensibilty through well defined component interfaces
> - set of prepackaged ready to use components, like PDF serializers
> - content aggregation
> - pipeline architecture, XML/XSL based
> - caching.
>
> I would appreciate if you can suggest me other topics to cover. Since, I'm
> not too far in my work, I can incorporate them in the presentation.
> Unfortunately, the time is short, min 20 max 45 minutes. So, I'm trying to
> find the best list of topics to impress interested strangers with in half
> hour.
>
> Thanks,
> Argyn
>
>
>
>
> -
> 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]>
>


-
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: help with presentation wanted

2003-02-03 Thread Steven Noels
Argyn wrote:


I'm preparing a presentation/speech on Cocoon. The audience is IT pros and
managers. I tend to talk about technical aspects of Cocoon projects when
speaking to strangers :), but this time, the main focus must be the
features/functionality.


Dunnow if it helps, but also take a look at 
http://outerthought.net/gettogether/


--
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog athttp://blogs.cocoondev.org/stevenn/
stevenn at outerthought.orgstevenn at apache.org


-
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: help with presentation wanted

2003-02-04 Thread Argyn
Thank you, all for suggestions!

I forgot to mention the event I'm preparing to speak at. It's egovos.org on
March in Washington, DC. If someone's planning to attend let's have a drink
:)

cheera,
Argyn


-
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: help with presentation wanted

2003-02-06 Thread Steven Noels
Argyn wrote:


Thank you, all for suggestions!

I forgot to mention the event I'm preparing to speak at. It's
egovos.org on March in Washington, DC. If someone's planning to
attend let's have a drink :)


for the curious amongst us:
http://www.egovos.org/march-2003/cfp-review.cgi?id=5


--
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog athttp://blogs.cocoondev.org/stevenn/
stevenn at outerthought.orgstevenn at apache.org


-
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: [HELP]Exception in ServerPagesGenerator.generate()

2003-06-04 Thread Antonio Gallardo
Thorsten Bökenkamp dijo:
>
> Description:org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.RuntimeException: Error
> loading driver: oracle.jdbc.driver.OracleDriver
>
>
>
> Was kann ich tun ???

??? I dont understand, but I guess you are asking, "why?"

Well you need to put your Oracle jar library inside cocoon. Concretly at:

WEB-INF/lib

More info at:
http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseConnectionOverview
http://wiki.cocoondev.org/Wiki.jsp?page=Oracle

Best Regards,

Antonio Gallardo




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



Re: Help - TEXTAREA in XSLT

2002-01-24 Thread Peter Nuetzel - inglobo

Hi,

You may use  to write whitespace characters to the output tree.
eg:

...
[line break]

.
...

- peter

PS: Please dont send HTML mail to the list


--
Von: jagannath narayan <[EMAIL PROTECTED]>


Hi,

Can u please give me the solution for this.

In the stylesheet I define a textarea like this:
.
 The XSLT-processor (Xalan) optimizes my code and the
 result is this: . I know that this correct but my browser
 does not understand it.

Bye
Jagannath



-
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: Help configure Cocoon Oracle

2002-02-27 Thread SunnyDay

Hi Giuseppe,

1st change your param-value in web.xml to:

   
 oracle.jdbc.driver.OracleDriver
   

;)
CU
   Harald

[EMAIL PROTECTED] wrote:

> My mame is Giuseppe.
> 
> I am not able to connect to Oracle8i database.Exception
> states that could not connect to datasource & you cannot get a poolable
> before the pool is initialized.
> 
> 
> java.lang.RuntimeException: Could not get the datasource
> java.sql.SQLException: You cannot get a Poolable before the pool is
> initialized
> 
> 
> Following are the settings made in
> 
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
> 
> Coccon.xconf
> 
>   
>
>   
>   jdbc:oracle:thin:@2000server:1521:oras
>   dev 
>   giu 
>   
> 
> 
>  end classes12.jar is in classpath.
> Grazie anticipate. Giuseppe
> 
> 
> 
> 



-
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: help on jvm_bind error

2002-03-18 Thread Volker Schneider

Hi Marco,

I have the same with Cocoon 2.0.1 an WebSphere 4.0.1 and Tomcat 4.0.3. Maybe
the reason is, that after stopping cocoon TCP does not not free the port
immediately but in a few minutes. If you wait a few minutes before you
restart cocoon this does not happen. But I don't know how to fix this.

- Volker -

-Original Message-
From: marco [mailto:[EMAIL PROTECTED]]
Sent: Montag, 18. Marz 2002 03:45
To: [EMAIL PROTECTED]
Subject: help on jvm_bind error


I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows 98. The cocoon
was looking good.

Yesterday, I updated the JVIEW version to 5.00.3805 by downloading the exe
file from http://www.microsoft.com/java/vm/dl_vm40.htm, because of the
security news
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/
bulletin/ms02-013.asp . After that, the comcat and cocoon was started with
no problem, but once I use a browser to request a cocoon page, then the
following error message was displayed on the tomcat command prompt.

Please help.


Loading catalog: /localhost/cocoon/resources/entities/catalog
Server.run/init: java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:82)
at org.hsqldb.Server.run(Server.java:131)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
1)
at java.lang.Thread.run(Thread.java:484)
Loading catalog: /localhost/cocoon/resources/entities/catalog
Server.run/init: java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:82)
at org.hsqldb.Server.run(Server.java:131)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
1)
at java.lang.Thread.run(Thread.java:484)

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


-
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: help on jvm_bind error

2002-03-18 Thread marco

I had restarted the computer and then started cocoon and viewed the web
pages, but the same error occurs.

Any hints for solving the problem about the Microsoft Jview update listed
below?

Please help!

- Original Message -
From: "Volker Schneider" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 5:05 PM
Subject: RE: help on jvm_bind error


> Hi Marco,
>
> I have the same with Cocoon 2.0.1 an WebSphere 4.0.1 and Tomcat 4.0.3.
Maybe
> the reason is, that after stopping cocoon TCP does not not free the port
> immediately but in a few minutes. If you wait a few minutes before you
> restart cocoon this does not happen. But I don't know how to fix this.
>
> - Volker -
>
> -Original Message-
> From: marco [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 18. Marz 2002 03:45
> To: [EMAIL PROTECTED]
> Subject: help on jvm_bind error
>
>
> I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows 98. The cocoon
> was looking good.
>
> Yesterday, I updated the JVIEW version to 5.00.3805 by downloading the exe
> file from http://www.microsoft.com/java/vm/dl_vm40.htm, because of the
> security news
>
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/
> bulletin/ms02-013.asp . After that, the comcat and cocoon was started with
> no problem, but once I use a browser to request a cocoon page, then the
> following error message was displayed on the tomcat command prompt.
>
> Please help.
>
>
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
> at java.net.ServerSocket.(ServerSocket.java:170)
> at java.net.ServerSocket.(ServerSocket.java:82)
> at org.hsqldb.Server.run(Server.java:131)
> at org.hsqldb.Server.main(Server.java:78)
> at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
> at java.lang.Thread.run(Thread.java:484)
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
> at java.net.ServerSocket.(ServerSocket.java:170)
> at java.net.ServerSocket.(ServerSocket.java:82)
> at org.hsqldb.Server.run(Server.java:131)
> at org.hsqldb.Server.main(Server.java:78)
> at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
> at java.lang.Thread.run(Thread.java:484)
>
> -
> 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]>
>
>

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




RE: help on jvm_bind error

2002-03-26 Thread Volker Schneider

Hi Marco,

now I found a workaround for your (and my) problem. Take a look into
cocoon's web.xml file:





If you don't need the samples, then you can comment the above section and
you will get rid of the problem. Puuuh !

Best regards,
- Volker -


-Original Message-
From: marco [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 19. Marz 2002 03:26
To: [EMAIL PROTECTED]
Subject: Re: help on jvm_bind error


I had restarted the computer and then started cocoon and viewed the web
pages, but the same error occurs.

Any hints for solving the problem about the Microsoft Jview update listed
below?

Please help!

- Original Message -
From: "Volker Schneider" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 5:05 PM
Subject: RE: help on jvm_bind error


> Hi Marco,
>
> I have the same with Cocoon 2.0.1 an WebSphere 4.0.1 and Tomcat 4.0.3.
Maybe
> the reason is, that after stopping cocoon TCP does not not free the port
> immediately but in a few minutes. If you wait a few minutes before you
> restart cocoon this does not happen. But I don't know how to fix this.
>
> - Volker -
>
> -Original Message-
> From: marco [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 18. Marz 2002 03:45
> To: [EMAIL PROTECTED]
> Subject: help on jvm_bind error
>
>
> I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows 98. The cocoon
> was looking good.
>
> Yesterday, I updated the JVIEW version to 5.00.3805 by downloading the exe
> file from http://www.microsoft.com/java/vm/dl_vm40.htm, because of the
> security news
>
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/
> bulletin/ms02-013.asp . After that, the comcat and cocoon was started with
> no problem, but once I use a browser to request a cocoon page, then the
> following error message was displayed on the tomcat command prompt.
>
> Please help.
>
>
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
> at java.net.ServerSocket.(ServerSocket.java:170)
> at java.net.ServerSocket.(ServerSocket.java:82)
> at org.hsqldb.Server.run(Server.java:131)
> at org.hsqldb.Server.main(Server.java:78)
> at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
> at java.lang.Thread.run(Thread.java:484)
> Loading catalog: /localhost/cocoon/resources/entities/catalog
> Server.run/init: java.net.BindException: Address in use: JVM_Bind
> java.net.BindException: Address in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
> at java.net.ServerSocket.(ServerSocket.java:170)
> at java.net.ServerSocket.(ServerSocket.java:82)
> at org.hsqldb.Server.run(Server.java:131)
> at org.hsqldb.Server.main(Server.java:78)
> at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
> 1)
> at java.lang.Thread.run(Thread.java:484)
>
> -
> 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]>
>
>

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




RE: help on jvm_bind error

2002-03-26 Thread Volker Schneider

Hi Marco,

sorry it wasn't web.xml but cocoon.xconf.

Best regards
- Volker -

-Original Message-
From: marco [mailto:[EMAIL PROTECTED]]
Sent: Montag, 18. Marz 2002 03:45
To: [EMAIL PROTECTED]
Subject: help on jvm_bind error


I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows 98. The cocoon
was looking good.

Yesterday, I updated the JVIEW version to 5.00.3805 by downloading the exe
file from http://www.microsoft.com/java/vm/dl_vm40.htm, because of the
security news
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/
bulletin/ms02-013.asp . After that, the comcat and cocoon was started with
no problem, but once I use a browser to request a cocoon page, then the
following error message was displayed on the tomcat command prompt.

Please help.


Loading catalog: /localhost/cocoon/resources/entities/catalog
Server.run/init: java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:82)
at org.hsqldb.Server.run(Server.java:131)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
1)
at java.lang.Thread.run(Thread.java:484)
Loading catalog: /localhost/cocoon/resources/entities/catalog
Server.run/init: java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.(ServerSocket.java:170)
at java.net.ServerSocket.(ServerSocket.java:82)
at org.hsqldb.Server.run(Server.java:131)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:10
1)
at java.lang.Thread.run(Thread.java:484)

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


-
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: Help!!! XML to PostScript

2001-06-27 Thread giacomo

On Wed, 27 Jun 2001, Ulises Fletes wrote:

> Hi all..
> I need a xml input and postscript output, someone
> would say how do this??..

Have a look at the samples.

Giacomo


-
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: Help: C2 - Java exception

2001-08-07 Thread Dauben, Oliver

spent a day or something searching for the 42th workaround but the thuth is
in the code:

line 96 to 132 ('old obsolete method') has not been commented out from the
sources. as a result, the 'new set-based-method' looks like dead code to me.

shame on me i read the code four or five times without seeing what jumping
right into my face ;)

i suggest to remove the old but still active stuff asap.

hth and rfc...

cheers,


oLiVeR


-Original Message-
From: Matteo Villa [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 7. August 2001 09:45
To: [EMAIL PROTECTED]
Subject: Help: C2 - Java exception 


Hi everybody,

I want to emulate the example "protected" on C2 (latest CVS downloaded
on 20010806).
The example itself breaks after login (Donald Ball) with

java.lang.NullPointerException
 at
org.apache.cocoon.acting.SessionValidatorAction.act(SessionValidatorAction.j
ava:136)

 at
org.apache.cocoon.www.protected_.sitemap_xmap.wildcardMatchN6A(sitemap_xmap.
java:584)

 at
org.apache.cocoon.www.protected_.sitemap_xmap.process(sitemap_xmap.java:336)

 at
org.apache.cocoon.www.protected_.sitemap_xmap.process(sitemap_xmap.java:282)

 at org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
 at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN21E(sitemap_xmap.java:2871)

 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2340)
 at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2279)
 at org.apache.cocoon.sitemap.Handler.process(Handler.java:160)
 at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:103)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
 at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:507)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)

 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)

 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

 at java.lang.Thread.run(Thread.java:484)

===> See also attached Cocoon.log <===

Background Infos:
C2 on WNT SP 6 with Tomcat 3.3
Oracle 8.1.5 EE on NT
Web Server is IIS 4.x
Connectivity to Oracle works

Question is: what's wrong ?

Could anyone help me ? I need the Validation stuff to work 

Another info: I got this error also with previous CVS of C2. I noticed
the source has been changed exactly at that point
(SessionValidatorAction.java:136). But still the effect (error) remains.
Maybe I am doing something wrong ?

Thanks in advance!
Cheers
Matteo Villa

-
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: Help needed with i18n

2001-09-06 Thread Piroumian, Konstantin

> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> I cant even change the **.xsp in the match pattern to customise it for
each
> xsp page (like . For example, i have a link
> form simple.xsp to demo.xsp. The link works fine, but the style sheet is
the
> same for both. Any ideas how i can customise these sub-double-digit lines
of
> code?!!!

Sorry, I couldn't understand how is this related to i18n. Could you please
describe the problem with more details?

Regards,
Konstantin Piroumian

>
> Looking forward to your response,
> Mohit
>
>
> -
> 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]>
>

-
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: Help needed with i18n

2001-09-06 Thread Mohit Narain

Its not directly related to i18n... just that im using the i18n transformer
and hence when i get linked to the i18n sitemap, i need to make some changes
to link to pages from simple.xsp. Sorry for the confusion.

My problem simply stated is as follows...

How does one define links from simple.xsp so that we can also define our own
stylesheet?

>From the pipeline defined in the i18n sitemap, it appears as though all xsp
pages are mapped to simple.xsl during transformation. However, i need to
customise this.

I hope that i have alleviated the confusion from my query.

Looking forward to your help.
Best Wishes...Mohit

-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 12:18 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Help needed with i18n


> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> I cant even change the **.xsp in the match pattern to customise it for
each
> xsp page (like . For example, i have a link
> form simple.xsp to demo.xsp. The link works fine, but the style sheet is
the
> same for both. Any ideas how i can customise these sub-double-digit lines
of
> code?!!!

Sorry, I couldn't understand how is this related to i18n. Could you please
describe the problem with more details?

Regards,
Konstantin Piroumian

>
> Looking forward to your response,
> Mohit
>
>
> -
> 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]>



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




RE: Help needed with i18n

2001-09-06 Thread Mohit Narain

Here's what im tying to do:

1. Load simple.xsp from the main cocoon welcome page. This is loaded with a
click on the XSP Internationalization link - simpl.xsp uses simple.xsl for
transformation.

2. From simple.xsp, i have a link to demo.xsp which is stored in the /i18n
folder. When the page loads up, it automatically uses simple.xsl for
transformation. I want to customise this to use demo.xsl.

This is where the problem arises because the sub-sitemap for i18n hard-codes
simple.xsl - . However, when i changed this
to  similar to the way it generates the xsp
page, i got the following error -
org.apache.cocoon.sitemap.PatternException: error occurred during evaluation
of expression "{../1}.xsl" at position 1 Index: -1, Size: 1

That's how the situation stands as of now.
Any ideas?

Best Wishes...Mohit

-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 12:18 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Help needed with i18n


> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> I cant even change the **.xsp in the match pattern to customise it for
each
> xsp page (like . For example, i have a link
> form simple.xsp to demo.xsp. The link works fine, but the style sheet is
the
> same for both. Any ideas how i can customise these sub-double-digit lines
of
> code?!!!

Sorry, I couldn't understand how is this related to i18n. Could you please
describe the problem with more details?

Regards,
Konstantin Piroumian

>
> Looking forward to your response,
> Mohit
>
>
> -
> 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]>




Re: Help with form validation

2001-09-17 Thread Christian Haul

On 17.Sep.2001 -- 03:47 PM, beje wrote:
> Hi,
> I have n dinamicaly generated (and identical) forms to fill-in;
> on submition I'd like to validate them by using just a descriptor file
> whitch contains just 1 form (since all are the same).
> 
> Is there a way to achieve that ?

Sure, just have the same parameter names. You might even want to set
your descriptor as default descriptor.

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
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: Help with form validation

2001-09-17 Thread Per Kreipke

> Sure, just have the same parameter names. You might even want to set
> your descriptor as default descriptor.

Where would I start to learn about this? Are 'descriptors' a velocity
template thing or a Cocoon2?

Per


-
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: Help with form validation

2001-09-17 Thread beje


- Original Message -
From: Christian Haul <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 5:40 PM
Subject: Re: Help with form validation


> On 17.Sep.2001 -- 03:47 PM, beje wrote:
> > Hi,
> > I have n dinamicaly generated (and identical) forms to fill-in;
> > on submition I'd like to validate them by using just a descriptor file
> > whitch contains just 1 form (since all are the same).
> >
> > Is there a way to achieve that ?
>
> Sure, just have the same parameter names. You might even want to set
> your descriptor as default descriptor.
>
> Chris.

Unfortunately, the fields are numbered like this:








to




And one more thing:
I want to have in the sitemap a general entry for all validation actions,
somehting like:

  


  
  


  

Is there a wildcard for the validate parameter values ?



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




Re: Help with form validation

2001-09-17 Thread Christian Haul

On 17.Sep.2001 -- 11:09 AM, Per Kreipke wrote:
> > Sure, just have the same parameter names. You might even want to set
> > your descriptor as default descriptor.
> 
> Where would I start to learn about this? Are 'descriptors' a velocity
> template thing or a Cocoon2?
> 
> Per

Please see docs, section "Forms" & javadocs for the involved classes.

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
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: Help with form validation

2001-09-17 Thread Christian Haul

On 17.Sep.2001 -- 06:13 PM, beje wrote:
> From: Christian Haul <[EMAIL PROTECTED]>
> > On 17.Sep.2001 -- 03:47 PM, beje wrote:
> > > Hi,
> > > I have n dinamicaly generated (and identical) forms to fill-in;
> > > on submition I'd like to validate them by using just a descriptor file
> > > whitch contains just 1 form (since all are the same).
> > >
> > > Is there a way to achieve that ?
> >
> > Sure, just have the same parameter names. You might even want to set
> > your descriptor as default descriptor.
> 
> Unfortunately, the fields are numbered like this:
> 
> 
> 
> 
> to
> 

If there is no chance of renaming those parameters to "country", you
would indeed need to duplicate the entries in your descriptor, there
is no wildcard match operator. Perhaps you could distinguish the
different forms by a hidden value (or the value of the submit
button?), referer URL or target URL? You might still be able to use
the same pipeline in your sitemap.

> And one more thing:
> I want to have in the sitemap a general entry for all validation actions,
> somehting like:
> 
>   
> 
> 
>value="context://mysite/mydescriptors/{1}.xml"/>

This is OK, {1} is replaced by the match from the pattern matcher.

>   

You could use {1} here as well, perhaps it would be cleaner to switch
to the newer set-based method. See docs, section "Forms" for this.

> 

This is no good, since AFAIK redirect is done by sending a redirect
message to the browser -- and the request parameters will be
lost. cocoon: protocoll might solve this ("cocoon:/process-{1}.xsp",
don't know off head if this keeps parameter) or a redirect to a
ressource does (sure on this).

> 
>   
> 
> Is there a wildcard for the validate parameter values ?

No. But it would be nice to have one, since this way it could be used
to validate input for the database add action when multiple rows are
to be inserted. A patch would be welcome :-)

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
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: Help with form validation

2001-09-17 Thread Martin Man

On Mon, Sep 17, 2001 at 03:47:54PM +0300, beje wrote:
> Hi,
> I have n dinamicaly generated (and identical) forms to fill-in;
> on submition I'd like to validate them by using just a descriptor file
> whitch contains just 1 form (since all are the same).
> 
> Is there a way to achieve that ?

sure there is, just create appropriate validation descriptor and reference to
it with appropriate param for all the URLs your form is alowed to post to, eg


map:match pattern="form1post"
map:act type="form-validator"
parameter name="descriptor" value="mydesc"
...

map:match pattern="form2post"
map:act type="form-validator"
parameter name="descriptor" value="mydesc"
...

map:match pattern="form3post"
map:act type="form-validator"
parameter name="descriptor" value="mydesc"
...


please fill in missing braces, protocols, etc. according to example sitemap
provided along with c2


> Thanks.

rgds,
martin
-- 
---
"Only dead fish swims with a stream" Malcolm Muggeridge
gpg_key_available: http://globales.cz/~mman/martin.man.gpg
gpg_key_fingerprint: 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

-
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: Help needed Passing Parameters

2001-10-25 Thread Valdas Rapsevicius

sorry, but can't help You.
This trick with




didn't work for me too.
You took to selectedPerson just a value of
document('people.xml',.)/people/person[name='$person'] node, but not entire
node...

As I noticed nobody succeded in passing a node as variable or param.
If somebody did - please tell us how?

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]


-Original Message-
From: Phil Blake [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 1:57 AM
To: [EMAIL PROTECTED]
Subject: Help needed Passing Parameters


I am missing something when it comes to getting and passing request
arguments. I've looked at the cocoon examples, and although my test
example appears to match the cocoon one in every way there is obviously
something fundamental missing.

I think I'm pretty close. :) If anyone could help me get past this
misunderstanding it would be much appreciated.

My example scenario allows the user to enter a URL like the following:
http://hostname/example/colour.html?person=Phil%20Blake
The result would be a HTML page with the person's favorite colour.

In the sitemap I added a generic matcher that matches anything .html and
returns the corresponding xsp. I figured (as opposed to read anywhere in
documentation) that I needed to include the use-request-parameters and
use-browser-capabilities-db parameters - I don't know why I want them,
just that they appeared in the cocoon sitemap.




 
 




The requested xsp page looks like this. (colour.xsp)
http://apache.org/xsp";
   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
   xmlns:xsp-response="http://apache.org/xsp/response/2.0";>
 
 String person = null;
 

The favorite colour page - Yay"

person = ;
 
 person has a favorite colour! It is




I then have a half/broken stylesheet that is supposed to select the
person named in the URL person path arg. Then return their favorite
colour. However, as you'll notice, I can't see how to get from the first
line, to the second one. I assume the variable selectedPerson contains a
person node. (I don't know 'cause I can't make it work).
However, I have no idea how to use that variable to retrieve the colour.
XSL Stylesheet:









XML External Content (people.xml)


Phil
blue


Arthur
yellow




Thanks for your help. Have fun,

Phil


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





-
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: Help needed Passing Parameters

2001-10-25 Thread Martin Man

hi,
your example is not going to work at all, ..., i suggest you to take a
look at java source code generated from xsp page, this code is located
somewhere in tomcat/work/localhost*/cocoon/org/apache/www/...your_xsp.java, 

you'll find there that element  and Java variable person are
cmpletely unrelated, you might try in xsp something like





this way the XML output generated by XSP page will contain somewhere the
element

 // or whatever your request parameter was

then you can match in your XSL the element person-colour and use its attribute
@person to take a value from external xml file, ...


cheers,
martin

On Thu, Oct 25, 2001 at 09:57:26AM +1000, Phil Blake wrote:
> I am missing something when it comes to getting and passing request 
> arguments. I've looked at the cocoon examples, and although my test 
> example appears to match the cocoon one in every way there is obviously 
> something fundamental missing.
> 
> I think I'm pretty close. :) If anyone could help me get past this 
> misunderstanding it would be much appreciated.
> 
> My example scenario allows the user to enter a URL like the following: 
> http://hostname/example/colour.html?person=Phil%20Blake
> The result would be a HTML page with the person's favorite colour.
> 
> In the sitemap I added a generic matcher that matches anything .html and 
> returns the corresponding xsp. I figured (as opposed to read anywhere in 
> documentation) that I needed to include the use-request-parameters and 
> use-browser-capabilities-db parameters - I don't know why I want them, 
> just that they appeared in the cocoon sitemap.
>   
>   
>   
>   
>  name="use-request-parameters" value="true"/>
>  name="use-browser-capabilities-db" value="true"/>
>   
>   
>   
> 
> The requested xsp page looks like this. (colour.xsp)
>language="java"
>   xmlns:xsp="http://apache.org/xsp";
>   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>   xmlns:xsp-response="http://apache.org/xsp/response/2.0";>
> 
> String person = null;
> 
>   
>   The favorite colour page - Yay"
>   
>   person = ;
>
>person has a favorite colour! It is 
> 
>   
> 
> 
> I then have a half/broken stylesheet that is supposed to select the 
> person named in the URL person path arg. Then return their favorite 
> colour. However, as you'll notice, I can't see how to get from the first 
> line, to the second one. I assume the variable selectedPerson contains a 
> person node. (I don't know 'cause I can't make it work).
> However, I have no idea how to use that variable to retrieve the colour.
> XSL Stylesheet:
> 
>   
>select="document('people.xml',.)/people/person[name='$person']"/>
>   
>   
> 
> 
> 
> 
> XML External Content (people.xml)
> 
>   
>   Phil
>   blue
>   
>   
>   Arthur
>   yellow
>   
> 
> 
> 
> Thanks for your help. Have fun,
> 
> Phil
> 
> 
> -
> 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]>
> 
> 

-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223
http://mman.dyndns.org/mman.gpg

-
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: Help needed Passing Parameters

2001-10-25 Thread Christian Schmitt

Phil,
I would change your XSP to this:
http://apache.org/xsp";
   xmlns:xsp-request="http://apache.org/xsp/request/2.0";
   xmlns:xsp-response="http://apache.org/xsp/response/2.0";>
 
 String person = null;
 

The favorite colour page - Yay"

person = ;
 
 person has a favorite colour! It is 
person



And then in your stylesheet do this:








This is untested (of course ;-)


Hth,
Christian



On Thu, Oct 25, 2001 at 09:57:26AM +1000, Phil Blake wrote:
> I am missing something when it comes to getting and passing request 
> arguments. I've looked at the cocoon examples, and although my test 
> example appears to match the cocoon one in every way there is obviously 
> something fundamental missing.
> 
> I think I'm pretty close. :) If anyone could help me get past this 
> misunderstanding it would be much appreciated.
> 
> My example scenario allows the user to enter a URL like the following: 
> http://hostname/example/colour.html?person=Phil%20Blake
> The result would be a HTML page with the person's favorite colour.
> 
> In the sitemap I added a generic matcher that matches anything .html and 
> returns the corresponding xsp. I figured (as opposed to read anywhere in 
> documentation) that I needed to include the use-request-parameters and 
> use-browser-capabilities-db parameters - I don't know why I want them, 
> just that they appeared in the cocoon sitemap.
>   
>   
>   
>   
>   name="use-request-parameters" value="true"/>
>   name="use-browser-capabilities-db" value="true"/>
>   
>   
>   
> 
> The requested xsp page looks like this. (colour.xsp)
> language="java"
>xmlns:xsp="http://apache.org/xsp";
>xmlns:xsp-request="http://apache.org/xsp/request/2.0";
>xmlns:xsp-response="http://apache.org/xsp/response/2.0";>
>  
>  String person = null;
>  
>   
>   The favorite colour page - Yay"
>   
>   person = ;
>
>person has a favorite colour! It is 
> 
>   
> 
> 
> I then have a half/broken stylesheet that is supposed to select the 
> person named in the URL person path arg. Then return their favorite 
> colour. However, as you'll notice, I can't see how to get from the first 
> line, to the second one. I assume the variable selectedPerson contains a 
> person node. (I don't know 'cause I can't make it work).
> However, I have no idea how to use that variable to retrieve the colour.
> XSL Stylesheet:
> 
>   
>select="document('people.xml',.)/people/person[name='$person']"/>
>   
>   
> 
> 
> 
> 
> XML External Content (people.xml)
> 
>   
>   Phil
>   blue
>   
>   
>   Arthur
>   yellow
>   
> 
> 
> 
> Thanks for your help. Have fun,
> 
> Phil
> 
> 
> -
> 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]>

-
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: help for rtf generation

2001-11-18 Thread Alex McLintock

At 08:57 15/11/01, Pranav Tandon wrote:
>Hello,
>I am new to use cocoon and xml technologies, what i am trying to do is
>to generate dynamically an rtf document from an xml document.



>for rtf generation i am using jfor.

I believe jfor and fop are merging - at least the main developer of jfor is 
adding
his code to the fop project.

You may find some more help on the FOP mailing lists

Alex


-
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: help needed regarding cocoon2

2001-12-17 Thread Brian Topping



This 
is a problem with not shutting down Cocoon properly.  Make sure that you 
use the 'shutdown.bat' or 'shutdown.sh' script to stop Tomcat, which will in 
turn shut down Cocoon properly.
 
-B

  -Original Message-From: Lingareddy Anuga 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 
  10:36 PMTo: [EMAIL PROTECTED]Subject: help 
  needed regarding cocoon2
  Hi , I started using cocoon2 just today. While 
  starting the tomcat server iam facing a problem which is list below. Please 
  have a look at it and let me know 
  the solution.
   
   
  Context log: path="/XmlServlet" Adding context 
  path="/XmlServlet"  docBase="webapps/XmlServlet"Context log: path="" 
  Adding context path=""  docBase="webapps/ROOT"Context log: 
  path="/test" Adding context path="/test"  
  docBase="webapps/test"Starting tomcat. Check logs/tomcat.log for error 
  messagesXmlMapper: Can't find method setDescription in Wrapper(Cocoon2 
  null) CLASS class org.apache.tomcat.core.ServletWrapperLoading 
  catalog: 
  C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalogServer.run/init: 
  java.sql.SQLException: File input/output error: 
  C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backupjava.sql.SQLException: 
  File input/output error: 
  C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup    
  at 
  org.hsqldb.Trace.getError(Trace.java:180)    
  at 
  org.hsqldb.Trace.getError(Trace.java:144)    
  at 
  org.hsqldb.Trace.error(Trace.java:205)    
  at 
  org.hsqldb.Log.restoreBackup(Log.java:731)    
  at 
  org.hsqldb.Log.open(Log.java:212)    
  at 
  org.hsqldb.Database.(Database.java:96)    
  at 
  org.hsqldb.Server.run(Server.java:137)    
  at 
  org.hsqldb.Server.main(Server.java:78)    
  at 
  org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)    
  at java.lang.Thread.run(Thread.java:484)
   
   
  thanks in advance
  Reddy


RE: help needed regarding cocoon2

2001-12-17 Thread Bernard D'Have

stop your tomcat,
delete this files
C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
and restart

Bernard

-Original Message-
From: Lingareddy Anuga [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 4:36
To: [EMAIL PROTECTED]
Subject: help needed regarding cocoon2


Hi , I started using cocoon2 just today. While starting the tomcat server
iam facing a problem which is list below. Please have a look at it and let
me know
the solution.


Context log: path="/XmlServlet" Adding context path="/XmlServlet"
docBase="webapps/XmlServlet"
Context log: path="" Adding context path=""  docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Starting tomcat. Check logs/tomcat.log for error messages
XmlMapper: Can't find method setDescription in Wrapper(Cocoon2 null) CLASS
class
 org.apache.tomcat.core.ServletWrapper
Loading catalog:
C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalog
Server.run/init: java.sql.SQLException: File input/output error:
C:\Ides\Jbuilde
r4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error:
C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.restoreBackup(Log.java:731)
at org.hsqldb.Log.open(Log.java:212)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.Server.run(Server.java:137)
at org.hsqldb.Server.main(Server.java:78)
at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
at java.lang.Thread.run(Thread.java:484)


thanks in advance
Reddy


-
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: help needed regarding cocoon2

2001-12-18 Thread Lingareddy Anuga

Thank you very much dear Bernard.

redgards
Reddy

- Original Message -
From: "Bernard D'Have" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Lingareddy Anuga"
<[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 3:26 PM
Subject: RE: help needed regarding cocoon2


> stop your tomcat,
> delete this files
> C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
> and restart
>
> Bernard
>
> -Original Message-
> From: Lingareddy Anuga [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 18, 2001 4:36
> To: [EMAIL PROTECTED]
> Subject: help needed regarding cocoon2
>
>
> Hi , I started using cocoon2 just today. While starting the tomcat server
> iam facing a problem which is list below. Please have a look at it and let
> me know
> the solution.
>
>
> Context log: path="/XmlServlet" Adding context path="/XmlServlet"
> docBase="webapps/XmlServlet"
> Context log: path="" Adding context path=""  docBase="webapps/ROOT"
> Context log: path="/test" Adding context path="/test"
> docBase="webapps/test"
> Starting tomcat. Check logs/tomcat.log for error messages
> XmlMapper: Can't find method setDescription in Wrapper(Cocoon2 null) CLASS
> class
>  org.apache.tomcat.core.ServletWrapper
> Loading catalog:
> C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalog
> Server.run/init: java.sql.SQLException: File input/output error:
> C:\Ides\Jbuilde
> r4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
> java.sql.SQLException: File input/output error:
> C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup
> at org.hsqldb.Trace.getError(Trace.java:180)
> at org.hsqldb.Trace.getError(Trace.java:144)
> at org.hsqldb.Trace.error(Trace.java:205)
> at org.hsqldb.Log.restoreBackup(Log.java:731)
> at org.hsqldb.Log.open(Log.java:212)
> at org.hsqldb.Database.(Database.java:96)
> at org.hsqldb.Server.run(Server.java:137)
> at org.hsqldb.Server.main(Server.java:78)
> at
> org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
> at java.lang.Thread.run(Thread.java:484)
>
>
> thanks in advance
> Reddy
>
>
> -
> 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]>




Re: !HELP! Cocoon global errors !HELP!

2003-02-04 Thread Stephan Michels
On Tue, 4 Feb 2003 [EMAIL PROTECTED] wrote:

> Hello everybody,
>
> I've installed Cocoon and developed a bit with it. I didn't change
> anything special in cocoon, but now I get following error on all my
> pages :
>
> HTTP Status 404 -
> typeStatus report
> message
> descriptionThe requested resource () is not available.
>
> And my logfile is like this (here is my last request): Thanks for your
> HELP! Maxime
>
>
> 2003-02-04 14:01:50 DEBUG   (2003-02-04) 14:01.50:495   []
> (/cocoon/workflowmax/default) Thread-8/DefaultLogKitManager: Logger for
> category root.xslt returned

DEBUG != ERROR

Take a look into WEB-INF/logs/*.log, perhaps this can help you and us
more.

Stephan Michels.


-
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: !HELP! Cocoon global errors !HELP!

2003-02-05 Thread Maxime.Gheysen
Hi,
Sorry, I have just receive a mailer-deamon message that my mail failed.
So are the complete logs.


-Original Message-
> Hello everybody,
>
> I've installed Cocoon and developed a bit with it. I didn't change 
> anything special in cocoon, but now I get following error on all my 
> pages :
>
> HTTP Status 404 -
> typeStatus report
> message
> descriptionThe requested resource () is not available.
>
> And my logfile is like this (here is my last request): Thanks for your

> HELP! Maxime



WEB-INF.zip
Description: WEB-INF.zip
-
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: !HELP! Cocoon global errors !HELP!

2003-02-06 Thread SAXESS - Hussayn Dabbous
If you look into the logs and search for the FIRST occurence
of a stack trace, you see this message:


org.apache.cocoon.ResourceNotFoundException: The element type "content" 
must be terminated by the matching end-tag "".: 
org.xml.sax.SAXParseException: The element type "content" must be 
terminated by the matching end-tag "".

This means, that in one of your XML or XSL files you have a
problem with wellformedness.

what can you do against it ?

1.) search for the  tag in your document, or your XSL file
that you retrieve with your request.

2.) consider using an XML aware editor.
there was a discussion about this recently on
this mailing list. just look into the archives...

regards, hussayn



[EMAIL PROTECTED] wrote:
Hi,
Sorry, I have just receive a mailer-deamon message that my mail failed.
So are the complete logs.


-Original Message-


Hello everybody,

I've installed Cocoon and developed a bit with it. I didn't change 
anything special in cocoon, but now I get following error on all my 
pages :

HTTP Status 404 -
typeStatus report
message
descriptionThe requested resource () is not available.

And my logfile is like this (here is my last request): Thanks for your



HELP! Maxi


me




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


--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail:  [EMAIL PROTECTED]


-
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: [HELP]Premature end of file.

2003-06-02 Thread Carmona Perez, David









First of all, look at the logs that Cocoon
generates!.

 

Probably an exception has been
thrown.

 





David

 

-Mensaje
original-
De: ravi gaddam
[mailto:[EMAIL PROTECTED]
Enviado el: viernes, 30 de mayo de
2003 19:40
Para: [EMAIL PROTECTED]
Asunto: [HELP]Premature end of
file.

 

 

Description:org.apache.cocoon.ProcessingException:
Failed to execute pipeline.: org.xml.sax.SAXParseException: Premature end of
file.








RE: Help with broken sitemap please!

2002-02-01 Thread Vadim Gritsenko

These two can not be used together:




Read also log file - it should have a message.

Vadim

> From: Brian Topping [mailto:[EMAIL PROTECTED]]
> 
> Good day all,
> 
> I have this sitemap that I have been trying to get working as
> cocoon/mount/dirname/sitemap.xmap.  I get a sitemap compilation error
> when I try to use it.  I cannot figure out what I am not doing
properly
> with it.  ACK!!
> 
> Does anyone have any ideas about this?
> 
> Thanks for your consideration,
> 
> Brian
> 
>
*-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-*-**-
> *-**-*-**-*-
> 
> 
> 
> 
> http://apache.org/cocoon/sitemap/1.0";>
>   
>   
>   
>   
>   
>   
>   
>logger="sitemap.selector.parameter"
> src="org.apache.cocoon.selection.ParameterSelector">
>   
>   
>   
>   
>   
>   
>   
>   
>mime-type="image/gif"/>
>   
>   
>mime-type="text/xml"/>
>   
>   
>   
>mime-type="image/jpg"/>
>   
>   
>mime-type="text/html"/>
>   
>   
>   
> 
> 


-
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: Help connect Cocoon2 to Oracle8

2002-02-27 Thread yuryx

Giuseppe De Vincenzi wrote:

> I am not able to connect to Oracle8i database.Exception
> states that could not connect to datasource & you cannot get a poolable
> before the pool is initialized.
>
> type internal-server-error
>
> message Error in sitemap configuration : Could not set up Component for
> hint: add-employee
>
> description org.apache.avalon.framework.configuration.ConfigurationExcept=
> ion:
> Error in sitemap configuration : Could not set up Component for hint: add=
> -employee
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/visualizza/prova
>
> exception
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> path-info
>
> visualizza/prova
>
> stacktrace
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> Coccon.xconf
>
>  
>n.util.datasource.JdbcDataSource">
>
>   
> 
> jdbc:oracle:thin:@server:oras
> de
> gi
>
>   
>
>
>
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
>   
> 
>
>
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
> The database driver is classes12.jar and I am able to connect to the same=
>
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Prior to this  I connected to mySql database sucessfully.
>
> Any help on this will be highly appreciated
>
> Thanks I am not able to connect to Oracle8i database.Exception
> states that could not connect to datasource & you cannot get a poolable
> before the pool is initialized.
>
> type internal-server-error
>
> message Error in sitemap configuration : Could not set up Component for
> hint: add-employee
>
> description org.apache.avalon.framework.configuration.ConfigurationExcept=
> ion:
> Error in sitemap configuration : Could not set up Component for hint: add=
> -employee
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /cocoon/visualizza/prova
>
> exception
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> path-info
>
> visualizza/prova
>
> stacktrace
>
> org.apache.avalon.framework.configuration.ConfigurationException: Error
> in sitemap configuration : Could not set up Component for hint: add-emplo=
> yee
>
> Coccon.xconf
>
>  
>n.util.datasource.JdbcDataSource">
>
>   
> 
> jdbc:oracle:thin:@server:oras
> de
> gi
>
>   
>
>
>
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
>   
> 
>
>
> web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
> The database driver is classes12.jar and I am able to connect to the same=
>
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Prior to this  I connected to mySql database sucessfully.
>
> Any help on this will be highly appreciated
>
> mailto:[EMAIL PROTECTED]>>
> Thanks   
>
>
>
Use in web.xml like:
   
  load-class
  



org.hsqldb.jdbcDriver
   

oracle.jdbc.driver.OracleDriver
  


in cocoon.xconf like:

 

  
  
  
  jdbc:hsqldb:hsql://localhost:9002
  sa
  



 
  jdbc:oracle:thin:@somehost:1521:somesid
  user
  password



  

Regards,
Yury.


-
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: Help connect Cocoon2 to Oracle8

2002-02-28 Thread Bert Van Kets

I had similar problems when trying to connect to a mySQL database.  I 
solved it this way:
- Downloaded a CVS HEAD.
- removed the hsqldbjar from the xml-cocoon2\lib\optional directory
- added my JDBC jar file in the xml-cocoon2\lib\optional directory
-  removed the xml-cocoon2\src\java\org\apache\cocoon\components\hsqldb 
directory
- replaced parameters in the database.properties file in the xml-cocoon2 
directory
- rebuild
- run

The easiest way to test the database is by modifying the 
cocoon\docs\samples\xsp\esql.xsp file to show some data present in the 
database.  Just modify the SQL query and the column name in the 
esql:get-string element.

This did the trick in my case.
Bert

At 17:55 27/02/2002 +0100, you wrote:
>I am not able to connect to Oracle8i database.Exception
>states that could not connect to datasource & you cannot get a poolable
>before the pool is initialized.
>
>type internal-server-error
>
>message Error in sitemap configuration : Could not set up Component for
>hint: add-employee
>
>description org.apache.avalon.framework.configuration.ConfigurationExcept=
>ion:
>Error in sitemap configuration : Could not set up Component for hint: add=
>-employee
>
>sender org.apache.cocoon.servlet.CocoonServlet
>
>source Cocoon servlet
>
>request-uri
>
>/cocoon/visualizza/prova
>
>exception
>
>org.apache.avalon.framework.configuration.ConfigurationException: Error
>in sitemap configuration : Could not set up Component for hint: add-emplo=
>yee
>
>path-info
>
>visualizza/prova
>
>stacktrace
>
>org.apache.avalon.framework.configuration.ConfigurationException: Error
>in sitemap configuration : Could not set up Component for hint: add-emplo=
>yee
>
>Coccon.xconf
>
>  
>   n.util.datasource.JdbcDataSource">
>
>   
>
>jdbc:oracle:thin:@server:oras
>de
>gi
>
>   
>
>
>   
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
> 
>
>
>
>web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
>The database driver is classes12.jar and I am able to connect to the same=
>
>database with same driver with standalone java application.
>Environment is Tomcat 4,  C2 & windows2000
>Prior to this  I connected to mySql database sucessfully.
>
>Any help on this will be highly appreciated
>
>Thanks I am not able to connect to Oracle8i database.Exception
>states that could not connect to datasource & you cannot get a poolable
>before the pool is initialized.
>
>type internal-server-error
>
>message Error in sitemap configuration : Could not set up Component for
>hint: add-employee
>
>description org.apache.avalon.framework.configuration.ConfigurationExcept=
>ion:
>Error in sitemap configuration : Could not set up Component for hint: add=
>-employee
>
>sender org.apache.cocoon.servlet.CocoonServlet
>
>source Cocoon servlet
>
>request-uri
>
>/cocoon/visualizza/prova
>
>exception
>
>org.apache.avalon.framework.configuration.ConfigurationException: Error
>in sitemap configuration : Could not set up Component for hint: add-emplo=
>yee
>
>path-info
>
>visualizza/prova
>
>stacktrace
>
>org.apache.avalon.framework.configuration.ConfigurationException: Error
>in sitemap configuration : Could not set up Component for hint: add-emplo=
>yee
>
>Coccon.xconf
>
>  
>   n.util.datasource.JdbcDataSource">
>
>   
>
>jdbc:oracle:thin:@server:oras
>de
>gi
>
>   
>
>
>   
>   
>   
>   
>   jdbc:hsqldb:hsql://localhost:9002
>   sa
>   
> 
>
>
>
>web.xml
>
>load-class
>
> oracle.jdbc.driver.OracleDriveror
>
>
>The database driver is classes12.jar and I am able to connect to the same=
>
>database with same driver with standalone java application.
>Environment is Tomcat 4,  C2 & windows2000
>Prior to this  I connected to mySql database sucessfully.
>
>Any help on this will be highly appreciated
>mailto:[EMAIL PROTECTED]>@tiscalinet.it>
>Thanks
>
>


-
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: Help connection Cocoon2 to Oracle8

2002-02-28 Thread Luca Morandini

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 12:24 PM
> To: [EMAIL PROTECTED]
> Subject: Help connection Cocoon2 to Oracle8

> The database driver is classes102.zip and I am able to connect to the same
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Any help on this will be highly appreciated

It should be classes12.zip... a typo in the message maybe ?

Anyhow, I use Oracle 8.1.7, on: Windows 2000, Tomcat 4.0.1 and Cocoon 2.0
(and it works).

These are the parameters I use:

web.xml (the one located under $TOMCAT_HOME\webassp\cocoon\WEB-INF

  load-class
  
oracle.jdbc.driver.OracleDriver
  


cocoon.xconf



jdbc:oracle:thin:@localhost:1521:ORCL3
noria
noria



Where ORCL3 is the instance's name

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-



-
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: Help connection Cocoon2 to Oracle8

2002-03-01 Thread Martin Holz

[EMAIL PROTECTED] wrote:
> Hello,
> I am not able to connect to Oracle8i database.

> The database driver is classes102.zip and I am able to connect to the same
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000

Do you use the same java compiler and vm for cocoon and the standalone 
program ? I had some trouble with Oracle and jdk 1.4 .

--
Martin Holz  
<[EMAIL PROTECTED]> 


-
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: Help - I'm stuck with Cocoon

2002-03-05 Thread Rick Schwartz

I had similar problems.

Look in the archives and follow the thread "[SOLUTION] Cocoon with the Tomcat 4.0.3"

Best Regards,
Rick Schwartz

> -Original Message-
> From: Ivan Chui [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 8:23 PM
> To: [EMAIL PROTECTED]
> Subject: Help - I'm stuck with Cocoon
> 
> 
> Hi,
> 
> I had checked through the site FAQs but found nothing related my problem.
> Could someone out there, please help me up.
> 
> I am using Tomcat 4.0.2, I have copied the cocoon.war to the tomcat/webapps
> directory and
> restarted the Tomcat server.
> 
> Attached is the log files in my  /webapps/cocoon/web-inf/logs
> 
> Thanks.
> 
> 
> 
> Accessing http://localhost:8080/cocoon/ got the following:
> 
> 
> Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error
> 
> 
> 
> type Exception report
> 
> message Internal Server Error
> 
> description The server encountered an internal error (Internal Server Error)
> that prevented it from fulfilling this request.
> 
> exception
> 
> javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw
> exception
>   at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
> 5)
>   at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
>   at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>   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.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:2343)
>   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:
> 1012)
>   at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
> )
>   at java.lang.Thread.run(Thread.java:484)
> 
> 
> root cause
> 
> java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
>   at java.lang.ClassLoader.defineClass0(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
>   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
>   at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
> ader.java:1631)
>   at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
> a:926)
>   at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
> a:1360)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>   at
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex
> caliburComponentManager.java:408)
>   at org.apache.cocoon.Cocoon.configure(Cocoon.java:406)
>   at org.apache.cocoon.Cocoon.initialize(Cocoon.java:267)
>   at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:991)
>   at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:308)
>   at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
> 6)
>   at
> org.

Re: help with a sitemap problem

2002-03-15 Thread Ivan Rubin

Steven,

I don't know if this is generating (sic) your problem,
but src="cocoon:/foo" in your map:part aggregation is not refering to 
the pipeline you're defining there under the name "foo"

It should be just "foo"? cocoon:/xxx refers to an internal pipeline 
named 

And who's handling "content/bar.xml"?

Ivan

Steven Sedlmeyer wrote:

> Ok, I've looked through the docs and near as I can tell this should be
> Ok...although it clearly isn't.  I have the following pipeline in my
> sitemap:
> 
> 
>   
> 
> 
>   
> 
> 
>   
>   
> 
>   
>   
> 
> 
> 
>   
> 
> 
> If I understand things correctly this should result in the agregation of the
> file bar.xml and the xml output of the pipeline matching the request for
> /foo defined above being transformed by the stylesheet foobar.xsl when I
> request bar.html.  Instead I get the following error at the browser:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap: Line 1262, column 97: '}' expected Line 0, column 0: 1 error 
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> 
> And, when I check out the generated java source the final method in the file
> is the following:
> 
> //line numbers not supported with wildc// method for handling "bar.html"
> private final boolean matchN101A6(
> SitemapRedirector redirector,
> Environment environment, StreamPipeline
> pipeline,
> EventPipeline eventPipeline,
> boolean internalRequest, List
> listOfMaps)
> throws ConnectionResetException, ResourceNotFoundException,
> Exception {
> Map map;
> Parameters param;
> Map objectModel = environment.getObjectModel();
> String cocoon_view = environment.getView();
> String cocoon_action = environment.getAction();
> final boolean debug_enabled = getLogger().isDebugEnabled();
> 
> if ((map = matches("wildcard", matcher_N101A6_expr, "bar.html",
> Parameters.EMPTY_PARAMETERS, objectModel)) != null) {
>   if (debug_enabled) getLogger().debug("Matched wildcard pattern
> bar.html");
>   listOfMaps.add (map);
>   this.dumpParameters(listOfMaps);
>   
> 
> 
> getLogger().debug("Component
> aggregator:!content-aggregator!(Parameters.EMPTY_PARAMETERS)");
> eventPipeline.setGenerator ("!content-aggregator!",
>   null, Parameters.EMPTY_PARAMETERS
> );
>   
> ContentAggregator contentAggregator_N101A9 =
> (ContentAggregator)eventPipeline.getGenerator();
> 
> 
> No, I didn't miss part of it, that's where it stops...  I'm getting really
> tired of scratching my head and looking stupid when people ask me if I've
> gotten it to work yet so I'm getting desperate for some help.  I'd really
> appreciate it if someone could at least point me in the right direction to
> figure this out.
> 
> Thanks in advance,
> 
> Steve Sedlmeyer
> [EMAIL PROTECTED]
> 
> -
> 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]>
> 
> 



-
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: help with a sitemap problem

2002-03-15 Thread Ivan Rubin

Steven,

cocoon:/ it's ok, and who's matching what does not matter at sitemap 
compilation.



you have to specify the root element for your aggregated content.

Sorry if I mislead you,

Ivan

Steven Sedlmeyer wrote:

> Ok, I've looked through the docs and near as I can tell this should be
> Ok...although it clearly isn't.  I have the following pipeline in my
> sitemap:
> 
> 
>   
> 
> 
>   
> 
> 
>   
>   
> 
>   
>   
> 
> 
> 
>   
> 
> 
> If I understand things correctly this should result in the agregation of the
> file bar.xml and the xml output of the pipeline matching the request for
> /foo defined above being transformed by the stylesheet foobar.xsl when I
> request bar.html.  Instead I get the following error at the browser:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap: Line 1262, column 97: '}' expected Line 0, column 0: 1 error 
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> 
> And, when I check out the generated java source the final method in the file
> is the following:
> 
> //line numbers not supported with wildc// method for handling "bar.html"
> private final boolean matchN101A6(
> SitemapRedirector redirector,
> Environment environment, StreamPipeline
> pipeline,
> EventPipeline eventPipeline,
> boolean internalRequest, List
> listOfMaps)
> throws ConnectionResetException, ResourceNotFoundException,
> Exception {
> Map map;
> Parameters param;
> Map objectModel = environment.getObjectModel();
> String cocoon_view = environment.getView();
> String cocoon_action = environment.getAction();
> final boolean debug_enabled = getLogger().isDebugEnabled();
> 
> if ((map = matches("wildcard", matcher_N101A6_expr, "bar.html",
> Parameters.EMPTY_PARAMETERS, objectModel)) != null) {
>   if (debug_enabled) getLogger().debug("Matched wildcard pattern
> bar.html");
>   listOfMaps.add (map);
>   this.dumpParameters(listOfMaps);
>   
> 
> 
> getLogger().debug("Component
> aggregator:!content-aggregator!(Parameters.EMPTY_PARAMETERS)");
> eventPipeline.setGenerator ("!content-aggregator!",
>   null, Parameters.EMPTY_PARAMETERS
> );
>   
> ContentAggregator contentAggregator_N101A9 =
> (ContentAggregator)eventPipeline.getGenerator();
> 
> 
> No, I didn't miss part of it, that's where it stops...  I'm getting really
> tired of scratching my head and looking stupid when people ask me if I've
> gotten it to work yet so I'm getting desperate for some help.  I'd really
> appreciate it if someone could at least point me in the right direction to
> figure this out.
> 
> Thanks in advance,
> 
> Steve Sedlmeyer
> [EMAIL PROTECTED]
> 
> -
> 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]>
> 
> 



-
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: help with a sitemap problem

2002-03-15 Thread Vadim Gritsenko

Steven,

 

Take care,
Vadim

> From: Steven Sedlmeyer [mailto:[EMAIL PROTECTED]]
> 
> Ok, I've looked through the docs and near as I can tell this should be
> Ok...although it clearly isn't.  I have the following pipeline in my
> sitemap:
> 
> 
>   
> 
> 
>   
> 
> 
>   
>   
> 
>   
>   
> 
> 
> 
>   
> 
> 
> If I understand things correctly this should result in the agregation
of the
> file bar.xml and the xml output of the pipeline matching the request
for
> /foo defined above being transformed by the stylesheet foobar.xsl when
I
> request bar.html.  Instead I get the following error at the browser:
> 
> type fatal
> message Language Exception
> description org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: Error
compiling
> sitemap_xmap: Line 1262, column 97: '}' expected Line 0, column 0: 1
error
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> 
> And, when I check out the generated java source the final method in
the file
> is the following:
> 
> //line numbers not supported with wildc// method for handling
"bar.html"
> private final boolean matchN101A6(
> SitemapRedirector redirector,
> Environment environment,
StreamPipeline
> pipeline,
> EventPipeline eventPipeline,
> boolean internalRequest, List
> listOfMaps)
> throws ConnectionResetException,
ResourceNotFoundException,
> Exception {
> Map map;
> Parameters param;
> Map objectModel = environment.getObjectModel();
> String cocoon_view = environment.getView();
> String cocoon_action = environment.getAction();
> final boolean debug_enabled = getLogger().isDebugEnabled();
> 
> if ((map = matches("wildcard", matcher_N101A6_expr,
"bar.html",
> Parameters.EMPTY_PARAMETERS, objectModel)) != null) {
>   if (debug_enabled) getLogger().debug("Matched wildcard
pattern
> bar.html");
>   listOfMaps.add (map);
>   this.dumpParameters(listOfMaps);
> 
> 
> 
> getLogger().debug("Component
> aggregator:!content-aggregator!(Parameters.EMPTY_PARAMETERS)");
> eventPipeline.setGenerator ("!content-aggregator!",
>   null, Parameters.EMPTY_PARAMETERS
> );
> 
> ContentAggregator contentAggregator_N101A9 =
> (ContentAggregator)eventPipeline.getGenerator();
> 
> 
> No, I didn't miss part of it, that's where it stops...  I'm getting
really
> tired of scratching my head and looking stupid when people ask me if
I've
> gotten it to work yet so I'm getting desperate for some help.  I'd
really
> appreciate it if someone could at least point me in the right
direction to
> figure this out.
> 
> Thanks in advance,
> 
> Steve Sedlmeyer
> [EMAIL PROTECTED]


-
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: HELP!!! -> Autentification: Apache1.3 + Tomcat4 + Cocoon2

2002-04-15 Thread Vadim Gritsenko

> From: Skladov, Victor [mailto:[EMAIL PROTECTED]]
> 
> Hello to all!
> 
> I kindly please all to help me in solving the following problem. I
> suppose this problem is not new, but I haven't found the answer to it
in
> mail archives up to now.
> I have Apache1.3 on my Linux machine. All users are being
autentificated
> through htpasswd programm. But  both in my Servlets(Tomcat4) and in my
> XSPs (Cocoon2) the method getRemoteUser() returns NULL, although
> getRemoteHost() works.
> 
> I am, for example,  an user , start my Start-Site with Apache,
log
> in and get an access to all my .html files. How can I get the user
name
>  in my XSP?
> 
> Does anybody know the solution for this problem?

I guess Tomcat guys could answer this. Here the question is totally OT -
if it does not work with Tomcat and JSP, it is definitely won't work
with Tomcat and Cocoon and XSP. Consult Tomcat docs and/or Tomcat user
list.

Vadim


> Would be grateful for any help,
> 
> Regards,
> Viktor


-
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: help with redirect and forward

2002-05-15 Thread Vadim Gritsenko

> From: Vij, Bhavna [mailto:[EMAIL PROTECTED]]
> 
> Hi All,
> I am not able to redirect or forward to another pages
> I need to do something like that.
> There's a login page with username and password. If the login is
> successfull, I need to forward it to page1 else I need to go back to
login
> page and display error.
> I am able to access the request parameters but neither redirect nor
forward
> works...
> 
> Neither of the following works
> - response.sendRedirect("http://localhost:/cocoon/";);
> 
> - 
> - http://localhost:/cocoon/"/>

Try using this as close to the top of the page as possible - might
help...

 
> Can someone help me with that..
> Any help will be greatly appreciated...

...also it is not a good idea to redirect from the page. Do this from
sitemap and you will have much fewer issues.

Vadim

> 
> Thanks in Advance,
> Bhavna


-
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: help with XSP, maybe actions

2002-05-31 Thread Artur Bialecki


In your pipe ine you need to specify serverpages type for the
generator, otherwise it will use the straight file generator.
So try this 
Also you don't seem to have any transformes to convert the 
generated xml to html/xhtml before you serialize it, you may
want to add that too.

Artur...


> -Original Message-
> From: gorillacommunications [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: help with XSP, maybe actions
> 
> 
> Hi All,
> 
> I am having trouble getting some XSP to run. I have a small login form:
> 
> 
>   
> 
>   
>   
> 
>   UserID:
>   Password:
>   
>   
> 
>   
> 
> 
> and a pipleline:
> 
>   
> 
>   
>   
> 
>   
> 
> and a login.xml page (stripped down to show essentials):
> 
> 
>   xmlns:xsp="http://apache.org/xsp";
>  xmlns:util="http://www.apache.org/1999/XSP/Util";
>  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>  xmlns:xalan="http://xml.apache.org/xslt.extensions.Redirect";
>  extension-element-prefixes="xalan"
>  xmlns:lxslt="http://xml.apache.org/xslt";
>  version="1.0">
> 
>   
> java.lang.*
> java.util.*
> java.io.*
> 
>   
>   
>
>   String strUserID;
>   String strPwd;
> 
>   strUserID = request.getParameter("userID");
>   strPwd = request.getParameter("pwd");
> 
>   try
> 
> 
> // some code for validating the userID and pwd
>   }
>   catch (Exception e)
>   {
> e.printStackTrace(System.err);
>   }
> 
>   // redirect to login page or summary
>  String strHttp;
>   if (// login failed)
>   {
> strHttp = "http://localhost:8080/GS/gs.xml?fail=true";;
>   }
>   else
>   {
> strHttp = "http://localhost:8080/GS/gs.xml?pagename=summary";;
>   }
>   try
> 
> 
> response.sendRedirect(strHttp);
>   }
>   catch (Exception e)
>   {
> e.printStackTrace(System.err);
>   }
> 
>   
> 
> 
> The problem is that when I enter a userID and pwd and click on "Login", the
> Java code is not executed, rather it is just displayed in the browser like:
> 
> java.lang.* java.util.* java.io.* String strUserID; String strPwd; strUserID
> = request.getParameter("userID");strPwd = request.getParameter("pwd");
> try{// some code for validating the userID and pwd) catch (Exception e)
> 
> and so on.
> 
> Can anyone tell me what I'm doing wrong? I've read in the docs and archives
> that
> maybe I should be doing this with actions, but the sample I found for a
> login page
> uses the FormValidator, and I don't think I need that.
> 
> The reason I am doing it this way, is because I have this application
> running in
> C1 and would like to reuse much of the XSP. In that version my form
> action="login.xml"
> and it works just fine.
> 
> Also, if anyone knows of a good tutorial for actions, I would love to see
> it. To me, this
> is the most confusing part of C2 so far. I have done extensive searches and
> come up
> with little.
> 
> Many thanks,
> Leona Slepetis
> 
> 
> 
> -
> 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]>
> 

-
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: Help : Implementaion- Form to database

2002-06-04 Thread Ivelin Ivanov



 
Take a look at this:
http://xml.apache.org/cocoon/xmlform/index.html
 
If you write the code to map database queries to 
DOM documents (which isn't much grief if you use Xindice), then XMLForm can take 
care of the rest.
 
Cheers,
 
Ivelin
 

  - Original Message - 
  From: 
  Chitharanjan 
  Das 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, June 04, 2002 9:05 
PM
  Subject: Help : Implementaion- Form to 
  database
  
  
  Hello 
  All,
      
  Has anyone come up with a standard approach where one can specify an 
  Form to the user and the form data has to be inserted or updated into 
  database.
   
  For eg:
      
  A XML which represents the underlying table structure (or a database 
  view) . 
  The XML data has to be presented 
  to the browser as a form.
  The form data has to be validated 
  and inserted / updated to a table.
   
  Are there any approaches (open 
  source ) to achieve the above 
  ?
   
  Please do respond 
  ASAP…
   
  Regds,
  Chiths
   
      
  
   


RE: Help with install in WebSphere

2002-06-11 Thread Vadim Gritsenko

> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> Has anyone installed 2.0.2 successfully on WebSphere?

Yes, see instructions on the web site.

...

> request-uri
> /cocoon/servlet/org.apache.cocoon.servlet.CocoonServlet

WHAT IS THIS??? 8-(   )


> Where do I go from here?

To the log files.

Vadim

> Thanks,
> Adam


-
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: Help with install in WebSphere

2002-06-11 Thread Adam_Waldal


Has anyone had any practical experience using Cocoon in a WebSphere
environment, including WebSphere Application Developer?

Vadim,

Thanks for the help.

-Adam



-
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: Help with install in WebSphere

2002-06-11 Thread J.Pietschmann

[EMAIL PROTECTED] wrote:
> Has anyone had any practical experience using Cocoon in a WebSphere
> environment, including WebSphere Application Developer?

I got Cocoon 2.0.2 more or less running on a somewhat patched 3.5.4.
Your problem looks like you are also using 3.5.x. If you can, upgrade
to 4.x.

J.Pietschmann


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




  1   2   3   >