Help required: outline of a solution

2003-06-26 Thread scott
 Hey all,

I want to achieve the following with cocoon, but I'm getting lost in the
documentation / examples / terminology so I could use a good steer in the
right direction.

I want to build a web app that uses SOAP to communicate with a back-end,
and I want to populate a web-app with the data as I move between screens.
Think of my app as a multi-page form, that does a lot of validation with the
back-end. I guess it's similar to a DB driven app, except I want to use soap
to communicate with the data layer.

So, my question is, what'a  good way to approach this kind of task? Can
anyone outline in broad strokes how I'd accomplish this using cocoon? I'm
confused by logic sheets, XSP, xscript, generators, where to control the
flow of the web app - argh! :)

many thanks,
Scott.
p.s. can you CC me on replies as I'm subscribed to the digest.


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



Cocoon, SOAP and Basic Authentication

2003-06-26 Thread Scott
In addition to my previous questions, I was wondering how to use Cocoon 
to get data via SOAP, connecting to a web-server that requires basic 
authentication? I can't find any docs/references on this at all ! :(

I've been using the following as a reference, as well as the standard 
Cocoon soap examples:

http://www.pankaj-k.net/sdwest2002/readme.html

But no example shows how to make a soap request while passing a 
username/password to auth with the server.

thanks,
Scott
p.s. can you CC on reply as I'm subscribed to the digest.
The information contained in or attached to this email is intended only for
the use of the individual or entity to which it is addressed. If you are not
the intended recipient, or a person responsible for delivering it to the
intended recipient, you are not authorised to and must not disclose, copy,
distribute, or retain this message or any part of it. It may contain
information which is confidential and/or covered by legal professional or
other privilege (or other rules or laws with similar effect in jurisdictions
outside England and Wales).

The views expressed in this email are not necessarily the views of Centrica
plc, or Centrica Telecommunications Limited, and their directors, officers
or employees make no representation or accept any liability for its accuracy
or completeness unless expressly stated to the contrary.

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

Re: No valid JdbcConnection class available with MySQL

2003-06-02 Thread Scott McClure


Is there any trick to un-installing cocoon? I tried removing all its 
folders from Tomcat, but when I put the new cocoon.war file in there it 
didn't do anything. :-/

Try using the web-based manager. First remove it, then delete the dir. 
The manager is at /manager/html.

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


Crashing on Generating Program Code

2003-06-01 Thread Scott McClure
I have been unable to get any version of cocoon running except for 2.0.4 
Binary dist. (my compiled version is always missing the lib directory 
for some reason... I could just copy it in I guess) either way, When I 
get it running, and I try to navigate to the main page I always get the 
error listed below. I have seen this pop up in a few messages on fourms 
before, but the problem was never answered.

Here is the full error:

FATAL_E (2003-05-31) 16:23.35:586   [core.xslt-processor] (/cocoon/) 
Thread-10/TraxErrorHandler: File 
jar:file:/C:/Tomcat4.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0.4.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl; 
Line 154; Column 32; org.apache.xml.utils.WrappedRuntimeException: The 
output format must have a '{http://xml.apache.org/xalan}content-handler' 
property!
; SystemID: 
jar:file:/C:/Tomcat4.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0.4.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl; 
Line#: 154; Column#: 32
javax.xml.transform.TransformerException: 
org.apache.xml.utils.WrappedRuntimeException: The output format must 
have a '{http://xml.apache.org/xalan}content-handler' property!
   at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2344)
   at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
   at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
   at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3372)
   at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.xml.utils.WrappedRuntimeException: The output 
format must have a '{http://xml.apache.org/xalan}content-handler' property!
   at 
org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:232)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.startDocument(TransformerIdentityImpl.java:869)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTreeHandler.java:826)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:934)
   at 
org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTreeHandler.java:243)
   at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:673)
   at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
   ... 4 more
-
org.apache.xml.utils.WrappedRuntimeException: The output format must 
have a '{http://xml.apache.org/xalan}content-handler' property!
   at 
org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:232)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.startDocument(TransformerIdentityImpl.java:869)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTreeHandler.java:826)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:934)
   at 
org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTreeHandler.java:243)
   at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:673)
   at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
   at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
   at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
   at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3372)
   at java.lang.Thread.run(Thread.java:534)
-
java.lang.IllegalArgumentException: The output format must have a 
'{http://xml.apache.org/xalan}content-handler' property!
   at 
org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:126)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:232)
   at 
org.apache.xalan.transformer.TransformerIdentityImpl.startDocument(TransformerIdentityImpl.java:869)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTreeHandler.java:826)
   at 
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:934)
   at 
org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTreeHandler.java:243)
   at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:673)
   at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2339)
   at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2160)
   at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1213)
   at 

Cocoon 2.0.4 compiles under JDK 1.4.2

2003-05-30 Thread Scott McClure
I was able to compile Cocoon 2.0.4 under JDK 1.4.2, but I have not yet 
run many tests. I was unable to compile milestone 2 though, and I still 
am wondering where the extra session-fw libs are that seems to be 
non-existant. See my previous e-mail for details.

scott

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


Build Error in Cocoon

2003-05-29 Thread Scott McClure
I have installed Cocoon, previously, but I was trying to build it from 
scratch and I ran into the error:

BUILD FAILED
file:C:/cocoon-2.1m2/build/cocoon2.1m2/temp/blocks-build.xml:1053: 
C:\cocoon-2.1m2\src\blocks\session-fw\lib not found.

Relevant information:
OS: Windows XP Pro
JDK: 1.4.2 (Bleeding edge... Although I dont think that has anything to 
do with it...)
Cocoon: 2.1 milestone 2 (If you couldnt tell from the error...)

Any information is greatly appreciated.

Scott McClure

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


RE: Source using Component via ECM

2003-03-25 Thread Scott Warren
For Cocoon 2.0.4 there is a file called users.role which is in the
cocoon.jar You need to create your own and specify it's path using the
root element of the cocoon.xconf file for example my file has this element

cocoon version=2.0 user-roles=/WEB-INF/user.roles 

The user-roles attribute specifies my custom role which is loaded in
addition to the original file.

Hope this Helps

Scott Warren

-Original Message-
From: Peter Klotz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 26 March 2003 2:27 AM
To: [EMAIL PROTECTED]
Subject: Source using Component via ECM


Hi,

I have a custom source that gets the component manager from the
SourceFactory.
So good so fine, but obviously when the source looks up its backend
component it does not find it, although it is configured in cocoon.xconf
as
component.

How is this suposed to work? Am I missing something?


Thanks, Peter



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



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



RE: Generator for OpenOffice

2003-03-11 Thread Scott Warren
OpenOffice 1.0 files are actually a set of XML files Zipped. If you rename
an Open Office document to Zip you will find that the Draw application for
example has an SVG file inside. Not sure if it's possible with Cocoon to
generate the 4 files and the ZIP (anyone ??).

Hope this helps


Scott Warren

-Original Message-
From: Yves Vindevogel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 11 March 2003 7:43 PM
To: [EMAIL PROTECTED]
Subject: Generator for OpenOffice


Anyone who knows whether there's a generator for OpenOffice files ?

Kind regards,
Yves Vindevogel


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



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



Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the 
template into a another template that has a xsl:for-each select=tr I 
think you may get different results then.

Hope this helps

Scott Warren

Jacob Arnold wrote:

Whenever I test for even nodes using XSLT on my serialized XSP, all the
nodes are even. For example, I'm trying to make every even table row a
different color:

xsl:template match=tr
 xsl:if test=position() mod 2 = 0
   tr class=evenrowxsl:apply-templates//tr
 /xsl:if
 xsl:if test=position() mod 2 = 1
   tr class=oddrowxsl:apply-templates//tr
 /xsl:if
/xsl:template

But every table row is getting the evenrow class applied. When I display the
position, every row (and every td for that matter) is even-numbered. Does
anyone know what might be causing this?

Here's a sitemap fragment:

map:match pattern=**.xsp
 map:act type=resource-exists
   map:parameter name=url value=docs/{1}.xsp/
   map:generate src=docs/{../1}.xsp type=serverpages/
   map:serialize/
 /map:act
 map:generate src=docs/404.xsp/
 map:transform src=stylesheets/encode-html.xsl/
 map:serialize/
/map:match

map:match pattern=**.html
 map:aggregate element=document
   map:part src=cocoon:/menu.xsp strip-root=true/
   map:part src=cocoon:/{1}.xsp strip-root=true/
 /map:aggregate
 map:transform src=stylesheets/encode-html.xsl/
 map:serialize/
/map:match

I'm using Cocoon 2.0.4 on Tomcat 4.1.12.

Thanks,
J

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



 




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren
What is the value that position() is returning? Can you move the 
template into a another template that has a xsl:for-each select=tr I 
think you may get different results then.

Hope this helps

Scott Warren

Jacob Arnold wrote:

Whenever I test for even nodes using XSLT on my serialized XSP, all the
nodes are even. For example, I'm trying to make every even table row a
different color:

xsl:template match=tr
 xsl:if test=position() mod 2 = 0
   tr class=evenrowxsl:apply-templates//tr
 /xsl:if
 xsl:if test=position() mod 2 = 1
   tr class=oddrowxsl:apply-templates//tr
 /xsl:if
/xsl:template

But every table row is getting the evenrow class applied. When I display the
position, every row (and every td for that matter) is even-numbered. Does
anyone know what might be causing this?

Here's a sitemap fragment:

map:match pattern=**.xsp
 map:act type=resource-exists
   map:parameter name=url value=docs/{1}.xsp/
   map:generate src=docs/{../1}.xsp type=serverpages/
   map:serialize/
 /map:act
 map:generate src=docs/404.xsp/
 map:transform src=stylesheets/encode-html.xsl/
 map:serialize/
/map:match

map:match pattern=**.html
 map:aggregate element=document
   map:part src=cocoon:/menu.xsp strip-root=true/
   map:part src=cocoon:/{1}.xsp strip-root=true/
 /map:aggregate
 map:transform src=stylesheets/encode-html.xsl/
 map:serialize/
/map:match

I'm using Cocoon 2.0.4 on Tomcat 4.1.12.

Thanks,
J

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



 




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: XSP All Nodes Even

2003-01-23 Thread Scott Warren




No not a second stylesheet, Change your stylesheet to be like this

xsl:template match="table"
 xsl:for-each select="tr"
  xsl:if test="position() mod 2 = 0"
   tr class="evenrow"xsl:apply-templates//tr
  /xsl:if
  xsl:if test="position() mod 2 = 1"
   tr class="oddrow"xsl:apply-templates//tr
  /xsl:if
 /xsl:for-each
/xsl:template

Where table is assumed to be the parent node of all the tr nodes. 

Does this help ?

Scott Warren

Jacob Arnold wrote:

  If my query returns 56 records (1 per row) then I get 2, 4, 6, 8, 10...
through 114. Are you suggesting adding a second stylesheet?

Thanks,
J


-Original Message-
From: Scott Warren [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 4:22 PM
To: [EMAIL PROTECTED]
Subject: Re: XSP All Nodes Even


What is the value that position() is returning? Can you move the 
template into a another template that has a xsl:for-each select="tr" I 
think you may get different results then.

Hope this helps

Scott Warren

Jacob Arnold wrote:

  
  
Whenever I test for even nodes using XSLT on my serialized XSP, all the
nodes are even. For example, I'm trying to make every even table row a
different color:

xsl:template match="tr"
 xsl:if test="position() mod 2 = 0"
   tr class="evenrow"xsl:apply-templates//tr
 /xsl:if
 xsl:if test="position() mod 2 = 1"
   tr class="oddrow"xsl:apply-templates//tr
 /xsl:if
/xsl:template

But every table row is getting the evenrow class applied. When I display

  
  the
  
  
position, every row (and every td for that matter) is even-numbered. Does
anyone know what might be causing this?

Here's a sitemap fragment:

map:match pattern="**.xsp"
 map:act type="resource-exists"
   map:parameter name="url" value="docs/{1}.xsp"/
   map:generate src="" type="serverpages"/
   map:serialize/
 /map:act
 map:generate src=""/
 map:transform src=""/
 map:serialize/
/map:match

map:match pattern="**.html"
 map:aggregate element="document"
   map:part src="" strip-root="true"/
   map:part src="" strip-root="true"/
 /map:aggregate
 map:transform src=""/
 map:serialize/
/map:match

I'm using Cocoon 2.0.4 on Tomcat 4.1.12.

Thanks,
J

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



 


  
  


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



  






Re: Problem with namespaces

2002-11-19 Thread Scott Warren




Is there another Exception in error.log ?? 

Just a guess but do you need the xlink namespace ??? if not try taking that
out. I think (educated guess) that cocoon is triying to fetch the file 
http://www.w3.org/1999/xlink
as it may not be in cocoons catalog.

Hope this helps ??

Scott Warren

Saul Rodrigo Zarrate Crdenas wrote:

  Hi everybody

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

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

?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"
  
  
 

  
 
page 
 xsp:logic
  int cod_empresa;
  cod_empresa=1;
 /xsp:logic
/page
/xsp:page



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

In my cocoon.xconf file I have this code lines 

builtin-logicsheet
   parameter name="prefix" value="sgcwebxml"/
   parameter name="uri" value="http://sgcwebxml.com/xsp/1.0"/
   parameter name="href" 
value="resource://sgcwebxml/logicsheets/sgcwebxml.xsl"/
/builtin-logicsheet

The logicsheet is this

?xml version='1.0'?
xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsp="http://apache.org/xsp"
xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0"
  
  
 xsl:template match="sgcwebxml:obtenerDato"
   xsp:logic
  int cod_empresa;
  cod_empresa=1;
   /xsp:logic
/xsl:stylesheet


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

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

  
  
page
/page

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

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



Cocoon 2 - Internal server error

---
-

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load class 
for 
program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc
iones_xsp' due to a java.lang.ClassNotFoundException: 
org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load class 
for 
program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc
iones_xsp' due to a java.lang.ClassNotFoundException: 
org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createReso
urce(ProgramGeneratorImpl.java:340)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load
(ProgramGeneratorImpl.java:292)
	at org.apache.cocoon.generation.ServerPagesGenerator.setup
(ServerPagesGenerator.java:198)
	at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:202)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup
(CachingEventPipeline.java:278)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey
(CachingEventPipeline.java:141)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
(CachingStreamPipeline.java:317)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100FE
(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1266)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:502)
	at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos 
de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-
files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:397)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
	at org.apache.cocoon.www.s

Re: Problem with namespaces

2002-11-19 Thread Scott Warren




Is there a .java file generated ?? I would check this for errors ..

Also check your core.log file for signs of it trying to load 
sgcwebxml/logicsheets/sgcwebxml.xsl
There could be an error there.

Regards

Scott Warren

Saul Rodrigo Zarrate Crdenas wrote:

  Mensaje citado por Scott Warren [EMAIL PROTECTED]:

  
  
Is there another Exception in error.log ??

  
  
No, there isn't

  
  
Just a guess but do you need the xlink namespace ??? if not try taking 
that out. I think (educated guess) that cocoon is triying to fetch the file

http://www.w3.org/1999/xlink

 as it may not be in cocoons catalog.

Hope this helps ??

  
  
mm, thank you, but I did it and the problem is still there.

Any idea?

  
  
Scott Warren

Saul Rodrigo Zarrate Crdenas wrote:



  Hi everybody

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

I have a XSP page where I have logical.  If i load that page with the
  

logical 


  and Java source in the same page I not have any problem.  In the xsp page I
  


  have something like

?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"
 

  
  
   


  

page 
xsp:logic
 int cod_empresa;
 cod_empresa=1;
/xsp:logic
/page
/xsp:page



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

logic 


  in a logicsheet.  

In my cocoon.xconf file I have this code lines 

builtin-logicsheet
  parameter name="prefix" value="sgcwebxml"/
  parameter name="uri" value="http://sgcwebxml.com/xsp/1.0"/
  parameter name="href" 
value="resource://sgcwebxml/logicsheets/sgcwebxml.xsl"/
/builtin-logicsheet

The logicsheet is this

?xml version='1.0'?
xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  

version='1.0'


 xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:xsp="http://apache.org/xsp"
   xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0"
 


xsl:template match="sgcwebxml:obtenerDato"
  xsp:logic
 int cod_empresa;
 cod_empresa=1;
  /xsp:logic
/xsl:stylesheet


And in my xsp page, where I want to use the logicsheets (the logicsheet is
  

the 


  sgcwebxml.xsl file, and it is in the coocon/WEB-
INF/classes/sgcwebxml/logicsheets directory) I have something like that

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

  
  
   


  
  page
/page

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

the 


  namespace declaration.

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



Cocoon 2 - Internal server error


  

  
  ---
  
  

  -

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load
  

class 


  for 
program
  

'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc


  iones_xsp' due to a java.lang.ClassNotFoundException: 
  

org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs

  
  p
  
  

  sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Could not load
  

class 


  for 
program
  

'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc


  iones_xsp' due to a java.lang.ClassNotFoundException: 
  

org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs

  
  p
  
  

  	at 
  

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createRes

  
  o
  
  

  urce(ProgramGeneratorImpl.java:340)
	at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load
(ProgramGeneratorImpl.java:292)
	at org.apache.cocoon.generation.ServerPagesGenerator.setup
(ServerPagesGenerator.java:198)
	at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:202)
	at org.apache.cocoon.components.pipeline.CachingEventPipeli

Re: XMLForm UI Builder

2002-11-19 Thread Scott Warren




I sent an example recently. Unfortunately I am a little snowed under at
the moment. I will get an example soon .. Promise

Take Care

Scott Warren

Ivelin Ivanov wrote:

  Interesting approach.

Can you share an example?


Ivelin


- Original Message -
From: "Scott Warren" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 3:45 PM
Subject: Re: XMLForm UI Builder


  
  
Senhaji,

An easy way that I have achieved this is to generate an XML document
that has all the information (Java Bean properties + code, Form Elements
etc) then I created a number of XSL Documents that take the XML doc and
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc.
Then all you need to do is change the layout of the XMLForm as
needed.. I use Ant to generate the files from the XML but you can
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:



  Hello,

I've just finished playing with the XMLForm wizard example. I've learned
  

  
  a
  
  

  lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that,
  

  
  I
  
  

  started looking for an XMLForm builder that would help me speed up the
  

  
  form
  
  

  building process. But without success! How can I explain to the
  

  
  management
  
  

  that even building a simple Form with C2 will take ~3 days of
  

  
  development?
  
  

  not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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





  



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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


  
  


  






xsp-util:include-expr problem

2002-11-18 Thread Parmley, Scott C.
Hello.

I am trying to include some generated xml from another object in an XSP docment using 
xsp-util:include-expr
Here's a code snippet to show you what I've done.

vendor-table
xsp:logic
  String fxml = ;
  try {



fxml = vendor.getVendorCollectionXML(sessionID, params);
  }
  catch(Throwable cause) {
  cause.printStackTrace();
  }
  
xsp-util:include-exprxsp-util:exprfxml/xsp-util:expr/xsp-util:include-expr
/xsp:logic
  /vendor-table

   ..


The issue I am seeing is the following reported back to me by cocoon.
org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
vendor_results_xsp: Line 0, column 0: could not parse error message: Note: 
sun.tools.javac.Main has been deprecated. 
D:\temp\jboss\Jetty_0_0_0_0_8080__bq\cocoon-files\org\apache\cocoon\www\docs\vendor_results_xsp.java:216:
 ')' expected. XSPUtil.includeString(this.characters(fxml); 


Am I missing something here?

Thanks,
-Scott


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: XMLForm UI Builder

2002-11-17 Thread Scott Warren
Senhaji,

An easy way that I have achieved this is to generate an XML document 
that has all the information (Java Bean properties + code, Form Elements 
etc) then I created a number of XSL Documents that take the XML doc and 
produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. 
Then all you need to do is change the layout of the XMLForm as 
needed.. I use Ant to generate the files from the XML but you can 
use a Cocoon pipleine to generate the files.

Hope this helps

Scott Warren

Senhaji wrote:

Hello,

I've just finished playing with the XMLForm wizard example. I've learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that, I
started looking for an XMLForm builder that would help me speed up the form
building process. But without success! How can I explain to the management
that even building a simple Form with C2 will take ~3 days of development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



 




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




XSP:Expr Question.

2002-11-14 Thread Parmley, Scott C.
Hello everyone.

I need some advice reguarding xsp:expr.  First, let me give you the scenerio:  I am 
writing a session bean that contains a method whose ouput is xml tags.  The intention 
is to take this output and print it in my xsp document, similarly to JSP out.write().  
The problem I am facing is that that data is printed, but the tags are all escaped 
using lt; and gt; instead of  and .  Any advice as to what I should do?

Thanks in advance!
-Scott

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: Need to specify target.vm

2002-10-13 Thread Scott Schram

At 01:12 AM 10/13/2002, you wrote:
 Robert I built on 10/12/2002 OK, so perhaps just environment?

Could be. If I type:

which ant

then it finds ant in the jwsdp/bin directory - that's ant 1.4.1, do I
need a different version?

What happens if you type which java ?  Do you get an unexpected one 
installed by your linux distribution?

It looks like you're using an ant that came in some other package.  Perhaps 
that package is missing something.

Why not try using ant 1.5.1 from http://jakarta.apache.org/ant/index.html

Of course, make sure ANT_HOME and the path are set to the right ant.

Scott




http://schram.net


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Website documention problem with page widths

2002-07-03 Thread Scott Bussinger

As a newbie to the Cocoon world, I've been struggling to get up to speed. I
can certainly sympathize with some of the comments about Cocoon's
documentation issues as I'm struggling with them myself right now.

I do have one suggestion for whoever is responsible for maintaining the
xml.apache.org/cocoon websites:

Many of the pages have severe issues with page widths. For example, if you
go to http://xml.apache.org/cocoon/developing/sunspot.html, you'll find the
the pages are much wider than the browser screen width (same problem in both
IE and Netscape). It's _very_ hard to read these pages and you can't really
print them at all (half the text is missing off of the side of the page).
There are many of these pages scattered throughout the site.

This is sounds like a small thing, but this information isn't available
anywhere else and it's extremely hard to get it from the one place it is
available. I finally resorted to cutting and pasting the text into Word so I
could print it.

Also making these pages available as PDF files for easy printing would be
wonderful as well. I've read messages that seem to discuss a new
documentation method coming in the future and maybe that will solve the
problem, but simply fixing the webpages would be much appreciated.

Thanks!



-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: Website documention problem with page widths

2002-07-03 Thread Evan Scott

Houston, it appears we have achieved synergy.

Dean McGowan wrote:

I would like to offer the services of kangax to handle documentation
publishing, I am sure we can solve many of the problems you are currently
experiencing.

Kangax is a simple publishing tool which leverages cocoon technology.

Please contact Dean McGowan to discuss, this would be a free service to the
community, however editors and contributors are still necessary.

If you are using a win 32 operating system with ie6.0 installed please
download and trial Kangax from

http://www.kangax.com/client/kangax/downloads/setup.exe


Regards,

Dean McGowan




-Original Message-
From: Diana Shannon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 04, 2002 9:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Website documention problem with page widths



On Wednesday, July 3, 2002, at 06:55  PM, Scott Bussinger wrote:

Many of the pages have severe issues with page widths. For example, if
you
go to http://xml.apache.org/cocoon/developing/sunspot.html, you'll find
the
the pages are much wider than the browser screen width (same problem in
both
IE and Netscape). It's _very_ hard to read these pages and you can't
really
print them at all (half the text is missing off of the side of the
page).
There are many of these pages scattered throughout the site.


This is a known problem with source snippets that are made up of CDATA
sections running longer than the designed screen width. We're addressing
this in Forrest. Right now, the only solution is to manually break these
snippets in the source XML file for pretty printing in docs. I always
fix this when I encounter such problems in the existing files I edit,
and I screen these problems out of all new submissions, but I simply
haven't had time to fix *all* problematic files, yet. Volunteers?

This is sounds like a small thing, but this information isn't available
anywhere else and it's extremely hard to get it from the one place it is
available. I finally resorted to cutting and pasting the text into Word
so I
could print it.


Sorry you had to go to this trouble.

Also making these pages available as PDF files for easy printing would
be
wonderful as well. I've read messages that seem to discuss a new
documentation method coming in the future and maybe that will solve the
problem, but simply fixing the webpages would be much appreciated.


Also a Forrest goal.

Thanks for your input.

Diana


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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






-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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




Re: develop content management system

2002-01-16 Thread Scott Ahten

I'm quite interested in being involved in one way or another. I've been 
trying to wrap my brain around an XML schema and other aspects of a 
Cocoon based CMS for quite some time now.

~Scott

Chris Perrin wrote:

All,

There have been a number of requests for some type of Cocoon based content
management system.  It also appears that the current solutions are
inadequate for one reason or another.  Thus, I am wondering if there is
interest in creating an open source content management product for Cocooon.
I would be more than happy to lend my time to the project and can take
direction on the project if no one else would like to or I can take a
devleoper role.

Thanks,
Chris

-
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: Installation problems with Cocoon 2 using TomCat 4, RedHat7.1,JDK 1.4

2001-12-22 Thread Scott Lamb

The full text is The sitemap handler's sitemap is not available. Please
check logs for the exact error. It's referring to the logs in the
webapps/cocoon/WEB-INF/logs directory. Search through like cocoon.log* and
I bet you will see Error compiling sitemap with a more helpful error
message following it.

On Sat, 22 Dec 2001, Dale Frye wrote:

 6: localhost:8080/cocoon/ gives

 ... The sitemap handler's sitemap is not available. ...


 I'm stuck at this point. I've seen references in the mail archive for
 this errormessage being caused on a system without X11. But I'm running
 X11 (KDE).

 Thanks for any help

 Dale Frye


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




Resin 2.0.4 installation

2001-12-20 Thread Scott Lamb

I'm trying to install Cocoon 2.0 on Resin 2.0.4 and not having
much luck. I got it work on Tomcat 4.0.1, but it was very slow. I'm trying
Resin in the hopes that it will be faster. (Though I'd love to hear any
Tomcat+Cocoon performance tips.)

Short version: I'm missing org/w3c/xsl/XSLTContext. It was in the Resin
jars the install guide said to delete and isn't in Cocoon. Do I want part
of these back or is there another file I get?

Long version: I did this:

- Unpacked/ran Resin. It worked fine.

- Followed Installing on Resin 2.0.x instructions. Replaced
  resin-2.0.4/lib/{jaxp,dom,sax}.jar with xerces-1.4.4.jar. Copied
  cocoon.war to resin-2.0.4/webapps

- Ran Resin. It failed with a NoClassDefFoundError on
  org/xml/sax/XMLReader

- Looked for this class and found it in xml-apis.jar; copied that over.

  $ for i in cocoon/WEB-INF/lib/*.jar; do jar tf $i | \
fgrep org/w3c/xsl/XSLTContext | sed -e s|^|$i: |; done

- Ran Resin. It started but pages failed to load with NoClassDefFoundError on
  org/w3c/xsl/XSLTContext

- Looked for this in same way. Didn't find it. This sounds like something
  Xalan would have, but apparently it doesn't.

Any ideas would be appreciated.

Thanks,
Scott Lamb


-
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.xml file the last missing piece

2001-10-18 Thread Scott Trafford

Hi All

I have Apache HTTPD Server 1.3.22 and Tomcat 3.2.3 running on WinNT 
sucessfully.  I have also installed Cocoon 1.8.2 and the index.xml (with the 
URL http://localhost:8080/cocoon/samples/index.xml) and the samples come up 
fine.

The last piece that I cannot get working is the Cocoon.xml properties file.  
This file will not load.  I get the error HTTP 404 Not Found.

I can see in the archives that this question has been asked but not really 
addressed.  Does anyone have any ideas why?  I have tried the Cocoon 
installation from many different sources but cannot get this piece to work.

One note:  The setup of web.xml and the cocoon.properties files that the 
installation instructions from Cocoon state should be in the 
$TOMCAT_HOME/webapps/cocoon/WEB-INF directory do not
actually work.  I found that putting the cocoon.properties file in the
$TOMCAT_HOME/webapps/cocoon directory actually works.  All except for the 
Cocoon.xml file that is.

Thanks in advance,
Scott Trafford

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


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: Cocoon 1.8.2 inserts xmlns: attributes in every tag

2001-07-20 Thread James Scott


Fixed my own wagon...this appears to be a Saxon thing, not a cocoon thing.
I guess Cocoon was caching the results of the transformation on the sample
page.xml so I didn't see any effect in changing XSLT engines until I also
made a trivial change in the XSP.

JLS

On Thu, 19 Jul 2001, James Scott wrote:

 Hi

 This is a strange one...and I didn't find the answer in the FAQ or the
 mail archives, so I'm asking the list. I have two Cocoon-driven webapps
 running on the same Tomcat/Apache installation. One is just a bare-bones
 install of the Cocoon distro, the other actually contains application
 code. The webapp with the application code inserts xmlns: attributes
 into every tag in an XSP! For instance, I commented out the XSLT directive
 in the XSP sample (samples/xsp/page.xml) and this is what it produced:

 -
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN
 http://www.w3.org/TR/REC-html40/strict.dtd;
 page xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;
   title xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;First XSP Page/title
   author xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;
name xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;Stefano Mazzocchi/name
address xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;[EMAIL PROTECTED]/address
   /author

   p xmlns:xml=http://www.w3.org/XML/1998/namespace;
 xmlns:xsp=http://www.apache.org/1999/XSP/Core;Hi, I'm your first XSP
 page ever./p
 -

 The other Cocoon webapp - running in the same JVM - doesn't do this.  I
 diffed the cocoon.properties files and the only differences are in the
 connection pool setups.

 I actually do need to solve this problem to conform to an interface
 specification.

 Thanks,

 JLS


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




Cocoon 1.8.2 inserts xmlns: attributes in every tag

2001-07-19 Thread James Scott

Hi

This is a strange one...and I didn't find the answer in the FAQ or the
mail archives, so I'm asking the list. I have two Cocoon-driven webapps
running on the same Tomcat/Apache installation. One is just a bare-bones
install of the Cocoon distro, the other actually contains application
code. The webapp with the application code inserts xmlns: attributes
into every tag in an XSP! For instance, I commented out the XSLT directive
in the XSP sample (samples/xsp/page.xml) and this is what it produced:

-
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN
http://www.w3.org/TR/REC-html40/strict.dtd;
page xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;
  title xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;First XSP Page/title
  author xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;
   name xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;Stefano Mazzocchi/name
   address xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;[EMAIL PROTECTED]/address
  /author

  p xmlns:xml=http://www.w3.org/XML/1998/namespace;
xmlns:xsp=http://www.apache.org/1999/XSP/Core;Hi, I'm your first XSP
page ever./p
-

The other Cocoon webapp - running in the same JVM - doesn't do this.  I
diffed the cocoon.properties files and the only differences are in the
connection pool setups.

I actually do need to solve this problem to conform to an interface
specification.

Thanks,

JLS


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




[C1] Custom Error Template / Log File?

2001-07-18 Thread Scott Jones

Hello,

I have set up my cocoon application to not handle errors internally, and
then they are handled by tomcat...  This is nice because the error messages
are hidden from our users (who get scared by stack traces) and can send an
error report to our team.

The only problem is that my tomcat error handling page does not have access
to the Exception that caused the problem in the first place (so I can't
report that exception to our team).

I know that cocoon does some logging (at least there are options for it in
cocoon.properties), but I don't know where the log file is!!  Having access
to that would also be a solution.

Is there a way that I can replace the page that reports errors internally,
so that I can have access to the stack trace?  Where would I begin?

Thank you for any suggestions!

Sincerely,

Scott Jones
[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: Problem building cocon 2 with tomcat 3.2.2

2001-06-19 Thread Scott N. Smith

Marco

 I think that the problem is javax.naming.* : where is this packge?

javax.naming is part of J2EE; you can get this from the Sun web site.

Of course, this is supplied if you are running EJB in an appserver.

HTH,

-Scott

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