AW: AW: Cocoon on Orion2

2003-04-04 Thread Michael Gerzabek
Hi Enio,

web3 is a block. so have a look at the blocks.properties and include
the line exclude.block.web3=true and rebuild cocoon.

sorry can't help with 2)

regards Michael

 -Ursprungliche Nachricht-
 Von: e nio [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 03. April 2003 18:21
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: Cocoon on Orion2
 
 
   Hi Michael,
  I do not have SAP db on my machine therefore I dont have
 the need for this portion.  You know how to exclude this SAP
 related stuff specifically on the 2.1 dev block?  I did build
 all the scratchpadwar so perhaps eliminating that may take it
 out.
  Anyone else may have solution to the number 2 issue I have?
 
 enio
 
 --- Michael Gerzabek [EMAIL PROTECTED] wrote:
  seems you're working with Web3RfcTransformer but didn't deploy
  the right version of SAP Java Connector.
  
   -Ursprungliche Nachricht-
   Von: e nio [mailto:[EMAIL PROTECTED]
   Gesendet: Donnerstag, 03. April 2003 09:00
   An: [EMAIL PROTECTED]
   Betreff: Cocoon on Orion2
   
   
   
   1. I am not able to get cocoon2.1dev running on Orion2 I was
   getting:
   
   500 Internal Server Error
   
   java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Structure
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:207)
   at com.evermind[Orion/2.0 (build
   11018)]._iz.findClass(.:19)
   at
  java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at
  java.lang.ClassLoader.loadClass(ClassLoader.java:262)
   at
  
 
 org.apache.avalon.excalibur.component.ExcaliburComponentSelector.c
   onfigure(ExcaliburComponentSelector.java:409)
   at
  
 
 org.apache.avalon.framework.container.ContainerUtil.configure(Cont
   ainerUtil.java:239)
   at
  
 
 org.apache.avalon.excalibur.component.DefaultComponentFactory.newI
   nstance(DefaultComponentFactory.java:315)
   at
  
 
 org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.i
   nitialize(ThreadSafeComponentHandler.java:141)
   at
  
 
 org.apache.avalon.excalibur.component.ExcaliburComponentManager.in
   itialize(ExcaliburComponentManager.java:555)
   at
  org.apache.cocoon.Cocoon.initialize(Cocoon.java:329)
   at
  
 
 org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet
   .java:1310)
   at
  
 
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:505)
   at com.evermind[Orion/2.0 (build
   11018)]._ay._lce(.:1672)
   at com.evermind[Orion/2.0 (build
   11018)]._ay._bsd(.:3976)
   at com.evermind[Orion/2.0 (build
   11018)]._ay._lde(.:2502)
   at com.evermind[Orion/2.0 (build
   11018)]._ay._nic(.:2219)
   at com.evermind[Orion/2.0 (build
  11018)]._ax._lqc(.:449)
   at com.evermind[Orion/2.0 (build
  11018)]._ax._tvb(.:189)
   at com.evermind[Orion/2.0 (build
  11018)]._bf.run(.:62)
   
   2. cocoon2.0.4 on Orion2 seem to work okay, except I was not
   able to get a successful jsp which maybe due to the way
  sitemap
   is laid out in respect to how orion2 have their directory
   structure.  What I meant by this is I have to create this
   directory structure in orion:
   
   applications/
|
cocoon/
 |__ META-INF/
 ||_ application.xml
 |
 |__ cocoon/
   |
   |__ META-INF/
   |
   |__ WEB-INF/
   |
   |_ sitemap.xmap  the main one
  and the rest of cocoon.war expanded
   
   Looking at the sitemap.log I am getting this error:
   
   32 DEBUG   (2003-04-02) 22:37.58:991   [sitemap.reader.jsp]
   (/cocoon/samples/jsp/welcome.htm)
   ApplicationServerThread/JSPReader: JSPReader executing
  JSP:/s
   amples/jsp/welcome.jsp
33 DEBUG   (2003-04-02) 22:37.59:010  
  [sitemap.reader.jsp]
   (/cocoon/samples/jsp/welcome.htm)
   ApplicationServerThread/JSPReader: Exception in
   JSPReader.generate()
34 java.lang.ClassNotFoundException:
   org.apache.jasper.servlet.JspServlet
35 at com.evermind._as.findClass(.:417)
36 at
   java.lang.ClassLoader.loadClass(ClassLoader.java:306)
37 at
   java.lang.ClassLoader.loadClass(ClassLoader.java:262) 
   
   This seem to indicate the orion's jsp engine is not
  compatible
   with jasper because of dependencies on Tomcat as per
   Konstantin's  comment on another jsp issue.
   
   
   And with the above directory layout, the main sitemap.xmap
   doesnt seem to work right on some case for example this
  portion
   on the standard 2.0.4 stock samples:
   
884map:match pattern=welcome
885 map:generate src=docs/samples/samples.xml/
   
   instead of generating the samples.xml it displays the
   cocoon/welcome/  directory contents instead. By adding a /
  to
   the pattern to make it  pattern=welcome/  it does display
  the
   samples.xml content but when clicking to any of the href in
  the
   contents

AW: Cocoon on Orion2

2003-04-03 Thread Michael Gerzabek
seems you're working with Web3RfcTransformer but didn't deploy
the right version of SAP Java Connector.

 -Ursprungliche Nachricht-
 Von: e nio [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 03. April 2003 09:00
 An: [EMAIL PROTECTED]
 Betreff: Cocoon on Orion2
 
 
 
 1. I am not able to get cocoon2.1dev running on Orion2 I was
 getting:
 
 500 Internal Server Error
 
 java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Structure
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:207)
 at com.evermind[Orion/2.0 (build
 11018)]._iz.findClass(.:19)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
 at
 org.apache.avalon.excalibur.component.ExcaliburComponentSelector.c
 onfigure(ExcaliburComponentSelector.java:409)
 at
 org.apache.avalon.framework.container.ContainerUtil.configure(Cont
 ainerUtil.java:239)
 at
 org.apache.avalon.excalibur.component.DefaultComponentFactory.newI
 nstance(DefaultComponentFactory.java:315)
 at
 org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.i
 nitialize(ThreadSafeComponentHandler.java:141)
 at
 org.apache.avalon.excalibur.component.ExcaliburComponentManager.in
 itialize(ExcaliburComponentManager.java:555)
 at org.apache.cocoon.Cocoon.initialize(Cocoon.java:329)
 at
 org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet
 .java:1310)
 at
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:505)
 at com.evermind[Orion/2.0 (build
 11018)]._ay._lce(.:1672)
 at com.evermind[Orion/2.0 (build
 11018)]._ay._bsd(.:3976)
 at com.evermind[Orion/2.0 (build
 11018)]._ay._lde(.:2502)
 at com.evermind[Orion/2.0 (build
 11018)]._ay._nic(.:2219)
 at com.evermind[Orion/2.0 (build 11018)]._ax._lqc(.:449)
 at com.evermind[Orion/2.0 (build 11018)]._ax._tvb(.:189)
 at com.evermind[Orion/2.0 (build 11018)]._bf.run(.:62)
 
 2. cocoon2.0.4 on Orion2 seem to work okay, except I was not
 able to get a successful jsp which maybe due to the way sitemap
 is laid out in respect to how orion2 have their directory
 structure.  What I meant by this is I have to create this
 directory structure in orion:
 
 applications/
  |
  cocoon/
   |__ META-INF/
   ||_ application.xml
   |
   |__ cocoon/
 |
 |__ META-INF/
 |
 |__ WEB-INF/
 |
 |_ sitemap.xmap  the main one
and the rest of cocoon.war expanded
 
 Looking at the sitemap.log I am getting this error:
 
 32 DEBUG   (2003-04-02) 22:37.58:991   [sitemap.reader.jsp]
 (/cocoon/samples/jsp/welcome.htm)
 ApplicationServerThread/JSPReader: JSPReader executing JSP:/s
 amples/jsp/welcome.jsp
  33 DEBUG   (2003-04-02) 22:37.59:010   [sitemap.reader.jsp]
 (/cocoon/samples/jsp/welcome.htm)
 ApplicationServerThread/JSPReader: Exception in
 JSPReader.generate()
  34 java.lang.ClassNotFoundException:
 org.apache.jasper.servlet.JspServlet
  35 at com.evermind._as.findClass(.:417)
  36 at
 java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  37 at
 java.lang.ClassLoader.loadClass(ClassLoader.java:262) 
 
 This seem to indicate the orion's jsp engine is not compatible
 with jasper because of dependencies on Tomcat as per
 Konstantin's  comment on another jsp issue.
 
 
 And with the above directory layout, the main sitemap.xmap
 doesnt seem to work right on some case for example this portion
 on the standard 2.0.4 stock samples:
 
  884map:match pattern=welcome
  885 map:generate src=docs/samples/samples.xml/
 
 instead of generating the samples.xml it displays the
 cocoon/welcome/  directory contents instead. By adding a / to
 the pattern to make it  pattern=welcome/  it does display the
 samples.xml content but when clicking to any of the href in the
 contents IT IS TOTALLY out of whacked in terms of the path and
 there all I get is resource not found.
 
 Anyway to solve these?  Thanks in advance.
 
 __
 Do you Yahoo!?
 Yahoo! Tax Center - File online, calculators, forms, and more
 http://tax.yahoo.com
 
 -
 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]



[Announcement] Web3 - SAP R/3 connection components

2002-04-15 Thread Michael Gerzabek


Hi Cocoon'ers!

We have finished our connectivity toolkit Web3 that seamlessly
integrates Cocoon 2 and multiple SAP(TM) R/3(R) backend systems via
the SAP(TM) standard software library Java Connector(R).
This portion of software enables the use of SAP(TM) remote function calls
via the open xml publishing framework Cocoon 2.

The core package of Web3 consist of a few classes that follow the
avalon programming style. The functionality is accomplished by a
Transformer.

To get this working you will need the SAP Java Connector (www.sap.com).

If the community is interested in Web3, we would be proud to donate
the core package to you. To do so we will need some days to finish
documentation and examples.

Michael Gerzabek / Reinhard Pötz

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EFP Consulting GmbH, Praterstraße 45, 1020 Wien - Austria
www.efp.cc
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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




File Upload Size

2002-03-08 Thread Michael Gerzabek


I've set the 'upload-max-size' to about 100K in C2's web.xml
but when I upload a file larger than that it get's submitted
anyway.

Is there a way to set mime-types for the upload?

Michael 

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

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




AW: umlauts in html forms

2001-10-03 Thread Michael Gerzabek

Database is encoded for ISO-8859-1 also.

But I found a switch at the serializer. When you use the tag
map:serializer name=html mime-type=text/html
src=org.apache.cocoon.serialization.HTMLSerializer
encodingISO-8859-1/encoding
/map:serializer
then everything works fine!

thanx

Michael


-Ursprungliche Nachricht-
Von: Arno Illmann [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 3. Oktober 2001 18:06
An: [EMAIL PROTECTED]
Betreff: Re: umlauts in html forms


For which encoding is the database configured?

mfg, Arno

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




umlauts in html forms

2001-10-02 Thread Michael Gerzabek

hi all,

I'm implementing forms that write to a backend via cocoon2-actions. I use
encoding ISO-8859-1 to render the data to the clients and all umlauts are
coded well. But when I get umlauts from the clients they go in an obscure
manner to the database. Has anyone experience with this problem?

bye

Michael


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

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




AW: C2: Pipelines not relative to /cocoon

2001-06-21 Thread Michael Gerzabek

Try this in the cocoon's sitemap

map:pipeline
  map:match pattern=bar**
map:mount uri-prefix=bar src=file:///D:/bar/ check-reload=yes/
  /map:match
/map:pipeline

with a nice sub-sitemap in d:/bar

Michael

-Ursprungliche Nachricht-
Von: giacomo [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Juni 2001 22:12
An: [EMAIL PROTECTED]
Betreff: Re: C2: Pipelines not relative to /cocoon


On Thu, 21 Jun 2001, thomas@jet wrote:

 Is it possible to have a pipeline mounting a directory
 outside the cocoon context. something like if I have
 cocoon in 'd:/foo/cocoon' and having a pipeline
 mapping in 'd:/bar' as /cocoon/bar.

Have you tried it? I don't see anything that will stop you
doing so (technically).

Giacomo


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




Using forte2.0 IE - Introspection Error

2001-06-11 Thread Michael Gerzabek

I get an error from the fastjavac: /org/apache/cocoon/generation/Generator
has incorrect version 46, should be 45

Does anyone know what this means? The introspector even doesn't show me the
methods of the classes in the cocoon-2.0b.jar file.

Michael


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

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