Re: config memory with multiple cocoon instances one one machine

2002-05-15 Thread Giuseppe Di Pierri

Hi guys,

I'm a collegue of Patrick.

Thanks for your answer Stephan.

Our actual configuration is:

in catalina.sh:

  CATALINA_OPTS=-Xms100m -Xmx450m

(we will also try the combination that you suggest, Stephan)

in each of the three cocoon instances under tomcat, the files cocoon.xconf
contains:

  store-janitor class=org.apache.cocoon.components.store.StoreJanitorImpl
logger=core.store.janitor
 !-- How much free memory shall be available in the jvm --
 parameter name=freememory value=2000/
 !-- Indicates the limit of the jvm memory consumption. The default max
 heapsize for Sun's JVM is 64Mb --
 parameter name=heapsize value=43000/
 !-- How often shall the cleanup thread check memory --
 parameter name=cleanupthreadinterval value=10/
 !-- Indicates the thread priority of the cleanup thread --
 parameter name=threadpriority value=5/
 !-- How much percent of the elements of each registered Store shall
 be removed when low on memory. Default 10% --
 parameter name=percent_to_free value=10/
  /store-janitor

The error that we get is neither an outofmemory nor an exception, the jvm just
stops working. Then the user gets an Proxy error message (something like page
not reachable).

When you stop the process of tomcat and then start it again, every goes fine
till the next time.

I don't think this kind of problem is a bug in the code (but I want to
investigate further on it :)

Do you have some ideas?

Do we have to create a single instance of cocoon under tomcat and separate it
on more then one machine?

Does the sum of the parameter values (freememory, heapsize and so on) of the
three instances must be less then the values in the catalina.sh?

Thank you very much for you help guys.

Regards,

pino
- Original Message -
From: Stephan Michels [EMAIL PROTECTED]
To: cocoon-users [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 11:33 PM
Subject: Re: config memory with multiple cocoon instances one one machine




 On Tue, 14 May 2002, Patrick Husi wrote:

  Hi
 
  We're working with Solaris 8 with 640Mb Memory, tomcat 4.01 and cocoon
2.0.2
  and have three instances of cocoon running on it.
 
  Unfortunately after working with cocoon java hangs up and nothing works
  anymore. We have to restart cocoon.

 OutOfMemoryException? Or an other exception in the logs?

  How should we configure the Xms, Xmx, freememory and heapsize settings to
  have no more crashes.

 You could try

 export CATALINA_OPTS='-Xmx300m -Xms200m'

 but I think your problem aren't the memory settings.


 -
 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: xsp-session ns calls element creation funcs?

2002-05-15 Thread Bert Van Kets

Hi,
I had the same problem with esql in a Dynamic XSLT using XSP.  There was no 
solution found or given, so I made a workaround and skipped the logic sheet 
and did everything straight in Java.
I too find the behavior very strange and would rather see this solved.  It 
would open a lot of possibilities in XSP.
Bert

At 19:20 14/05/2002 -0500, you wrote:
  C2 doesn't seem to be behaving as expected...my code looks just like
the
  examples. Any ideas? I'm sure it's something obvious.
 
  Okay, so apparently this:
 
String userID = xsp-session:get-attribute name=malin-uid/;
 
  Generates into this (and, obviously, generates some errors):
 
  String userID =
  xspAttr.addAttribute(
,
name,
name,
CDATA,
malin-uid
  );
 
 
  this.contentHandler.startElement(
http://apache.org/session/2.0;,
get-attribute,
xsp-session:get-attribute,
xspAttr
  );
  xspAttr.clear();
 
 
 
  this.contentHandler.endElement(
http://apache.org/session/2.0;,
get-attribute,
xsp-session:get-attribute
  );
 
  ;
 
  TIA,
  Zack


-
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: Error Handling

2002-05-15 Thread Michael Zehrer

And what about errors outside of map:pipeline/?

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 14. Mai 2002 16:26
An: [EMAIL PROTECTED]
Betreff: RE: Error Handling


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi List,
 
 how can one have a global static error-page in C2, I need this for a
 production system.

Put in every map:pipeline/:

map:handle-errors
  map:transform src=stylesheets/error2static-html-page.xsl/
  map:serialize status-code=500/
/map:handle-errors
  /map:pipeline

And develop error2static-html-page.xsl.


Vadim


 
 Cheers, Michael
 


-
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: config memory with multiple cocoon instances one one machine

2002-05-15 Thread Stephan Michels



On Wed, 15 May 2002, Giuseppe Di Pierri wrote:

 in each of the three cocoon instances under tomcat, the files cocoon.xconf
 contains:

   store-janitor class=org.apache.cocoon.components.store.StoreJanitorImpl
 logger=core.store.janitor
  !-- How much free memory shall be available in the jvm --
  parameter name=freememory value=2000/
  !-- Indicates the limit of the jvm memory consumption. The default max
  heapsize for Sun's JVM is 64Mb --
  parameter name=heapsize value=43000/
  !-- How often shall the cleanup thread check memory --
  parameter name=cleanupthreadinterval value=10/
  !-- Indicates the thread priority of the cleanup thread --
  parameter name=threadpriority value=5/
  !-- How much percent of the elements of each registered Store shall
  be removed when low on memory. Default 10% --
  parameter name=percent_to_free value=10/
   /store-janitor

 The error that we get is neither an outofmemory nor an exception, the jvm just
 stops working. Then the user gets an Proxy error message (something like page
 not reachable).

 When you stop the process of tomcat and then start it again, every goes fine
 till the next time.

 I don't think this kind of problem is a bug in the code (but I want to
 investigate further on it :)

 Do you have some ideas?

 Do we have to create a single instance of cocoon under tomcat and separate it
 on more then one machine?

 Does the sum of the parameter values (freememory, heapsize and so on) of the
 three instances must be less then the values in the catalina.sh?

Yes, I think they must.

Have you probe a profiler to find the lock? No? Then my favorite is
http://www.ej-technologies.com/jprofiler/overview.html. But I havn't
yet startet the whole engine under jprofiler.

Stephan Michels.


-
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: xsl:apply-templates bug?

2002-05-15 Thread Mike Dewar

If you select just the column nodes then they are indeeed in positions
1 to 4.  However if you select all nodes then your header is in
position 1, and your columns in 2-5.

Mike.

On Tue, May 14, 2002 at 08:47:57PM +0200, J.Pietschmann wrote:
 Spectron International, Inc. wrote:
  I have noticed something with xsl:apply-templates I don't know if it is a
  bug but it seems to me that it shouldn't work that way. I have the following
  xml:
  
  header
column
column
column
column
  /header
 ...
  xsl:template match=column
xsl:value-of select=position()/
  /xsl
  
  If I use xsl:apply-templates select=column/ it will return the expected
  numbers (1,2,3,4) if I only use xsl:apply-templates/ it returns (2,3,4,5).
  Why is that?
 
 This is an XSLT question which should better have asked on the
 XSL list.
 As for the problem itself: the behaviour is probably correct.
 When using xsl:apply-templates/, templates are applied to all
 child nodes, including text nodes which consist of whitespace
 only (usually to format the source XML) and comments. If you
 have a comment before your first column element, it is at
 position 1. Look hard at your source.
 
 J.Pietschmann
 
 
 -
 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]
 
 
 _
 This message has been checked for all known viruses by Star Internet
 delivered through the MessageLabs Virus Scanning Service. For further
 information visit http://www.star.net.uk/stats.asp or alternatively call
 Star Internet for details on the Virus Scanning Service.

_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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




Subsitemap's files under a clecase view.

2002-05-15 Thread TREGAN Fabien

Hi,

I'm trying to have my cocoonapp under a clearcase view. The mounting in the
sitemap work well : if I put my files in D:\ it works, but when I try to
have them in the clearcase view (Y:), I only get half of my page, and it end
with a Cocoon error message (the length of the correct answer change each
time, I guess it's because of a timeoute and a SLOW clearcase server.
Clearcase server is under unix, my PC use NT 4.0).

Here is the result I get, please let me know if I have other way than
copying my files from clearcase to local hardrive at each run :)

thx, fabien.



action.setAttribute(name, action);
action.setAttribute(value,
actionName);
IFrameForm.appendChild(action);
var submit =
IFrameDoc.createElement(input)

htmlheadtitleInternal server
error/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color :
white;background-color : #0086b2;} BODY{font-family :
sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color :
white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE
/headbodyh1Cocoon 2 - Internal server error/h1HR size=1
noshade=noshadepbtype/b fatal/ppbmessage/b uCould not
read resource
file:/Y:/CAW/SDNGUI/AppTemplate.xml/u/ppbdescription/b
uorg.apache.cocoon.ProcessingException: Could not read resource
file:/Y:/CAW/SDNGUI/AppTemplate.xml: java.lang.IllegalStateException: You
cannot lookup components on a disposed
ComponentManager/u/ppbsender/b
org.apache.cocoon.servlet.CocoonServlet/ppbsource/b Cocoon
servlet/ppbstack-trace/bpreorg.apache.cocoon.ProcessingException:
Could not read resource file:/Y:/CAW/SDNGUI/AppTemplate.xml:
java.lang.IllegalStateException: You cannot lookup components on a disposed
ComponentManager
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:156)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv
entPipeline.java:250)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:399)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:83)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
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(Pipel
ineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:107)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:142)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:318)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:289)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:128)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:83)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
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(Pipel
ineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:107)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:142)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:318)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:289)
at org.apache.cocoon.Cocoon.process(Cocoon.java:591)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1002)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at

RE: how to start xmls with cocoon ??

2002-05-15 Thread Sreedhar Chintalapaty

Madhu,

Try the Bonebreaker example at
http://www.cocooncenter.de/cc/documents/resources/navigation/index.html. It
has more material than you asked for in the mail, and deals with navigation,
but it has enough info for you to get going; plus you'll eventually think
about navigation schemes anyways.

regards,
Sreedhar



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 2:36 PM
To: [EMAIL PROTECTED]
Subject: how to start xmls with cocoon ??


Hi,
  I have installed cocoon on my machine and I am using tomcat 3.2.3 . I
have created a sample xml, xslt and sitemap and I want to create a .HTML
file out of it but I am not knowing how to start with cocoon pipeline ??
Can anyone help me with this ?? Can I start with the .xml directly on the
browser which will trigger the sitemap and go further ??

thanks
Madhu


-
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: error starting tomcat

2002-05-15 Thread Tom Klaasen

I see this error also every time I start Tomcat. It doesn't seem to 
cause any harm, so I just ignore it :-)

tomK


Bert Van Kets wrote:

 When I start Tomcat I get 5 messages in the console saying:
 Cannot find CatalogManager.properties
 I have A separate site using Cocoon, next to a Cocoon CVS build.
 My config.xconf is exactly the same as in my cocoon CVS build (except 
 for the MySQL driver).  I also included the resources directory in my 
 site.
 Why the protest from Tomcat.  There is no error to be found in the 
 logs :(
 Bert


 Assassination is the extreme form of censorship.
  George Bernard Shaw (1856-1950)


 -
 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: Error Handling

2002-05-15 Thread Konstantin Piroumian

Add something like this to your WEB-INF/web.xml:
error-page
error-code404/error-code
location/404.html/location
/error-page

See Servlet 2.3 specification, point 9.9.2

Hope this helps.

--
Konstantin

- Original Message -
From: Michael Zehrer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 15, 2002 11:35 AM
Subject: RE: Error Handling


And what about errors outside of map:pipeline/?

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 14. Mai 2002 16:26
An: [EMAIL PROTECTED]
Betreff: RE: Error Handling


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]

 Hi List,

 how can one have a global static error-page in C2, I need this for a
 production system.

Put in every map:pipeline/:

map:handle-errors
  map:transform src=stylesheets/error2static-html-page.xsl/
  map:serialize status-code=500/
/map:handle-errors
  /map:pipeline

And develop error2static-html-page.xsl.


Vadim



 Cheers, Michael



-
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: xsp-session ns calls element creation funcs?

2002-05-15 Thread Vadim Gritsenko

 From: Zack Angelo [mailto:[EMAIL PROTECTED]]
 
  C2 doesn't seem to be behaving as expected...my code looks just like
  the
  examples. Any ideas? I'm sure it's something obvious.
 
  Okay, so apparently this:
 
String userID = xsp-session:get-attribute name=malin-uid/;

Do you have xsp-session namespace declared?

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


Vadim

 
  Generates into this (and, obviously, generates some errors):
 
  String userID =
  xspAttr.addAttribute(
,
name,
name,
CDATA,
malin-uid
  );
 
 
  this.contentHandler.startElement(
http://apache.org/session/2.0;,
get-attribute,
xsp-session:get-attribute,
xspAttr
  );
  xspAttr.clear();
 
 
 
  this.contentHandler.endElement(
http://apache.org/session/2.0;,
get-attribute,
xsp-session:get-attribute
  );
 
  ;
 
  TIA,
  Zack


-
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: config memory with multiple cocoon instances one one machine

2002-05-15 Thread Vadim Gritsenko

 From: Stephan Michels [mailto:[EMAIL PROTECTED]]
 
 
 
 On Wed, 15 May 2002, Giuseppe Di Pierri wrote:
 
  in each of the three cocoon instances under tomcat, the files
cocoon.xconf
  contains:
 
store-janitor
class=org.apache.cocoon.components.store.StoreJanitorImpl
  logger=core.store.janitor
   !-- How much free memory shall be available in the jvm --
   parameter name=freememory value=2000/
   !-- Indicates the limit of the jvm memory consumption. The
default max
   heapsize for Sun's JVM is 64Mb --
   parameter name=heapsize value=43000/
   !-- How often shall the cleanup thread check memory --
   parameter name=cleanupthreadinterval value=10/
   !-- Indicates the thread priority of the cleanup thread --
   parameter name=threadpriority value=5/
   !-- How much percent of the elements of each registered Store
shall
   be removed when low on memory. Default 10% --
   parameter name=percent_to_free value=10/
/store-janitor
 
  The error that we get is neither an outofmemory nor an exception,
the jvm
 just
  stops working. Then the user gets an Proxy error message (something
like
 page
  not reachable).
 
  When you stop the process of tomcat and then start it again, every
goes fine
  till the next time.
 
  I don't think this kind of problem is a bug in the code (but I want
to
  investigate further on it :)
 
  Do you have some ideas?
 
  Do we have to create a single instance of cocoon under tomcat and
separate
 it
  on more then one machine?
 
  Does the sum of the parameter values (freememory, heapsize and so
on) of the
  three instances must be less then the values in the catalina.sh?

No.

!-- How much free memory shall be available in the ***jvm*** --
parameter name=freememory value=2000/
!-- Indicates the limit of the ***jvm*** memory consumption. The
default max
 heapsize for Sun's JVM is 64Mb --
parameter name=heapsize value=43000/

Key word here: JVM.

Parameter heapsize must be *equal* to -Xmx, parameter freememory must be
high enough so at any given moment of time there is enough memory to
serve all the simultaneous requests you have.


Vadim

 Yes, I think they must.
 
 Have you probe a profiler to find the lock? No? Then my favorite is
 http://www.ej-technologies.com/jprofiler/overview.html. But I havn't
 yet startet the whole engine under jprofiler.

 Stephan Michels.
 


-
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: Tutorial XSL..

2002-05-15 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Tutorial XSL..



zvon.org has some excellent tutorials.

  -Original Message-From: Graaf, Edgar de (fin) 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 15, 2002 9:51 
  AMTo: '[EMAIL PROTECTED]'Subject: RE: Tutorial 
  XSL..
  www.w3schools.com
  
  You 
  also need to study FO(Formatting Objects). That is a type of XML that can be 
  converted to PDF.
  
  Your 
  XMLXSLFO XML--fo2pdf serializer 
PDF
  
  Try 
  www.w3c.org for FO.
  
  But 
  only when you have a good understanding of FO and XSLT.
  
  Regards,
  
  Edgar
  
-Oorspronkelijk bericht-Van: Alejandro Raiczyk 
[mailto:[EMAIL PROTECTED]]Verzonden: woensdag 8 mei 2002 
16:28Aan: '[EMAIL PROTECTED]'Onderwerp: RE: 
Tutorial XSL..
http://docs.technisys.com.ar/XML/XSL/biblia.html 

-Mensaje original- De: Bobrs 
[mailto:[EMAIL PROTECTED]] 
Enviado el: Miércoles 8 de Mayo de 2002 7:59 AM 
Para: Cocoon Asunto: Tutorial 
XSL.. 
Hi All !!!  I would like 
to know where I found tutorials of like write files 
.xls, the structure etc.. I need to convert files 
.xml to .pdf Someone have some material !?! 
Thanks... 
-- Robert Siqueira Desenvolvimento WEB CCUEC - Centro de 
Computacao - UNICAMP UIN 70479124 
[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] 



getting xml files from servers other than one cocoon runs on, and thenprocessing...

2002-05-15 Thread Zachary A Lendon


I have server x.com, which has Cocoon 2.x installed and running on it.
When a user comes to the following url:

x.com/cocoon/file.xml

file.xml actually resides somewhere else, lets say
y.com/xml-files/file.xml.  What's the best way for me to make sure I get
the right xml file and have cocoon process through it?  I don't know what
the file name will be, but I do know where the files will be.  I also have
another twist.  What happens when y.com goes down and I have to fail over
to z.com.  It may have the same directory structure, but what's the best
method to assure that I'm still getting the proper xml files when going to
the x.com address?

Thank you for any guidance you might be able to offer!
- Zach

==
The preceding e-mail message (including any attachments) contains
information that may be confidential, be protected by the attorney-client
or other applicable privileges, or constitute non-public information.  It
is intended to be conveyed only to the designated recipient(s).  If you are
not an intended recipient of this message, please notify the sender by
replying to this message and then delete it from your system.  Use,
dissemination, distribution, or reproduction of this message by unintended
recipients is not authorized and may be unlawful.
==




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




help with redirect and forward

2002-05-15 Thread Vij, Bhavna

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/;);

- response:send-redirect location=login-page.xml/
- response:send-redirect url=http://localhost:/cocoon//


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

Thanks in Advance,
Bhavna


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




what is good way to output XML from Java objects?

2002-05-15 Thread ptv

Hi folks,

I was just talking to Harry Lai(a very helpful cocoon user I might add!)
about the problem of outputting XML from Java.

From my experience, creating an XML output string from Java object is
messy work. As bad as the original problem of outputting HTML content
in Java. Ugly stuff. 

From his experience, Harry says their group uses Velocity.
He says when they  started their current project, one of their high priority
requirements was finding a clean(er) way of building up XML content.
After some looking around, they decided to use Velocity (wrapped inside
an EJB)
to generate the XML.  And So far, he says they've been very happy with
it (and Cocoon). =) 

I also heard that Castor might be a good solution. 

Can anyone comment or suggest any other good way to transform XMl from
Java?

Thanks,
Phong

PS
I forward you our discussion just in case I left anything out


___
FREE voicemail, email and fax, all in one place.  Sign Up Now! http://www.alberta.com

---BeginMessage---

Hi Phong,

Yeah, I totally agree with you about the ugliness of constructing XML in
Java.  When we started our current project, one of our high priority
requirements was finding a clean(er) way of building up XML content.  After
some looking around, we decided to use Velocity (wrapped inside an EJB) to
generate the XML.  If you're not familiar with Velocity, it's a
template-based tool from Apache
(http://jakarta.apache.org/velocity/index.html).  So far, we've been very
happy with it (and Cocoon).  =)

Harry

PS  I'm not familiar with Castor, but I think there's been some discussion
about it on the cocoon-users list.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 12:09 PM
To: Lai, Harry
Subject: RE: Question about best approach to transform Java Object to
XML represention for use in Cocoon


Hi Harry,

Thanks for your quick reply!
What you describe sounds very nice and clean. Exactly what I need. 

But it now leads me to this follow up question. I was hoping the Xmlizable
interface would make it easier for the java object to output xml content.
But from what you tell me, it looks like xmlizable doesn't help generate
the xml at all. only how it is treated by cocoon.

From my experience, creating an XML output string from Java object is
messy work. As bad as the original problem of outputting HTML content
in Java. Ugly stuff. 
What do you use in your java object to create the XML output? 

I heard Castor might be a good tool to do this.

thanks again for your help.
Phong
xmlSource.getContent();


 Lai, Harry [EMAIL PROTECTED] wrote:
 Hi Phong,
 
 How's it going?  I actually found a simpler solution since I posted
 that
 message (thanks to a post from someone else).  It relies on the util
 logicsheet that comes with Cocoon2.
 
 So as you probably found, if you just use xsp:expr to output xml
 from a
 java object, the xml gets escaped and is treated as text.  However,
 if you
 surround your xsp:expr tag with tags from the util logicsheet (example
 below), the xml from your java object is treated as actual xml content.
 Here's an example (assumes you have the util logicsheet declared in
 the
 util namespace):
 
 ...
 xsp:logic
   MyXmlSource xmlSource = new MyXmlSource();
   
   ... init xmlSource and do whatever you need to prepare content
 ...
 
   String xmlContent = xmlSource.getContent();
 
   

util:include-exprutil:exprxsp:exprxmlContent/xsp:expr/util:expr/u
 til:include-expr
 /xsp:logic
 ...
 
 If I remember right, the util logicsheet works by using the XMLizable
 object
 underneath, so it's basically a cleaner interface for the approach
 I had
 mentioned previously.  =)  Anyway, hope that helps!
 
 Harry
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 11:12 AM
 To: [EMAIL PROTECTED]
 Subject: Question about best approach to transform Java Object to XML
 represention for use in Cocoon
 
 
 
 
 Hi Harry,
 
 I am working with Cocoon2 and I am trying to sort out  the exact same
 problem you raised a while back in one of the posts you sent to the
 mailing
 list and so I am hoping you can give me some advice. I would like to
 output an xml representation of a Java object so that it can be sent
 to a stylesheet for tranformation into HTML. I include your post to
 the
 mailing list  at the end of this email for your reference.
 
 Did you have any success with this problem? If you have can you give
 your insight on the best practice approach you would recommend to output
 xml from Java object?
 
 Is XMLizable the best way to go?  I also read in the mailing archives
 about the Castor Transformer. 
 
 I originally thought the best way to do this would be to output the
 xml
 in a logicsheet. And so the idea is to pass a Java object into a
logicsheet
 and then you would traverse the java object and output XML using templates
 in 

Re: how to start xmls with cocoon ??

2002-05-15 Thread Konstantin Piroumian

From: [EMAIL PROTECTED]

 Hi,
   I have installed cocoon on my machine and I am using tomcat 3.2.3 .
I
 have created a sample xml, xslt and sitemap and I want to create a .HTML
 file out of it but I am not knowing how to start with cocoon pipeline ??
 Can anyone help me with this ?? Can I start with the .xml directly on the
 browser which will trigger the sitemap and go further ??

If you are using the 2.1-dev version (HEAD branch) then take a look at
'cocoon/myapp' directory. It's created for a quick start with Cocoon. See
the readme.html for instructions on how to move on.

Please let me know if you have any improvment suggestions or had
difficulties with 'myapp'.

Regards,
  Konstantin Piroumian


 thanks
 Madhu


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




XIndice and Caching

2002-05-15 Thread Alex McLintock

Hi folks,

I have a XIndice backed Cocoon website which I want to speed up. It is far 
too slow.

One thing I need to reduce is the number of XSLT for loops, but that's for 
another time.

The second thing I am looking at is trying to use Cocoon/Avalon caching and 
I am not sure I understand it.

Do I cache the database results, or the xml/html which we get from them 
after being processed by XSLT ?

My XML database changes very infrequently - can I tell the cache that it 
has been updated and thus all cached things should be dropped?

Feel free to point me at the docs if I've missed them.

Alex



Openweb Analysts Ltd, London: Software For Complex Websites 
http://www.OWAL.co.uk/
Free Consultancy for London Companies thinking of Open Source Software.


-
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: Tutorial XSL..

2002-05-15 Thread Alex McLintock

There is also the fop-user mailing list which as some helpful people on it 
if you are trying to convert XML to PDF using Cocoon.
(Remember that Apache FOP is the component within Cocoon which does most of 
the PDF  conversion)

Alex


At 14:50 15/05/2002, Graaf, Edgar de (fin) wrote:
http://www.w3schools.comwww.w3schools.com

You also need to study FO(Formatting Objects). That is a type of XML that 
can be converted to PDF.

Your XMLXSLFO XML--fo2pdf serializer PDF

Try http://www.w3c.orgwww.w3c.org for FO.

But only when you have a good understanding of FO and XSLT.

Regards,

Edgar



Openweb Analysts Ltd, London: Software For Complex Websites 
http://www.OWAL.co.uk/
Free Consultancy for London Companies thinking of Open Source Software.


-
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: how to start xmls with cocoon ??

2002-05-15 Thread Geoff Howard

Madhu, 

This is documented pretty well in the sitemap and documentation itself - try
adding the following to your sitemap inside a pipeline, assuming your xml
file is called testcontent.xml and is in the content/ directory and your xsl
is called testtransform.xsl and is in the transforms directory (that's all
arbitrary -- change anything you need to match your current files):

map:match pattern=test.html
  map:generate src=content/testcontent.xml/
  map:transform src=transforms/testtransform.xsl/
  map:serialize/
/map:match 

This will work becuase the default generator just looks up and parses the
given file,
and the default transformer is xslt, and the default serializer sends the
result as html. 

Geoff Howard

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 2:36 PM
To: [EMAIL PROTECTED]
Subject: how to start xmls with cocoon ??


Hi,
  I have installed cocoon on my machine and I am using tomcat 3.2.3 . I
have created a sample xml, xslt and sitemap and I want to create a .HTML
file out of it but I am not knowing how to start with cocoon pipeline ??
Can anyone help me with this ?? Can I start with the .xml directly on the
browser which will trigger the sitemap and go further ??

thanks
Madhu


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




DatabaseSelectAction, get results

2002-05-15 Thread Hiloliddin Karimov

Hi,

I try use DatabaseSelectAction for selection. I have searched in the
archive, but I haven't found solution, please help.
1. SELECT
If I use key in form:
table name=users
  keys
key param=username dbcol=username type=string mode=manual/
  /keys
  values
value param=balance dbcol=balance type=double/
value param=status dbcol=status type=string/
  /values
/table
SQL is: SELECT username, balance, status FROM users WHERE username = ?
If I want select all, I try:
table name=users
  values
value param=username dbcol=username type=string/
value param=balance dbcol=balance type=double/
value param=status dbcol=status type=string/
  /values
/table
then SQL is: SELECT username, balance, status FROM users WHERE
and error: unexpected end of SQL command.
why DatabaseSelectAction still use WHERE?

2. How can I get results? 
I see in the Request logicsheet elements I can get some more results by
use:
xsp-request:get-parameter-values name=username/ isn't it?
is there, to read results by row such as: esql:results  esql:row-results
?

Thanks a lot,
Hill

Cocoon 2.1; Tomcat 4.0; JDK SDK 1.3.1; OS WinNT 4.0;

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




MS Excel

2002-05-15 Thread Andrew Timberlake

I understand that the XSL Serializer is now Cocoon's domain instead of
POI.
I know that using Gnumeric to create initial xml for use through the
serializer should work.
I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
and then trying to serialize it but it is crashing MS Excel 2000?

Anyone got some ideas on what I may be doing wrong thanks.

PS. Cocoon 2.0.2a

-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:[EMAIL PROTECTED]
011 705 1737
082 415 8283

If debugging is the process of removing bugs, 
then programming must be the process of putting them in.


-
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: MS Excel

2002-05-15 Thread Andrew C. Oliver

Can you supply the XML you're using?  have you tried turning Logkit.conf 
in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
for details?  

-Andy

Andrew Timberlake wrote:

I understand that the XSL Serializer is now Cocoon's domain instead of
POI.
I know that using Gnumeric to create initial xml for use through the
serializer should work.
I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
and then trying to serialize it but it is crashing MS Excel 2000?

Anyone got some ideas on what I may be doing wrong thanks.

PS. Cocoon 2.0.2a

  





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




iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Argyn Kuketayev

I must test my reporting module written with Cocoon on jBoss/Tomcat,
iPlanet, IBM WAS, BEA WLS.

My main concern is iPlanet, since I'm more or less confident about others.
Did any body deploy real-life Cocoon apps in iPlanet 6.5? Need resources.

Argyn

-
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: MS Excel

2002-05-15 Thread Andrew Timberlake

Andy

I have attached the xml file, I typed 'bob' in cell A1 and saved as XML.
There are no errors or other in the logs files.

Andrew

On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote:
 Can you supply the XML you're using?  have you tried turning Logkit.conf 
 in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
 for details?  
 
 -Andy
 
 Andrew Timberlake wrote:
 
 I understand that the XSL Serializer is now Cocoon's domain instead of
 POI.
 I know that using Gnumeric to create initial xml for use through the
 serializer should work.
 I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
 and then trying to serialize it but it is crashing MS Excel 2000?
 
 Anyone got some ideas on what I may be doing wrong thanks.
 
 PS. Cocoon 2.0.2a
 
   
 
 
 
 
 
 -
 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]
 
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:[EMAIL PROTECTED]
011 705 1737
082 415 8283

If debugging is the process of removing bugs, 
then programming must be the process of putting them in.



gnumeric.xml
Description: application/gnumeric

-
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: MS Excel

2002-05-15 Thread Andrew Timberlake

Andy

I thought I'd add that the Excel samples all work!

Andrew

On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote:
 Can you supply the XML you're using?  have you tried turning Logkit.conf 
 in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
 for details?  
 
 -Andy
 
 Andrew Timberlake wrote:
 
 I understand that the XSL Serializer is now Cocoon's domain instead of
 POI.
 I know that using Gnumeric to create initial xml for use through the
 serializer should work.
 I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
 and then trying to serialize it but it is crashing MS Excel 2000?
 
 Anyone got some ideas on what I may be doing wrong thanks.
 
 PS. Cocoon 2.0.2a
 
   
 
 
 
 
 
 -
 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]
 
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:[EMAIL PROTECTED]
011 705 1737
082 415 8283

If debugging is the process of removing bugs, 
then programming must be the process of putting them in.


-
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: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Lajos Moczar

I did, but something (I presume in Cocoon) kept unexpectedly bringing 
down iPlanet. I ended up switching back to Tomcat.

Regards,

Lajos


Argyn Kuketayev wrote:

 I must test my reporting module written with Cocoon on jBoss/Tomcat,
 iPlanet, IBM WAS, BEA WLS.
 
 My main concern is iPlanet, since I'm more or less confident about others.
 Did any body deploy real-life Cocoon apps in iPlanet 6.5? Need resources.
 
 Argyn
 
 -
 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]




Tomcat 4.0.4b3 and Cocoon 2.1-dev play nicely

2002-05-15 Thread Frank Ridderbusch

Just to let you know. I just grabbed Tomcat 4.0.4b3 and did a quick
'cp -rp' install of Cocoon (a recent 2.1-dev) from my older Tomcat.
JDK is IBM 1.3.1.

As far as I can tell from my random clicks through documentation and
samples and my own pages, Tomcat and Cocoon work just nicely together.

I think, 4.0.4b3 feels a little faster than 4.0.1, but I'm not sure.

-- 
MfG/Regards

Frank Ridderbusch

-- Since I have taken all the Gates out of my computer, it finally works!! --

-
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: MS Excel

2002-05-15 Thread Andrew Timberlake

Typically, as I posted my last message I thought of how I could fix it.
I changed the xmlns to xmlns:gmr=http://www.gnome.org/gnumeric/v7; and
added gmr:Content/gmr:Content around the content and it works.

I do still have one question. I want to produce a fairly complicated
spreadsheet through an XSL transformation, what information can be left
out of the gmr namespace and what cannot.
Can I just include cell information or do I need the style and print
information as well?

Thanks for any help

Andrew

On Wed, 2002-05-15 at 21:20, Andrew Timberlake wrote:
 Andy
 
 I thought I'd add that the Excel samples all work!
 
 Andrew
 
 On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote:
  Can you supply the XML you're using?  have you tried turning Logkit.conf 
  in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
  for details?  
  
  -Andy
  
  Andrew Timberlake wrote:
  
  I understand that the XSL Serializer is now Cocoon's domain instead of
  POI.
  I know that using Gnumeric to create initial xml for use through the
  serializer should work.
  I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
  and then trying to serialize it but it is crashing MS Excel 2000?
  
  Anyone got some ideas on what I may be doing wrong thanks.
  
  PS. Cocoon 2.0.2a
  

  
  
  
  
  
  -
  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]
  
 -- 
 Andrew Timberlake
 Digital Design Development
 http://www.ddd.co.za
 mailto:[EMAIL PROTECTED]
 011 705 1737
 082 415 8283
 
 If debugging is the process of removing bugs, 
 then programming must be the process of putting them in.
 
 
 -
 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]
 
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:[EMAIL PROTECTED]
011 705 1737
082 415 8283

If debugging is the process of removing bugs, 
then programming must be the process of putting them in.


-
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: MS Excel

2002-05-15 Thread Andrew C. Oliver

cool I'll take a look at it.

Andrew Timberlake wrote:

Andy

I have attached the xml file, I typed 'bob' in cell A1 and saved as XML.
There are no errors or other in the logs files.

Andrew

On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote:
  

Can you supply the XML you're using?  have you tried turning Logkit.conf 
in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
for details?  

-Andy

Andrew Timberlake wrote:



I understand that the XSL Serializer is now Cocoon's domain instead of
POI.
I know that using Gnumeric to create initial xml for use through the
serializer should work.
I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
and then trying to serialize it but it is crashing MS Excel 2000?

Anyone got some ideas on what I may be doing wrong thanks.

PS. Cocoon 2.0.2a

 

  



-
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: error starting tomcat

2002-05-15 Thread Bert Van Kets

My apps run fine too, I was just very curious why they appear and how to 
CatalogManager is used.
Just can't seem to find any docs on it.
Bert

At 13:41 15/05/2002 +0200, you wrote:
I see this error also every time I start Tomcat. It doesn't seem to cause 
any harm, so I just ignore it :-)

tomK


Bert Van Kets wrote:

When I start Tomcat I get 5 messages in the console saying:
Cannot find CatalogManager.properties
I have A separate site using Cocoon, next to a Cocoon CVS build.
My config.xconf is exactly the same as in my cocoon CVS build (except for 
the MySQL driver).  I also included the resources directory in my site.
Why the protest from Tomcat.  There is no error to be found in the logs :(
Bert


Assassination is the extreme form of censorship.
  George Bernard Shaw (1856-1950)


-
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: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Artur Bialecki


I've been runnig Cocoon 1.8.x on iAS 6.0 through 6.5 for last
couple of years. I'm currently porting our stuff to Cocoon 2.0.2
which will run on iPlanet 6.5.

I haven't worked much with Weblogic and Websphere but for large
applications both iPlanet and JBoss are f'ed up in their own
unique way. With JBoss you at least have the code,
with iPlanet you're very lucky if your bug gets fixed within 8 months.
iPlanet breaks J2EE in several palces so be ready to 
wrtie workarounds. I don't know about 6.5 but previous version
used some hacked version of Tomcat for the servlet container.

Artur...



 -Original Message-
 From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 3:28 PM
 To: [EMAIL PROTECTED]
 Subject: Re: iPlanet + Cocoon: did anybody try?
 
 
 I did, but something (I presume in Cocoon) kept unexpectedly bringing 
 down iPlanet. I ended up switching back to Tomcat.
 
 Regards,
 
 Lajos
 
 
 Argyn Kuketayev wrote:
 
  I must test my reporting module written with Cocoon on jBoss/Tomcat,
  iPlanet, IBM WAS, BEA WLS.
  
  My main concern is iPlanet, since I'm more or less confident about others.
  Did any body deploy real-life Cocoon apps in iPlanet 6.5? Need resources.
  
  Argyn
  
  -
  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: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Argyn Kuketayev

 I'm currently porting our stuff to Cocoon 2.0.2
 which will run on iPlanet 6.5.

can you post your installation documents for Cocoon 2.0.2 and iPlanet 6.5?

Thanks,
Argyn

-
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: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Artur Bialecki


When I'm finished the port, maybe, but probably not,
I spent too much time on the port already
so as allways docs get no time. Also I'm moving 
from C1 to C2 so it's a little different.

Artur...

 -Original Message-
 From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 5:10 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: iPlanet + Cocoon: did anybody try?
 
 
  I'm currently porting our stuff to Cocoon 2.0.2
  which will run on iPlanet 6.5.
 
 can you post your installation documents for Cocoon 2.0.2 and iPlanet 6.5?
 
 Thanks,
 Argyn
 
 -
 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: upgrading to Cocoon2 and debugging

2002-05-15 Thread Artur Bialecki


Porting from Cocoon1 to Cocoon2 is 
like converting a gorilla to a submarine.
If your project is small than I would read up
on Cocoon2, rethink your approach and start from
scratch, otherwise read on.

 -Original Message-
 From: gorillacommunications [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 4:54 PM
 To: [EMAIL PROTECTED]
 Subject: upgrading to Cocoon2 and debugging
 
 
 Hi all.
 
 I am upgrading an application from Cocoon1 to Cocoon2 and am
 having some problems. I get the error Exception in creating Transform
 Handler:
 java.lang.NullPointerException.
 
   This is not enough info

 1. I created a pipeline in sitemap.xmap, but are there any special things I
 must do to my XML and XSL files to upgrade?

There a quite a few change you have to do to XMLs. 
tag libs request, response, etc. are now xsp-request, xsp-response,
etc. Also their namespace uris have changed so now you must have:
xsp:page language=java
   xmlns:xsp-request=http://apache.org/xsp/request/2.0;
and same for response, etc.

If you used xspCurrentNode and its friends than you have to
rewrite your XMLs to use SAX contentHandler instead.

The fp taglib is not in C2, other taglibs have changed too.

If your XMLs did redirection or changed stylesheets on the fly
than you might need to write some Actions.


 
 2. How do I see meaningful debugging info? I looked in the archive
 and think I have the settings correct in web.xml and logkit.xconf, but
 I see no info in any of the logs for this application (other applications
 dump output to the logs). At least Cocoon1 would write a message
 to the console telling me what the parser choked on (I read in
 the archive that this message is caused by an error in the XSL).
 

  there are sitemap.log error.log core.log and access.log probably
in your deployed apps WEB-INF/logs. Look there.

Artur...

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




HTML Serializer issue

2002-05-15 Thread Fernando Padilla


Hello.

We are developing a site and we're having an issue with the HTML 
serializer, it seems to be adding a newline after before every br/ tag, 
but not if it's preceded by an img/ tag.


Now, most of the time this is not an issue, but we have a table cell with
nobrOption 1/nobrbr/
nobrOption 2/nobrbr/
nobrOption 3/nobr

and it'll look different under different browsers ( there is a lot more 
space between each option ), if the br/ tags are on a line by 
themselves:
nobrOption 1/nobr
br/
nobrOption 2/nobr
br/
nobrOption 3/nobr

which is what the HTML serializer is doing.



So, could anyone help me out?  Why is it doing this? and is there anyway 
to have it not do this??


thank you!

fernando


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




Cocoon 2 + Access

2002-05-15 Thread cyril vidal



Hy!

I would like to 
knowif it is an 
obligation to use ESQL and the connection pool provided by Cocoon2 to connect to 
a database.
By example, isn't it possible just to 
write the following code, by which a simply connection should be executed with 
the 'logs' database?
I've tried it and it doesn't work but 
I don't know if there's an error on the code or if anyway, it could never 
run.
Some of you can help me, 
please?
Thanks in advance,
Cyril.

?xml version="1.0" 
encoding="iso-8859-1"?xsp:page 
language="java" 
xmlns:xsp="http://apache.org/xsp"

xsp:structurexsp:includejava.sql*/xsp:include/xsp:structure

Promotion 
auteur="Jules"

xsp:logicClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");Connection 
conn = 
DriverManager.getConnection("jdbc:odbc:localhost:8080/c:\Mes_documents\JAVA\JDBC\logs");Statement 
stmt = conn.createStatement();ResultSet resultat = stmt.executeQuery("select 
* from visit where userid='cyril'");/xsp:logic

DescriptionNous proposons une 
réduction de 25%, restreinte à la période de Septembre 20001 à OCtobre 
20001/Description

rowuseridxsp:exprresultat.getString 
(1)/xsp:expr/useridsessionidxsp:exprresultat.getString 
(2)/xsp:expr/sessionidvisitdatexsp:exprresultat.getString 
(3)/xsp:expr/visitdatereferrerxsp:exprresultat.getString 
(4)/xsp:expr/referrerpagexsp:exprresultat.getString 
(5)/xsp:expr/page/row

/Promotion/xsp:page


RE: Cocoon 2 + Access

2002-05-15 Thread Faulkner, Perry



Hi 
Cyril,

In 
theory it should work, as it's just some Java code, similar to that produced by 
ESQL. The disadvantage, is that you don't have any error checking or logging to 
fall back on when situations like this occur, and ESQL would provide 
that.

Anyway, the only obvious thing that I can see, is to put\\'s in your connection string, e.g:

("jdbc:odbc:localhost:8080/c:\\Mes_documents\\JAVA\\JDBC\\logs");

Also 
turn on ODBC tracing and see if any other information is logged, to help you 
resolve the problem.

Perry


  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 May 2002 
  8:18To: [EMAIL PROTECTED]Subject: Cocoon 2 + 
  Access
  Hy!
  
  I would like to 
  knowif it is an 
  obligation to use ESQL and the connection pool provided by Cocoon2 to connect 
  to a database.
  By example, isn't it possible just 
  to write the following code, by which a simply connection should be executed 
  with the 'logs' database?
  I've tried it and it doesn't work 
  but I don't know if there's an error on the code or if anyway, it could never 
  run.
  Some of you can help me, 
  please?
  Thanks in advance,
  Cyril.
  
  ?xml version="1.0" 
  encoding="iso-8859-1"?xsp:page 
  language="java" 
  xmlns:xsp="http://apache.org/xsp"
  
  xsp:structurexsp:includejava.sql*/xsp:include/xsp:structure
  
  Promotion 
  auteur="Jules"
  
  xsp:logicClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");Connection 
  conn = 
  DriverManager.getConnection("jdbc:odbc:localhost:8080/c:\Mes_documents\JAVA\JDBC\logs");Statement 
  stmt = conn.createStatement();ResultSet resultat = 
  stmt.executeQuery("select * from visit where 
  userid='cyril'");/xsp:logic
  
  DescriptionNous proposons 
  une réduction de 25%, restreinte à la période de Septembre 20001 à OCtobre 
  20001/Description
  
  rowuseridxsp:exprresultat.getString 
  (1)/xsp:expr/useridsessionidxsp:exprresultat.getString 
  (2)/xsp:expr/sessionidvisitdatexsp:exprresultat.getString 
  (3)/xsp:expr/visitdatereferrerxsp:exprresultat.getString 
  (4)/xsp:expr/referrerpagexsp:exprresultat.getString 
  (5)/xsp:expr/page/row
  
  /Promotion/xsp:page


Re: Cocoon 2 + Access

2002-05-15 Thread cyril vidal



Hi Perry,

I've tried with // instead of / 
,it isn't better...
Anyway, I've configurated with esql 
and pool.
the cocoon.xconf looks like 
this:

jdbc name="pool"
pool-controller min="5" max="10"/
dburljdbc:odbc:logs/dburl (with odbc, we don't need to 
write the complete url, right??)
user/user
password/password
/jdbc
and I didn't forget to load the driver in web.xml...

My file base1.xsp is this one, as simple as 
possible, just to test the connection
?xml version="1.0" 
encoding="iso-8859-1"?xsp:page 
language="java" 
xmlns:xsp="http://apache.org/xsp" 
xmlns:esql="http://apache.org/cocoon/SQL/v2"
doc 
esql:connection 
esql:poolpool/esql:pool 
/esql:connection/doc
/xsp:page

To my great surprise, when I execute this file, I obtain:
doc xmlns:xsp="http://apache.org/xsp" 
connection 
poolpool/pool /connection
/doc
I think, it's not normal...I shouldnot see the connection 
element... I think I have to change the line 
dburljdbc:odbc:logs/dburl but I don't know really how to 
do...
regards,
Cyril.


  - Original Message - 
  From: 
  Faulkner, Perry 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Thursday, May 16, 2002 12:47 
  AM
  Subject: RE: Cocoon 2 + Access
  
  Hi 
  Cyril,
  
  In 
  theory it should work, as it's just some Java code, similar to that produced 
  by ESQL. The disadvantage, is that you don't have any error checking or 
  logging to fall back on when situations like this occur, and ESQL would 
  provide that.
  
  Anyway, the only obvious thing that I can see, is to put\\'s in your connection string, 
e.g:
  
  ("jdbc:odbc:localhost:8080/c:\\Mes_documents\\JAVA\\JDBC\\logs");
  
  Also 
  turn on ODBC tracing and see if any other information is logged, to help you 
  resolve the problem.
  
  Perry
  
  
-Original Message-From: cyril vidal 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 May 2002 
8:18To: [EMAIL PROTECTED]Subject: Cocoon 2 + 
Access
Hy!

I would like to 
knowif it is an 
obligation to use ESQL and the connection pool provided by Cocoon2 to 
connect to a database.
By example, isn't it possible 
just to write the following code, by which a simply connection should be 
executed with the 'logs' database?
I've tried it and it doesn't work 
but I don't know if there's an error on the code or if anyway, it could 
never run.
Some of you can help me, 
please?
Thanks in advance,
Cyril.

?xml version="1.0" 
encoding="iso-8859-1"?xsp:page 
language="java" 
xmlns:xsp="http://apache.org/xsp"

xsp:structurexsp:includejava.sql*/xsp:include/xsp:structure

Promotion 
auteur="Jules"

xsp:logicClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");Connection 
conn = 
DriverManager.getConnection("jdbc:odbc:localhost:8080/c:\Mes_documents\JAVA\JDBC\logs");Statement 
stmt = conn.createStatement();ResultSet resultat = 
stmt.executeQuery("select * from visit where 
userid='cyril'");/xsp:logic

DescriptionNous proposons 
une réduction de 25%, restreinte à la période de Septembre 20001 à OCtobre 
20001/Description

rowuseridxsp:exprresultat.getString 
(1)/xsp:expr/useridsessionidxsp:exprresultat.getString 
(2)/xsp:expr/sessionidvisitdatexsp:exprresultat.getString 
(3)/xsp:expr/visitdatereferrerxsp:exprresultat.getString 
(4)/xsp:expr/referrerpagexsp:exprresultat.getString 
(5)/xsp:expr/page/row

/Promotion/xsp:page


Re: Cocoon 2 + Access

2002-05-15 Thread Torsten Curdt

Sorry, this will not help but...

If you want to stay away from problems, stay away from access...

Just my two cents...
--
Torsten


-
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: Cocoon 2 + Access

2002-05-15 Thread Faulkner, Perry



Cyril,

You 
probably should set up a datasource, using the ODBC data manager. That's what 
the logs part 'jdbc:odbc:logs' is referring to in your dburl tag. Use 
the data source manager to create a data source, 'logs' that refers to your 
access database 'C:\JAVA\JDBC\logs.mdb'.

When 
you execute, check the cocoon logs, TOMCAT\webapps\cocoon\web-inf\logs to see 
what problems are occuring, if any! Also enable tracing in the ODBC data source 
manager to see if your queries are being passed to ODBC.

Perry

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 May 2002 
  9:20To: [EMAIL PROTECTED]Subject: Re: Cocoon 2 
  + Access
  Hi Perry,
  
  I've tried with // instead of 
  / ,it isn't better...
  Anyway, I've configurated with esql 
  and pool.
  the cocoon.xconf looks like 
  this:
  
  jdbc name="pool"
  pool-controller min="5" max="10"/
  dburljdbc:odbc:logs/dburl (with odbc, we don't need 
  to write the complete url, right??)
  user/user
  password/password
  /jdbc
  and I didn't forget to load the driver in web.xml...
  
  My file base1.xsp is this one, as simple as 
  possible, just to test the connection
  ?xml version="1.0" 
  encoding="iso-8859-1"?xsp:page 
  language="java" 
  xmlns:xsp="http://apache.org/xsp" 
  xmlns:esql="http://apache.org/cocoon/SQL/v2"
  doc 
  esql:connection 
  esql:poolpool/esql:pool 
  /esql:connection/doc
  /xsp:page
  
  To my great surprise, when I execute this file, I obtain:
  doc xmlns:xsp="http://apache.org/xsp" 
  connection 
  poolpool/pool /connection
  /doc
  I think, it's not normal...I shouldnot see the connection 
  element... I think I have to change the line 
  dburljdbc:odbc:logs/dburl but I don't know really how to 
  do...
  regards,
  Cyril.
  
  
- Original Message - 
From: 
Faulkner, Perry 
To: '[EMAIL PROTECTED]' 

Sent: Thursday, May 16, 2002 12:47 
AM
Subject: RE: Cocoon 2 + Access

Hi 
Cyril,

In 
theory it should work, as it's just some Java code, similar to that produced 
by ESQL. The disadvantage, is that you don't have any error checking or 
logging to fall back on when situations like this occur, and ESQL would 
provide that.

Anyway, the only obvious thing that I can see, is to put\\'s in your connection string, 
e.g:

("jdbc:odbc:localhost:8080/c:\\Mes_documents\\JAVA\\JDBC\\logs");

Also turn on ODBC tracing and see if any other information is logged, 
to help you resolve the problem.

Perry


  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, 16 May 2002 
  8:18To: [EMAIL PROTECTED]Subject: Cocoon 2 
  + Access
  Hy!
  
  I would like to 
  knowif it is an 
  obligation to use ESQL and the connection pool provided by Cocoon2 to 
  connect to a database.
  By example, isn't it possible 
  just to write the following code, by which a simply connection should be 
  executed with the 'logs' database?
  I've tried it and it doesn't 
  work but I don't know if there's an error on the code or if anyway, it 
  could never run.
  Some of you can help me, 
  please?
  Thanks in advance,
  Cyril.
  
  ?xml version="1.0" 
  encoding="iso-8859-1"?xsp:page 
  language="java" 
  xmlns:xsp="http://apache.org/xsp"
  
  xsp:structurexsp:includejava.sql*/xsp:include/xsp:structure
  
  Promotion 
  auteur="Jules"
  
  xsp:logicClass.forName("sun.jdbc.odbc.JdbcOdbcDriver");Connection 
  conn = 
  DriverManager.getConnection("jdbc:odbc:localhost:8080/c:\Mes_documents\JAVA\JDBC\logs");Statement 
  stmt = conn.createStatement();ResultSet resultat = 
  stmt.executeQuery("select * from visit where 
  userid='cyril'");/xsp:logic
  
  DescriptionNous 
  proposons une réduction de 25%, restreinte à la période de Septembre 20001 
  à OCtobre 20001/Description
  
  rowuseridxsp:exprresultat.getString 
  (1)/xsp:expr/useridsessionidxsp:exprresultat.getString 
  (2)/xsp:expr/sessionidvisitdatexsp:exprresultat.getString 
  (3)/xsp:expr/visitdatereferrerxsp:exprresultat.getString 
  (4)/xsp:expr/referrerpagexsp:exprresultat.getString 
  (5)/xsp:expr/page/row
  
  /Promotion/xsp:page


Re: MS Excel

2002-05-15 Thread Andrew C. Oliver

Ahh...  Okay this makes sense.  I didn't read carefully enough about the 
version of Cocoon.
I'd highly suggest using a recent nightly build of the serializer if 
you're using gnumeric 1.0.3+ (the format changed).  A number of 
enhancements have been added recently as well as preliminary work on 
support for formulas.  

You can leave out formatting/style information.  The default style 
should be applied.  The serializer completely ignores printer 
information.  If you grab a recent build of Cocoon there is 
documentation on exactly what the serializer pays attention to and ignores.

If you decide to use the released version you'll need to use an earlier 
version of Gnumeric to match (pre 1.03 should work).

-Andy

 

Andrew Timberlake wrote:

Typically, as I posted my last message I thought of how I could fix it.
I changed the xmlns to xmlns:gmr=http://www.gnome.org/gnumeric/v7; and
added gmr:Content/gmr:Content around the content and it works.

I do still have one question. I want to produce a fairly complicated
spreadsheet through an XSL transformation, what information can be left
out of the gmr namespace and what cannot.
Can I just include cell information or do I need the style and print
information as well?

Thanks for any help

Andrew

On Wed, 2002-05-15 at 21:20, Andrew Timberlake wrote:
  

Andy

I thought I'd add that the Excel samples all work!

Andrew

On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote:


Can you supply the XML you're using?  have you tried turning Logkit.conf 
in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* 
for details?  

-Andy

Andrew Timberlake wrote:

  

I understand that the XSL Serializer is now Cocoon's domain instead of
POI.
I know that using Gnumeric to create initial xml for use through the
serializer should work.
I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet
and then trying to serialize it but it is crashing MS Excel 2000?

Anyone got some ideas on what I may be doing wrong thanks.

PS. Cocoon 2.0.2a

 





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

  

-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:[EMAIL PROTECTED]
011 705 1737
082 415 8283

If debugging is the process of removing bugs, 
then programming must be the process of putting them in.


-
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: Cocoon 2 + Access

2002-05-15 Thread Andrew C. Oliver

+1

Torsten Curdt wrote:

Sorry, this will not help but...

If you want to stay away from problems, stay away from access...

Just my two cents...
--
Torsten


-
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: Tomcat 4.0.4b3 and Cocoon 2.1-dev play nicely

2002-05-15 Thread Marc Jeffrey Driftmeyer

So long as you are running a non-SDK 1.4 of Java.

-Marc

Frank Ridderbusch wrote:

Just to let you know. I just grabbed Tomcat 4.0.4b3 and did a quick
'cp -rp' install of Cocoon (a recent 2.1-dev) from my older Tomcat.
JDK is IBM 1.3.1.

As far as I can tell from my random clicks through documentation and
samples and my own pages, Tomcat and Cocoon work just nicely together.

I think, 4.0.4b3 feels a little faster than 4.0.1, but I'm not sure.

  



-
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 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/;);
 
 - response:send-redirect location=login-page.xml/
 - response:send-redirect url=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. http://xml.apache.org/cocoon/faqs.html

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