Bugs in request logicsheet?

2001-09-07 Thread Paolo

I am working with the request logicsheet with Cocoon 2.0 and I
discovered the are some errors both in online and included documentation
of its tags.

- 'get-remote-addr' does not exist, but there is 'get-remote-address'
- 'is-user-in-role' does not exist

Did you know it?

Cordiali saluti,
Paolo Scaffardi
AIRVENT SAM S.p.A.



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

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




site map not loading - NoClassDefFoundError DefaultComponentFactory batik-all.jar

2001-09-07 Thread Stefaan Nachtergaele








Hello,

 

The message from the browser when I
go to /cocoon is

 

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

 

The cocoon.log entry is included
below. I found something in the dev-cocoon list which attributes the problem to
batik-all.jar incompatibility. I don’t have this jar
on my system though. Anyone have a clue?

 

ERROR   64754  
[cocoon  ] (Thread-31):
Error compiling sitemap

java.lang.NoClassDefFoundError

    at
java.lang.Class.newInstance0(Native Method)

    at
java.lang.Class.newInstance(Class.java:237)

    at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:83)

    at
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)

    at
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)

    at
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)

    at
org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:75)

    at
org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)

    at
org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:42)

    at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:150)

    at
org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:940)

    at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:490)

    at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:110)

    at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78)

    at
org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)

    at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:75)

    at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:71)

    at
org.apache.cocoon.components.language.generator.GeneratorSelector.select(GeneratorSelector.java:57)

    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(ProgramGeneratorImpl.java:261)

    at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:145)

    at
org.apache.cocoon.sitemap.Handler.run(Handler.java:224)

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








Sitemap parameters, session parameters and sitemap-relative descriptor parameter

2001-09-07 Thread Paolo

I am trying to implement a authentication method. It seems that Sitemap
Parameters are not inherited to selectors inside others... this is my
code (look for {auth_role_page} in the ):






































Then, my questions:
1) is it possibile to propagate Sitemap parameters into child elements
of sitemap?
2) is it possibile to check and propagate session attributes to Sitemap
without deleting an existing session?
3) is it possibile to specify a sitemap-relative path as descriptor
parameter to the database authenticator action?

ByeBye,
Paolo Scaffardi
AIRVENT SAM S.p.A.



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

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




aggregate.xsp - C2b2 - is working???

2001-09-07 Thread Karol Pokojowczyk/POKOJOWCZYK.COM

Hello cocoon-users,

  is aggregate.xsp working?
  I got an empty result.

-- 
Best regards,
 Karol  mailto:[EMAIL PROTECTED]



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

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




Cocoon / FOP threadsafe?

2001-09-07 Thread Norbert Rump

Hi all,

I've got the following problem: we are using the fop-part of cocoon to
produce pdf-files. We do it out of a servlet on a webserver with
possibly many concurrent users. As there have been problems with the
xml parser quick, which created a lot of threads and didn't stop them,
I have to reassure our client that this will not happen with
cocoon/fop.

So my question is: is there any guarantee that cocoon is threadsafe?
Are there any other things to consider when using cocoon/fop on a
webserver with many concurrent users?

Norbert

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

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




Cocoon 2 and JBuilder ?

2001-09-07 Thread Christofer Dutz

I hope this is not off-topic.

I just found out that cocoon 1.8x seems to be integrated in the new JBuilder
5. Has anyone here changed this integration to Cocoon 2.0 ?

Greets,
Christofer Dutz


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

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




Problem with own Generator and XSLT

2001-09-07 Thread Martin Kavalar

Hello,
For a project we are working on, we are implementing our own generator, 
which is supposed to combine multiple input sources (XML-FS, OODB, RDB, 
...) and output one XML. We started out with the generator having all 
XML hardcoded in our generator, so it would look like this:

public void generate() throws IOException, SAXException, 
ProcessingException {

// xmlConsumerAdapter calls xmlConsumer
this.xmlConsumerAdapter.startNSElement("info", "title");
this.xmlConsumerAdapter.characters("MuX [" + 
this.parameters.getParameter("OutputType", "NULL") + "]");
this.xmlConsumerAdapter.endNSElement("info", "title");

...and so on

We then copied a part of our xml output (The part containing the 
navigation) and moved it to a xml file on the filesystem.
No matter what way we tried to include this file however and send it to 
the xml consumer, no xsl transformation of any elements below the 
included navigation occurred.
We then implemented a way of turning compents in the xml output of, so 
cocoon/myproject?nav=0 would simply not include the nav file, then all 
other elements would be transformed.
Is this a bug in cocoon? (We reported it as #3057) What would be the 
correct to send xml code from the filesystem to xmlConsumer?
Here is what we tried:

1.
//nav File is a String to the existing nav file
Source is = resolver.resolve(navFile);
is.toSAX(this.xmlConsumer);

2.
XMLReader xr = XMLReaderFactory.createXMLReader();
xr.setContentHandler(super.xmlConsumer);
xr.parse(new InputSource(new FileReader(navFile)));

Thanks a lot for your help!
martin


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

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




RE: site map not loading - NoClassDefFoundError DefaultComponentFactory batik-all.jar

2001-09-07 Thread Tony Goodwin



Check 
sitemap_xmap.java line 490. You will find it in  (I'm guessing tomcat?) 
tomcat_home/work(or webapp)/localhost%app%(or siteyou 
areusing)/org/apache/cocoon/www/sitemap_xmap.java
That 
line should tell you what class isn't loading (from message 
below)
 
In 
general I would say that NoClassDefFound errors are due to lots of different 
reasons (batiks-all.jar only being one of them)
Tony

  -Original Message-From: Stefaan Nachtergaele 
  [mailto:[EMAIL PROTECTED]]Sent: 07 September 2001 
  11:12To: Cocoon-UsersSubject: site map not loading - 
  NoClassDefFoundError DefaultComponentFactory 
batik-all.jar
  
  Hello,
   
  The 
  message from the browser when I go to /cocoon 
  is
   
  exceptionorg.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
   
  The 
  cocoon.log entry is included below. I found something in the dev-cocoon list 
  which attributes the problem to batik-all.jar 
  incompatibility. I don’t have this jar on my system though. Anyone have a 
  clue?
   
  ERROR   64754   [cocoon  ] (Thread-31): Error compiling 
  sitemap
  java.lang.NoClassDefFoundError
      at 
  java.lang.Class.newInstance0(Native 
Method)
      at 
  java.lang.Class.newInstance(Class.java:237)
      at 
  org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:83)
      at 
  org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
      at 
  org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
      at 
  org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)
      at 
  org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:75)
      at 
  org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)
      at 
  org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:42)
      at 
  org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:150)
      at 
  org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:940)
      at 
  org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:490)
      at 
  org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:110)
      at 
  org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78)
      at 
  org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)
      at 
  org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:75)
      at 
  org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:71)
      at 
  org.apache.cocoon.components.language.generator.GeneratorSelector.select(GeneratorSelector.java:57)
      at 
  org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(ProgramGeneratorImpl.java:261)
      at 
  org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:145)
      at 
  org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
      at 
  java.lang.Thread.run(Thread.java:484)


AW: Problem with own Generator and XSLT

2001-09-07 Thread Carsten Ziegeler

Hi,

1. did you try to read and transform your file using the standard
   file generator? (in sitemap: )
2. If you include an xml source inside your generator into your
   stream, your first approach (using toSAX()) is the way to go,
   but when using toSAX() (or any other method), all sax events
   for parsing this document are send, including the startDocument()
   and endDocument() event.
   So if you include this, you have to ignore those two sax events.
   For exactly this purpose exists the
org.apache.cocoon.xml.IncludeXMLConsumer
   class.

If 1. does not work, it may be that your stylesheet is the source
of error.
If you still have problems, include your xml and xsl file if possible.

Carsten

> -Ursprungliche Nachricht-
> Von: Martin Kavalar [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 7. September 2001 13:51
> An: [EMAIL PROTECTED]
> Betreff: Problem with own Generator and XSLT
>
>
> Hello,
> For a project we are working on, we are implementing our own generator,
> which is supposed to combine multiple input sources (XML-FS, OODB, RDB,
> ...) and output one XML. We started out with the generator having all
> XML hardcoded in our generator, so it would look like this:
>
> public void generate() throws IOException, SAXException,
> ProcessingException {
> 
> // xmlConsumerAdapter calls xmlConsumer
> this.xmlConsumerAdapter.startNSElement("info", "title");
> this.xmlConsumerAdapter.characters("MuX [" +
> this.parameters.getParameter("OutputType", "NULL") + "]");
> this.xmlConsumerAdapter.endNSElement("info", "title");
>
> ...and so on
>
> We then copied a part of our xml output (The part containing the
> navigation) and moved it to a xml file on the filesystem.
> No matter what way we tried to include this file however and send it to
> the xml consumer, no xsl transformation of any elements below the
> included navigation occurred.
> We then implemented a way of turning compents in the xml output of, so
> cocoon/myproject?nav=0 would simply not include the nav file, then all
> other elements would be transformed.
> Is this a bug in cocoon? (We reported it as #3057) What would be the
> correct to send xml code from the filesystem to xmlConsumer?
> Here is what we tried:
>
> 1.
> //nav File is a String to the existing nav file
> Source is = resolver.resolve(navFile);
> is.toSAX(this.xmlConsumer);
>
> 2.
> XMLReader xr = XMLReaderFactory.createXMLReader();
> xr.setContentHandler(super.xmlConsumer);
> xr.parse(new InputSource(new FileReader(navFile)));
>
> Thanks a lot for your help!
> martin
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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

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




Re: AW: Problem with own Generator and XSLT

2001-09-07 Thread Martin Kavalar

Thank you so much, its working perfectly now. It must have been the 
startDocument() that caused the transformation to stop.
I just closed the bug, sorry if anyone wasted time on my error.
thanks once more
martin

Carsten Ziegeler wrote:

>Hi,
>
>1. did you try to read and transform your file using the standard
>   file generator? (in sitemap: )
>2. If you include an xml source inside your generator into your
>   stream, your first approach (using toSAX()) is the way to go,
>   but when using toSAX() (or any other method), all sax events
>   for parsing this document are send, including the startDocument()
>   and endDocument() event.
>   So if you include this, you have to ignore those two sax events.
>   For exactly this purpose exists the
>org.apache.cocoon.xml.IncludeXMLConsumer
>   class.
>
>If 1. does not work, it may be that your stylesheet is the source
>of error.
>If you still have problems, include your xml and xsl file if possible.
>
>Carsten
>
>>-Ursprungliche Nachricht-
>>Von: Martin Kavalar [mailto:[EMAIL PROTECTED]]
>>Gesendet: Freitag, 7. September 2001 13:51
>>An: [EMAIL PROTECTED]
>>Betreff: Problem with own Generator and XSLT
>>
>>
>>Hello,
>>For a project we are working on, we are implementing our own generator,
>>which is supposed to combine multiple input sources (XML-FS, OODB, RDB,
>>...) and output one XML. We started out with the generator having all
>>XML hardcoded in our generator, so it would look like this:
>>
>>public void generate() throws IOException, SAXException,
>>ProcessingException {
>>
>>// xmlConsumerAdapter calls xmlConsumer
>>this.xmlConsumerAdapter.startNSElement("info", "title");
>>this.xmlConsumerAdapter.characters("MuX [" +
>>this.parameters.getParameter("OutputType", "NULL") + "]");
>>this.xmlConsumerAdapter.endNSElement("info", "title");
>>
>>...and so on
>>
>>We then copied a part of our xml output (The part containing the
>>navigation) and moved it to a xml file on the filesystem.
>>No matter what way we tried to include this file however and send it to
>>the xml consumer, no xsl transformation of any elements below the
>>included navigation occurred.
>>We then implemented a way of turning compents in the xml output of, so
>>cocoon/myproject?nav=0 would simply not include the nav file, then all
>>other elements would be transformed.
>>Is this a bug in cocoon? (We reported it as #3057) What would be the
>>correct to send xml code from the filesystem to xmlConsumer?
>>Here is what we tried:
>>
>>1.
>>//nav File is a String to the existing nav file
>>Source is = resolver.resolve(navFile);
>>is.toSAX(this.xmlConsumer);
>>
>>2.
>>XMLReader xr = XMLReaderFactory.createXMLReader();
>>xr.setContentHandler(super.xmlConsumer);
>>xr.parse(new InputSource(new FileReader(navFile)));
>>
>>Thanks a lot for your help!
>>martin
>>
>>
>>-
>>Please check that your question has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
>
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>



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

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




Loading word documents

2001-09-07 Thread Mohit Narain

I am unable to link to and load up word documents from my xsp pages. I tried
the following...

--> I have changed the main cocoon sitemap to add the following

   

   

--> Then i stored my word docs in the ../images/ folder.

--> On loading, nothing loaded up.

Looking forward to your help.
Best WishesMohit


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

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




Background-image question/status

2001-09-07 Thread Kilmer, Erich

Hello,
I am interested in getting an update on using background-image in
FOP/Cocoon.
I have tried background-image in the latest FOP release 0.20.1 but it still
doesn't work. On the Cocoon/FOP Apache websites I have checked the
Limitations and Features pages but do not see anything.
What is the issue with background images? Is it a PDF thing?
Also if anyone can give me an idea of when this functionality would be
available I would appreciate it!
Thanks,
Erich Kilmer
Bell+Howell


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

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




Re: Background-image question/status

2001-09-07 Thread java guru

Hi.,
 I have run quick check on this..the apache fop site
lists ONLY the thingies supported..so what ever is not
listed is NOT supported yet...and I dont see the
background-image stuff in the list...



 --- "Kilmer, Erich" <[EMAIL PROTECTED]>
wrote: > Hello,
> I am interested in getting an update on using
> background-image in
> FOP/Cocoon.
> I have tried background-image in the latest FOP
> release 0.20.1 but it still
> doesn't work. On the Cocoon/FOP Apache websites I
> have checked the
> Limitations and Features pages but do not see
> anything.
> What is the issue with background images? Is it a
> PDF thing?
> Also if anyone can give me an idea of when this
> functionality would be
> available I would appreciate it!
> Thanks,
> Erich Kilmer
> Bell+Howell
> 
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
>  

=
Thanks and have great day
srini


Do You Yahoo!?
Send a newsletter, share photos & files, conduct polls, organize chat events. Visit 
http://in/ groups.yahoo.com

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

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




Producers Vs Servlets

2001-09-07 Thread Alexandre Victoor

Hello,
I would like to know if it is possible to have a persistent producer 
working with cocoon. Right now the best solution is to chain a servlet with 
cocoon, instead of using a producer... I haven't found anything about the 
life cycle of producer objects in cocoon doc.
Thanks

Alexandre




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

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




Re: [C2b2] JSP Generator example fails with "Error creating the resource Exception JspGenerator.generate()"

2001-09-07 Thread Paul Spencer

Yes, I was able to get the JSP working by copping jasper-compiler.jar to
WEB-INF/lib.

The question was directed to the Cocoon developers since the JSP example
did not work with Tomcat 4 when both are installed as documented.

Paul Spencer 

"Piroumian, Konstantin" wrote:
> 
> > Tomcat v4 has 2 jasper jar files, jasper-runtime.jar and
> > jasper_compiler.jar, but it does NOT have a jasper.jar.
> > Jasper-runtime.jar is the only one exposed to webapps.  Is the intent
> > that webapps, like cocoon, should use jasper-runtime.jar?
> 
> Try to copy jasper-compiler.jar to your WEB-INF/lib and I hope everything
> will work. I couldn't get runnng JSP sample without it in Tomcat 4.0b6.
>

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

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




TurbineResources.properties error msg

2001-09-07 Thread Mark S. Kent

We installed Cocoon 1.8.2 in Tomcat 3.2.1 and were able to use the provided
examples to connect to our databases using the standard JDBC connection.
This being so slow we then added the code lines to turn on the ESQL database
pooling which is much faster.  However, now when we try to run an
 command in the XML file we are getting this message:

java.lang.Exception: The logfile= property and the turbine.logs= property
in the TurbineResources.properties file are null or could not be found.
At least one of these properties must be defined in the
TurbineResources.properties file. Please make sure that you have properly
defined the path to the TurbineResources.properties file and you have called
"TurbineResourceService.setPropertiesFileName("/path/to/TurbineResources.pro
perties");"
in your code.

I have searched for the "TurbineResources.properties" file and cannot find
it (hence the message that the settings are "null").  What needs to be done
to correct this?

Regards,
Mark


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

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




SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Hi cocoon-users!

I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install 
script.  I had to fix cocoon.java so it would get the file cocoon.properties 
instead of a resource.  I was able to successfully get the Cocoon.xml page 
to display.  When I tried to display the index.xml page, I got the exception 
below.  Any help would be greatly appreciated!!! Thanks in advance...

org.xml.sax.SAXParseException: The markup in the document following the root 
element must be well-formed.
at org.apache.cocoon.Engine.handle(Engine.java:313)
at org.apache.cocoon.Cocoon.service(Cocoon.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at 
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)



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


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

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




Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Berin Loritsch

Jack Hirasawa wrote:
> 
> Hi cocoon-users!
> 
> I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install
> script.  I had to fix cocoon.java so it would get the file cocoon.properties
> instead of a resource.  I was able to successfully get the Cocoon.xml page
> to display.  When I tried to display the index.xml page, I got the exception
> below.  Any help would be greatly appreciated!!! Thanks in advance...

The only time I have received this message is when the source XML was not
well formed.  It is possible that Websphere is still referencing an older
XML parser that doesn't accept namespaces.  In that case, you must make sure
that Xerces is before all other jars (including the WebSphere jars).

You may have to edit your websphere property files that specify classpath
information (you know the one where they tell you to edit for hot fixes?).
I have examined the contents of the websphere jars trying to figure out why
I was having issues with Cocoon 2 a few months ago.  The embed class files
for Xerces in there.

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

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




Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato

Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun
2.3.3.

I have everything set up I THINK, and I get the following error message 


Cocoon 1.8.2
Publishing Engine could not be initialized. java.lang.RuntimeException:
Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the
needed classes can be found in the classpath
(org/apache/xalan/xpath/xml/XMLParserLiaison)  at
org.apache.cocoon.framework.Manager.create(Manager.java:122)  at
org.apache.cocoon.Engine.(Engine.java:152)  at
org.apache.cocoon.Engine.getInstance(Engine.java:232)  at
org.apache.cocoon.Cocoon.init(Cocoon.java:157)  at
com.livesoftware.jrun.JRunServletLoader.loadServlet(JRunServletLoader.java:8
7)  at com.livesoftware.jrun.JRun.getServlet(JRun.java:538)  at
com.livesoftware.jrun.JRun.getServlet(JRun.java:494)  at
com.livesoftware.jrun.JRun.runServlet(JRun.java:299)  at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)  at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78)
at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java:102)  at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va:96)  
Warning: this page has been dynamically generated.  
Copyright (c) 1999-2001 The Apache XML Project .
All rights reserved. 


What I get from this is that Im missing something in my classpath. Can
anyone lend a helping hand.

Thanks














Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




Re: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Berin Loritsch

Anthony Diodato wrote:
> 
> Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun
> 2.3.3.
> 
> I have everything set up I THINK, and I get the following error message
> 
> Cocoon 1.8.2
> Publishing Engine could not be initialized. java.lang.RuntimeException:
> Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the
> needed classes can be found in the classpath

It looks like Xalan is not in the same ClassPath as Cocoon.

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

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




RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato

Im not sure if I understand what you mean. Here is the Cocoon stuff that is
in my classpath.

java.classpath=
C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar;
C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar;
C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar;
C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar;
C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar;
C:\\cocoon-1.8.2\\lib\\turbine-pool.jar;

I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the
C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly, but
I got the same result.

What do you think??

-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 11:26 AM
To: [EMAIL PROTECTED]
Subject: Re: Error Message Installing Cocoon 1.8.2


Anthony Diodato wrote:
> 
> Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with
JRun
> 2.3.3.
> 
> I have everything set up I THINK, and I get the following error message
> 
> Cocoon 1.8.2
> Publishing Engine could not be initialized. java.lang.RuntimeException:
> Error creating org.apache.cocoon.transformer.XalanTransformer: make sure
the
> needed classes can be found in the classpath

It looks like Xalan is not in the same ClassPath as Cocoon.

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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




Problem with sessions on Cocoon 2

2001-09-07 Thread David Hénot

Hello,
I'm trying to use Cocoon 2 with SessionValidatorAction and 
DatabaseAuthenticatorAction to handle user authentication, but I'm unable to 
get the session validator to see the session variables set by the database 
authenticator. Searching mail and groups archives didn't help much ...

Versions : Cocoon 2.0b1, Tomcat 3.2.3, Apache 1.3.19 (with mod_jk)

--- in sitemap.xmap ---
   

   

   

 
 




   

   

 
 
 
  
  
 

   


When I try to log in ("do-login"), I get this in the log file :

   DBAUTH: authorized successfully
   DBAUTH: session created
   DBAUTH: propagating param login=henot
   DBAUTH: propagating param name=Hénot David
   Action ((Action)this.actions.select( db-authenticator )).act
   Sitemap: session='true', redirecting to ''
   redirect: entering session mode
   redirect: session mode completed, id = lsbkkpjd81
   Sending redirect to ';jsessionid=lsbkkpjd81'

So everything seems OK but later when the session validator is called :

   SESSIONVALIDATOR: validating parameters from given constraint-set 
is-logged-in
   SESSIONVALIDATOR: given set is-logged-in contains 2 rules
   VALIDATOR: validating parameter: login
   VALIDATOR: validating string parameter login (encoded in a string: false)
   VALIDATOR: validating parameter: name
   VALIDATOR: validating string parameter name (encoded in a string: false)
   SESSIONVALIDATOR: all session params validated

It looks like the validator didn't see anything in the session, and in fact I 
can't use the name variable from the xsl stylesheet (always undefined 
although I put a "" after the xsl:stylesheet)

Any help *much* appreciated !

-- 
David Hénot

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

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




Re: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Berin Loritsch

Anthony Diodato wrote:
> 
> Im not sure if I understand what you mean. Here is the Cocoon stuff that is
> in my classpath.
> 
> java.classpath=
> C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar;
> C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar;
> C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar;
> C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar;
> C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar;
> C:\\cocoon-1.8.2\\lib\\turbine-pool.jar;
> 
> I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the
> C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly, but
> I got the same result.

That is expected

> What do you think??

It's hard to say.  How does JRun handle root classpaths?
You might need someone that is more familiar with JRun.

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

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




aggregate to files on the fly

2001-09-07 Thread florent barbare

Hi all,

in Cocoon 2b2, i want to aggregate to files (one xsp and one xml)
on the fly.

Any idea ?

Thanks in advance 

have a good weekend

Florent

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

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




RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato

Im not really sure how JRun handles this. Can anyone offer suggestions??
It is greatly appreciated.
Thanks
Anthony

-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Message Installing Cocoon 1.8.2


Anthony Diodato wrote:
> 
> Im not sure if I understand what you mean. Here is the Cocoon stuff that
is
> in my classpath.
> 
> java.classpath=
> C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar;
> C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar;
> C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar;
> C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar;
> C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar;
> C:\\cocoon-1.8.2\\lib\\turbine-pool.jar;
> 
> I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the
> C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly,
but
> I got the same result.

That is expected

> What do you think??

It's hard to say.  How does JRun handle root classpaths?
You might need someone that is more familiar with JRun.

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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Berin,

Thanks for your reply, much appreciated...

I tried adding the xerces jar as the first entry in the

com.ibm.ejs.sm.adminserver.classpath property

in c:\WebSphere\AppServer\bin\admin.config

but it didn't make any difference.

Was this the WebSphere properties file that you were refering to?

Thanks

Jack


>From: Berin Loritsch <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
>Date: Fri, 07 Sep 2001 11:18:26 -0400
>
>Jack Hirasawa wrote:
> >
> > Hi cocoon-users!
> >
> > I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install
> > script.  I had to fix cocoon.java so it would get the file 
>cocoon.properties
> > instead of a resource.  I was able to successfully get the Cocoon.xml 
>page
> > to display.  When I tried to display the index.xml page, I got the 
>exception
> > below.  Any help would be greatly appreciated!!! Thanks in advance...
>
>The only time I have received this message is when the source XML was not
>well formed.  It is possible that Websphere is still referencing an older
>XML parser that doesn't accept namespaces.  In that case, you must make 
>sure
>that Xerces is before all other jars (including the WebSphere jars).
>
>You may have to edit your websphere property files that specify classpath
>information (you know the one where they tell you to edit for hot fixes?).
>I have examined the contents of the websphere jars trying to figure out why
>I was having issues with Cocoon 2 a few months ago.  The embed class files
>for Xerces in there.
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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


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

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




Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Berin,

Thanks again for your reply...

I'm stumped.

The index.xml file is the one that came with the distribution (unmodified).

I've tried the other samples as well, but no luck

Any other ideas? It must be a configuration issue, but I can't figure out 
what it is

Thanks,

Jack

>From: Berin Loritsch <[EMAIL PROTECTED]>
>To: Jack Hirasawa <[EMAIL PROTECTED]>
>Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
>Date: Fri, 07 Sep 2001 13:08:46 -0400
>
>Jack Hirasawa wrote:
> >
> > Berin,
> >
> > Thanks for your reply, much appreciated...
> >
> > I tried adding the xerces jar as the first entry in the
> >
> > com.ibm.ejs.sm.adminserver.classpath property
> >
> > in c:\WebSphere\AppServer\bin\admin.config
> >
> > but it didn't make any difference.
> >
> > Was this the WebSphere properties file that you were refering to?
>
>Yes, that was the one.
>
>Check your XML file to see if there is some sort of encoding
>problem with it.
>
> >
> > Thanks
> >
> > Jack
> >
> > >From: Berin Loritsch <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
> > >Date: Fri, 07 Sep 2001 11:18:26 -0400
> > >
> > >Jack Hirasawa wrote:
> > > >
> > > > Hi cocoon-users!
> > > >
> > > > I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the 
>install
> > > > script.  I had to fix cocoon.java so it would get the file
> > >cocoon.properties
> > > > instead of a resource.  I was able to successfully get the 
>Cocoon.xml
> > >page
> > > > to display.  When I tried to display the index.xml page, I got the
> > >exception
> > > > below.  Any help would be greatly appreciated!!! Thanks in 
>advance...
> > >
> > >The only time I have received this message is when the source XML was 
>not
> > >well formed.  It is possible that Websphere is still referencing an 
>older
> > >XML parser that doesn't accept namespaces.  In that case, you must make
> > >sure
> > >that Xerces is before all other jars (including the WebSphere jars).
> > >
> > >You may have to edit your websphere property files that specify 
>classpath
> > >information (you know the one where they tell you to edit for hot 
>fixes?).
> > >I have examined the contents of the websphere jars trying to figure out 
>why
> > >I was having issues with Cocoon 2 a few months ago.  The embed class 
>files
> > >for Xerces in there.
> > >
> > >-
> > >Please check that your question has not already been answered in the
> > >FAQ before posting. 
> > >
> > >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > >For additional commands, e-mail: <[EMAIL PROTECTED]>
> > >
> >
> > _
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp


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


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

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




RE: Error Message Installing Cocoon 1.8.2

2001-09-07 Thread Anthony Diodato

Berin, Just an FYI. I fixed the problem. Stupid me. I had the xalan file
spelled wrong in the classpath.

Thanks for the help.

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 1:05 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Error Message Installing Cocoon 1.8.2


Im not really sure how JRun handles this. Can anyone offer suggestions??
It is greatly appreciated.
Thanks
Anthony

-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Message Installing Cocoon 1.8.2


Anthony Diodato wrote:
> 
> Im not sure if I understand what you mean. Here is the Cocoon stuff that
is
> in my classpath.
> 
> java.classpath=
> C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar;
> C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar;
> C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar;
> C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar;
> C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar;
> C:\\cocoon-1.8.2\\lib\\turbine-pool.jar;
> 
> I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the
> C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly,
but
> I got the same result.

That is expected

> What do you think??

It's hard to say.  How does JRun handle root classpaths?
You might need someone that is more familiar with JRun.

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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




Successful Cocoon Install

2001-09-07 Thread Anthony Diodato

Ive been successful installing Cocoon 1.7.2 & Cocoon 1.8.2 on the following
systems.

Windows NT 4.0 SP6 & Windows 2000 Professional
Website Professional 2.0, 2.3.7, 2.5.4 (Now Deerfield Website)
JRun 2.3.3
jdk 1.2.2 & 1.3.1

Thanks, just wanted to share this info.


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



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

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




[c1] HTML Output and xmlns

2001-09-07 Thread Brent L Johnson

Quick question - probably easy to answer - but why when I view the source of
the transformed HTML document in my browser, why do I see xmlns tags in the
HTML document (along with some other xml related code).  Can I restrict it
to only HTML compliant that will work for most all browsers?  Here are the
first 3 lines of my source document:



http://www.reedyriverpress.com/rightbar";>

Obviously I dont want that xml-stylesheet tag in there - but I'm not sure
WHY it is there.

This isn't causing me a problem with IE or later versions of Netscape, but
I'm putting a site into production using Cocoon 1.8.2 (which should get
fairly heavily traffic) - and I've already got a support call from someone
who is actually SEEING the HTML source code (maybe because of the DOCTYPE
tag or something).  I remember reading somewhere that Cocoon 1.8.2 was
production quality, but Cocoon2 was still in beta (correct?).  There other
people using Cocoon for higher traffic commercial sites?

Thanks,

- Brent


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

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




Error Messaging

2001-09-07 Thread Brent L Johnson

Since I'm using cocoon in a production environment I'd rather not have the
nasty Cocoon error message (I'd like a nice conforming error page).  Is
there a way to implement this in Cocoon 1.8.2 (I'm using it under Tomcat
3.2.2).

Thanks,

- Brent


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

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




Re: [c1] HTML Output and xmlns

2001-09-07 Thread Michael McKibben

Hello, you can restrict the output of namespace prefixes by adding the
exclude-result-prefixes attribute to the root xsl:stylesheet element in
your stylesheets. The attribute accepts whitespace separated namespace
prefixes to exclude from the result. For example,

http://www.w3.org/1999/XSL/Transform";
exclude-result-prefixes="rightbar">
...

Regards,

--mike

On Fri, 7 Sep 2001, Brent L Johnson wrote:

> Quick question - probably easy to answer - but why when I view the source of
> the transformed HTML document in my browser, why do I see xmlns tags in the
> HTML document (along with some other xml related code).  Can I restrict it
> to only HTML compliant that will work for most all browsers?  Here are the
> first 3 lines of my source document:
>
> 
> 
> http://www.reedyriverpress.com/rightbar";>
>
> Obviously I dont want that xml-stylesheet tag in there - but I'm not sure
> WHY it is there.
>
> This isn't causing me a problem with IE or later versions of Netscape, but
> I'm putting a site into production using Cocoon 1.8.2 (which should get
> fairly heavily traffic) - and I've already got a support call from someone
> who is actually SEEING the HTML source code (maybe because of the DOCTYPE
> tag or something).  I remember reading somewhere that Cocoon 1.8.2 was
> production quality, but Cocoon2 was still in beta (correct?).  There other
> people using Cocoon for higher traffic commercial sites?
>
> Thanks,
>
> - Brent
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


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

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




C1.8 ESQL problem?

2001-09-07 Thread Martin Mauri



Hi users,
 
I'm facing with a problem while trying to show a database 
field through ESQL. The thing is that the field contains a "º" simbol (ASCII 
character 167). But when I render it with Cocoon, I get the symbol 
"º" instead.
 
Any idea?
 
thanks!
 
Lic. Martin O. MauriProfesion + Auge A.F.J.P.Paraná 
666 - CP:1017 - Cap. FederalTE: (011)4373-7786/7 int:422[EMAIL PROTECTED]www.profesi.com.ar


[C2b2] Getting "java.io.IOException: Protocol not supported" using JSP generator.

2001-09-07 Thread Paul Spencer

Getting "java.io.IOException: Protocol not supported" using JSP
generator.

The problem is related to the how the src attribute is used.  You must 
include the path relative to webapps/cocoon, regardless of current
directory.

Path to the JSP file:
  /webapps/cocoon/Mikon/DaySummary.jsp 

Current directory, i.e. where the sitemap.xmap is located:
  /webapps/cocoon/Mikon

I would expect the following to work.


The file generator does not require a path in the src attribute.

**
** Example of a JSP that FAILS!
**
>From sitemap located in cocoon/Mikon/sitemap.xmap
   



   

DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Resolving
'DaySummary.jsp'
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Making URL from
file:E:\apache\jakarta-tomcat-4.0-b8-dev\webapps\cocoon\Mikon\DaySummary.jsp
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Resolved to
'file:E:/apache/jakarta-tomcat-4.0-b8-dev/webapps/cocoon/Mikon/DaySummary.jsp'
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): IOException in
JspGenerator.generate()
java.io.IOException: Protocol not supported:
file:E:/apache/jakarta-tomcat-4.0-b8-dev/webapps/cocoon/Mikon/DaySummary.jsp

**
** Example of a JSP that works
**
>From sitemap located in cocoon/Mikon/sitemap.xmap
   



   

DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Resolving
'/Mikon/DaySummary.jsp'
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Making URL from
file:/Mikon/DaySummary.jsp
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): Resolved to
'file:/Mikon/DaySummary.jsp'
DEBUG   99989   [cocoon  ] (HttpProcessor[8080][4]): JspGenerator
executing JSP:/Mikon/DaySummary.jsp

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

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




Velocity and sitemap

2001-09-07 Thread Daniel Owsianski

Hi,

I use Cocoon2b2 and Tomcat 3.2.3 with Apache.
sitemap has the following entries:


   



   


   



   


   



   

Why only 'C' works fine ??
Both 'A' and 'B' generates processing exception (unable to find
'templates/hello-page.vm') in VelocityGenerator.
Please, a bit of help and explanation.
Thx in advance...
 Daniel


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

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