HttpServletRequest object accessible from C2

2001-08-30 Thread aaldridg

Hi all,

Following earlier questions regarding how to get hold of the
HttpServletRequest object from C2, here's a couple of techniques from the
dev mailling list.

HttpServletRequest httpRequest =

(HttpServletRequest)this.objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT

);

My favourite is:

HttpServletRequest httprequest =
   (HttpServletRequest)Map.get(HttpEnvironment.HTTP_REQUEST_OBJECT);

Now I can rewrite my code again :-)

Regards,

Anthony Aldridge
Lead Application developer

Managed Intranet Hosting
CSC
JPMorganChase
Personal GDP: 325-8338
MIH Hotline: 876-1300


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




AW: Strange problem with the Reader

2001-08-30 Thread Jörn Heid

Yes, many people have the same problem and likes resin for its better
performance.
It works, if you disable resins caching.
If both apps are caching the files it do not work.

But perhaps there's some good boy/girl who can fix it.
I saw a patch for the reader in the dev-list but I do not know if it fixes
this problem. So, perhaps you can checkout the latest version off the cvs
and tell us if it works with resin caching.


JOERN_HEID

-Ursprüngliche Nachricht-
Von: Tibi DONDERA [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 31. August 2001 09:12
An: [EMAIL PROTECTED]
Betreff: RE: Strange problem with the Reader


There was talk a while ago about some caching problems with Resin and GIF
files.
I have the same problems, with the gif files and the css problems. Using IE5
(with always reload), I sometimes get the images in my pages displayed right
(usually immediately after a restart of resin), and afterwards, they just
disappear (without any modification to any of the files).
I would be more than happy to send you examples of code (I kinda like resin
over Tomcat, so I would be happy tu use it), but frankly, I don't know where
to start, so start asking... :)

Cheers,
Tibi

-
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: Strange problem with the Reader

2001-08-30 Thread Tibi DONDERA

There was talk a while ago about some caching problems with Resin and GIF
files.
I have the same problems, with the gif files and the css problems. Using IE5
(with always reload), I sometimes get the images in my pages displayed right
(usually immediately after a restart of resin), and afterwards, they just
disappear (without any modification to any of the files).
I would be more than happy to send you examples of code (I kinda like resin
over Tomcat, so I would be happy tu use it), but frankly, I don't know where
to start, so start asking... :)

Cheers,
Tibi

-
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: reg..i18n...

2001-08-30 Thread Piroumian, Konstantin

> Hi.,
>   Is internationalization in c2 just substituting or
> more than that.. Sorry for putting the question that
> way, 'coz i donno anything about i18n. Just started to
> look into..
>   And also is there a kinda editor tool for authering
> such i18n xml docs?..

For more info about i18n see http://xml.apache.org/cocoon2/i18n.html

Shortly, i18n transformer has these features:

Text translation 
Attribute translation 
Param substitution 
Substitution param translation 
Date internationalization (New!) 
Number internationalization (New!) 
Locale support (New!) 
Dictionary update and language addition automation stylesheet (New!) 

> 
> SOrry if this is off topic

It's Ok.
I am open for any improvement suggestions.


Regards,
Konstantin Piroumian

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




Disable-output-escaping Question

2001-08-30 Thread Caleb Blanton

I hear that this is the place to ask about disable-output-escaping in XSL.
If I am correct, I would like to ask a minute of your time to help me with a
problem I'm trying to solve.

I'm currently porting our product and I am forced to use a new
implementation of XML parsing/transforming.  In this implementation, they
have documented that the new parser does *not* support the
disable-output-escaping attribute.  I use this tag quite often; to create
non-breaking spaces, to start HTML tags without finishing them so the parser
doesn't blow up, etc.  Is there a different and/or better way to do this?
An example of what I'm doing now is this; every page includes a global.xsl
that has a HEADERBUILD template in it - this template does alot, but
essentially it starts the  tag, while the FOOTERBUILD template is
responsible for ending that tag.  So, from a bird's-eye level, the code
looks a little like this:









 


This used to build the  tag with it's respective closing  tag
just fine with the old parser.  Now it just transforms into ""
and "" as the output.  If you know of a way to accomplish this
without disable-output-escaping, please enlighten me!  I've been searching
all over the internet for an answer but cannot find one..

Thanks!
Caleb Blanton

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

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




Re: [c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt

->"S" == Sergio Carvalho <[EMAIL PROTECTED]> writes:

 S>  Try the sub/sitemap.xmap. It's small enough as a base to work on.

 Thanks, this is a good idea.

 But it would be nice to know which parts are a must to have a simple
 sitemap to process a subsite containing say a simple "index.xml".

 I do not fully understand the behavior of cocoon at this point, since
 a subsitemap inherits all information from its parent sitemap
 (correct so far? Im not sure...), so i expected at least an error
 like "file not found" or a "raw" xml-output and not an empty
 sitemap_xmap.java...

 \\// christoph

-
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: Problem installing cocoon

2001-08-30 Thread G Crawshaw

Thanks for your help - but this still does not seem to work.


I now get the following error message:

bash$ ./build.sh  -Dinclude.webapp.libs=yes webapp

Apache Cocoon 2 Build System

./build.sh: CP=: is not an identifier


if I execute each of the commands in the build.sh file separately I get this 
error message:


bash$ $PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@ 
/home/public/www/bin/xml-cocoon2/bin/ant: syntax error at line 107: `(' 
unexpected


Thanks, Georgina


>X-Envelope-To: <[EMAIL PROTECTED]>
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>list-help: 
>list-unsubscribe: 
>list-post: 
>Delivered-To: mailing list [EMAIL PROTECTED]
>Date: Thu, 30 Aug 2001 10:19:33 +0200 (CEST)
>From: Raphaël Goulais <[EMAIL PROTECTED]>
>X-X-Sender: <[EMAIL PROTECTED]>
>To: cocoon-users <[EMAIL PROTECTED]>, G Crawshaw 
<[EMAIL PROTECTED]>
>Subject: Re: Problem installing cocoon
>MIME-Version: 1.0
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>
>On Wed, 29 Aug 2001, G Crawshaw wrote:
>
>> When I attempt to execute the following:
>>
>> >./build.sh  -Dinclude.webapp.libs=yes webapp
>>
>> I get this error message
>>
>> >./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an 
identifier
>
>bin/ant and bin/antRun are in DOS format. You have do correct those files
>before.
>
>The problem is due to the end of lines. Try to use some dos2unix program
>to correct this.
>
>
>-
>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: How to avoid caching ?

2001-08-30 Thread java guru

Hi.,
  In reply to the original question of xsp-page
changes NOT getting reflected immediately:

1. Please refer to the xsp-internals on
xml.apache.org. Its clearly mentioned there that 

**
Once instantiated, the program is kept in an in-memory
cache for speeding up subsequent requests. 

For each request, the source XML document is checked
for changes and the program instance is queried for
dependency changes so that the program can be
automatically regenerated and reloaded if needed. This
default behavior can be disabled by means of a sitemap
parameter. 
**

2. Now, this works great for me. And also if u want to
play around, there is params passed to
"ProgramGenerator" in conf file..Please have look at
them..



 --- Tim Nelson <[EMAIL PROTECTED]> wrote: >
Roman,
> 
> I had a similar problem with an XSL stylesheet which
> was retrieving XML
> content through an extension function.  It ran great
> the first time but
> never changed until I restarted cocoon.  I ended up
> creating a new
> transformer which didn't implement
> org.apache.cocoon.caching.Cacheable and
> now it works great.  I would be interested in how I
> could have configured
> the exiting transformer to not cache however.
> 
> Tim
> 
> -Original Message-
> From: Roman Kunert [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 3:51 PM
> To: cocoon
> Subject: How to avoid caching ?
> 
> 
> Hello,
> 
> I am sure that this must have been answered
> previously but I haven't found
> anything in the archives...
> 
> I have a xsp-page which retrieves content from the
> database via esql, this
> page gets transformed by an xsl-page to html.
> Changes to the xsl-page will
> be applied with the next request whereas when I
> change the xsp-page nothing
> happens until I restart the server. Is there a way
> to avoid this behaviour
> and have the changes of the xsp-file applied with
> every request without
> restarting?
> 
> Thanks, 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]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.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: cocoon error

2001-08-30 Thread Peter Royal

At 11:56 AM 8/30/2001 -0700, you wrote:
>-
>
>Publishing Engine could not be initialized.
>
>
>java.lang.RuntimeException: Exception when creating "
>org.apache.cocoon.processor.xsp.XSPProcessor" :
>java.lang.NoSuchMethodError: See
>http://xml.apache.org/cocoon/faqs.html#faq-normalize
> at java.lang.Throwable.fillInStackTrace(Native
>Method)
> at java.lang.Throwable.(Compiled Code)
>---

If you bothered to goto the webpage indicated, you would read:

I get a java.lang.NoSuchMethodError when running XSP. What's wrong?

This happens because Cocoon needs a DOM Level 2 implementation and you 
probably have a DOM Level 1 included in your classpath before xerces.jar.

So, place the xerces.jar archive that comes with Cocoon before all the 
other jar packages in your classpath.

Some servlet engines, such as Tomcat, construct a CLASSPATH automatically 
based on all the jar files in a lib directory. In this case, you may need 
to rename the jar file containing the DOM Level 1 (xml.jar or parser.jar) 
to something like zzz.jar to force it to come last, or even move it out of 
the lib directory altogether.

If even that doesn't work, also check that there is no XML parser in your 
JDK's lib/ext or jre/lib/ext directories. If there is, remove it.

  Unfortunately, some servlet engines require DOM Level 1 to be ahead of 
DOM Level 2 in the CLASSPATH - conflicting with Cocoon! There is no known 
workaround for this problem (but see the next question) - please let us 
know at [EMAIL PROTECTED] if you find one.


-pete

-- 
peter royal -> [EMAIL PROTECTED]
managing partners, inc. -> http://www.managingpartners.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]>




my dream come true...c2 on 32mb windowz pc

2001-08-30 Thread java guru

Finally.,
   I am able to run small c2 application with database
access on windowz 98, 32 mb ram with precompile and
subsidized sitemap:-)

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.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: How to avoid caching ?

2001-08-30 Thread Tim Nelson

Roman,

I had a similar problem with an XSL stylesheet which was retrieving XML
content through an extension function.  It ran great the first time but
never changed until I restarted cocoon.  I ended up creating a new
transformer which didn't implement org.apache.cocoon.caching.Cacheable and
now it works great.  I would be interested in how I could have configured
the exiting transformer to not cache however.

Tim

-Original Message-
From: Roman Kunert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 3:51 PM
To: cocoon
Subject: How to avoid caching ?


Hello,

I am sure that this must have been answered previously but I haven't found
anything in the archives...

I have a xsp-page which retrieves content from the database via esql, this
page gets transformed by an xsl-page to html. Changes to the xsl-page will
be applied with the next request whereas when I change the xsp-page nothing
happens until I restart the server. Is there a way to avoid this behaviour
and have the changes of the xsp-file applied with every request without
restarting?

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




cocoon error

2001-08-30 Thread George Geo

Please let me know why I am getting this error:

Thank you very much.


-

Publishing Engine could not be initialized.


java.lang.RuntimeException: Exception when creating "
org.apache.cocoon.processor.xsp.XSPProcessor" : 
java.lang.NoSuchMethodError: See
http://xml.apache.org/cocoon/faqs.html#faq-normalize
at java.lang.Throwable.fillInStackTrace(Native
Method)
at java.lang.Throwable.(Compiled Code)
---



__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.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: [c2] minimal subsitemap?

2001-08-30 Thread Sergio Carvalho


Try the sub/sitemap.xmap. It's small enough as a base to work on.


On 30 Aug 2001 21:42:32 +0200, Christoph Kliemt wrote:
From: Christoph Kliemt <[EMAIL PROTECTED]>
--

> Hi!
> 
>  Is there a sample out there for a *minimal* subsitemap?
> 
>  Hmm... im afraid my version is too minimal, it yields an empty
>  sitemap_xmap.java ;-)
> 
>  \\// christoph
> 
> -- 
> Real Programmers consider "what you see is what you get" to be just as
> bad a concept in Text Editors as it is in women. No, the Real
> Programmer wants a "you asked for it, you got it" text editor --
> complicated, cryptic, powerful, unforgiving, dangerous.
> 
> -
> 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]>




reg..i18n...

2001-08-30 Thread java guru

Hi.,
  Is internationalization in c2 just substituting or
more than that.. Sorry for putting the question that
way, 'coz i donno anything about i18n. Just started to
look into..
  And also is there a kinda editor tool for authering
such i18n xml docs?..

SOrry if this is off topic

Thanks


=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.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]>




How to avoid caching ?

2001-08-30 Thread Roman Kunert

Hello,

I am sure that this must have been answered previously but I haven't found
anything in the archives...

I have a xsp-page which retrieves content from the database via esql, this
page gets transformed by an xsl-page to html. Changes to the xsl-page will
be applied with the next request whereas when I change the xsp-page nothing
happens until I restart the server. Is there a way to avoid this behaviour
and have the changes of the xsp-file applied with every request without
restarting?

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




[c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt

Hi!

 Is there a sample out there for a *minimal* subsitemap?

 Hmm... im afraid my version is too minimal, it yields an empty
 sitemap_xmap.java ;-)

 \\// christoph

-- 
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real
Programmer wants a "you asked for it, you got it" text editor --
complicated, cryptic, powerful, unforgiving, dangerous.

-
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: numeric entities

2001-08-30 Thread David Loy

I'm currently using cocoon 1.8 running on tomcat 3.2.1.

The UTF-8 characters were imbedded in the source XML. I have replaced them 
with the numeric entity. Both give the same result - the named (character) 
entity appears in the generated HTML. As I understand the process, the HTML 
is generated as a final step and all non-displayable characters are 
converted to one form of entity or another in the HTML.

There may be a way to convert the special characters in the XML to an 
escaped  form that can be passed without conversion all the way through. I 
would like to avoid that if possible. I'm hoping there is some attribute of 
xsl:output or  a cocooon option that would allow the characters to be kept 
in the original form (UTF-8 or numeric entity) but only the output 
representation to HTML would be affected. I have a feeling there's 
something very obvious that I'm missing.
Thanks
David

At 02:39 PM 8/30/01 -0400, you wrote:
>At 11:19 AM 8/30/2001 -0700, you wrote:
>>Because netscape 4.x does not support several character entities (e.g. 
>>“), I would like to restrict the html output of my xslt scripts to 
>>only numeric entities when processing xml. Is there any method for doing 
>>this as an xslt or configuration parameter.
>
>What version of Cocoon are you using? Are you having trouble doing this 
>now? Are you using the named entities in your code currently? Did you try 
>switching to using the numeric ones in your code?
>-pete
>
>--
>peter royal -> [EMAIL PROTECTED]
>managing partners, inc. -> http://www.managingpartners.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: numeric entities

2001-08-30 Thread Peter Royal

At 11:19 AM 8/30/2001 -0700, you wrote:
>Because netscape 4.x does not support several character entities (e.g. 
>“), I would like to restrict the html output of my xslt scripts to 
>only numeric entities when processing xml. Is there any method for doing 
>this as an xslt or configuration parameter.

What version of Cocoon are you using? Are you having trouble doing this 
now? Are you using the named entities in your code currently? Did you try 
switching to using the numeric ones in your code?
-pete

-- 
peter royal -> [EMAIL PROTECTED]
managing partners, inc. -> http://www.managingpartners.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]>




numeric entities

2001-08-30 Thread David Loy

I am new to this list. Sorry if this has been covered before

Because netscape 4.x does not support several character entities (e.g. 
“), I would like to restrict the html output of my xslt scripts to 
only numeric entities when processing xml. Is there any method for doing 
this as an xslt or configuration parameter.

Any suggestion would be terrific.

Thanks
David Loy 


-
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: Tried just about everything

2001-08-30 Thread Matt Jezorek

Big thanks. everything is running now

http://www.bluelinux.org:8080/cocoon/

=)
- Original Message -
From: "Marcus Crafter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 9:14 AM
Subject: Re: Tried just about everything


> Hi Matt,
>
> I've just checked my installation. Cocoon 2.0 works out of the box
> with Tomcat 4.0b7, without need to modify the web.xml. The
> documentation needs to be clarified here.
>
> If you are still having problems, then please send in your cocoon.log
> and tomcat servlet log files so we can take a look at them to help
> diagnosis.
>
> Cheers,
>
> Marcus
>
> On Wed, 29 Aug 2001, Marcus Crafter wrote:
>
> > Hi Matt,
> >
> > Thanks for the pointer, with Tomcat 4.0b7 this was not needed for me,
> > Cocoon worked out of the box. I'll test this a bit further and clarify
> > the Cocoon documentation.
> >
> > Cheers,
> >
> > Marcus
> >
> > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> >
> > > Yes but it says in the cocoon instructions to add it to the
> > > cocoon/webapps/WEB-INF/web.xml
> > >
> > > Quote:
> > >
> > > "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon by
> > > default, so before you build the Apache Cocoon webapp you will need to
add
> > > the following to the Apache Cocoon servlet definition in the web.xml
file"
> > >
> > > so I did that I did exactly what it states on the install at
> > >
> > > http://xml.apache.org/cocoon2/install.html
> > >
> > >
> > > - Original Message -
> > > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 29, 2001 12:22 PM
> > > Subject: Re: Tried just about everything
> > >
> > >
> > > > Hi Matt,
> > > >
> > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > >
> > > > > edited the web.xml in the webapps/WEB-INF from the cvs checkout to
> > > include
> > > > > the path to the servlet.jar
> > > >
> > > > This shouldn't be necessary as tomcat comes with it's own
servlet.jar,
> > > > which is available to all webapps, putting your own one there can
only
> > > > cause problems.
> > > >
> > > > Hope that helps.
> > > >
> > > > Cheers,
> > > >
> > > > Marcus
> > > >
> > > > --
> > > > .
> > > >  ,,$,  Marcus Crafter
> > > > ;$'  ':Computer Systems Engineer
> > > > $: :   Open Software Associates GmbH
> > > >  $   o_)$$$:   82-84 Mainzer Landstrasse
> > > >  ;$,_/\ &&:'   60327 Frankfurt Germany
> > > >' /( &&&
> > > >\_' Email : [EMAIL PROTECTED]
> > > >   .Business Hours : +49 69 9757 200
> > > > &&&:
> > > >
> > > >
> > >
> -
> > > > 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]>
> > >
> > >
> >
> >
>
> --
> .
>  ,,$,  Marcus Crafter
> ;$'  ':Computer Systems Engineer
> $: :   Open Software Associates GmbH
>  $   o_)$$$:   82-84 Mainzer Landstrasse
>  ;$,_/\ &&:'   60327 Frankfurt Germany
>' /( &&&
>\_' Email : [EMAIL PROTECTED]
>   .Business Hours : +49 69 9757 200
> &&&:
>
>


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

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




Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Peter Nuetzel - inglobo

again:
add encoding parameter to your HTML Serializer definition in your sitemap
(in /map:sitemap/map:components/map:serializers)


   ISO-8859-1


if this doesn't work it might be a caching problem. If you use Tomcat
shutdown Tomact delete everything in the cocoon directory in your tomcat
work directory ($TOMCAT_HOME/work/localhost/cocoon) and restart Tomcat. If
this still does not work it might be a bug somewhere. Then please post a
description of your environment and a snippet of your sitemap (and perhaps
also the xml and xsl files - but better not to the list).

- peter

-Ursprüngliche Nachricht-
Von: Samuel ARNOD-PRIN <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>;
[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Donnerstag, 30. August 2001 18:25
Betreff: Re: [C2] Don't know how to use character encoding ?! Please HELP


>> Its working perfectly in my environment (Tomcat/latest Cocoon2). It also
>> worked with earlier versions of C2. Perhaps you have a caching/reloading
>> problem.
>>
>> In my HTML :
>> 
>
>I confirm too, I still have charset=UTF-8... did you do something
>particular for this ?
>
>how can I rid of this *** UTF-8 ???
>
>-
>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]>




problem running cocoon

2001-08-30 Thread G Crawshaw

when i try to access /localhost/cocoon I get the following exception:

org.apache.avalon.framework.configuration.ConfigurationException: Error trying 
to load configurations

description: Cocoon was not initialized.

anyone know why this is happening?

cheers, Georgina


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




java.net.UnknownHostException while running Cocoon

2001-08-30 Thread praveen lakshman

Hi 

I am running cocoon with tomact serer.
 Everything works fine But In the News Feeds form If i
click on any URL it is throwing this exception .

Kindly help me in this regard.
Is there any parsers built by Apache for News Feed .I
heard they will be using RSS spec's for thatr.
  If possible kindly provide me a solution.


Regards
 Praveen



   org.apache.cocoon.ResourceNotFoundException:
FileGenerator could not read
resource:java.net.UnknownHostException:
www.slashdot.org
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:217)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:361)
at
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN2F0(sitemap_xmap.java:4009)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2282)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2072)
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:489)

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.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: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Raphaël Goulais


On Thu, 30 Aug 2001, Samuel ARNOD-PRIN wrote:

> I confirm too, I still have charset=UTF-8... did you do something
> particular for this ?
>
> how can I rid of this *** UTF-8 ???

I put this on top of my xml files.



It works for me with Cocoon2-cvs

Hope this helps ...


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

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




Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Samuel ARNOD-PRIN

> Its working perfectly in my environment (Tomcat/latest Cocoon2). It also
> worked with earlier versions of C2. Perhaps you have a caching/reloading
> problem.
> 
> In my HTML :
> 

I confirm too, I still have charset=UTF-8... did you do something
particular for this ?

how can I rid of this *** UTF-8 ???

-
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: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN

Mario Muja a écrit :
> 
> I am currently using Windows 2000 Professional. I have checked it again.
> 124 MB used directly after a reboot and a new restart of my
> webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly
> increases the memory used. Would be interesting to hear from other
> Win2000 users about their memory usage.

Did you try to allow your JVM not to use more than 40 MB for example ??
You have to modify tomcat/bin/tomcat.bat and add an option : -Xmx40m
-Xms20m (max/min of RAM)

to the section
:startServer
near -Dtomcat.home= ...

-
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: Tried just about everything

2001-08-30 Thread Marcus Crafter

Hi Matt,

Have a look at xml-cocoon2/xdocs/faq.xml, line 600.

Hope that helps.

Cheers,

Marcus

On Thu, 30 Aug 2001, Matt Jezorek wrote:

> I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb
> rpm and had to get all of XFree86 stuff though but still Someone put in the
> mailling list the other day something to add to the startup script for Xvfb
> anyone remember it i cant find it in my mail now.
> 
> -Matt
> - Original Message -
> From: "Marcus Crafter" <[EMAIL PROTECTED]>
> To: "Matt Jezorek" <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 10:32 AM
> Subject: Re: Tried just about everything
> 
> 
> > Hi Matt,
> >
> > I've just looked in your cocoon.log file. The exception thrown just
> > after startup are expected if you don't have a database connection and
> > can be safely ignored.
> >
> > The exception at the bottom of the file
> > (http://dev.bluelinux.org/cocoon.log) is also a known issue. The svg
> > renderer needs an X11 server to work, that's why you're seeing this
> > error message.
> >
> > The fix is documented in the FAQ, basically you need to set the
> > DISPLAY variable to some X server location, or if that's not possible
> > install xvfb which is an off screen x server what runs in memory (good
> > for systems that do not have display hardware). Check the faq for
> > details.
> >
> > Apart from that it looks ok. After fixing the above problem, I would
> > be expecting it to work. Let me know how it goes.
> >
> > Cheers,
> >
> > Marcus
> >
> >
> >
> > On Thu, 30 Aug 2001, Matt Jezorek wrote:
> >
> > > I have uploaded my log files to
> > > http://dev.bluelinux.org
> > >
> > > there are to many to send to list i guess i dont like list attachments.
> > >
> > > -Matt
> > > - Original Message -
> > > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 30, 2001 9:14 AM
> > > Subject: Re: Tried just about everything
> > >
> > >
> > > > Hi Matt,
> > > >
> > > > I've just checked my installation. Cocoon 2.0 works out of the box
> > > > with Tomcat 4.0b7, without need to modify the web.xml. The
> > > > documentation needs to be clarified here.
> > > >
> > > > If you are still having problems, then please send in your cocoon.log
> > > > and tomcat servlet log files so we can take a look at them to help
> > > > diagnosis.
> > > >
> > > > Cheers,
> > > >
> > > > Marcus
> > > >
> > > > On Wed, 29 Aug 2001, Marcus Crafter wrote:
> > > >
> > > > > Hi Matt,
> > > > >
> > > > > Thanks for the pointer, with Tomcat 4.0b7 this was not needed for
> me,
> > > > > Cocoon worked out of the box. I'll test this a bit further and
> clarify
> > > > > the Cocoon documentation.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Marcus
> > > > >
> > > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > > >
> > > > > > Yes but it says in the cocoon instructions to add it to the
> > > > > > cocoon/webapps/WEB-INF/web.xml
> > > > > >
> > > > > > Quote:
> > > > > >
> > > > > > "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon
> by
> > > > > > default, so before you build the Apache Cocoon webapp you will
> need to
> > > add
> > > > > > the following to the Apache Cocoon servlet definition in the
> web.xml
> > > file"
> > > > > >
> > > > > > so I did that I did exactly what it states on the install at
> > > > > >
> > > > > > http://xml.apache.org/cocoon2/install.html
> > > > > >
> > > > > >
> > > > > > - Original Message -
> > > > > > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Wednesday, August 29, 2001 12:22 PM
> > > > > > Subject: Re: Tried just about everything
> > > > > >
> > > > > >
> > > > > > > Hi Matt,
> > > > > > >
> > > > > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > > > > >
> > > > > > > > edited the web.xml in the webapps/WEB-INF from the cvs
> checkout to
> > > > > > include
> > > > > > > > the path to the servlet.jar
> > > > > > >
> > > > > > > This shouldn't be necessary as tomcat comes with it's own
> > > servlet.jar,
> > > > > > > which is available to all webapps, putting your own one there
> can
> > > only
> > > > > > > cause problems.
> > > > > > >
> > > > > > > Hope that helps.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Marcus
> > > > > > >
> > > > > > > --
> > > > > > > .
> > > > > > >  ,,$,  Marcus Crafter
> > > > > > > ;$'  ':Computer Systems Engineer
> > > > > > > $: :   Open Software Associates GmbH
> > > > > > >  $   o_)$$$:   82-84 Mainzer Landstrasse
> > > > > > >  ;$,_/\ &&:'   60327 Frankfurt Germany
> > > > > > >' /( &&&
> > > > > > >\_' Email : [EMAIL PROTECTED]
> > > > > > >   .Business Hours : +49 69 9757 200
> > > > > > > &&&:
> > > > > > >
> > > > > > >
> > > > > >
> > > > -

Re: Tried just about everything

2001-08-30 Thread Matt Jezorek

I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb
rpm and had to get all of XFree86 stuff though but still Someone put in the
mailling list the other day something to add to the startup script for Xvfb
anyone remember it i cant find it in my mail now.

-Matt
- Original Message -
From: "Marcus Crafter" <[EMAIL PROTECTED]>
To: "Matt Jezorek" <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 10:32 AM
Subject: Re: Tried just about everything


> Hi Matt,
>
> I've just looked in your cocoon.log file. The exception thrown just
> after startup are expected if you don't have a database connection and
> can be safely ignored.
>
> The exception at the bottom of the file
> (http://dev.bluelinux.org/cocoon.log) is also a known issue. The svg
> renderer needs an X11 server to work, that's why you're seeing this
> error message.
>
> The fix is documented in the FAQ, basically you need to set the
> DISPLAY variable to some X server location, or if that's not possible
> install xvfb which is an off screen x server what runs in memory (good
> for systems that do not have display hardware). Check the faq for
> details.
>
> Apart from that it looks ok. After fixing the above problem, I would
> be expecting it to work. Let me know how it goes.
>
> Cheers,
>
> Marcus
>
>
>
> On Thu, 30 Aug 2001, Matt Jezorek wrote:
>
> > I have uploaded my log files to
> > http://dev.bluelinux.org
> >
> > there are to many to send to list i guess i dont like list attachments.
> >
> > -Matt
> > - Original Message -
> > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 30, 2001 9:14 AM
> > Subject: Re: Tried just about everything
> >
> >
> > > Hi Matt,
> > >
> > > I've just checked my installation. Cocoon 2.0 works out of the box
> > > with Tomcat 4.0b7, without need to modify the web.xml. The
> > > documentation needs to be clarified here.
> > >
> > > If you are still having problems, then please send in your cocoon.log
> > > and tomcat servlet log files so we can take a look at them to help
> > > diagnosis.
> > >
> > > Cheers,
> > >
> > > Marcus
> > >
> > > On Wed, 29 Aug 2001, Marcus Crafter wrote:
> > >
> > > > Hi Matt,
> > > >
> > > > Thanks for the pointer, with Tomcat 4.0b7 this was not needed for
me,
> > > > Cocoon worked out of the box. I'll test this a bit further and
clarify
> > > > the Cocoon documentation.
> > > >
> > > > Cheers,
> > > >
> > > > Marcus
> > > >
> > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > >
> > > > > Yes but it says in the cocoon instructions to add it to the
> > > > > cocoon/webapps/WEB-INF/web.xml
> > > > >
> > > > > Quote:
> > > > >
> > > > > "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon
by
> > > > > default, so before you build the Apache Cocoon webapp you will
need to
> > add
> > > > > the following to the Apache Cocoon servlet definition in the
web.xml
> > file"
> > > > >
> > > > > so I did that I did exactly what it states on the install at
> > > > >
> > > > > http://xml.apache.org/cocoon2/install.html
> > > > >
> > > > >
> > > > > - Original Message -
> > > > > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > > > > To: <[EMAIL PROTECTED]>
> > > > > Sent: Wednesday, August 29, 2001 12:22 PM
> > > > > Subject: Re: Tried just about everything
> > > > >
> > > > >
> > > > > > Hi Matt,
> > > > > >
> > > > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > > > >
> > > > > > > edited the web.xml in the webapps/WEB-INF from the cvs
checkout to
> > > > > include
> > > > > > > the path to the servlet.jar
> > > > > >
> > > > > > This shouldn't be necessary as tomcat comes with it's own
> > servlet.jar,
> > > > > > which is available to all webapps, putting your own one there
can
> > only
> > > > > > cause problems.
> > > > > >
> > > > > > Hope that helps.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > Marcus
> > > > > >
> > > > > > --
> > > > > > .
> > > > > >  ,,$,  Marcus Crafter
> > > > > > ;$'  ':Computer Systems Engineer
> > > > > > $: :   Open Software Associates GmbH
> > > > > >  $   o_)$$$:   82-84 Mainzer Landstrasse
> > > > > >  ;$,_/\ &&:'   60327 Frankfurt Germany
> > > > > >' /( &&&
> > > > > >\_' Email : [EMAIL PROTECTED]
> > > > > >   .Business Hours : +49 69 9757 200
> > > > > > &&&:
> > > > > >
> > > > > >
> > > > >
> > > -
> > > > > > 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 alre

Fw: Tried just about everything

2001-08-30 Thread Matt Jezorek


- Original Message -
From: "Matt Jezorek" <[EMAIL PROTECTED]>
To: "Marcus Crafter" <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 9:54 AM
Subject: Re: Tried just about everything


> I have uploaded my log files to
> http://dev.bluelinux.org
>
> there are to many to send to list i guess i dont like list attachments.
>
> -Matt
> - Original Message -
> From: "Marcus Crafter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 9:14 AM
> Subject: Re: Tried just about everything
>
>
> > Hi Matt,
> >
> > I've just checked my installation. Cocoon 2.0 works out of the box
> > with Tomcat 4.0b7, without need to modify the web.xml. The
> > documentation needs to be clarified here.
> >
> > If you are still having problems, then please send in your cocoon.log
> > and tomcat servlet log files so we can take a look at them to help
> > diagnosis.
> >
> > Cheers,
> >
> > Marcus
> >
> > On Wed, 29 Aug 2001, Marcus Crafter wrote:
> >
> > > Hi Matt,
> > >
> > > Thanks for the pointer, with Tomcat 4.0b7 this was not needed for me,
> > > Cocoon worked out of the box. I'll test this a bit further and clarify
> > > the Cocoon documentation.
> > >
> > > Cheers,
> > >
> > > Marcus
> > >
> > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > >
> > > > Yes but it says in the cocoon instructions to add it to the
> > > > cocoon/webapps/WEB-INF/web.xml
> > > >
> > > > Quote:
> > > >
> > > > "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon by
> > > > default, so before you build the Apache Cocoon webapp you will need
to
> add
> > > > the following to the Apache Cocoon servlet definition in the web.xml
> file"
> > > >
> > > > so I did that I did exactly what it states on the install at
> > > >
> > > > http://xml.apache.org/cocoon2/install.html
> > > >
> > > >
> > > > - Original Message -
> > > > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, August 29, 2001 12:22 PM
> > > > Subject: Re: Tried just about everything
> > > >
> > > >
> > > > > Hi Matt,
> > > > >
> > > > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > > > >
> > > > > > edited the web.xml in the webapps/WEB-INF from the cvs checkout
to
> > > > include
> > > > > > the path to the servlet.jar
> > > > >
> > > > > This shouldn't be necessary as tomcat comes with it's own
> servlet.jar,
> > > > > which is available to all webapps, putting your own one there can
> only
> > > > > cause problems.
> > > > >
> > > > > Hope that helps.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Marcus
> > > > >
> > > > > --
> > > > > .
> > > > >  ,,$,  Marcus Crafter
> > > > > ;$'  ':Computer Systems Engineer
> > > > > $: :   Open Software Associates GmbH
> > > > >  $   o_)$$$:   82-84 Mainzer Landstrasse
> > > > >  ;$,_/\ &&:'   60327 Frankfurt Germany
> > > > >' /( &&&
> > > > >\_' Email : [EMAIL PROTECTED]
> > > > >   .Business Hours : +49 69 9757 200
> > > > > &&&:
> > > > >
> > > > >
> > > >
> > -
> > > > > 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]>
> > > >
> > > >
> > >
> > >
> >
> > --
> > .
> >  ,,$,  Marcus Crafter
> > ;$'  ':Computer Systems Engineer
> > $: :   Open Software Associates GmbH
> >  $   o_)$$$:   82-84 Mainzer Landstrasse
> >  ;$,_/\ &&:'   60327 Frankfurt Germany
> >' /( &&&
> >\_' Email : [EMAIL PROTECTED]
> >   .Business Hours : +49 69 9757 200
> > &&&:
> >
> >
>


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




C2 - Developer Snapshot - 2.0 or 2.1 ???

2001-08-30 Thread Mario Muja

Hi,
which version do I get, when I download from the section "Dev Snapshot" 
on the C2 homepage?

2.0 or 2.1?

Kind Regards,
Mario


-
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: Does CAPTURE.XSL work with C2 Beta 2 ???

2001-08-30 Thread Sylvain Wallez

Mario Muja wrote:

> Hi,
> the latest developer snapshot contains a logicsheet called capture.xsl 
> that can be used to store a stream of SAX events to an XMLFragment 
> variable. I would like to use this to store the results of an ESQL 
> call to a static variable for later usage.
>
> Does this logicsheet work with C2 Beta 2? I ask this because I could 
> not find capture.xsl in the latest distribution. It is only contained 
> in the latest developer snapshot.
>
> Regards, Mario
>
The capture logicsheet is now in the 2.0 branch (up to now, it was only 
in 2.1). There's a use sample in webapp/docs/samples/xsp/simple.xsp

To use it with a 2.0b2 distrib, you can manually add it in the source 
tree as follows. Copy the files :
- org/apache/cocoon/components/sax/XMLByteStreamFragment.java
- org/apache/cocoon/components/language/markup/xsp/java/capture.xsl
- org/apache/cocoon/components/language/markup/xsp/java/logicsheet-util.xsl

Add the logicsheet declaration in cocoon.xconf and then rebuild.

Sylvain.

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.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: Tried just about everything

2001-08-30 Thread Marcus Crafter

Hi Matt,

I've just checked my installation. Cocoon 2.0 works out of the box
with Tomcat 4.0b7, without need to modify the web.xml. The
documentation needs to be clarified here.

If you are still having problems, then please send in your cocoon.log
and tomcat servlet log files so we can take a look at them to help
diagnosis.

Cheers,

Marcus

On Wed, 29 Aug 2001, Marcus Crafter wrote:

> Hi Matt,
> 
>   Thanks for the pointer, with Tomcat 4.0b7 this was not needed for me,
>   Cocoon worked out of the box. I'll test this a bit further and clarify
>   the Cocoon documentation.
> 
>   Cheers,
> 
>   Marcus
> 
> On Wed, 29 Aug 2001, Matt Jezorek wrote:
> 
> > Yes but it says in the cocoon instructions to add it to the
> > cocoon/webapps/WEB-INF/web.xml
> > 
> > Quote:
> > 
> > "Tomcat 4.0 does not expose the servlet.jar file to Apache Cocoon by
> > default, so before you build the Apache Cocoon webapp you will need to add
> > the following to the Apache Cocoon servlet definition in the web.xml file"
> > 
> > so I did that I did exactly what it states on the install at
> > 
> > http://xml.apache.org/cocoon2/install.html
> > 
> > 
> > - Original Message -
> > From: "Marcus Crafter" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 29, 2001 12:22 PM
> > Subject: Re: Tried just about everything
> > 
> > 
> > > Hi Matt,
> > >
> > > On Wed, 29 Aug 2001, Matt Jezorek wrote:
> > >
> > > > edited the web.xml in the webapps/WEB-INF from the cvs checkout to
> > include
> > > > the path to the servlet.jar
> > >
> > > This shouldn't be necessary as tomcat comes with it's own servlet.jar,
> > > which is available to all webapps, putting your own one there can only
> > > cause problems.
> > >
> > > Hope that helps.
> > >
> > > Cheers,
> > >
> > > Marcus
> > >
> > > --
> > > .
> > >  ,,$,  Marcus Crafter
> > > ;$'  ':Computer Systems Engineer
> > > $: :   Open Software Associates GmbH
> > >  $   o_)$$$:   82-84 Mainzer Landstrasse
> > >  ;$,_/\ &&:'   60327 Frankfurt Germany
> > >' /( &&&
> > >\_' Email : [EMAIL PROTECTED]
> > >   .Business Hours : +49 69 9757 200
> > > &&&:
> > >
> > >
> > > -
> > > 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]>
> > 
> > 
> 
> 

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
&&&:


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

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




Re: C2 slow?

2001-08-30 Thread Berin Loritsch

Bernie Lee wrote:
> 
> hi
> 
> i was just wondering (newbie question). C2 seems slow loading a page. on my
> p2-500, 192MB RAM, running w2kpro, T4b7 and C2b2, it takes about 3 secs to
> load dynamic content. i'd imagine from the net, it might take 4-5 secs.
> doesnt that seem a tad slow?

Assuming the page isn't measured in megabytes or hundreds of killobytes, I would
say that is extremely slow.  Are you using the stock samples shipped with Cocoon 2?
Also, is this on the first access only (i.e. all other requests for the same
page are fast)?

Keep in mind that Cocoon has to compile its Sitemap and its XSP pages the first
time they are accessed--which can account for up to half a minute on the first
access.  The rest of your accesses should be ~70-100 ms or less.

-
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: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja

I am currently using Windows 2000 Professional. I have checked it again. 
124 MB used directly after a reboot and a new restart of my 
webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly 
increases the memory used. Would be interesting to hear from other 
Win2000 users about their memory usage.

Your counts seem to be a good argument to develop under Linux. 
Unfortunately, my customers have M$ as their company standard and do not 
allow me to install other OSs.

Mario

Samuel ARNOD-PRIN wrote:

>Mario Muja a écrit :
>
>>On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat
>>and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less.
>>
>
>windows / linux ??
>I can launch successfully tomcat/cocoon on a 20-30 MB JVM... so 64
>should be enough, no ?
>
>-
>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: C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Derek Hohls



I made changes, restarted Apache/Tomcat and now have :
 
processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMMprocessor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driverprocessor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriverprocessor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.idbDriverprocessor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driverprocessor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriverprocessor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriverprocessor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver
 
and the error has changed to:
 
java.lang.RuntimeException: 
Error opening pooled connection: indicators: 
No suitable driver(I also tried DBMySQL with out 
success...)
 
>>> [EMAIL PROTECTED] 30/08/2001 01:44:47 >>>You need 
to add a line in your cocoon.properties file. Check this and compare with 
your cocoon.properties file# These are the supported jdbc-drivers 
and their adaptors.# These properties are used by the 
DBFactory.processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMMprocessor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driverprocessor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriverprocessor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.idbDriverprocessor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driverprocessor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriverprocessor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriverprocessor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver> 
When I try to use connection pooling rather than "in page" logic, I > get 
an error.>>  >> I 
had:>>   
org.gjt.mm.mysql.Driver>   
DBName>   
DBUser>   
DBPass>> 
which worked fine...>>  >> and now have changed 
to:>>  >> 
mydb>>  >> 
where mydb is specified in the cocoon.properties file as:>>  
>> 
processor.xsp.pool.database.mydb.driver=org.gjt.mm.mysql.Driver> 
processor.xsp.pool.database.mydb.url=jdbc:mysql:localhost/mydb> 
processor.xsp.pool.database.mydb.username=user> 
processor.xsp.pool.database.mydb.password=pass> 
processor.xsp.pool.database.mydb.maxConnections=10> 
processor.xsp.pool.database.mydb.expiryTime=360>>  
>> The error I get is :>>  >> 
java.lang.RuntimeException:>> Error opening pooled connection: 
mydb:>> Database type org.gjt.mm.mysql.Driver not 
implemented.>> What do I need to do??>>  
>> Thanks>> 
Derek>-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]>


Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN

Mario Muja a écrit :
> 
> On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat
> and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less.

windows / linux ??
I can launch successfully tomcat/cocoon on a 20-30 MB JVM... so 64
should be enough, no ?

-
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: C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Sébastien Lefebvre

You need to add a line in your cocoon.properties file. Check this and 
compare with your cocoon.properties file


# These are the supported jdbc-drivers and their adaptors.
# These properties are used by the DBFactory.
processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMM
processor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver
processor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
processor.xsp.pool.database.adaptor.DBInstantDB=org.enhydra.instantdb.jdbc.idbDriver
processor.xsp.pool.database.adaptor.DBPostgres=postgresql.Driver
processor.xsp.pool.database.adaptor.DBInformix=com.informix.jdbc.IfxDriver
processor.xsp.pool.database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
processor.xsp.pool.database.adaptor.DBMM=org.gjt.mm.mysql.Driver

> When I try to use connection pooling rather than "in page" logic, I 
> get an error.
>
>  
>
> I had:
>
>   org.gjt.mm.mysql.Driver
>   DBName
>   DBUser
>   DBPass
>
> which worked fine...
>
>  
>
> and now have changed to:
>
>  
>
> mydb
>
>  
>
> where mydb is specified in the cocoon.properties file as:
>
>  
>
> processor.xsp.pool.database.mydb.driver=org.gjt.mm.mysql.Driver
> processor.xsp.pool.database.mydb.url=jdbc:mysql:localhost/mydb
> processor.xsp.pool.database.mydb.username=user
> processor.xsp.pool.database.mydb.password=pass
> processor.xsp.pool.database.mydb.maxConnections=10
> processor.xsp.pool.database.mydb.expiryTime=360
>
>  
>
> The error I get is :
>
>  
>
> java.lang.RuntimeException:
>
> Error opening pooled connection: mydb:
>
> Database type org.gjt.mm.mysql.Driver not implemented.
>
> What do I need to do??
>
>  
>
> Thanks
>
> Derek
>




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




C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Derek Hohls



When I try to use connection pooling rather than "in page" logic, I get an 
error.
 
I had:
  
org.gjt.mm.mysql.Driver  
DBName  
DBUser  
DBPass
which worked fine...
 
and now have changed to:
 
mydb
 
where mydb is specified in the cocoon.properties file as:
 
processor.xsp.pool.database.mydb.driver=org.gjt.mm.mysql.Driverprocessor.xsp.pool.database.mydb.url=jdbc:mysql:localhost/mydbprocessor.xsp.pool.database.mydb.username=userprocessor.xsp.pool.database.mydb.password=passprocessor.xsp.pool.database.mydb.maxConnections=10processor.xsp.pool.database.mydb.expiryTime=360
 
The error I get is :
 
java.lang.RuntimeException: 
Error opening pooled connection: mydb: 
Database type org.gjt.mm.mysql.Driver not implemented.
What do I need to do??
 
Thanks
Derek


Re: C2: ESQL how to encode NOW() function

2001-08-30 Thread Sébastien Lefebvre

My XSP pages work fine with the following stynax (I also use MySQL)

INSERT INTO TOTO VALUES ('','Hello',now())
You don't need the  tag

Sébastien

>Hi All,
>
>Can somebody tell me the correct way to encode the names of SQL functions in
>queries?
>
>I'm trying to set a DATETIME column to the current time by passing the
>function NOW() but the value is always ends up set to null.
>
>I've tried:
>
>NOW()
>"NOW()"
>"NOW()"
>
>The insert statement works fine when I use the MySQL client.
>
>Any ideas?
>
>--
>



-
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: Requesting multiple selection lists

2001-08-30 Thread Andrei Bejenaru

Ok, look, this is what i get in the log:

REMOTE HOST: localhost
REMOTE ADDRESS: 127.0.0.1
REMOTE USER: null
REQUEST SESSION ID: null
REQUEST PREFERRED LOCALE: en_US
SERVER HOST: localhost
SERVER PORT: 8080

METHOD: POST
CONTENT LENGTH: 303
PROTOCOL: HTTP/1.1
SCHEME: http
AUTH TYPE: null

REQUEST PARAMETERS:

PARAM: 'company' VALUE: 'Interakt'
PARAM: 'country' VALUE: '2'
PARAM: 'month' VALUE: '3'
PARAM: 'year' VALUE: '2000'
PARAM: 'selectC2' VALUE: '8'
PARAM: 'selectC1' VALUE: '2'
PARAM: 'type' VALUE: '1'
PARAM: 'checkcurrent' VALUE: '1'
PARAM: 'selectB2' VALUE: '6'
PARAM: 'selectB1' VALUE: '2'

It also should contain a field for my list, doesn't it?
something like PARAM: 'listC' ...
and, assuming that the values are passed, how can i get them in the form
processing xsp ?
maybe with request.getParameterValues("listC") ??

> Hi Andrei,
>
> Its hard to diagnose the problem without an example from your code :)
>
> This works for me by selecting the values from 1 column in the table and
> putting them into a combo box:
>
> ...
> 
>
> 
> 
> 
>
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
>
> 
> 
> 
>
> 
> ...
>
> Hope this helps,
>
> Best Regards,
>
> Chris
>
> > -Original Message-
> > From: Andrei Bejenaru [mailto:[EMAIL PROTECTED]]
> > Sent: 30 August 2001 10:35
> > To: [EMAIL PROTECTED]
> > Subject: Requesting multiple selection lists
> >
> >
> > I got a form with 3 selection lists which are dynamicaclly filled from a
> > bunch of selects and some other lists.
> > On submit (method is POST) all other input elements are send correctly
to
> > the action xsp; my 3 lists don't appear
> > between the request parameters in the log, nor I can apply a
> > getParameter or
> > getParameterValues method on them.
> >
> > Any ideeas ?
> >
> >
> > -
> > 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]>




C2: ESQL how to encode NOW() function

2001-08-30 Thread Chris Newland

Hi All,

Can somebody tell me the correct way to encode the names of SQL functions in
queries?

I'm trying to set a DATETIME column to the current time by passing the
function NOW() but the value is always ends up set to null.

I've tried:

NOW()
"NOW()"
"NOW()"

The insert statement works fine when I use the MySQL client.

Any ideas?

--
Chris Newland
Software Research Engineer

Emorphia Ltd
Registered in England.  4133002
Mill House, Station Approach, Harlow Mill, Harlow, Essex, CM20 2EL, UK

Email: [EMAIL PROTECTED]
Tel: +44 (0)1279 450100
Fax: +44 (0)1279 450102

Check out FIPA-OS at http://fipa-os.sourceforge.net/

This message may contain information proprietary to Emorphia so any
unauthorised disclosure, copying or distribution of its contents is strictly
prohibited.



-
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: Requesting multiple selection lists

2001-08-30 Thread Mario Muja

Hi,
I agree with Chris, that some code examples would be helpful.

 From Andrei's description I think, that the problem is not the XSP code 
used to generate the HTML form but the fact that the list content does 
not arrive at the server when the form data is submitted (though all 
other data from the form arrives as request parameters).

Regards, Mario


Chris Newland wrote:

>Hi Andrei,
>
>Its hard to diagnose the problem without an example from your code :)
>
>This works for me by selecting the values from 1 column in the table and
>putting them into a combo box:
>
>..
>
>
>
>   
>
>
>
>
>
>   
>   
>   
>   
>   
>
>   
>
>
>
>
>
>
>..
>
>Hope this helps,
>
>Best Regards,
>
>Chris
>
>>-Original Message-
>>From: Andrei Bejenaru [mailto:[EMAIL PROTECTED]]
>>Sent: 30 August 2001 10:35
>>To: [EMAIL PROTECTED]
>>Subject: Requesting multiple selection lists
>>
>>
>>I got a form with 3 selection lists which are dynamicaclly filled from a
>>bunch of selects and some other lists.
>>On submit (method is POST) all other input elements are send correctly to
>>the action xsp; my 3 lists don't appear
>>between the request parameters in the log, nor I can apply a
>>getParameter or
>>getParameterValues method on them.
>>
>>Any ideeas ?
>>
>>
>>-
>>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: Requesting multiple selection lists

2001-08-30 Thread Chris Newland

Hi Andrei,

Its hard to diagnose the problem without an example from your code :)

This works for me by selecting the values from 1 column in the table and
putting them into a combo box:

...






















...

Hope this helps,

Best Regards,

Chris

> -Original Message-
> From: Andrei Bejenaru [mailto:[EMAIL PROTECTED]]
> Sent: 30 August 2001 10:35
> To: [EMAIL PROTECTED]
> Subject: Requesting multiple selection lists
>
>
> I got a form with 3 selection lists which are dynamicaclly filled from a
> bunch of selects and some other lists.
> On submit (method is POST) all other input elements are send correctly to
> the action xsp; my 3 lists don't appear
> between the request parameters in the log, nor I can apply a
> getParameter or
> getParameterValues method on them.
>
> Any ideeas ?
>
>
> -
> 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]>




how to bind servlets with xsl?

2001-08-30 Thread jose . camacho


 I have a servlet which transform my biz logic to a xml. It goes to
cocoon, and it assigns a xsl to my xml. But i want that this xsl to include
others xsl ( include directive ). How can i redirect to get this new file.?
 i.e  /xsl/myXsl1.xsl
  /xsl/myXsl2.xsl etc.
 thanx


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




Requesting multiple selection lists

2001-08-30 Thread Andrei Bejenaru

I got a form with 3 selection lists which are dynamicaclly filled from a
bunch of selects and some other lists.
On submit (method is POST) all other input elements are send correctly to
the action xsp; my 3 lists don't appear
between the request parameters in the log, nor I can apply a getParameter or
getParameterValues method on them.

Any ideeas ?


-
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: Database driver help

2001-08-30 Thread Christoph Kliemt

->"A" == Andrei Bejenaru <[EMAIL PROTECTED]> writes:

 A>  Hi, I'm trying to use the JDBC Postgres driver instead of the
 A>  standard ODBC in C2.  What should I do to get it working ?

 Thats what i did:
 - added /opt/postgresql/share/java/postgresql.jar to CLASSPATH
 - added 

  load-class
  
org.postgresql.Driver
  

to web.xml

 Dont forget to create a jdbc-dbconnection!

 Hint : On my box it did not work with an empty password; supply a
 dummy if it does not work...

 hth

 \\// christoph

-
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: Database driver help

2001-08-30 Thread Andrei Bejenaru

It worked out,
Thanx.

> > I'm trying to  use the JDBC Postgres driver  instead of the standard
> > ODBC in C2.
> > What should I do to get it working ?
> 
> Just put the postgresql.jar  (for Postgresql 7.x), jdbc6.5-xx.jar (for
> Postgresql 6.5) in /WEB-INF/lib, edit /WEB-INF/web.xml
> and /cocoon.xconf. It should be enough. 
> 
> NOTE: For posgresql.jar, the class is org.postgresql.Driver; for older
> psql driver, it 's different (postgresql.Driver) I think.
> 
> --Arnaud
> 
> -
> 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: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais


On Thu, 30 Aug 2001, G Crawshaw wrote:

> Thanks for your help - but this still does not seem to work.

Could you try to fetch the cocoon2 cvs version, and see if you get the
same problems. If this is not the case, try to see the differences between
the cvs and tar versions of ant and antRun ...

I don't know if the files are differents ... if they *seem* to be the
same, and the installation with the cvs versions went well, try to replace
the tar version of those two files with the cvs version and see what
happens.

Hope this will help ...



-
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: Database driver help

2001-08-30 Thread Arnaud Vandyck

Date: Thu, 30 Aug 2001 11:21:02 +0300
From: "Andrei Bejenaru" <[EMAIL PROTECTED]>

> I'm trying to  use the JDBC Postgres driver  instead of the standard
> ODBC in C2.
> What should I do to get it working ?

Just put the postgresql.jar  (for Postgresql 7.x), jdbc6.5-xx.jar (for
Postgresql 6.5) in /WEB-INF/lib, edit /WEB-INF/web.xml
and /cocoon.xconf. It should be enough. 

NOTE: For posgresql.jar, the class is org.postgresql.Driver; for older
psql driver, it 's different (postgresql.Driver) I think.

--Arnaud

-
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: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais


On Wed, 29 Aug 2001, G Crawshaw wrote:

> When I attempt to execute the following:
>
> >./build.sh  -Dinclude.webapp.libs=yes webapp
>
> I get this error message
>
> >./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier

bin/ant and bin/antRun are in DOS format. You have do correct those files
before.

The problem is due to the end of lines. Try to use some dos2unix program
to correct this.


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




Database driver help

2001-08-30 Thread Andrei Bejenaru

Hi,

I'm trying to use the JDBC Postgres driver instead of the standard ODBC in
C2.
What should I do to get it working ?


-
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: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja

On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat 
and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less.

Mario


Samuel ARNOD-PRIN wrote:

>what do you think of such a configuration ?
>
>for a small web site.
>
>thank you
>
>-
>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: Separation of Logic and Content

2001-08-30 Thread Mario Muja

Hi Beat,
sorry for interrupting your discussion with Arnaud. What type of logic 
would you like to put into logic.xsl?

Is it logic used to generate content (then an XSP page or a logicsheet 
is probably the best place for it)?
Is it logic used to build the presentation layer (then the XSLT sheet is 
probably best suited)?
Or is it logic used to validate user input (then you could use the form 
validation features of C2 or again put this logic into an XSP)?

The sitemap provides good examples of what is possible in processing 
pipelines.

Regards, Mario


Beat De Martin wrote:

> Hello Arnaud
>
> I like to have three files content.xml, logic.xsl and style.xsl. But I 
> don't know how to process them ?
>
> Cheers
>
> Beat
>
> >From: Arnaud Vandyck >Reply-To: [EMAIL PROTECTED] >To: 
> [EMAIL PROTECTED] >Subject: Re: Separation of Logic and 
> Content >Date: Wed, 29 Aug 2001 16:51:55 +0200 (CEST) > >Date: Wed, 29 
> Aug 2001 14:14:39 >From: "Beat De Martin" > > > # # ## # # ### 
> # # # > > ## # # # # # # ## ## # > > # # # # # # # # # # # # # > > # # 
> # # # ### # # # # # > > # # # # # # # # # # # > > # ## # # # # # # 
> # # > > # # ## # # # # # ### > > > > > > > If I want to 
> separate logic (XSL) and content (XML) how will the > > sitemap look 
> like ? > > > > > > > >or maybe it's still the logicsheet question? >or 
> maybe you want to parse multiple xml files with the same >stylesheet? 
> > > > > > > > > > > > I know I could handle the logicsheet like a 
> taglib and make a new > > entry in the cocoon.xconf. Is there another 
> way ? > >I don't think so ;) > >--Arnaud > 
> >- 
> >Please check that your question has not already been answered in the 
> >FAQ before posting. > >To unsubscribe, e-mail: >For additional 
> commands, e-mail: >
>
>
> 
> 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: Separation of Logic and Content

2001-08-30 Thread Beat De Martin

Hello Liam
I'm using Cocoon2. I don't see where your logicsheet (XSL) is ?
It's like the greeting3 sample from the Cocoon2 homepage.
Cheers
BeatHello Lia, 

>From: "Liam MacQuarrie Morley" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: <[EMAIL PROTECTED]>
>Subject: Re: Separation of Logic and Content 
>Date: Wed, 29 Aug 2001 18:09:02 -0400 
> 
>It would be nice if you were to mention whether you are using Cocoon 1 or 
>Cocoon 2, as I'm not sure if there are differences. The following is what I 
>do for Cocoon 2 to seperate the XSL from the XML in the stylesheet (which is 
>fairly common in the examples): 
> 
> 
> 
> 
> 
> 
> 
> 
>As you can see, the generate src specifies the XML, and the transform type 
>specifies the XSL, both in the stylesheet. 
> 
>Liam Morley 
> 
>- Original Message - 
>From: Beat De Martin 
>To: [EMAIL PROTECTED] 
>Sent: Wednesday, August 29, 2001 2:14 PM 
>Subject: Separation of Logic and Content 
> 
> 
> 
>Hello 
>If I want to separate logic (XSL) and content (XML) how will the sitemap 
>look like ? 
>I know I could handle the logicsheet like a taglib and make a new entry in 
>the cocoon.xconf. Is there another way ? 
>Thanks 
>Beat 
> 
> 
> 
> 
> 
>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]>



How about releasing 1.8.3?! (was: How to use Jfor with Cocoon 1.8.2 ?)

2001-08-30 Thread Drasko Kokic

Hi there,

I was wondering if there is a possibility to release
the 1.8.3 code from development!?

I still need to work with C1 but need the newer
releases of Xalan, Xerces, FOP, etc.

Which steps needs to be done?

TIA
Drasko

OT: Would anybody know how to use the XPathAPI class? 
I need to select values from within my java code in
XSP.  

--- Sébastien Lefebvre <[EMAIL PROTECTED]> wrote:
> Hi,
> I'd like to use jfor in order to produce RTF file
> format.
> The last version of jfor runs on FOP 0.19.
> Cocoon 1.8.2 comes with Fop 0.15
> 
> FOP 0.19 also runs with newer version of Xerces and
> Xalan.
> 
> What do I have to do in order to upgrade the FO
> processing part of 
> Cocoon 1.8.2?
> 
> Thanks
> 
> Sébastien
> 
> 
> 
> 
>
-
> 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]>
> 


__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.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]>